Architecture
One Azure web service: a slim FastAPI app, an agent orchestrator, and an MCP server over stdio. The browser never talks to tools or the vector store directly.
- FastAPI exposes
/chat,/health, and provider controls. - The orchestrator runs the tool loop and returns answer, citations, and trace.
- The MCP subprocess owns RAG retrieval and mock operational data.
- The LLM is external (Azure AI Foundry by default; Groq / OpenRouter / Ollama selectable).