Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Agent framework - verified

AG2 (formerly AutoGen): features, install and latest version

AG2 (formerly AutoGen) is an AI agent framework maintained by AG2AI (volunteer maintainers from several organizations; project administrators Chi Wang and Qingyun Wu). As its docs describe it: AG2 is an open-source, async Python framework for building AI agents and multi-agent networks that diverged from the original AutoGen codebase in November 2024; since v1.0 the classic autogen API lives in the separate AG2 Classic package. It supports Python. License: Apache-2.0. Latest release: Python package ag2 1.1.2 (October 3, 2026).

Homepage - Source on GitHub - License

Languages
1
Latest Python
1.1.2
Released
2026-10-03
Features documented
10 of 10

Install

Copied verbatim from the page linked under each command.

Python

Terminal
pip install "ag2[openai]"

Source: docs.ag2.ai/docs/user-guide/quick-start

Terminal
pip install ag2

Source: pypi.org/project/ag2

Quickstart

The first example from the official docs, unchanged. It may need an API key for the model provider it calls.

Python
import asyncio

from ag2 import Agent
from ag2.config import OpenAIConfig

agent = Agent(
    "assistant",
    prompt="You are a helpful assistant.",
    config=OpenAIConfig(model="gpt-4o-mini"),
)


async def main() -> None:
    reply = await agent.ask("Summarize the main differences between Python lists and tuples.")
    print(reply.body)


asyncio.run(main())

Source: github.com/ag2ai/ag2/blob/main/README.md

Features

What the AG2 (formerly AutoGen) docs say it supports. Not stated means the docs do not say either way.

Compare AG2 (formerly AutoGen)

FAQ

Does AG2 (formerly AutoGen) support MCP?

Yes, per https://docs.ag2.ai/docs/user-guide/tools/mcp_servers/

Which languages does AG2 (formerly AutoGen) support?

Python. Published packages: ag2 (Python).

How do I install AG2 (formerly AutoGen)?

For Python: "pip install "ag2[openai]"", as shown at https://docs.ag2.ai/docs/user-guide/quick-start/. This page lists 2 install commands, each copied from the linked source.

What is the latest version of AG2 (formerly AutoGen)?

As of October 18, 2026: Python package ag2 1.1.2 (October 3, 2026), https://pypi.org/project/ag2/1.1.2/.

What license is AG2 (formerly AutoGen) released under?

Apache-2.0. The license is at https://github.com/ag2ai/ag2/blob/main/LICENSE.

Does AG2 (formerly AutoGen) support durable execution?

Yes, per https://docs.ag2.ai/docs/user-guide/resume/

Does AG2 (formerly AutoGen) support human-in-the-loop?

Yes, per https://docs.ag2.ai/docs/user-guide/context/human_in_the_loop/

Is AG2 (formerly AutoGen) model-agnostic?

Yes, per https://github.com/ag2ai/ag2/blob/main/README.md

Which features does AG2 (formerly AutoGen) document?

10 of the 10 tracked here: MCP, Multi-agent, Durable execution, Human in the loop, Streaming, Structured output, Tracing, Memory, Evals and Model-agnostic.

Sources

Last verified from the pages below.

Newsletter

Agent frameworks, every week

One email per week. Framework releases, new agent tooling and what they mean for what you build.