GraphCanon updated today · GitHub synced today
Trust & integrity
Full report- Maintenance
- Very active (3d since push)
- As of today · Source: github_public_v1
- Provenance
- Not a fork · Organization account
- As of today · Source: github_public_v1
- Security (OSV)
- 2 low (2 low)
- As of today · Source: mcp_manifest@v1
Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.
Overview
Harness LLMs with Multi-Agent Programming
Capability facts
- Deploy
- Self-host
Source: dockerfile:Dockerfile · Jul 11, 2026
- Docker
- Dockerfile present
Source: dockerfile:Dockerfile · Jul 11, 2026
- Languages
- python
Source: github.language+pyproject.toml · Jul 11, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Jul 11, 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: