LibreAI / Agentes de IA / langroid
// agents · langroid/langroid

langroid

langroid é um projeto de agentes de IA de código aberto de langroid (langroid/langroid no GitHub). Tem 4.112 estrelas no GitHub e 415 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.

Langroid: a principled Python framework for building LLM multi-agent applications (from CMU/UW researchers)

★ 4,1 mil estrelas⑂ 415 forksMITatualizado 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
langroid/langroid
Estrelas no GitHub
4.112
Forks
415
Licença
MIT
Ú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. Design your agents

    Sketch which agents you need (chat, document Q&A, SQL) and which LLM each will use.

  2. Install Langroid

    Install from PyPI, adding extras for your vector store or database.

  3. Build agents and tasks

    Create ChatAgents, attach tools, wrap them in Tasks, and wire the message flow.

  4. Run and iterate

    Run the task graph, inspect the conversation, and refine prompts and tools.

// recursos

Por que as pessoas gostam tanto

Agents + Tasks model

ChatAgents (LLM + tools + optional vector store) wrapped in Tasks that collaborate via message exchange.

Any LLM

OpenAI models, local models, OpenRouter, and gateway providers through one configuration approach.

ToolMessages function-calling

A clean abstraction for tool use and structured extraction from LLM output.

Ready-made agents

DocChatAgent for RAG over documents and SQLChatAgent for natural-language database queries.

MCP adapter

Convert tools from any MCP server into Langroid ToolMessages automatically.

Many vector stores

Qdrant built in, with pgvector, Milvus, Weaviate, and Pinecone available as extras.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Clone the repository

    Clone the project and enter its directory (library users can install from PyPI instead).

    git clone https://github.com/langroid/langroid.git
    cd langroid
  2. Install Langroid

    Install the package, adding extras for your stack if needed.

    pip install langroid
  3. Build your first agents

    Follow the README examples to create a ChatAgent, wrap it in a Task, and run a two-agent exchange with your LLM key or local model configured.

    # see README examples for the exact agent/task code
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains Langroid?

Researchers from Carnegie Mellon University and the University of Wisconsin–Madison lead Langroid, with community contributors.

Is Langroid free?

Yes, MIT-licensed. LLM usage costs depend on the provider or local models you configure.

Does it need a paid API key?

Only for hosted LLMs; local models (for example via Ollama-style endpoints) work without keys.

How does it compare to LangChain or AutoGen?

Langroid deliberately avoids LangChain and centers on a small actor-style abstraction — Agents wrapped in Tasks exchanging messages — aiming for code that is easier to reason about than graph-heavy frameworks.

How do I get started?

Run `pip install langroid`, configure an LLM, and follow the README's first ChatAgent/Task example.

// continue explorando

Ferramentas semelhantes

Agentes de IA

TradingAgents

Multi-agent LLM framework that mirrors a trading firm: analysts, researchers, trader and risk team

★ 110,3 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

RagaAI-Catalyst

Python SDK for Agent AI Observability, Monitoring and Evaluation Framework. Includes features like agent, llm and tools tracing, debugging multi-agentic syst…

★ 16,2 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

agent-framework

A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.

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

Haystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and…

★ 26,6 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

arcade-mcp

A Python framework for building MCP servers and agent tools.

★ 1,0 mil estrelasMIT
Ver o guia →
Agentes de IA

babyagi

Yohei Nakajima's autonomous task agent - now a self-building agent framework in Python

★ 22,4 mil estrelasMIT
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 langroid 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 langroid: continue explorando dos dois lados dele.

Baixe o langroid

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