qmetrics.net

AG2

Open-source multi-agent AI programming framework

AG2 screenshot

AG2 is a Python framework for building agents that cooperate via tools, models, and typed channels. It targets autonomous and human-in-the-loop workflows.

Overview

AG2 is an open-source programming framework for building AI agents and coordinating multiple agents on shared tasks. The current top-level package uses the ag2 import name and replaces the older AutoGen-style autogen namespace, which now lives in a separate classic distribution with its own docs.

An Agent is the core unit: it talks to a configured model provider, invokes tools, and returns replies through an async ask flow. Tools are plain Python functions decorated for the runtime to call in a full tool-calling loop. Human-in-the-loop flows can pause inside tools to collect confirmation or missing input.

Multi-agent work uses a Network model with a hub, write-ahead logging, audit trail, and typed channels such as conversation, consulting, discussion, and workflow-style handoffs. Optional harness pieces add persistent knowledge stores, context assembly, and history compaction so long runs stay within context limits.

Install is via PyPI as ag2 with Python 3.11 or newer; provider extras cover OpenAI, Anthropic, Gemini, Ollama, and others. API keys are read from standard environment variables. Documentation and a playground cover examples from single agents through advanced patterns like middleware, telemetry, and evaluation.

Key features

  • Async Agent turn API
  • Python function tools
  • Human-in-the-loop pauses
  • Multi-agent Network and channels
  • Knowledge store plugins
  • History compaction strategies
  • Multiple LLM provider extras
  • Structured outputs and middleware

Use cases

  • Multi-agent task orchestration
  • Tool-using LLM agents
  • Human-approved agent workflows
  • Agent research and prototyping

Tags

Similar software

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT

JeecgBoot

Enterprise AI low-code platform on Java and Vue

JeecgBoot is an AI low-code platform with permissions, workflows, reporting, and built-in AI apps. Teams deploy it privately to generate CRUD, forms, and business modules quickly.

★ 48.6k⟳ 16 days agoApache-2.0

Agno

Platform for building, running and managing AI agents in your own cloud

Agno is an agent platform for building agents, teams and workflows, then running them as durable services with API and MCP access. It runs in your own cloud and includes a control UI.

★ 43.3k⟳ todayApache-2.0

Mastra

TypeScript framework for AI agents and apps

Mastra helps teams build AI agents, workflows, and apps in TypeScript with model routing, tools, memory, MCP, and observability. It embeds in React, Next.js, and Node or runs as its own server.

★ 29.9k⟳ todayApache-2.0 · open core

AI SDK

TypeScript toolkit for AI applications and agents

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

★ 28.3k⟳ todayApache-2.0