Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Build and deploy AI applications on Azure AI Foundry using Microsoft's model catalog and AI services
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/standard-agent-setup.md
1# Standard Agent Setup23> **MANDATORY:** Read [Standard Agent Setup docs](https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/standard-agent-setup?view=foundry) before proceeding with standard setup.45## Overview67Azure AI Foundry supports two agent setup configurations:89| Setup | Capability Host | Description |10|-------|----------------|-------------|11| **Basic** | None | Default setup. All resources are Microsoft-managed. No additional connections required. |12| **Standard** | Azure AI Services | Advanced setup. Bring-your-own storage and search connections for full control over data residency and scaling. |1314## Standard Setup Connections1516| Connection | Service | Required | Purpose |17|------------|---------|----------|---------|18| Thread storage | Azure Cosmos DB | โ Yes | Store conversation threads in your own Cosmos DB instance |19| File storage | Azure Storage | โ Yes | Store uploaded files in your own Azure Storage account |20| Vector store | Azure AI Search | โ Yes | Use your own Azure AI Search instance for vector/knowledge retrieval |21| Azure AI Services | Azure AI Services | โ Optional | Use OpenAI models from a different AI Services resource |2223> ๐ก **Tip:** Standard setup is recommended for production workloads that require control over data storage, custom vector search, or integration with models from a separate AI Services resource.2425## Prerequisites2627Before starting deployment, confirm the following with the user:28291. **RBAC role on the resource group:** The user must have **Owner** or **User Access Administrator** role on the target resource group. The Bicep template assigns RBAC roles (Storage Blob Data Contributor, Cosmos DB Operator, AI Search roles) to the project's managed identity โ this will fail without `Microsoft.Authorization/roleAssignments/write` permission.302. **Subscription quota:** Verify the target region has available quota for AI Services. If quota is exhausted, try an alternate region (e.g., `swedencentral`, `eastus`, `westus3`).313. **Azure Policy compliance:** Some subscriptions enforce policies (e.g., storage accounts must disable public network access). If the Bicep template fails due to policy violations, patch the template to comply (e.g., set `publicNetworkAccess: 'Disabled'` and `defaultAction: 'Deny'` on the storage account).3233## Deployment3435- Standard setup always creates a **new Foundry resource and a new project**. Do not ask the user for a project endpoint โ one will be provisioned as part of the deployment.36- **Always use the official Bicep template:**37[Standard Agent Setup Bicep Template](https://github.com/azure-ai-foundry/foundry-samples/blob/main/infrastructure/infrastructure-setup-bicep/43-standard-agent-setup-with-customization/main.bicep)3839> โ ๏ธ **Warning:** Capability host provisioning is **asynchronous** and can take 10โ20 minutes. After deploying the Bicep template, you **must poll** the deployment status until it succeeds. Do not assume the setup is complete immediately.4041## Post-Deployment: Model & Agent4243After infrastructure provisioning succeeds:44451. **Deploy a model** to the new AI Services account (e.g., `gpt-4o`). If `GlobalStandard` SKU quota is exhausted, fall back to `Standard` SKU.462. **Create the agent** using MCP tools (`agent_update`) or the Python SDK (`client.agents.create_version`). See [SDK Operations](../foundry-agent/create/references/sdk-operations.md) for details.4748## References4950- [Capability Hosts โ Agent Setup Types](https://learn.microsoft.com/en-us/azure/ai-foundry/agents/concepts/capability-hosts?view=foundry)51- [Standard Agent Setup](https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/standard-agent-setup?view=foundry)52