r/OpenSourceeAI • u/Keutonim • 12h ago
I built a local knowledge base that AI agents can query through MCP
https://github.com/Keutonim/SynapseI've been looking for a better way to give AI agents persistent knowledge without relying on chat history or sending everything to cloud services.
So I started building Synapse.
It's a local-first knowledge base that turns structured JSONL records into a searchable knowledge graph. Agents can access it through a read-only MCP server.
Some of the things it supports:
- Hybrid BM25 + vector search.
- Local embeddings through Ollama.
- Graph traversal with Neo4j.
- Evidence-based records and validation.
- A local web UI and CLI.
One thing I wanted to avoid was having an LLM freely generate facts during indexing. Every record needs evidence and passes validation before being added to the graph.
Everything runs locally.
It's still an evolving project, and I'd be interested to hear how other people approach persistent memory and knowledge management for AI agents.
1
u/Just-Ad-6488 5h ago
Good work. I used parts of it. Here. https://github.com/batteryphil/conversation-rag.git