AG2
Protocol-driven Python framework for cooperating agents, tool-calling loops, human-in-the-loop workflows and multi-agent orchestration.
Tags
Description
Install ag2[openai] (PyPI ag2 1.3.0; Python 3.11+), then configure the chosen model provider. AG2 v1 uses the ag2 import namespace and is not a drop-in replacement for AG2 Classic. The older autogen namespace, ConversableAgent and GroupChat now live in ag2ai/ag2-classic. Tools can be plain Python functions decorated with @tool. Apache-2.0 framework; inference is separate.
Agent access
Related
- AutoGen: Microsoft Research's multi-agent programming framework, now in maintenance mode; new projects are pointed to Microsoft Agent Framework.
Sources
- https://github.com/ag2ai/ag2
- https://github.com/ag2ai/ag2/blob/main/LICENSE
- https://pypi.org/project/ag2/
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)