{"repo":"liliang-cn/cortexdb","free":true,"listed":false,"github":"https://github.com/liliang-cn/cortexdb","clone":"git clone https://github.com/liliang-cn/cortexdb.git","description":"A pure-Go, single-file AI memory and knowledge graph library and plugin.","language":"Go","stars":250,"topics":["embeddings","llm","vector-database","vector-search","rag","sqlite","hindsight"],"license":"MIT","category":"databases-storage","readme_excerpt":"CortexDB A pure-Go, single-file AI memory and knowledge graph. One SQLite file holds vectors, hybrid RAG search, scoped agent memory, an RDF/SPARQL knowledge graph, a Palantir-style ontology, and 60+ agent tools — embedded in your Go program, or installed as a shared brain for Claude Code / Codex. Works with no embedder (lexical mode, no API key) or any OpenAI-compatible embeddings endpoint. No service to run. What's inside - KnowledgeMemory brain facade — Recall / Remember / Reflect / Consolidate / PromoteToKnowledge / context packs; fused retrieval across episodic memory, durable knowledge, and GraphRAG chunks; relational answers returned as graph facts ( Alice —uses→ Apollo ) read from edges, reliable even with no embedder; deterministic no-LLM extract conversation ; memories can carry inline entities/relations so one call stores and graphs them. - Composable retrieval — cortex query : vector / lexical / hybrid / graph prefetch lanes fused by RRF, weighted RRF, or DBSF, with metadata filters and per-source score debugging; an Authorize callback gates every candidate (RBAC/ABAC at the retrieval layer); pluggable reranker. - Vector + lexical engine — FTS5, HNSW / IVF / Flat indexes, scalar & binary quantization, geospatial indexing, semantic query routing. - Knowledge graph — RDF triples/quads on the same file: a practical SPARQL subset (updates, OPTIONAL/UNION/VALUES, aggregates, subqueries, property paths), RDFS-lite materialized inference, SHACL-lite validation, N-Triples","default_branch":null,"files":null,"tree":[],"storefront":"/r/liliang-cn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/liliang-cn/cortexdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}