← Back to all projects

Agent Framework

Microsoft's declared successor to both AutoGen and Semantic Kernel, for .NET and Python

OfficialMIT
Stars
14.4k
Forks
2.5k
Open issues
842
Last commit
30 Oct 2026

What is Agent Framework?

Written by the teams behind both predecessors, it keeps AutoGen's light agent abstractions and adds Semantic Kernel's session state, middleware and telemetry, then puts graph-based workflows on top for cases where the execution path should be explicit rather than left to a model. For a .NET team this is the first-party answer that previously did not exist. The cost is timing: it is young, and code already running on either predecessor faces a migration rather than an upgrade.

What can you do with Agent Framework?

  • Point an agent at the provider you already use — An agent is a client plus a name and instructions. Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic and Ollama are supported, so the choice of model host is not tied to the choice of framework.
  • Decide between an agent and a workflow on purpose — The documentation draws the line explicitly: an agent for open-ended or conversational work, a workflow when the steps are known in advance and several agents or functions must coordinate along a fixed path.
  • Use the batteries-included agent for long tasks — A harness agent ships with planning and todo tracking, context compaction, file access and memory, tool approval that can be granted once instead of every time, and observability — the pieces a multi-hour task needs and a bare loop lacks.
  • Intercept what the agent does — Middleware wraps agent actions, context providers supply memory, and a session object holds state across turns, which is what makes human-in-the-loop and audit requirements tractable.
  • Migrate rather than guess — Published migration guides cover moving from Semantic Kernel and from AutoGen, and both predecessor repositories remain readable while a port is in progress.

Before you choose Agent Framework

  • Microsoft positions this as superseding AutoGen and Semantic Kernel, so an existing codebase on either is facing a migration, not a version bump — and both remain catalogued here separately.
  • The Go implementation lives in a separate repository and is in public preview, with declarative agents, RAG, CodeAct and functional workflows documented as not yet available there.

Star history

21 Aug to 30 Oct · +1.4k

13k14.4k

Frequently asked questions

Is Agent Framework free for commercial use?

Agent Framework is released under the MIT licence — OSI-approved open source, which permits commercial use.

How can Agent Framework be deployed?

Agent Framework is available as Self-hosted / Runs locally.

Agent Framework
Ask AI
GitHub