Microsoft Agent Framework 1.0: .NET and Python 2026
Microsoft Agent Framework 1.0 GA (April 3, 2026) unifies Semantic Kernel and AutoGen into one .NET + Python SDK with MCP and A2A. Full setup guide.
GA Date
Languages
Providers
Legacy Stars Merged
Key Takeaways
Microsoft shipped Agent Framework 1.0 GA on April 3, 2026 — the production-ready convergence of Semantic Kernel and AutoGen into a single unified SDK. Between them the two predecessor projects accumulated more than 75,000 GitHub stars and three years of enterprise field experience. Version 1.0 is the commitment milestone: stable APIs, long-term support, .NET and Python first-class, and native MCP + A2A interoperability with the rest of the 2026 agent ecosystem.
This post is the full technical reference: the architecture merger, .NET and Python hello-worlds, the six-provider support matrix, MCP tool discovery, A2A cross-framework coordination, multi-agent orchestration patterns, DevUI local debugging, and the Azure App Service deployment story Microsoft published alongside 1.0.
Why the merger matters: Semantic Kernel gave you the kernel, plugin model, and provider connectors. AutoGen gave you multi-agent orchestration. Until 1.0 you had to pick one and glue the other in. Now the graph-based workflow engine sits natively on top of the kernel — one package, one mental model.
Release Facts
| Fact | Detail |
|---|---|
| GA date | April 3, 2026 (announced April 6) |
| Package name | Microsoft.Agents.AI (.NET) / microsoft-agents-ai (Python) |
| Languages | .NET 9+ (C# 13), Python 3.10+ |
| License | MIT |
| Source | github.com/microsoft/agent-framework |
| Interop protocols | MCP (full), A2A 1.0 |
| Support commitment | Long-term support for 1.0 APIs, documented upgrade path |
Semantic Kernel + AutoGen Merger
The architectural story is cleaner than people expected. Semantic Kernel does not go away — it becomesthe foundation layer. AutoGen's orchestration concepts get re-implemented as a graph workflow engine on top of that foundation.
- Kernel abstraction and DI integration
- Plugin model (functions, filters, planners)
- Connector system (chat, embeddings, memory)
- Prompt template language
- Multi-agent conversation patterns
- Group chat / round-robin / hierarchical roles
- Task hand-off and state reconciliation
- Graph-typed workflows with typed edges
Legacy codebases: Semantic Kernel continues to receive maintenance. AutoGen does too but investment now flows into Agent Framework. Plan AutoGen migrations during 2026. Semantic Kernel migrations can be lazy — migrate as features require.
Architecture Overview
Five layers, bottom to top:
- Connectors — provider-specific adapters for Azure OpenAI, OpenAI, Anthropic Claude, Bedrock, Gemini, Ollama. Swappable with a single registration line.
- Kernel — the DI container and configuration surface. Inherited from Semantic Kernel.
- Agents — the first-class agent primitive: instructions, tools, memory, state. Pluggable at the agent level.
- Orchestration — the graph workflow engine. Multi-agent patterns (round-robin, supervisor, hierarchical) live here.
- Interop layer — MCP and A2A protocol adapters for talking to external tools and other-framework agents.
.NET Setup and Hello World
dotnet new console -n HelloAgent
cd HelloAgent
dotnet add package Microsoft.Agents.AI
dotnet add package Microsoft.Agents.AI.OpenAI// Program.cs
using Microsoft.Agents.AI;
using Microsoft.Agents.AI.OpenAI;
var agent = new ChatAgent(
name: "Concierge",
instructions: "You are a concise agency concierge. Answer in one paragraph.",
model: new OpenAIChatClient("gpt-4.1", Environment.GetEnvironmentVariable("OPENAI_API_KEY")!)
);
await foreach (var token in agent.RunStreamingAsync("Explain MCP in 3 sentences."))
{
Console.Write(token.Text);
}That is the full shape of a production-ready .NET agent: dependency-inject the connector, construct a ChatAgent, stream tokens. IAsyncEnumerable is the canonical streaming type — works with await foreach and with async pipelines in ASP.NET endpoints.
Python Setup and Hello World
pip install microsoft-agents-ai microsoft-agents-ai-openai# main.py
import os
import asyncio
from microsoft.agents.ai import ChatAgent
from microsoft.agents.ai.openai import OpenAIChatClient
async def main():
agent = ChatAgent(
name="Concierge",
instructions="You are a concise agency concierge. Answer in one paragraph.",
model=OpenAIChatClient("gpt-4.1", api_key=os.environ["OPENAI_API_KEY"]),
)
async for token in agent.run_streaming("Explain MCP in 3 sentences."):
print(token.text, end="", flush=True)
asyncio.run(main())Same concepts, same ergonomics, idiomatic in each language. The Python API uses snake_case; the .NET API uses PascalCase. Otherwise the shape is identical — intentionally, so cross-team work stays portable.
Provider Matrix
| Provider | Package | Auth | Streaming |
|---|---|---|---|
| Azure OpenAI | Microsoft.Agents.AI.AzureOpenAI | Managed Identity, API key | Yes |
| OpenAI | Microsoft.Agents.AI.OpenAI | API key | Yes |
| Anthropic Claude | Microsoft.Agents.AI.Anthropic | API key | Yes |
| Amazon Bedrock | Microsoft.Agents.AI.Bedrock | IAM | Yes |
| Google Gemini | Microsoft.Agents.AI.Google | API key / OAuth | Yes |
| Ollama (local) | Microsoft.Agents.AI.Ollama | localhost | Yes |
MCP + A2A Interoperability
MCP and A2A are the two interop protocols that make Agent Framework 1.0 a first-class 2026 citizen. MCP is tools; A2A is agents.
MCP: dynamic tool discovery
// Attach any MCP server — Google Ads MCP, GitHub MCP, your own custom server
var agent = new ChatAgent("TradingAgent", instructions: "...")
.WithMcpServer("https://mcp.example.com/trading")
.WithMcpServer(new StdioMcpServer("pipx", "run", "--spec", "...", "google-ads-mcp"));
// Tools appear automatically; no code changes as the server catalog evolves.A2A: cross-framework coordination
A2A 1.0 lets an Agent Framework agent coordinate with agents running in other frameworks (Hermes Agent, LangChain, custom implementations) via structured, protocol-driven messaging. Same wire format, regardless of the runtime.
Multi-Agent Orchestration Patterns
The graph workflow engine surfaces four canonical patterns out of the box. Each maps to a node topology in the workflow DSL.
| Pattern | Use when |
|---|---|
| Round-robin | Each agent has a clear turn in a deterministic pipeline. |
| Supervisor | One coordinator routes messages to specialist agents and aggregates outputs. |
| Hierarchical | Tree topology — managers own sub-teams; useful for complex research tasks. |
| Dynamic hand-off | Agents decide at runtime which peer to transfer to. Needs clear termination criteria to avoid loops. |
Architecting multi-agent workloads? Our AI digital transformation team designs, ships, and operates Agent Framework deployments — including migration from Semantic Kernel and AutoGen.
DevUI: The Local Debugger
DevUI is a browser-based local debugger shipped alongside 1.0. Launch it with agent-framework devui; it surfaces agent execution traces, message flows, tool calls, and orchestration decisions in real time. Think Chrome DevTools for multi-agent workflows.
- Full message graph per workflow run
- Tool invocations and parameter bindings
- Token stream latency per node
- Orchestration decisions with rationale traces
DevUI is a local-only tool. For production observability, Agent Framework emits OpenTelemetry natively — pipe into your APM of choice (App Insights, Datadog, Honeycomb).
Azure App Service Deployment
Microsoft published an explicit Azure App Service reference architecture alongside 1.0. The pattern is intentionally uninteresting — and that is the point. Agents deploy like any other ASP.NET Core or FastAPI app.
- Provision Azure App Service (Linux or Windows), Azure OpenAI, and a managed identity.
- Grantthe App Service's managed identity access to the Azure OpenAI resource — no API keys in configuration.
- Publish the app through your CI/CD. Slot-based deployments for blue/green rollouts.
- Monitorwith Application Insights — Agent Framework's OpenTelemetry traces flow in automatically.
- Scale via App Service plan autoscale rules based on CPU or queue depth.
Conclusion
Agent Framework 1.0 is the first enterprise agent SDK that ships as a 1.0 with both Semantic Kernel lineage and AutoGen orchestration patterns. For Microsoft-centric stacks, this is the canonical choice through 2027. For cross-platform teams, the Python SDK plus A2A interop keeps it a viable option even when the rest of your agent stack runs elsewhere.
Ship Agent Framework 1.0 Workloads in Production
We migrate Semantic Kernel and AutoGen codebases to Agent Framework 1.0, design multi-agent workflows, and operate the Azure App Service deployment story.
Frequently Asked Questions
Related Guides
More on agent frameworks, multi-agent systems, and enterprise AI deployment.