Skill 180 · Foundry Agentic Loop
Subchapter 180.9
references/foundry-models.mdMarkdown5 KBView on GitHub
Choose the model, version, SKU, capacity and region for each deployment the solution needs. SDD declares the deployments in azure.yaml under services.ai-project.deployments[] (azd-layout.md) and creates them. Rapid reuses the project’s deployments and asks before adding one. Both record the selection in . Resolve live quota, availability and provisioning commands through .
azd provision.azure/deployment-plan.mdmicrosoft-foundryThe catalog changes monthly. Resolve exact versions, SKUs, registration and regional availability live through
microsoft-foundryand the Azure-direct models (opens in a new tab) and region availability (opens in a new tab) pages; never copy a version from memory.
Recommend the first fit, then offer alternatives only when cost, region, quota or registration blocks it. Prefer GA for production and flag Preview or registration-required models before deploying.
| Task | Start with | Consider when needed |
|---|---|---|
| Chat, agents, tools | gpt-5.4-mini (SDD default) | a nano tier for cost; a flagship tier for hard reasoning or very long context |
| Deep reasoning | the current GPT flagship | an o-series mini for cost |
| Coding | the current Codex model | gpt-4.1 for very large contexts |
| Multimodal input | gpt-5.4-mini | the flagship for long context |
| Embeddings | text-embedding-3-large | text-embedding-3-small for cost |
| Rerank | Cohere rerank (current version) | its fast tier for latency |
| Image, audio, video, document AI | the current GA model in that family | Preview models only with approval |
| Cost-optimized routing | model-router | only where it is offered (few regions) |
Treat placement as one subscription-specific decision, not a static model lookup. Before persisting AZURE_LOCATION or declaring a deployment, validate every required resource in each candidate region:
| Resource | Validate live |
|---|---|
| Foundry model | Exact model, version, SKU, requested capacity/quota, and registration status |
| Azure AI Search | Required SKU availability and regional feature support |
| Foundry hosted agents | Hosted-agent availability for the target project/account shape |
| Preview dependencies | Required provider/feature registration and regional availability |
Start with the preferred region, then use the target subscription’s live availability and quota checks through the maintained microsoft-foundry guidance. If any required resource fails, reject that candidate and rank alternatives that satisfy the complete resource set; do not move one resource independently unless the architecture explicitly supports cross-region placement.
Write the placement decision to ./.azure/deployment-plan.md:
| Field | Value |
|---|---|
| Preferred location | User/data-residency preference |
| Deployed location | First candidate that passed the joint preflight |
| Evidence | Model/version/SKU/capacity, Search SKU, hosted-agent, and preview checks |
| Variance | Reason deployed location differs, or none |
When the deployed location differs from the preferred location, update ./docs/spec.md (SDD) before implementation continues.
Only after the joint preflight passes:
azd env set AZURE_LOCATION "<region>" (SDD).azure.yaml services.ai-project.deployments[] with its deployment name, model name, format (OpenAI, Microsoft, MistralAI, Cohere, DeepSeek, Meta, xAI, …), version, and sku name (usually GlobalStandard) and capacity (thousands of tokens per minute)..azure/deployment-plan.md.eastus2 (broadest Azure OpenAI coverage); prefer swedencentral for EU data residency../docs/spec.md and ./.azure/deployment-plan.md immediately.