The Architecture Review Agent is an open-source AI agent sample that reviews software architectures and generates interactive diagrams automatically.
# Add to your Claude Code skills
git clone https://github.com/Azure-Samples/agent-architecture-review-sampleGuides for using ai agents skills like agent-architecture-review-sample.
agent-architecture-review-sample is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Azure-Samples. The Architecture Review Agent is an open-source AI agent sample that reviews software architectures and generates interactive diagrams automatically. It has 114 GitHub stars.
agent-architecture-review-sample's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Azure-Samples/agent-architecture-review-sample" and add it to your Claude Code skills directory (see the Installation section above).
agent-architecture-review-sample is primarily written in Python. It is open-source under Azure-Samples on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent-architecture-review-sample against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
The Architecture Review Agent is an open-source AI agent sample that reviews software architectures and generates interactive diagrams - automatically. Feed it any architectural description (YAML, Markdown, plain text, code, design docs) and it returns a structured review with risk analysis, actionable recommendations, and an Excalidraw diagram you can edit and share.
For a structured docs map (setup, deployment, scripts, scenarios, testing), see docs/README.md.

Clients (Teams/M365 Copilot, CLI, Web Browser) → Foundry Agent Service or Web App → Core Engine (Smart Parser, Risk Detector, Report Builder, Diagram Renderer, LLM Inference) → Azure OpenAI / Excalidraw MCP / ACR / Azure App Service
flowchart TB
subgraph Agent["Architecture Review Agent<br/>"]
review_architecture
infer_architecture
end
subgraph Tools["tools.py"]
Parser["Parser<br/>YAML / MD / Plaintext"]
LLMInference["LLM Inference<br/>AzureOpenAIChatClient"]
RiskDetector["Risk Detector<br/>Template + LLM"]
DiagramRenderer["Diagram Renderer<br/>Excalidraw + PNG"]
ComponentMapper["Component Mapper"]
ReportBuilder["Report Builder"]
MCPClient["MCP Client<br/>(Excalidraw Server)"]
end
review_architecture --> Tools
infer_architecture --> Tools
Tools --> LocalOutputs[".excalidraw / .png / .json"]
MCPClient --> ExcalidrawMCP["Excalidraw MCP<br/>(Interactive View)"]
Microservices Banking Architecture — full end-to-end review: file upload → risk detection → interactive Excalidraw diagram → recommendations.
If the video does not render inline, download and watch it here.
| Capability | Description |
|---|---|
| Smart Input Intelligence | Accepts any input - YAML, Markdown, plaintext arrows, READMEs, design docs, code, configs. LLM auto-infers architecture when format isn't structured |
| Architecture Parsing | Rule-based parsers for YAML, Markdown, plaintext; automatic LLM fallback for unstructured content |
| Risk Detection | Template-based detector for structured inputs; LLM-generated context-aware risks with 1-liner issues & recommendations when using inference |
| Interactive Diagrams | Renders architecture diagrams via Excalidraw MCP server for interactive viewing |
| PNG Export | High-resolution PNG output for docs, presentations, and offline sharing |
| Component Mapping | Dependency analysis with fan-in/fan-out metrics and orphan detection |
| Structured Reports | Executive summary, prioritised recommendations, and severity-grouped risk assessment |
| Web UI | React frontend with interactive Excalidraw diagrams, drag-and-drop file upload, risk tables, and downloadable outputs |
| FastAPI Backend | REST API exposing the full review pipeline - deployable to Azure App Service |
| Hosted Agent | Deploys as an OpenAI Responses-compatible API via Microsoft Agent Framework |
This sample ships with two production deployment paths. Both share the same core analysis engine (tools.py) choose the one that fits your operational model.
A traditional full-stack web application: FastAPI backend + React frontend, packaged in a single Docker image and deployed to Azure App Service.
/api/review, /api/infer, etc.)Best for: Teams that want a custom UI, need to embed the API in existing tooling, or prefer full control over infrastructure and scaling.
Key files: api.py · Dockerfile.web · frontend/ · scripts/windows/deploy-webapp.ps1
A managed agent deployed to Microsoft Foundry's Hosted Agent infrastructure via the VS Code Foundry extension. The platform handles containerisation, identity, scaling, and API compliance.
/responses endpointBest for: Teams that want a managed, scalable API with zero infrastructure overhead, or need to publish the agent to Teams / M365 Copilot channels. The extension-based deployment flow is more reliable than script-based approaches and provides real-time feedback.
Key files: main.py · agent.yaml · Dockerfile · docs/deployment.md
| Option A - Web App | Option B - Hosted Agent | |
|---|---|---|
| Entry point | api.py (FastAPI + Uvicorn) | main.py (Agent Framework) |
| Container | Dockerfile.web (multi-stage Node + Python) | Dockerfile (Python only) |
| API style | Custom REST (/api/review, /api/infer) |
OpenAI Responses API (/responses) |
| UI included | Yes - React + Excalidraw | No (API only; use Foundry Playground or channels) |
| Azure target | Azure App Service + ACR | Microsoft Foundry Agent Service |
| Scaling | App Service Plan (manual / auto-scale rules) | Platform-managed (0–5 replicas, scale-to-zero) |
| Identity | Configured by you (API key, Azure AD) | System-assigned managed identity (automatic) |
| Conversations | Stateless REST (you manage state) | Platform-managed conversation persistence |
| Channel publishing | N/A (custom UI) | Teams, M365 Copilot, Web preview, stable endpoint |
| Observability | Add your own (App Insights, etc.) | Built-in OpenTelemetry + Azure Monitor |
| Deployment | Scripts: .\scripts\windows\deploy-webapp.ps1 |
VS Code Foundry extension |
| Teardown | .\scripts\windows\teardown.ps1 -ResourceGroup <rg> |
Via Foundry portal |
Tip: You can run both simultaneously use the Web App for your internal team's browser-based reviews, and the Hosted Agent for API consumers and Teams/Copilot integration.