L
langchain-ai/langchain-postgres★ 282 · Python
PostgreSQL-backed vector retrieval and chat history for LangChain
MIT · Commercial Friendlylangchain-postgres==0.0.19
Side-by-side 2026 comparison in RAG, Data & Memory: run-llama/llama_index leads both total GitHub adoption (★ 53.1k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
PostgreSQL-backed vector retrieval and chat history for LangChain
A modular Python SDK for document ingestion, indexing, and RAG
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | langchain-ai/langchain-postgres | run-llama/llama_index |
|---|---|---|
| Total GitHub Stars | ★ 282 | ★ 53,113 |
| 24h / 7d Velocity | +0 / +0 | +7 / +104 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 91/100 | A+ · 100/100 |
| Deployment Signals | Docker · Self-Hosted | Local AI · CLI |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated yesterday | Updated yesterday |
| Latest Release | langchain-postgres==0.0.19 | v0.14.26 |
| Best For | Python LangChain teams that already operate PostgreSQL and want vector or hybrid retrieval plus session history without adding a separate data service | Python teams building document RAG that need to change ingestion, models, storage, and retrieval independently |
pip install -U langchain-postgres
llama-index-core defines interfaces; provider implementations ship as separate integration packages.VectorStoreIndex, and as_query_engine() exposes retrieval and answer generation../storage, and reloads through StorageContext and load_index_from_storage.# custom selection of integrations to work with core pip install llama-index-core pip install llama-index-llms-openai pip install llama-index-llms-ollama pip install llama-index-embeddings-huggingface
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy