#44th of 7 in Cloud reference architectures

openai-chat-app-quickstart

Minimal Quart chat app on Azure OpenAI with managed identity

Stars
254
License
MIT
Last commit
Sep 2026
Language
Bicep

Overview

Python Quart backend using the openai package with a plain HTML/JS frontend that streams JSON Lines over a ReadableStream, plus Bicep for Azure OpenAI, Container Apps, Container Registry, Log Analytics and RBAC roles, deployed with azd up. Authenticates to Azure OpenAI with managed identity, so no API key; the local dev server runs on port 50505 after a first azd deploy. For teams starting a chat service on Azure.

Who it is for: Python teams starting a chat service on Azure

Strengths

  • Managed identity auth; no OpenAI key in config
  • Bicep provisions the full Container Apps stack
  • Codespaces and Dev Container configs included
  • IaC security scan GitHub Action included

Weaknesses

  • Local run depends on a prior Azure deployment for the endpoint
  • No user auth; sibling repos add Entra ID
  • Frontend is minimal HTML/JS, not a component framework
  • Azure Container Registry has a fixed daily cost

What it needs

  • Bicep, Azure OpenAI (openai package)
  • Needs Azure subscription with Azure OpenAI access, azd CLI
  • GitHub template
  • env example file

Also in Cloud reference architectures

See all 7
Also in Cloud reference architectures
RankProjectScore
1agent-landing-zoneAzure infrastructure templates for deploying enterprise agent apps on Microsoft Foundry1.2k stars, MIT64 out of 100
2fullstack-solution-template-for-agentcoreReact frontend and AgentCore backend starter, deployed to AWS with CDK or Terraform597 stars, Apache-2.044 out of 100
3azurechatPrivate enterprise chat on Azure OpenAI with document chat and personas1.4k stars, MIT42 out of 100
#5get-started-with-ai-agentsAzure azd template for a Foundry agent chat app with file search374 stars, MIT33 out of 100
#6serverless-rag-demoAWS CDK sample for document RAG chat and multi-agent workflows on Bedrock223 stars, MIT-033 out of 100