// agents · ag2ai/ag2

ag2

ag2 é um projeto de agentes de IA de código aberto de ag2ai (ag2ai/ag2 no GitHub). Tem 4.983 estrelas no GitHub e 739 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.

The open-source AgentOS, formerly known as AutoGen.

★ 5,0 mil estrelas⑂ 739 forksApache-2.0atualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
ag2ai/ag2
Estrelas no GitHub
4.983
Forks
739
Licença
Apache-2.0
Última atualização no GitHub
8 de outubro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  1. Define the job

    Write down the task or workflow you want the agent to handle.

  2. Get the code

    Clone the repository and read the README's prerequisites.

  3. Set up your environment

    Install dependencies and configure keys or endpoints.

  4. Try the quickstart

    Run the sample script and check the output against the docs.

// recursos

Por que as pessoas gostam tanto

Multi-agent

Agents converse and collaborate.

AgentOS vision

An operating layer for agents.

Human-in-the-loop

People can join the conversation.

Research pedigree

Born at Microsoft Research.

Active community

Discord and ongoing development.

Apache-2.0

Open and commercially friendly.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 - Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/ag2ai/ag2.git
    cd ag2
  2. Step 2 - Install dependencies

    Create a virtual environment and install the requirements.

    python -m venv .venv && source .venv/bin/activate
    pip install -r requirements.txt
  3. Step 3 - Run an example

    Treat these as starting points - the README documents the exact commands.

    python examples/quickstart.py
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who is behind ag2?

The project lives at ag2ai/ag2 and has attracted 739 forks. Browse its commit history and contributor list for a sense of maintenance pace.

Is ag2 free to use?

Yes - it is Apache-2.0 licensed, so it is free for commercial use with attribution.

Do I need a paid API to use it?

The framework itself is free - but you will need a model to drive it, which usually means your own API key or a local model.

AG2 vs single-agent frameworks?

AG2 shines when tasks decompose across cooperating agents. For a single focused agent, a lighter framework may be simpler - reach for AG2 when collaboration is the point.

Where should I start?

The README and the official docs site are the fastest path: run the quickstart example first, then adapt it to your use case.

// continue explorando

Ferramentas semelhantes

Agentes de IA

fastagency

Take multi-agent AutoGen workflows to production, fast.

★ 547 estrelasApache-2.0
Ver o guia →
Agentes de IA

Autogen

A programming framework for agentic AI

★ 61,3 mil estrelasCC-BY-4.0
Ver o guia →
Agentes de IA

mastra

Mastra is the modern TypeScript framework for AI-powered applications and agents.

★ 28,5 mil estrelasUnknown
Ver o guia →
Agentes de IA

Product-Manager-Skills

Product Management skills framework built on battle-tested methods for Claude Code, Cowork, Codex, and AI agents.

★ 7,2 mil estrelasUnknown
Ver o guia →
Agentes de IA

openai-agents-js

OpenAI's lightweight TypeScript framework for multi-agent workflows and voice agents.

★ 3,9 mil estrelasMIT
Ver o guia →
Agentes de IA

MemoryOS

A memory operating system for long-term, personalized AI agents.

★ 1,6 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se ag2 não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de ag2: continue explorando dos dois lados dele.

Baixe o ag2

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.