← Back to Leaderboard
SKrittof

Krittof/SynapseVault

A local SQLite memory vault that shares versioned context across coding agents

View on GitHub ↗
Engineering Health (Methodology)
A · 84/100
Maintenance Activity
● Updated today
Latest Release
v2.0.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption9/25
Release Cadence20/20
License Clarity20/20
Self-HostedLocal AIMCPAPI
Total Stars
★ 23
24h Growth
+3
7d Growth
+22
Forks
2

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

Krittof/SynapseVault Star History (2026-11-27 - 2026-12-04) DAILY STAR HISTORY (8-DAY D1 TELEMETRY) +22 in 7d · avg +3/day 27 14 0 2026-11-27: ★ 12026-11-28: ★ 12026-11-29: ★ 22026-11-30: ★ 32026-12-01: ★ 72026-12-02: ★ 182026-12-03: ★ 202026-12-04: ★ 23 ★ 23 11-27 11-30 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

SynapseVault routes multiple coding agents into one local SQLite vault. The core uses Python 3.11+ with no third-party runtime dependencies, SQLite WAL for persistence, and FTS5 for lexical search. MCP capture, the DeepSeek Harness bridge, manual imports, and the opt-in read-only watcher feed a staging inbox after secret and blocked-term checks and five-field idempotency checks.

A human or optional LLM curator turns staged inputs into discrete memories with bilingual search terms and typed one-hop links. Recall filters records by scope and temporal validity, ranks lexical and relational matches, reranks for diversity, and reserves slots for pinned rules. The local daemon serves an API and Web Console; agents can use automatic hook injection, stdio MCP, or both.

Key Capabilities & Differentiators

Tier 0 combines NFKC normalization, CJK bigrams, BM25, clause-level matching, and one-hop relations. CAS revision chains and bi-temporal as_of queries support historical recall, while suppression and tombstones keep retired material out of ordinary recall and prevent log rescans from reviving tombstoned entries. Persisted traces identify the record and version used; memory_index → memory_timeline → memory_get lets an agent inspect results before fetching the full text.

Optional Tier 1 fuses cosine vector matches with lexical results via Reciprocal Rank Fusion. Tier 1A uses an OpenAI-compatible /v1/embeddings endpoint, and Tier 1B uses llama-server with a local GGUF embedding model. Tier 0 remains available when the optional semantic lookup misses its deadline. The balanced injection preset permits four items, reserves one pinned slot, and caps output at 1,400 characters. Tier 0 recorded 97.73% Recall@1 and 100% Recall@5 on curated bilingual memories; those results do not establish performance on raw conversation archives.

Trade-offs & Limitations

A shared vault earns its keep when several agents must agree on which decisions and rules are current. Compared with per-client Markdown files, it adds version-aware retrieval, pinned context, and recall traces, at the cost of a daemon, token management, and a curation workflow. The Markdown mirror helps with Git review, but it is an export, not a substitute for managing state in SQLite.

Compared with vector-first RAG, Tier 0 is simpler to run offline, but it depends on useful memory records and searchable vocabulary. Paraphrases with no lexical overlap can still be missed without embeddings. Remote embeddings add a data and network boundary; local GGUF embeddings avoid that boundary but add model setup and active compute. For a centrally shared or multi-tenant service, validate isolation, concurrency, and recovery before relying on the scoped-token API; the local deployment path does not establish those properties.

Hardware & Deployment Guide

Start from the checkout with Python 3.11+ and SQLite FTS5 support: python -m llm_memory.clients.cli daemon --port 8775. Use python -m llm_memory.clients.cli token bootstrap for initial access to the Web Console at http://127.0.0.1:8775/. The core requires no pip install when run from the checkout, no Docker, and no Node.js build; Node.js is relevant to the optional standalone 3D viewer. Check /v1/health, mount clients with scoped tokens, and use an absolute interpreter path for GUI clients.

