FRENES

Multi-agent · agent framework

AG2: review, pricing, security and alternatives

AG2 is an open-source agent framework published by AG2 AI, in the multi-agent family. AG2 provides a Python framework for building collaborative agents that exchange messages and use tools to perform tasks. Its repository has 5,015 stars and its last commit is from October 24, 2026.

Score
75/100
Adoption (stars) 20/40
Activity (commits, releases) 30/30
Framework (licence, control, models) 25/30
Open sourceSelf-hostableActively maintainedLow risk

What AG2 does

AG2 belongs to the multi-agent family: systems that split a task between several specialised agents passing work to one another. On our grid it ranks #15 of the 43 projects of this family listed in the directory.

Unlike a ready-made agent, a framework provides the parts to build one: tool calling, step sequencing, memory, coordination of several agents. It is aimed at teams that want a custom agent.

You use it from: developer SDK. Usable models: any OpenAI-compatible model. It can run on your own machine or server.

Who is AG2 for?

It interests technical teams that want to split a complex task between several specialised agents that check each other. Typical tasks people give it:

  • pair a writer agent with a reviewer agent
  • split a project into subtasks given to roles
  • simulate a team (analysis, plan, execution)

It is a good candidate if your data must stay on your machines.

Access and human control

A framework has no access of its own: the tools you plug in define what the agent can do. Start with read-only tools.

We could not establish whether it asks for human approval before sensitive actions: test it first on an unimportant account or folder.

Run commands in a terminalRun commands in a terminal : 5 %5 %Read and edit filesRead and edit files : 7 %7 %Drive a web browserDrive a web browser : 7 %7 %Call online services and APIsCall online services and APIs : 9 %9 %Read and send messagesRead and send messages : 5 %5 %
Share of the 43 agents in the family that have each access, according to their documentation. In orange, AG2's access.

AG2 pricing

The code is free, under the Apache-2.0 licence.

Getting started with AG2

  1. Install it: the project ships as a Python package (install with pip or uv). The exact command is in the repository README.
  2. Create an API key with the model provider and put it in an environment variable, never in a shared or versioned file.
  3. Start with the minimal example from the docs, then add one tool at a time and check what the agent does with it.
  4. Give it a short, checkable task, review the result and its action log, then raise the difficulty step by step.

Security: risk level

More agents mean higher bills and chained errors: set a budget and a maximum number of steps.

Three habits: least privilege (minimal rights, dedicated keys), human approval for irreversible actions, a sandbox for code execution. The AI agent security check reviews your setup in a few minutes.

Project activity and releases

Created on November 11, 2024, the ag2ai/ag2 repository has 5,015 stars, 758 forks and 30 open issues, with 5,619 commits in total. It received changes this month.

Over the last 52 weeks: 851 commits, an average of 16.4 per week.

Nov 2, : 8 · Nov 2, 2025Nov 2,Nov 9, : 1 · Nov 9, 2025Nov 16, : 8 · Nov 16, 2025Nov 23, : 6 · Nov 23, 2025Nov 30, : 0 · Nov 30, 2025Dec 7, : 8 · Dec 7, 2025Dec 14, : 5 · Dec 14, 2025Dec 21, : 13 · Dec 21, 2025Dec 28, : 13 · Dec 28, 2025Dec 28,Jan 4, : 3 · Jan 4, 2026Jan 11, : 8 · Jan 11, 2026Jan 18, : 1 · Jan 18, 2026Jan 25, : 4 · Jan 25, 2026Feb 1, : 15 · Feb 1, 2026Feb 8, : 4 · Feb 8, 2026Feb 15, : 17 · Feb 15, 2026Feb 22, : 7 · Feb 22, 2026Feb 22,Mar 1, : 20 · Mar 1, 2026Mar 8, : 10 · Mar 8, 2026Mar 15, : 16 · Mar 15, 2026Mar 22, : 21 · Mar 22, 2026Mar 29, : 2 · Mar 29, 2026Apr 5, : 19 · Apr 5, 2026Apr 12, : 42 · Apr 12, 2026Apr 19, : 61 · Apr 19, 2026Apr 19,Apr 26, : 43 · Apr 26, 2026May 3, : 19 · May 3, 2026May 10, : 19 · May 10, 2026May 17, : 20 · May 17, 2026May 24, : 25 · May 24, 2026May 31, : 27 · May 31, 2026Jun 7, : 16 · Jun 7, 2026Jun 14, : 11 · Jun 14, 2026Jun 14,Jun 21, : 14 · Jun 21, 2026Jun 28, : 23 · Jun 28, 2026Jul 5, : 17 · Jul 5, 2026Jul 12, : 15 · Jul 12, 2026Jul 19, : 12 · Jul 19, 2026Jul 26, : 8 · Jul 26, 2026Aug 2, : 20 · Aug 2, 2026Aug 9, : 16 · Aug 9, 2026Aug 9,Aug 16, : 21 · Aug 16, 2026Aug 23, : 9 · Aug 23, 2026Aug 30, : 11 · Aug 30, 2026Sep 6, : 13 · Sep 6, 2026Sep 13, : 16 · Sep 13, 2026Sep 20, : 7 · Sep 20, 2026Sep 27, : 25 · Sep 27, 2026Oct 4, : 48 · Oct 4, 2026Oct 4,Oct 11, : 22 · Oct 11, 2026Oct 18, : 30 · Oct 18, 2026Oct 25, : 32 · Oct 25, 2026Oct 25,
Commits per week on the main repository, last 52 weeks (GitHub API, checked October 25, 2026).

