Module 7 · Lesson 5 · 14 min read
From AutoGen to the Microsoft Agent Framework
From AutoGen to Microsoft Agent Framework
Introduction
AutoGen became known for the idea of agents that converse to solve tasks, but it no longer receives new releases, and it has been officially succeeded by the Microsoft Agent Framework. In this lesson we understand this transition, read the basic form of an agent in the new framework, and simulate the round-robin conversation in plain Python.
Learning objectives
- Explain the idea of conversing agents introduced by AutoGen
- Clarify the relationship between AutoGen, Semantic Kernel and the Microsoft Agent Framework
- Read the basic form of an agent in agent-framework and run it asynchronously
- Distinguish between agents and workflows in the new framework
From AutoGen to the Microsoft Agent Framework
The AutoGen paper (Wu et al., 2023) introduced an influential idea: building language model applications from conversable agents; each agent sends and receives messages, and may be backed by a language model, by tools or by a human, and the task is solved through a structured conversation between them. This idea spread widely in teaching and research.
But the package's status has changed: the latest version of autogen-agentchat is 0.7.5, dated 30 September 2025, and nothing new has been released since. In its place Microsoft released the Agent Framework, which the official documentation describes as the direct successor of both AutoGen and Semantic Kernel, built by the same two teams (according to the official documentation, reviewed 18 November 2026).
The Microsoft Agent Framework at a glance
- Platforms: .NET and Python, with Go in preview.
- Installation in Python:
pip install agent-framework; the latest version is 1.26.0 and it requires Python 3.11 or later. - Two central concepts: agents, which use a language model to process inputs and call tools, and graph-based workflows for connecting several steps and agents in a controlled flow.
In this way the framework combines the spirit of AutoGen (cooperating agents) with the spirit of the enterprise systems in Semantic Kernel (control and integration), and on the workflow side it comes close to the state graph idea we saw in LangGraph.
The basic form of an agent
The framework documents creating an agent by passing a model client and instructions, then running it asynchronously:
# agent-framework 1.26.0 — reviewed 18 November 2026 (Python >=3.11)
# Requires: pip install agent-framework and the OPENAI_API_KEY and OPENAI_MODEL (model name) environment variables
# The client class name and how to configure it differ by provider; check the documentation before use
import asyncio
import os
from agent_framework import Agent
from agent_framework.openai import OpenAIChatClient
async def main():
agent = Agent(
client=OpenAIChatClient(model=os.environ["OPENAI_MODEL"]),
instructions="You are an academic advisor who answers briefly and in English.",
)
result = await agent.run("How do I choose my first-semester courses?")
print(result.text)
asyncio.run(main())Notice the difference from the OpenAI Agents SDK: here the agent itself has the asynchronous run method, and the model is injected through client, which makes it easy to switch providers without changing the agent's logic.
A practical example: the round-robin conversation idea without libraries
To understand the idea AutoGen became known for, a team whose members take turns speaking until a termination condition is met, here is a simulation in standard Python. The scenario: a "writer" proposes a title for a graduation project and a "reviewer" rejects it until it contains a specific word, with a maximum number of rounds:
# An educational simulation of a round-robin conversation between two agents - standard Python
def writer(history):
drafts = ["A smart system", "A smart attendance system", "A smart system for tracking attendance using agents"]
return drafts[min(len(history) // 2, len(drafts) - 1)]
def reviewer(history):
title = history[-1][1]
return "Approved" if "agents" in title else "The title is too general; specify the technology"
team = [("writer", writer), ("reviewer", reviewer)]
history, max_rounds = [], 4
for r in range(max_rounds):
for name, agent in team:
history.append((name, agent(history)))
print(name, ":", history[-1][1])
if history[-1][1] == "Approved": # termination condition
breakThis is the same mental structure: a list of agents, a shared message log, a termination condition and a maximum number of rounds. The difference is that the real framework makes each agent a language model, adds tools and tracing, and lets you turn the free conversation into a workflow with defined steps when you need more control.
When should you choose this framework?
- If your team works in a .NET and Python environment together and needs the same concepts in both languages.
- If you have a project based on AutoGen or Semantic Kernel and plan to move to the official successor.
- If you need to combine flexible agents and controlled workflows in a single framework.
Summary
AutoGen introduced the idea of conversing agents, and the latest version of autogen-agentchat is 0.7.5 in September 2025. The Microsoft Agent Framework is the direct successor of AutoGen and Semantic Kernel, and it supports .NET and Python, with Go in preview. It is based on two concepts: agents and graph-based workflows. An agent is created with a model client and instructions and run with await agent.run.
Terms
| Term | English | Definition |
|---|---|---|
| Conversable agent | Conversable Agent | An agent that sends and receives messages within a multi-agent conversation |
| Workflow | Workflow | A graph-based flow of steps and agents controlled by code |
| Termination condition | Termination Condition | A rule that stops the conversation when a specific goal is met |
| Chat client | Chat Client | An object that connects the agent to a particular language model provider |
| Successor framework | Successor Framework | A framework that replaces an earlier framework and continues its development |
Review questions
- What is the basic idea introduced by the AutoGen paper?
- What is the relationship between the Microsoft Agent Framework and both AutoGen and Semantic Kernel?
- What is the difference between agents and workflows in the Microsoft Agent Framework?
- Why does the round-robin conversation pattern need both a termination condition and a maximum number of rounds?
References
- Microsoft Agent Framework overview learn.microsoft.com Reviewed on 2026-11-18
- AutoGen (Wu et al., 2023) arxiv.org Reviewed on 2026-11-18
- autogen-agentchat on PyPI pypi.org Reviewed on 2026-11-18
