Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

AG2

Programming framework for building multi-agent AI systems with autonomous agents.

Agent, MCP and tool librariesPYPI

GitHubWebsiteIts AgentGid profile

1. License

License from PyPI license expression.

github.com/ag2ai/ag2

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What AG2 does

Programming framework for building multi-agent AI systems with autonomous agents.

AG2 popularity

43 / 100
Gid Score, #2763 overall
58.3K
downloads a week, pypi
5,084
GitHub stars
2
agent projects use it
AG2: downloads per weekPyPI, ag2 57,935
AG2: GitHub starsag2ai/ag2 5,084

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How AG2 is used

  • AG2 is a dependency in 2 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 39 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is LangChain (127 projects).
  • Projects that use it most often also use OpenAI Python Library (76.9%), python-dotenv (71.8%), Pydantic (69.2%).

Often used with

In 76.9% of its projects
In 71.8% of its projects
In 69.2% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 64.1% of its projects
In 61.5% of its projects

More about AG2

More in Agent, MCP and tool libraries

Alternatives

AG2 This page

Apache-2.0Gid 4358.3K/wk

LangChain

Framework for composing applications with LLMs through chains and agents.

MITGid 8937.6M/wk

LangGraph

Framework for building stateful, multi-actor applications with LLMs.

MITGid 8015.2M/wk

Pydantic AI

AI agent framework built with Pydantic for structured, typed agent development.

MITGid 641.8M/wk

Compare AG2 with another tool

Get started

Install it.

pip install ag2

No step-by-step start for AG2 yet: we have not written its hand-checked card.