Microsoft Agent Framework logo

[ AI tools · Frameworks and platforms ]

Microsoft Agent Framework for .NET and Python Teams

Microsoft’s open-source successor to Semantic Kernel and AutoGen. We build code-first agents and multi-agent workflows with it, and move existing Semantic Kernel and AutoGen code onto it.

Semantic Kernel

  • Plugins and functions
  • Enterprise connectors
  • Filters and telemetry
  • Typed .NET and Python APIs

AutoGen

  • Multi-agent chats
  • Group orchestration
  • Code execution agents
  • Research patterns

Microsoft Agent Framework

Open source · Python and .NET

  • Agents and tools
  • Graph workflows with checkpoints
  • MCP and A2A
  • OpenTelemetry tracing
  • Deploys to Foundry

One Framework Where Microsoft Had Two

Microsoft Agent Framework brings Semantic Kernel and AutoGen together as one open-source framework. The same agent reads almost the same in C# and Python; pick a capability to see where it lives.

Program.cs
var agent = chatClient.CreateAIAgent(    tools: [lookupOrder, mcpTools]);var flow = new WorkflowBuilder(triage).AddEdge(triage, refunds).Build();services.AddOpenTelemetry().WithTracing(t => t.AddSource("*"));
agent.py
agent = chat_client.create_agent(    tools=[lookup_order, mcp_tools])flow = WorkflowBuilder().set_start(triage).add_edge(triage, refunds).build()setup_observability()  # OpenTelemetry

Simplified, illustrative code. Exact method names follow the current release.

[ Orchestration ]

Five Ways to Make Agents Work Together

  1. 01

    Sequential

    Each agent hands its result to the next, like an assembly line: extract, check, draft, review.

  2. 02

    Concurrent

    Several agents work on the same input at once and a final step combines their answers.

  3. 03

    Handoff

    A front agent decides who should handle the request and passes the conversation on.

  4. 04

    Group chat

    Agents discuss a problem in turns under a moderator until they agree or a limit is reached.

  5. 05

    Manager-led

    A manager agent plans, assigns tasks to workers, tracks progress and replans when something fails.

[ Migration ]

Semantic Kernel and AutoGen Code Has a Clear Path Forward

Microsoft has positioned Agent Framework as the successor to both. Existing apps keep working, but new features land in the framework, so most teams plan the move.

  1. 01InventoryEvery kernel, plugin, agent and planner in your code, with owners.
  2. 02MapPlugins become tools, agent chats become workflows, planners become manager-led patterns.
  3. 03Move in slicesOne agent at a time, with the same tests passing before and after.
  4. 04RetireOld packages removed once every slice is live.
[ Before and after ]

The Same Agent, Moved Across

Semantic Kernel

kernel = Kernel()
kernel.add_plugin(OrdersPlugin())
agent = ChatCompletionAgent(
  kernel=kernel,
  instructions=PROMPT)

Agent Framework

agent = ChatAgent(
  chat_client=FoundryChatClient(),
  instructions=PROMPT,
  tools=[get_order, refund])

Simplified Python sketch. Exact class names depend on the release you target.

Engineering team meeting around a table with laptops
[ How we deliver ]

Built in Your Stack, Handed to Your Engineers

  • In your languageC# for .NET teams, Python for data teams, following your solution structure.
  • Deployed your wayTo Microsoft Foundry Agent Service, Azure Container Apps or your Kubernetes cluster.
  • Tested like the restUnit tests for tools, recorded runs for workflows, evaluations for model output.
  • ObservableTraces in Azure Monitor and Application Insights alongside your other services.

Compare the Ways In

  • AI Agent Integration$4,000 to $6,0001 to 2 weeks
    • What it is: One agent in C# or Python
    • Tools, tracing and deployment
    • Works in your Azure tenant
    Details
  • Dedicated Developer Trial$3,000 to $5,000/mo1 month
    • What it is: A senior AI engineer for a month
    • Tools, tracing and deployment
    • Works in your Azure tenant
    • Starts within 48 hours
    Details
  • SK or AutoGen migrationFrom $8,000Typically three to eight weeks
    • What it is: Your agents moved slice by slice
    • Tools, tracing and deployment
    • Works in your Azure tenant
    • Tests passing before and after
    Scope it

Agent Framework Questions

What is Microsoft Agent Framework?

An open-source framework from Microsoft for building agents and multi-agent workflows in Python and .NET. It brings together Semantic Kernel's enterprise features and AutoGen's multi-agent patterns.

What is Microsoft Agent Framework? An open-source framework from Microsoft for building agents and multi-agent workflows in Python and .NET. It brings together Semantic Kernel's enterprise features and AutoGen's multi-agent patterns.

Should we migrate from Semantic Kernel or AutoGen? Microsoft positions Agent Framework as the successor to both, so new capabilities land there. Existing apps keep running; we usually migrate when you next need significant changes, one agent at a time.

Agent Framework, Copilot Studio or Foundry? Agent Framework is for engineers writing agents in code. Copilot Studio is low-code for business teams. Microsoft Foundry is the Azure platform where agents from either are hosted and governed. They work together.

Does it only work with Azure? No. It works with Azure OpenAI and Foundry models, OpenAI, and other providers, and runs anywhere Python or .NET runs. It fits most naturally in Azure-based companies.

Can its agents talk to agents built with other frameworks? Yes. It supports the A2A protocol for agent-to-agent communication and MCP for tools, so it can work with agents and tools from other ecosystems.

Do you work in C#? Yes. We build in C# for .NET teams and in Python for data teams, following your existing solution structure and conventions.

[ Contact ]

Let's build your next product together

Book a free strategy call and leave with a clear plan and estimate. No commitment.

  1. 01Pick a time that suits you
  2. 0230 minutes on scope, stack, timeline and budget
  3. 03Fixed-price proposal, NDA on request
Prefer email? contact@sajaltech.com