Provides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls.
This skill turns an AI-native use case into concrete architecture decisions for routing, caching, memory, context, tools, identity, guardrails, evaluation, observability, and cost, with reference files loaded only when depth is needed.
When to invoke
"Design an agentic architecture for this use case."
"Choose model routing, caching, memory, RAG, tools, and guardrails for a multi-agent system."
"Review this agent design for reliability, security, observability, and cost."
"Map GitHub and Azure AI Foundry services for an AI-native workload."
Prerequisites and context
Read the use case and constraints: scale, latency, cost ceiling, data sensitivity, and runtime location.
Never invent limits, prices, or benchmarks. Verify service limits and pricing against Microsoft Learn and the vendor model card, and cite them.
Where a number has no source, state it as an explicit assumption.
Criteria
Seven architecture decisions
Model routing: match each task to the cheapest model that meets quality. See references/model-routing.md.
Caching: cut latency and cost with prompt caching and semantic caching. See references/caching.md.
Memory: separate short term thread state from long term durable memory. See references/memory.md.
Context curation: retrieve, rank, compact, and budget the context window (RAG). See references/context-curation.md.
Tools and MCP: expose capabilities as well-described tools and Model Context Protocol servers. See references/tools-and-mcp.md.
Identity and guardrails: agent identity, least privilege, content safety, prompt shields. See references/guardrails-and-identity.md.
Evaluation, observability, and cost: measure quality, trace runs, and govern spend. See references/evaluation-observability-cost.md.
# Agentic architecture decision record
**Status:** completed | blocked
**Summary:** <one-sentence architecture recommendation>
**Use case:** <short use-case name>
### Details
- Model routing: <decision and rationale>
- Caching: <decision and rationale>
- Memory: <decision and rationale>
- Context curation: <decision and rationale>
- Tools and MCP: <decision and rationale>
- Identity and guardrails: <decision and rationale>
- Evaluation, observability, and cost: <decision and rationale>
### Validation evidence
- Sources checked: <links or documents used>
- Assumptions: <explicit assumptions or none>
- Risks and trade-offs: <list>
- Follow-up primitives: <skills or agents to use next>
Limits
Do not use this skill for Azure AI Foundry provisioning.
Use foundry-agent-blueprint (skill) instead when the task is a Foundry agent service blueprint.
Do not use this skill for Redis implementation details.
Use azure-draw-io-diagram-generator (skill) instead when the task is professional diagram rendering.
Do not invent limits, prices, benchmarks, or citations.
Gotchas
One frontier model for every task is an anti-pattern; route by task class and reserve frontier for the hardest steps.
No caching on stable system prompts or repeated retrievals wastes high-leverage cost levers.
Unbounded context is unsafe; always budget the window and compact history.
Tool sprawl is not free; each tool adds selection cost, so curate and namespace tools.
Shared secrets are not a substitute for managed identity and agent identity.
Shipping without evals or tracing prevents governance.
Progressive disclosure and bundled resources
At discovery time, only name and description are loaded. Read the relevant reference file for each decision that needs depth.
references/model-routing.md: model tiering and routing decisions.
references/caching.md: prompt caching and semantic caching decisions.
references/memory.md: short term and long term memory decisions.
references/context-curation.md: RAG, ranking, compaction, and context-window budgeting.
references/tools-and-mcp.md: tool and MCP design decisions.
references/guardrails-and-identity.md: agent identity, least privilege, and safety controls.
references/evaluation-observability-cost.md: evaluation, tracing, and spend governance.
Related primitives
Name
Type
Use it when
foundry-agent-blueprint
skill
The architecture needs an Azure AI Foundry Agent Service blueprint.
azure-infrastructure
skill
The design needs Azure infrastructure patterns beyond agentic decisions.
azure-draw-io-diagram-generator
skill
The decision record needs a professional editable diagram.
architecture-doc
skill
The architecture Markdown deliverable needs compliance validation.
open-horizons-architect
agent
A persistent architecture agent should own the broader design.
Quality gate
The seven decisions are addressed in order.
Each decision includes an option, rationale, and source or explicit assumption.
Limits, prices, and benchmarks are verified against authoritative sources or omitted.
Anti-patterns were checked and flagged when present.
Follow-up primitives are named for provisioning, implementation detail, diagrams, or validation.
The response follows ## Output template exactly.
Every bundled resource referenced above exists.
1---2name: azure-agentic-architecture-patterns-43description: Provides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls.4---56<!-- Generated from harness/github-copilot/plugins/open-horizons-platform/skills/azure-agentic-architecture-patterns/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->78# Azure Agentic Architecture Patterns910This skill turns an AI-native use case into concrete architecture decisions for routing, caching, memory, context, tools, identity, guardrails, evaluation, observability, and cost, with reference files loaded only when depth is needed.1112## When to invoke1314- "Design an agentic architecture for this use case."15- "Choose model routing, caching, memory, RAG, tools, and guardrails for a multi-agent system."16- "Review this agent design for reliability, security, observability, and cost."17- "Map GitHub and Azure AI Foundry services for an AI-native workload."1819## Prerequisites and context2021- Read the use case and constraints: scale, latency, cost ceiling, data sensitivity, and runtime location.22- Never invent limits, prices, or benchmarks. Verify service limits and pricing against Microsoft Learn and the vendor model card, and cite them.23- Where a number has no source, state it as an explicit assumption.2425## Criteria2627### Seven architecture decisions2829- [ ] **Model routing**: match each task to the cheapest model that meets quality. See `references/model-routing.md`.30- [ ] **Caching**: cut latency and cost with prompt caching and semantic caching. See `references/caching.md`.31- [ ] **Memory**: separate short term thread state from long term durable memory. See `references/memory.md`.32- [ ] **Context curation**: retrieve, rank, compact, and budget the context window (RAG). See `references/context-curation.md`.33- [ ] **Tools and MCP**: expose capabilities as well-described tools and Model Context Protocol servers. See `references/tools-and-mcp.md`.34- [ ] **Identity and guardrails**: agent identity, least privilege, content safety, prompt shields. See `references/guardrails-and-identity.md`.35- [ ] **Evaluation, observability, and cost**: measure quality, trace runs, and govern spend. See `references/evaluation-observability-cost.md`.3637### Reference architecture target3839```text40User / GitHub Copilot / GitHub Actions41 |42 API Management (AI gateway): authN, token limit, load balance, semantic cache43 |44 Agent runtime (Azure AI Foundry Agent Service, Container Apps, or AKS)45 | | | |46 Model Memory Context Tools / MCP47 router (Redis + (RAG: AI Search (API Center registry,48 (tiers) vector) + rerank) MCP servers)49 |50 Guardrails (Content Safety, Prompt Shields) + Identity (Entra Agent ID, managed identity)51 |52 Observability (App Insights + OpenTelemetry GenAI) + Evaluation (Foundry evals)53```5455### Decision record expectations5657- [ ] Each decision records the chosen option, rationale, and source.58- [ ] Cache, semantic cache, vector store, or memory store decisions are identified for Redis follow-up.59- [ ] Agent runtime, model catalog, threads, and tools decisions are identified for Foundry follow-up.60- [ ] API and tool or MCP governance decisions are identified for API governance follow-up.61- [ ] Model gateway policy decisions include token limit, load balance, and semantic cache where relevant.62- [ ] Diagram-ready service mapping is produced when a diagram deliverable follows.6364### Sources to preserve6566- [Azure AI Foundry](https://learn.microsoft.com/azure/ai-foundry/)67- [Azure Well-Architected for AI workloads](https://learn.microsoft.com/azure/well-architected/ai/)68- [OpenTelemetry GenAI semantic conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/)69- [Model Context Protocol](https://modelcontextprotocol.io/)70- [GitHub Models](https://docs.github.com/github-models)7172## Output template7374Return exactly this structure:7576```markdown77# Agentic architecture decision record7879**Status:** completed | blocked80**Summary:** <one-sentence architecture recommendation>81**Use case:** <short use-case name>8283### Details84- Model routing: <decision and rationale>85- Caching: <decision and rationale>86- Memory: <decision and rationale>87- Context curation: <decision and rationale>88- Tools and MCP: <decision and rationale>89- Identity and guardrails: <decision and rationale>90- Evaluation, observability, and cost: <decision and rationale>9192### Validation evidence93- Sources checked: <links or documents used>94- Assumptions: <explicit assumptions or none>95- Risks and trade-offs: <list>96- Follow-up primitives: <skills or agents to use next>97```9899## Limits100101- Do not use this skill for Azure AI Foundry provisioning.102- Use `foundry-agent-blueprint` (`skill`) instead when the task is a Foundry agent service blueprint.103- Do not use this skill for Redis implementation details.104- Use `azure-draw-io-diagram-generator` (`skill`) instead when the task is professional diagram rendering.105- Do not invent limits, prices, benchmarks, or citations.106107## Gotchas108109- One frontier model for every task is an anti-pattern; route by task class and reserve frontier for the hardest steps.110- No caching on stable system prompts or repeated retrievals wastes high-leverage cost levers.111- Unbounded context is unsafe; always budget the window and compact history.112- Tool sprawl is not free; each tool adds selection cost, so curate and namespace tools.113- Shared secrets are not a substitute for managed identity and agent identity.114- Shipping without evals or tracing prevents governance.115116## Progressive disclosure and bundled resources117118At discovery time, only `name` and `description` are loaded. Read the relevant reference file for each decision that needs depth.119120- `references/model-routing.md`: model tiering and routing decisions.121- `references/caching.md`: prompt caching and semantic caching decisions.122- `references/memory.md`: short term and long term memory decisions.123- `references/context-curation.md`: RAG, ranking, compaction, and context-window budgeting.124- `references/tools-and-mcp.md`: tool and MCP design decisions.125- `references/guardrails-and-identity.md`: agent identity, least privilege, and safety controls.126- `references/evaluation-observability-cost.md`: evaluation, tracing, and spend governance.127128## Related primitives129130| Name | Type | Use it when |131| --- | --- | --- |132| `foundry-agent-blueprint` | `skill` | The architecture needs an Azure AI Foundry Agent Service blueprint. |133| `azure-infrastructure` | `skill` | The design needs Azure infrastructure patterns beyond agentic decisions. |134| `azure-draw-io-diagram-generator` | `skill` | The decision record needs a professional editable diagram. |135| `architecture-doc` | `skill` | The architecture Markdown deliverable needs compliance validation. |136| `open-horizons-architect` | `agent` | A persistent architecture agent should own the broader design. |137138## Quality gate139140- [ ] The seven decisions are addressed in order.141- [ ] Each decision includes an option, rationale, and source or explicit assumption.142- [ ] Limits, prices, and benchmarks are verified against authoritative sources or omitted.143- [ ] Anti-patterns were checked and flagged when present.144- [ ] Follow-up primitives are named for provisioning, implementation detail, diagrams, or validation.145- [ ] The response follows `## Output template` exactly.146- [ ] Every bundled resource referenced above exists.
Run npx skillmds@latest add paulasilvatech/azure-agentic-architecture-patterns-4 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Provides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls. It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
paulasilvatech (@paulasilvatech) published this skill. Their other Agent Skills are listed on their SkillMD profile.