88 releases in total; 30 in the last twelve months. Latest release: v1.2.1, on October 21, 2026.

v0.12.3 · May 6, 2026v0.12.3May 6, 2026v0.13.0 · May 13, 2026v0.13.1 · May 23, 2026v0.13.2 · May 29, 2026v0.13.3 · Jun 5, 2026v0.13.4 · Jun 12, 2026v0.14.0 · Jun 26, 2026v1.0.0b0 · Jul 3, 2026v1.0.0 · Jul 27, 2026v1.0.1 · Jul 29, 2026v1.0.2 · Aug 15, 2026v1.0.3 · Aug 28, 2026v1.0.4 · Sep 7, 2026v1.0.5 · Sep 11, 2026v1.0.6 · Sep 21, 2026v1.1.0 · Sep 24, 2026v1.1.1 · Sep 29, 2026v1.1.2 · Oct 3, 2026v1.2.0 · Oct 11, 2026v1.2.1 · Oct 21, 2026v1.2.1Oct 21, 2026
The latest 20 releases published on GitHub (hover a point for details).

AG2 vs other multi-agent

GitHub stars of the best-rated open-source projects in the multi-agent family. Stars measure attention, not quality: a heavily promoted project collects them fast, a specialised tool will have few.

OrcaOrca : 104.7K104.7KCrewAICrewAI : 60.1K60.1KAgnoAgno : 42.9K42.9KPaperclipPaperclip : 106.8K106.8KAgentScopeAgentScope : 33.8K33.8KOpenAI Agents SDKOpenAI Agents SDK : 30.3K30.3KEigentEigent : 15.7K15.7KMicrosoft Agent FrameworkMicrosoft Agent Framework : 14.3K14.3KAG2AG2 : 5K5K
Log scale; AG2 in orange. Checked October 25, 2026.

AG2 and other multi-agent at a glance

The 7 best-ranked agents in the same family, 7 of them open source. The score out of 100 only applies to open-source projects; for proprietary services we show the published entry price. A dash marks information the documentation does not state.

Quick comparison: multi-agent
AgentModelScoreStars or entry priceSelf-hostableHuman approval
AG2open source755K ★yes–
Orcaopen source91104.7K ★yes–
CrewAIopen source8860.1K ★yes–
Agnoopen source8742.9K ★yes–
Paperclipopen source86106.8K ★yes–
AgentScopeopen source8533.8K ★yes–
OpenAI Agents SDKopen source8530.3K ★yes–
Eigentopen source8115.7K ★yes–

How we rated it

Score: 75/100, computed only from public, verifiable data, with no subjective testing or partnership:

  • Adoption 20/40: 5,015 stars on a log scale (40 points from about 200,000).
  • Activity 30/30: last commit less than a month ago, 21 releases in six months, 851 commits in a year.
  • Framework 25/30: licence, default human approval, self-hosting, model choice and documentation site.

The score does not say whether the agent will succeed at your tasks: it measures how solid the project is. The full grid is on the method page.

Verdict

AG2 is a serious option; check the limitations below before granting it access.

Strengths

  • Very active development
  • Frequent releases (30 in a year)
  • Can run on your side: data under control
  • Free choice of model
  • Permissive licence (Apache-2.0)

Limitations

  • Requires programming skills

Avoid if…

  • You want a ready-made agent, without code

Frequently asked questions

Is AG2 free?

The software is free (Apache-2.0 licence). You still pay for the model calls, unless you use a local model.

Is AG2 safe?

Our risk level: low. Give it minimum rights and approve irreversible actions.

Which models does AG2 use?

According to its documentation: any OpenAI-compatible model.

Can AG2 be installed on your own server?

Yes, from the ag2ai/ag2 repository. Data then stays with you, but security and updates are your job.

What are the alternatives to AG2?

In the same family: Orca, CrewAI, Agno, and Paperclip.

AG2 or Orca: what is the difference?

Both belong to the multi-agent family. AG2 has 5K stars against 104.7K for Orca. The right choice mostly depends on the access you are willing to give it.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score