Skip to content

Microsoft Agent Framework (.NET)

GA 1.0 unified .NET SDK that merges Semantic Kernel and AutoGen. Build C# agents with ChatClientAgent, orchestrate multi-agent workflows, integrate with Azure AI services via managed identity, and stream via SignalR or SSE.

Install

Terminal window
dotnet add package Microsoft.Agents.AI

Version

v1.0.1 · April 2026 · .NET 8.0+

Best for

Enterprise .NET agents, Azure-native deployments, RBAC, multi-agent orchestration.

  • Stable APIs with LTS commitment.
  • First-party service connectors via IChatClient: Azure OpenAI, OpenAI, Anthropic Claude, Amazon Bedrock, Google Gemini, Ollama.
  • Unified orchestration — sequential, concurrent, handoff, group chat, Magentic-One.
  • Azure App Service support.
using Microsoft.Agents.AI;
using Azure.AI.OpenAI;
var client = new AzureOpenAIClient(
new Uri(Environment.GetEnvironmentVariable("AZURE_OPENAI_ENDPOINT")!),
new DefaultAzureCredential()
);
var agent = new ChatClientAgent(
chatClient: client.GetChatClient("gpt-4o"),
instructions: "You are a helpful assistant."
);
var response = await agent.RunAsync("What is 15 + 27?");
Console.WriteLine(response.Text);

Ready? Start Zero → Hero Step 1 →


DateVersionChanges
2026-04-211.0.1Index redesigned with Zero → Hero + Jump-to-topic grid.
April 10, 20261.0.1Patch release.
April 3-7, 20261.0 GAGA; stable APIs; first-party connectors; Azure App Service.
November 20251.0 PreviewInitial .NET guide.

Other languages: Python.