# ag2

> AG2 (formerly AutoGen): The Open-Source AgentOS.Join us at: https://discord.gg/sNGSwQME3x

## Facts
- **Category:** [Agent Frameworks](https://agentsearchengine.app/category/agent-frameworks)
- **Type:** Framework
- **Pricing:** Open source
- **GitHub stars:** 4,829
- **Language:** Python
- **License:** Apache-2.0
- **Last repo activity:** today (Aug 3, 2026)
- **Official site:** https://ag2.ai
- **Source code:** https://github.com/ag2ai/ag2
- **Listing on Agent Search Engine:** https://agentsearchengine.app/agents/ag2
- **Data verified:** July 2026

## About ag2
AG2 was evolved from AutoGen. Fully open-sourced. We invite collaborators from all organizations to contribute. AG2 (formerly AutoGen) is an open-source programming framework for building AI agents and facilitating cooperation among multiple agents to solve tasks. AG2 aims to streamline the development and research of agentic AI. It offers features such as agents capable of interacting with each other, facilitates the use of various large language models (LLMs) and tool use support, autonomous and human-in-the-loop workflows, and multi-agent conversation patterns. The project is currently maintained by a dynamic group of volunteers from several organizations. Contact project administrators Chi Wang and Qingyun Wu via support@ag2.ai if you are interested in becoming a maintainer.

_From the project's README._

## Install

```
pip install ag2[openai]
```

## Alternatives
ag2 sits in agent frameworks. Related tools indexed here:
- [langchain](https://agentsearchengine.app/agents/langchain) — The agent engineering platform. · Open source · Framework · 143k★ · Python · MIT · active 1 day ago
- [ruflo](https://agentsearchengine.app/agents/ruflo) — The leading agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. · Open source · Framework · 67k★ · TypeScript · MIT · active 1 day ago
- [autogen](https://agentsearchengine.app/agents/autogen) — A programming framework for agentic AI · Open source · Framework · 60k★ · Python · CC-BY-4.0 · active 3 months ago
- [crewAI](https://agentsearchengine.app/agents/crewai) — Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks. · Open source · Framework · 57k★ · Python · MIT · active today
- [pydantic-ai](https://agentsearchengine.app/agents/pydantic-ai) — AI Agent Framework, the Pydantic way · Open source · Framework · 19k★ · Python · MIT · active today
- [eliza](https://agentsearchengine.app/agents/eliza) — Open source agentic operating system · Open source · Framework · 19k★ · TypeScript · MIT · active today
- [SuperAGI](https://agentsearchengine.app/agents/superagi) — <> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably. · Open source · Framework · 18k★ · Python · MIT · active 1 year ago
- [agent-framework](https://agentsearchengine.app/agents/agent-framework) — A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and.NET. · Open source · Framework · 13k★ · Python · MIT · active today

---
Source: [Agent Search Engine](https://agentsearchengine.app) — an independent, hand-curated index of AI agents, MCP servers, and frameworks. Rankings are never sold; sponsored placements are labeled and never numbered. Full directory: https://agentsearchengine.app/llms-full.txt
