Written by the AgileFever editorial team. Facts checked on November 25, 2026 against the official pages of the organizations named in this post. AgileFever sells training for some of the topics covered here, and we say so wherever it applies. Every technical fact comes from Microsoft Learn, Microsoft’s Azure pricing page and the Microsoft AutoGen repository, read on that date. AgileFever sells a course on this topic and says so below.
Search for Microsoft Foundry agents and you find pages written under three different names and two different APIs. Older tutorials talk about threads and runs in Azure AI Foundry. Microsoft’s current pages talk about conversations and responses in Microsoft Foundry. This post sorts out the names and walks the first agent the way Microsoft documents it today.
Microsoft Foundry agents: what the names mean now
Microsoft’s “What is Microsoft Foundry?” page, last dated August 2026 and read on November 25, 2026, carries a table of what changed. The rows that matter for agents:
| Older name or term | Current name or term | Why you care |
|---|---|---|
| Azure AI Studio, Azure AI Foundry | Microsoft Foundry | Searching the old name finds old tutorials |
| Assistants API (agents v0.5 and v1) | Responses API (agents v2) | New agents are built on the Responses API |
| Threads, messages, runs | Conversations, items, responses, agent versions | Code samples use the new nouns; the old ones fail |
| Several SDK packages, many endpoints | azure-ai-projects 2.x and one project endpoint | Version 2.x is not compatible with 1.x |
A tutorial that opens a hub-based project or uses threads and runs describes the classic path; Microsoft says new investment goes to Foundry projects.
The Microsoft Foundry agents services map
Microsoft Foundry is the platform. Foundry Agent Service is the part that hosts Microsoft Foundry agents. The map shows how they stack.
Drawn by AgileFever from Microsoft Learn pages on Foundry Agent Service, toolbox, environment setup and agent identity, read November 25, 2026.
The toolbox speaks MCP; Model Context Protocol explained covers the protocol.
The three agent types in Foundry Agent Service
Microsoft’s overview, updated on November 24, 2026, says the choice “sets how much you build versus how much Foundry manages”. The comparison below follows its table.
| Prompt agent | Voice-based prompt agent | Hosted agent | |
|---|---|---|---|
| You define | Instructions, model, tools | Model, instructions, audio settings, greeting, tools | Your own code and framework |
| Build in | Portal, Azure Developer CLI, SDK or REST | Portal, SDK or REST | Agent Framework, LangGraph, OpenAI Agents SDK, Anthropic Agent SDK, custom code |
| Code you maintain | None | None for the managed voice orchestration | Your agent logic (Python or C#) |
| Compute you manage | None | None | Container compute, run by Foundry |
| Best for | Fast start, internal tools, no custom orchestration | Spoken, low-latency interactions | Agents that call your own code, custom orchestration, multi-agent systems |
Source: Microsoft Learn, What is Foundry Agent Service, agent type comparison, read November 25, 2026.
A fourth path skips Foundry-hosted agents. You call the Responses API from an agent you already run elsewhere and use Foundry models and tools. Microsoft calls this an ephemeral agent: the definition lives in your code, with no agent resource in Foundry.
Hosted agents: what Microsoft documents
- Packaging. A container image pushed to Azure Container Registry, or a .zip of source that Foundry builds for you. Python and C# are supported.
- Isolation. Each session runs in its own VM-isolated sandbox. Hosted sessions idle out after 2 to 240 minutes (15 by default), and a session is deleted after 30 days without use.
- Versions. Every version is immutable, and an endpoint serves one version at a time. Traffic splitting between versions is not supported.
Tools and knowledge for Microsoft Foundry agents
An agent acts through tools and answers from knowledge. Microsoft’s toolbox page lists these tools as usable inside a toolbox: MCP servers, web search, Foundry IQ (Azure AI Search), code interpreter, file search, OpenAPI, agent-to-agent (A2A), browser automation, Fabric IQ, Work IQ, tool search and skills. Function calling, Grounding with Bing, computer use, SharePoint and a few others work only as direct integrations.
Skills and agent memory are marked preview on Microsoft’s pages. Microsoft states that preview features carry no service-level agreement.
Your first agent, step by step, as Microsoft documents it
These steps follow Microsoft’s prompt agent quickstart (dated November 4, 2026) and the environment setup page. They carry no code, because package versions change faster than a blog. Copy commands from Microsoft’s pages.
Creating the account and project needs Foundry Account Owner on the subscription, plus Role Based Access Control Administrator (or Owner) for a standard setup. Creating and editing agents needs Foundry User. Only calling an endpoint needs Foundry Agent Consumer.
Basic keeps agent state in Microsoft-managed storage. Standard stores files, conversations and vector data in your own Azure Storage, Cosmos DB and AI Search. The autodeploy template creates the account, project and a GPT-4.1 deployment in typically 5 to 10 minutes.
The quickstart lists both as prerequisites.
It has the form https://<resource-name>.services.ai.azure.com/api/projects/<project-name> and appears on the welcome screen of the Foundry portal.
In the portal, or in code with the azure-ai-projects package at version 2.3.0 or later after az login. The sample creates an agent version with a model name and instructions. Microsoft’s sample uses gpt-5-mini.
Create a conversation, send a question, then a follow-up in the same conversation to see history work. Then open the trace in the portal and check each model call.
Delete the resource group that holds the project.
Names cannot change after creation, and each saved change becomes a new immutable version. Unsaved playground changes are lost if you leave the portal.
Foundry Agent Service, Agent Framework or Copilot Studio
These are three layers, not three rivals. Foundry Agent Service runs agents. Agent Framework is a code library. Copilot Studio is a low-code studio. Microsoft’s Cloud Adoption Framework describes Copilot Studio as the low-code option and Foundry as the code-first option for teams with specialized requirements and engineers, and says an organization can support more than one.
| Question | Foundry Agent Service (prompt agent) | Agent Framework in code | Copilot Studio |
|---|---|---|---|
| Who builds it | Developers or technical analysts in the portal or SDK | Software engineers | Business users and developers in a graphical studio |
| What you write | Instructions, model choice, tools | Agent and workflow code in .NET or Python (Go is public preview) | Descriptions, topics, workflows and agent flows in a designer |
| Where it runs | Foundry runs it | Anywhere you host it, or on Foundry as a hosted agent | Microsoft’s managed studio, published to Teams, Microsoft Copilot, websites and apps |
| Control over the loop | Low: Foundry runs the loop | High: you write agents, middleware and graph workflows | Low to medium: configuration and designer logic |
| Pick it when | One agent, a prompt and tools can do the job | You need custom orchestration, multi-agent graphs or your own host | A business team owns the agent and the channels are Microsoft 365 |
| Skip it when | You need custom orchestration logic or your own protocol | A function would do; Microsoft says to write the function instead of an agent | You need code-level control over every step |
Sources: Microsoft Learn pages for Foundry Agent Service, Microsoft Agent Framework, Copilot Studio and the Cloud Adoption Framework, read November 25, 2026. The Pick and Skip rows are AgileFever’s reading of those pages.
On the code side, Microsoft says Agent Framework is the direct successor to AutoGen and Semantic Kernel, created by the same teams. The AutoGen repository is archived and says it receives no bug or security fixes. If your code imports AutoGen, plan a move. For how Agent Framework compares with LangGraph and CrewAI, read AI agent frameworks compared.
Supported regions and limits, as Microsoft documents them
Microsoft’s limits page, dated November 18, 2026, says Foundry Agent Service is generally available, with some sub-features in preview.
Count of regions marked Yes in the regional support table, as read on November 25, 2026.
Source: Microsoft Learn, Quotas and limits for Foundry Agent Service. Poland Central and Spain Central are the two regions without voice-based agents. Hosted agents have their own list of 31 regions. Region lists change; confirm yours in the Foundry portal.
Default limits worth knowing before you design:
| Limit | Value Microsoft documents |
|---|---|
| Tools registered per agent | 128 |
| Versions per agent | 1,000 (creating more fails until you delete old ones) |
| Concurrent hosted sessions, per subscription per region | 1,000 by default; higher on request |
| Conversation retention, basic setup | 60 days, then deleted. Standard setup: 60 days by default, changeable in your Cosmos DB |
Source: Microsoft Learn, Quotas and limits for Foundry Agent Service, read November 25, 2026.
Security, identity and governance
Foundry is built on Microsoft Entra. Four ideas cover most of what you configure.
- Each agent has its own identity. A newly created agent gets its own Entra agent identity. It starts with no permissions, and Foundry does not assign any. You grant what it needs through Azure RBAC or the target service’s roles, at resource scope.
- Permissions do not travel. When you migrate a legacy agent or publish an agent, the identity changes and existing role assignments do not transfer. Reassign them.
- Tool authentication. Options are key-based access, Microsoft Entra with a managed identity, or OAuth identity passthrough (on-behalf-of).
- Guardrails. A guardrail is a named set of controls for risks such as harmful content and prompt attacks, applied at four points: user input, tool call, tool response and output. Agent guardrails and the tool-call and tool-response points are in preview. An agent’s own guardrail fully replaces its model’s guardrail, and guardrails apply only to agents built in Foundry Agent Service.
Guardrails reduce attacks but do not end them. Read prompt injection and guardrails before you let an agent act on content it did not write. Agent identities also appear in the Microsoft Entra admin center inventory, where administrators can apply Conditional Access.
Publishing to Teams and Microsoft 365 Copilot needs Foundry User. The “Just you” scope needs no admin approval; “People in your organization” does, in the Microsoft 365 admin center.
How pricing works (no amounts here)
Azure prices change by region and agreement, so this post quotes none. The Azure pricing page for Foundry Agent Service, read on November 25, 2026, describes the dimensions:
- Foundry-native agents: no charge for creating or running the agent itself. You pay for model tokens, plus separate charges for Foundry Tools and Foundry IQ connections.
- Hosted agents: billed on the container compute consumed, in vCPU-hours and memory GiB-hours. Microsoft states that billing uses the CPU and memory allocated to each session, not what your code uses, and that idle time before suspension is billed.
Open the Azure pricing page, pick your region, and use the Azure pricing calculator and a budget alert before you run a test. Right-size hosted sandboxes, because oversizing multiplies cost by your number of sessions.
Common mistakes with Microsoft Foundry agents
- Following a classic tutorial. Threads, runs and hub-based projects belong to the older path. Check for conversations, responses and azure-ai-projects 2.x.
- Skipping the role check. Creating a project needs Foundry Account Owner, creating an agent needs Foundry User, and a standard setup needs the right to assign roles. Most first-day failures are permission errors.
- No Application Insights. Tracing needs it. You then debug an agent from its answers alone.
- Expecting permissions to follow the agent. New identity after publish or migration, new role assignments.
- Leaving hosted sessions running. Allocated compute is billed until the session suspends. Stop sessions you no longer need.
- Treating preview as production. Tracing, evaluation, memory and agent guardrails carry preview labels. Plan for change.
Where AgileFever fits
AgileFever sells Enterprise AI Agents on Azure (Microsoft Foundry), a 12-hour live course. As listed on November 25, 2026, it is $199 or ₹16,000 before 18% GST, which buyers in India pay at checkout. The page lists the cohorts that start on December 7, 2026 (US, 7:30 to 9:30 PM ET) and December 8, 2026 (India, 6:00 to 8:00 AM IST). It says you build agents in the Foundry portal and in Python with Microsoft Agent Framework, connect tools through MCP, link agents with the A2A protocol, and bring LangGraph or CrewAI agents onto Azure. It also covers retrieval, tracing, guardrails and cost controls.
Additional discounts are available. Contact us to know more.
It suits engineers who already build agents. If you are comparing clouds first, read Azure vs AWS vs Google Cloud for AI agents and the cloud AI agent skills you build in these courses. For the AWS side of the same question, see AWS Bedrock Agents. Microsoft’s own page is the final word on features; the Foundry Agent Service overview on Microsoft Learn is where changes show first.
Questions people ask
What are Microsoft Foundry agents?
They are AI agents built and run on Foundry Agent Service in Microsoft Foundry. An agent combines a model, instructions and tools. Microsoft documents three types: prompt agents, voice-based prompt agents and hosted agents that run your own code.
Is Azure AI Foundry the same as Microsoft Foundry?
Yes. Microsoft’s current documentation lists Azure AI Studio and Azure AI Foundry as the previous brand and Microsoft Foundry as the current one. Azure AI Services became Foundry Tools.
What is the difference between Foundry Agent Service and Microsoft Agent Framework?
Foundry Agent Service is a managed host that runs agents, with identity, scaling and tracing. Agent Framework is an open-source code library for writing agents and workflows. You can run Agent Framework agents on Foundry as hosted agents, or host them yourself.
Is AutoGen still supported?
No new work is planned. The Microsoft AutoGen repository is archived and says it gets no bug fixes, security fixes or features. Microsoft names Agent Framework as the successor.
Do I need to write code to build a Foundry agent?
No. A prompt agent needs only instructions, a model and tools, set in the Foundry portal. Code is needed for hosted agents, for automated deployment pipelines, or when you want custom orchestration.
How much do Microsoft Foundry agents cost?
Creating or running a Foundry-native agent has no charge. You pay for model tokens and tools. Hosted agents add compute billed in vCPU-hours and GiB-hours. Read the Azure pricing page for your region and set a budget alert first.
Which regions support Foundry Agent Service?
Microsoft’s table lists 30 regions for agents, including South India and Southeast Asia, and 31 for hosted agents. Check the regional table for your model and tools before you create the project.