H
hindsightai/hindsight★ 64,700 · Python
A bank-based memory service that turns agent interactions into durable knowledge
MIT · Commercial Friendlyv1.3.1
Side-by-side 2026 comparison in RAG, Data & Memory: hindsightai/hindsight leads both total GitHub adoption (★ 64.7k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
A bank-based memory service that turns agent interactions into durable knowledge
In-process C++ vector database for local hybrid retrieval
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | hindsightai/hindsight | alibaba/zvec |
|---|---|---|
| Total GitHub Stars | ★ 64,700 | ★ 16,322 |
| 24h / 7d Velocity | +105 / +884 | +7 / +29 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 98/100 | A+ · 94/100 |
| Deployment Signals | Self-Hosted · Docker · API | Self-Hosted · Local AI |
| Primary Language | Python | C++ |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v1.3.1 | v0.8.1 |
| Best For | Long-lived assistants that need user preferences, prior experiences, and recurring answers to carry across sessions, with control over deployment and memory writes | Local RAG, desktop or edge search, and application-owned retrieval where a designated writer can maintain the collection and hybrid search should run without a separate database service |
retain extracts facts, entities, relationships, and time information, then normalizes them into searchable bank records.hs-decide-1-flash is a 0.8B decision model; hs-rerank-1 is 114M; hs-embed-1 is 112M and emits 384-dimensional vectors.export OPENAI_API_KEY=sk-xxx docker run -it --pull always --name hindsight --restart unless-stopped -p 8888:8888 -p 9999:9999 \ -e HINDSIGHT_API_LLM_API_KEY=$OPENAI_API_KEY \ -v hindsight-data:/home/hindsight/.pg0 \ images.hindsight.ai/hindsight:latest
import zvec # Define collection schema schema = zvec.CollectionSchema( name="example", vectors=zvec.VectorSchema("embedding", zvec.DataType.VECTOR_FP32, 4), ) # Create collection collection = zvec.create_and_open(path="./zvec_example", schema=schema) # Insert documents collection.insert([ zvec.Doc(id="doc_1", vectors={"embedding": [0.1, 0.2, 0.3, 0.4]}), zvec.Doc(id="doc_2", vectors={"embedding": [0.2, 0.3, 0.4, 0.1]}), ]) # Search by vector similarity results = collection.query( zvec.Query(field_name="embedding", vector=[0.4, 0.3, 0.3, 0.1]), topk=10 ) # Results: list of {'id': str, 'score': float, ...}, sorted by relevance print(results)
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy