C
topoteretes/cognee★ 33,829 · Python
Graph and vector retrieval for persistent agent memory across sessions
Apache-2.0 · Commercial Friendlyv1.6.11
Side-by-side 2026 comparison in RAG, Data & Memory: topoteretes/cognee leads both total GitHub adoption (★ 33.8k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Custom / Check Repo.
Graph and vector retrieval for persistent agent memory across sessions
PostgreSQL extension for exact and approximate vector search alongside relational data
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | topoteretes/cognee | pgvector/pgvector |
|---|---|---|
| Total GitHub Stars | ★ 33,829 | ★ 23,928 |
| 24h / 7d Velocity | +13 / +174 | +13 / +96 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 98/100 | B+ · 71/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · MCP · CLI · API | Docker · Self-Hosted |
| Primary Language | Python | C |
| Commercial License | Apache-2.0 · Commercial Friendly | Custom / Check Repo |
| Activity | Updated today | Updated today |
| Latest Release | v1.6.11 | Rolling commits (main) |
| Best For | Teams building persistent agent memory or an internal knowledge system where document relationships, code dependencies, and lessons from prior sessions need to be retrieved together | RAG and semantic search teams already on PostgreSQL that need to retrieve embeddings with document metadata and apply relational filters in one query. Start with exact search and add ANN when measured latency calls for it |
remember, recall, improve, and forget cover ingestion, retrieval, session curation, and targeted deletion.cognee[gliner] supports CPU-based extraction and local embeddings without an LLM key; models download on first use.uv pip install "cognee[gliner]"
vector extension per database and query embeddings over existing PostgreSQL connections using SQL.m, ef_construction, and hnsw.ef_search tune graph construction and search.ivfflat.probes controls how many lists a query searches.docker pull pgvector/pgvector:pg19-trixieSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy