aicoolies logo

Langroid

Multi-agent programming framework inspired by the Actor model

Share
open-sourceOpen Source
Visit Website →

Langroid is a lightweight Python framework from CMU and UW-Madison researchers for building LLM applications using a multi-agent programming paradigm inspired by the Actor Framework. Agents are first-class citizens that encapsulate LLM state, vector stores, and tools, then collaborate via message passing through hierarchical task delegation. With 3,900+ GitHub stars, Langroid works with any LLM provider and does not depend on LangChain or other frameworks.

Langroid was created by researchers from Carnegie Mellon University and the University of Wisconsin-Madison as a principled, intuitive approach to LLM application development. The core insight is that agents should be message transformers — each agent wraps an LLM conversation state along with optional vector store access and tool capabilities, and agents solve problems by exchanging messages in a structured way. The Task class manages iteration over an agent's responder methods (LLM, Agent, User) and orchestrates multi-agent interactions through hierarchical, recursive task delegation where sub-tasks present the same string-to-string interface as native responders.

The framework provides specialized agents out of the box including DocChatAgent for RAG over local files and URLs, SQLChatAgent for natural language to SQL translation, Neo4jChatAgent for knowledge graph queries, and TableChatAgent for pandas-based data analysis. Tool support uses Pydantic for schema definition, avoiding manual JSON specification writing and automatically handling malformed LLM output by sending Pydantic validation errors back to the model for self-correction. Recent releases added FastMCP client support with persistent connections for efficient tool calling, Portkey integration for unified access to 200+ LLM providers, Chainlit callback support for web UIs, and a Claude Code plugin for accelerated development.

Langroid is used in production by companies like Nullify for AI-powered security vulnerability detection, where the team reported getting to results in minutes compared to weeks with CrewAI and AutoGen. A published paper in ML for Healthcare 2024 demonstrates a Langroid-based multi-agent RAG system for pharmacovigilance. The framework supports OpenAI, Anthropic, Google Gemini, Ollama for local models, Groq, and many other providers. Installation is via pip, and the langroid-examples repository provides dozens of working examples covering document QA, SQL chat, web search, multi-agent computation, and code generation. The project is MIT licensed with active development through 2026.

Pricing

Free and open-source under MIT license

Platforms

Python, pip, Docker, works with any LLM provider

Categories

Tags

Use Cases

Alternatives

Browser Use logo

Browser Use

AI agent framework for web browser automation

Browser Use is an open-source AI agent framework with 99K+ GitHub stars enabling LLMs to control web browsers via natural language. Y Combinator-backed, it lets agents navigate sites, fill forms, extract data, and complete multi-step tasks autonomously. Built on Playwright with vision-based element detection, multi-tab management, cookie persistence, and self-correcting actions. Supports OpenAI, Anthropic, and local models with a simple Python API for building custom browser agents.

open-sourceOpen Source
Agno logo

Agno

Lightweight multi-modal agent framework

Fast, lightweight Python framework for building multi-modal AI agents, formerly known as Phidata. Includes built-in memory, knowledge bases, tools, and reasoning capabilities with 40K+ GitHub stars. Designed for developers who want to build production-ready agents quickly with minimal boilerplate, supporting structured outputs and multi-agent coordination out of the box.

open-sourceOpen Source

Claude-Flow

Multi-agent orchestration platform for Claude Code

Claude-Flow is an open-source multi-agent orchestration platform that deploys dozens of concurrent Claude Code agents with shared memory and coordinated workflows. It enables parallel task execution, hierarchical agent coordination, and persistent context across sessions. Run via npx with zero setup. Described as the leading agent orchestration platform for Claude by industry analysts, it has 9,100+ GitHub stars and is used for complex codebase-wide refactoring and multi-file development tasks.

open-sourceOpen Source

Related Tools

Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source

Accomplish Coworker

Open-source desktop AI coworker for browsing and code execution.

Accomplish Coworker is an MIT-licensed open-source AI coworker that runs on the desktop, combining computer-use style browsing with code execution so agents can research, implement, run, and debug workflows in one local environment.

open-sourceOpen SourceTelemetry

Headroom

Context compression for LLM apps and coding agents

Headroom is an Apache-2.0 context compression layer for LLM apps and coding agents. It compresses tool output, logs, files, RAG chunks, and agent history through a local library, proxy, wrapper, or MCP server, with retrieval hooks for bringing originals back when needed. Treat its savings numbers as Headroom-reported benchmarks, not independent aicoolies measurements.

open-sourceOpen SourceTelemetry

Codebase Memory MCP

Codebase knowledge graph MCP server for AI coding agents

Codebase Memory MCP is an MIT-licensed MCP server that turns a repository into a persistent code knowledge graph for AI coding agents. It gives Claude Code, Cursor, Codex-style agents, and other MCP clients structural queries for functions, classes, call chains, routes, and architecture, helping them explore large projects without repeatedly rereading files or relying only on broad search.

open-sourceOpen SourceTelemetry
BeeAI Framework logo

BeeAI Framework

Python and TypeScript framework for production multi-agent systems

BeeAI Framework is an Apache-2.0 toolkit for building production-ready AI agents and multi-agent systems in Python and TypeScript. Its docs cover agents, tools, RAG, memory, workflows, backend providers, serving, and A2A/MCP integration surfaces, making it a vendor-neutral option for teams comparing LangGraph, CrewAI, Mastra, and related agent runtimes.

open-sourceOpen SourceTelemetry
Klavis AI logo

Klavis AI

MCP integration platform for agent tool use at scale

Klavis AI is an Apache-2.0 MCP integration platform for teams connecting AI agents to external SaaS tools and APIs. The public repo and official docs position it as infrastructure for reliable tool access at scale, so it fits teams that want reusable MCP connectors without treating every integration as a one-off script or custom OAuth maintenance project.

open-sourceOpen SourceTelemetry