Keep the service on loopback for a local rollout and start with offline Tier 0. Add Tier 1A only if sending embedding inputs to the chosen endpoint is acceptable; use Tier 1B when semantic recall must stay local and the machine can handle on-demand embeddings. The listed v1.1.0 release introduced modular retrieval, guardrails, and audit traces; v1.1.1 added live global and per-client budget tuning. The manifest shows 1.3.0 while the latest listed release is v1.1.1, so verify the desired features against the exact revision you deploy.

Capture: MCP, manual imports, and opt-in read-only log watching feed a screened, deduplicated staging inbox.
Retrieval: SQLite FTS5/BM25 combines CJK bigrams, bilingual search terms, and one-hop relations before MMR reranking.
Context budgets: The balanced preset allows four items, reserves one pinned slot, and caps injection at 1,400 characters.
Lifecycle: Bi-temporal queries, CAS revision chains, suppression, and tombstones distinguish historical context from current guidance.
Auditability: Persisted recall traces carry record IDs and versions; MCP can reveal the index, timeline, and full record separately.
Semantic fallback: OpenAI-compatible embeddings or local GGUF vectors augment Tier 0 through RRF without making a model mandatory.
Best For

Developers who switch among coding agents and want one local, auditable source for project rules, decisions, and recurring lessons.

Skip If

Your main workload is bulk semantic search over raw documents, you require a validated multi-tenant service, or a few version-controlled Markdown files already cover your needs.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v2.0.0 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

Self-HostedLocal AIMCPAPI
# 1. Clone and start loopback daemon (Python 3.11+, zero pip install required)
git clone https://github.com/Krittof/SynapseVault.git
cd SynapseVault
python -m llm_memory.clients.cli daemon --port 8775

# 2. In a second terminal, fetch your local admin token
python -m llm_memory.clients.cli token bootstrap

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
SynapseVault ★23+22PythonMITA local SQLite memory vault that shares versioned context across coding agents
Scrapling108k+1.5kPythonBSD-3-ClausePython HTTP and browser crawlers that turn websites into RAG-ready Markdown
hindsight64.9k+1.1kPythonMITA bank-based memory service that turns agent interactions into durable knowledge
crawl4ai88.5k+408PythonApache-2.0Async browser crawler that turns web pages into Markdown and JSON for RAG

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Krittof/SynapseVault.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Krittof/SynapseVault Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about SynapseVault

Should I connect an agent through hooks, MCP, or both?

Mode A injects recalled context through a client hook or the DeepSeek Harness bridge. Mode B exposes memory tools through the stdio entrypoint llm_memory.clients.mcp_stdio. They can run together: use the hook for routine context and MCP to inspect the index, timeline, or full record. For IDE-launched subprocesses, configure the absolute Python path and set PYTHONPATH to the checkout if the package is not installed.

Do I need a GPU, and what changes if I enable embeddings?

No GPU is needed for Tier 0. Its stated footprint is approximately 17–25 MB RAM and 0 MB VRAM. Tier 1A uses a remote OpenAI-compatible embedding endpoint. Tier 1B has no idle VRAM allocation, but active local GGUF embedding still needs CPU or GPU capacity; size it for the chosen model and verify peak use locally.

Can I self-host SynapseVault for commercial use?

Yes. MIT permits commercial use and self-hosting; retain the copyright and license notices when redistributing the software. The license does not settle your obligations around captured logs, prompts, or user data. Review capture scope and token permissions, and assess the embedding provider's data handling before enabling Tier 1A.

When is it a better fit than Markdown rules or a vector-first store?

Choose SynapseVault when several agents need the same versioned memories, pinned rules, and auditable recall. Markdown is simpler when manually maintained rules are enough and Git review is the main workflow. A vector-first store is a better candidate when open-ended semantic search over raw text is central; SynapseVault treats embeddings as a fallback over curated records.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Krittof/SynapseVault? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Krittof/SynapseVault on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare