@keutonim2
Anton PichuginDeveloper▲5
AI SYSTEMS ENGINEER, Independent
15m ago · Link · AI Engineering · Minsk

Synapse: a local-first knowledge graph for AI agents (MCP, SurrealDB, Neo4j)

I just published Synapse, an open-source project I've been working on.
The goal is to build a local knowledge base that AI agents can actually query and navigate, instead of keeping project knowledge scattered across files and chat history.

A quick look at the architecture:

  • JSONL files are the source of truth.
  • SurrealDB handles BM25 and vector search.
  • Ollama generates local embeddings.
  • Neo4j handles graph relationships and traversal.
  • A read-only MCP server exposes the knowledge base to AI agents.

A few design decisions I made:

  • No LLM-based extraction during indexing.
  • Every record requires explicit evidence.
  • Records have confidence levels.
  • Secrets are checked before data reaches the stores.
  • All services bind to localhost.

There's a CLI, a local graph explorer, a demo dataset, Windows/Linux setup scripts and a Docker Compose option.
The project is MIT licensed.

I'd appreciate feedback, issue reports or contributions, especially from people working with knowledge graphs, local AI and agent infrastructure.

Repository: https://github.com/Keutonim/Synapse

github.com logoRead the original article ↗github.com · /Keutonim/Synapse
mcpSkillsRAGgraphknowledge

Comments

No comments yet
Start the conversation.
Log in to join the thread.