GraphCanon updated 1w · GitHub synced 1w
Decision brief
Langroid specializes in multi-agent systems with large language models, providing a Python framework for function-calling and chat integrations.
Good fit when
- You need to integrate multiple agents working with large language models.
- Your project involves complex information retrieval tasks augmented by AI.
Avoid when
- You require support for a broad range of programming languages beyond Python.
- The project scope does not include multi-agent interactions or function-calling capabilities.
Observed Jul 12, 2026 · Source: enrich:decision_facts
Verify the decision
Adoption
Package downloads where a registry match exists. GitHub stars (4,090) are secondary evidence.
- Docker Hub pulls (30d)
- 19,819·Docker Hub API·1w
Maintenance and security
Full trust report- Maintenance
- Active (8d since push)
- As of 1w
- Provenance
- Not a fork · Organization account
- As of 1w
- Security (OSV)
- 2 low (2 low)
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install langroid PyPIHow it fits your stack(1)
Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
Langroid is a Python-based framework designed for multi-agent programming and leveraging large language models (LLMs) such as OpenAI's models. It supports various functionalities including function-calling, information retrieval, and chat functionality with databases.
Capability facts
- Deploy
- Self-host
Source: dockerfile:Dockerfile · Aug 7, 2026
- Docker
- Dockerfile present
Source: dockerfile:Dockerfile · Aug 7, 2026
- Languages
- python
Source: github.language+pyproject.toml · Aug 7, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 7, 2026)
Langroid requires Python 3.11+. We recommend using a virtual environment.Source link
Tags
README
Install langroid
Langroid requires Python 3.11+. We recommend using a virtual environment.
Use pip to install a bare-bones slim version of langroid (from PyPi) to your virtual
environment:
pip install langroid
The core Langroid package lets you use OpenAI Embeddings models via their API.
If you instead want to use the sentence-transformers embedding models from HuggingFace,
install Langroid like this:
pip install "langroid[hf-embeddings]"
For many practical scenarios, you may need additional optional dependencies:
- To use various document-parsers, install langroid with the
doc-chatextra:pip install "langroid[doc-chat]" - For "chat with databases", use the
dbextra:pip install "langroid[db]" - You can specify multiple extras by separating them with commas, e.g.:
pip install "langroid[doc-chat,db]" - To simply install all optional dependencies, use the
allextra (but note that this will result in longer load/startup times and a larger install size):pip install "langroid[all]"
Optional Installs for using SQL Chat with a PostgreSQL DB
If you are using SQLChatAgent
(e.g. the script examples/data-qa/sql-chat/sql_chat.py),
with a postgres db, you will need to:
- Install PostgreSQL dev libraries for your platform, e.g.
sudo apt-get install libpq-devon Ubuntu,brew install postgresqlon Mac, etc.
- Install langroid with the postgres extra, e.g.
pip install langroid[postgres]orpoetry add "langroid[postgres]"orpoetry install -E postgres, (or the correspondinguvversions, e.g.uv add "langroid[postgres]"oruv pip install langroid[postgres]). If this gives you an error, trypip install psycopg2-binaryin your virtualenv.
📝 If you get strange errors involving mysqlclient, try doing pip uninstall mysqlclient followed by pip install mysqlclient.
🐳 Docker Instructions
We provide a containerized version of the langroid-examples
repository via this Docker Image.
All you need to do is set up environment variables in the .env file.
Please follow these steps to setup the container:
For agents
This page has a .md twin and JSON over the API.