Introduction โ
What is SYNAPSEED? (Simple Version) โ
SYNAPSEED helps AI assistants understand your code better. Instead of just reading text files, it gives AI tools like Claude:
- ๐ Exact locations of functions, classes, and variables
- ๐ Smart search that understands concepts, not just keywords
- ๐ก๏ธ Security protection to prevent leaking passwords or API keys
- ๐ Code history showing who changed what and why
- ๐๏ธ Quality metrics with letter grades (A-F) for code health
Real-world impact: With SYNAPSEED, AI assistants make ~50% fewer mistakes when understanding code (measured in our benchmark suite).
For Technical Users โ
SYNAPSEED is a local, high-performance middleware designed to act as the Thinking Layer between you (the Developer) and your LLM (Claude, Copilot, etc.).
Most AI coding agents treat your codebase as a pile of text files, using grep and cat to understand logic. This leads to hallucinations, broken imports, and security leaks.
SYNAPSEED is different. It parses your code into an AST (Abstract Syntax Tree), indexes it semantically, scans for secrets in real-time, and visualizes the architecture live โ all in a single Rust binary.
The Problem โ
| Standard LLM Context | SYNAPSEED Capability |
|---|---|
cat file.rs (Blind text) | AST Skeleton โ Semantic symbols & relationships |
| Regex / Grep | Tantivy Semantic Search โ Concepts over keywords |
| None (Leaked secrets) | DLP Fail-Closed โ Real-time redaction |
| Zero context (Stateless) | Git Time-Travel โ History & intent analysis |
Suggests rm -rf / | Sentinel Sandbox โ Policy enforcement |
| No visibility | Architecture Health โ Dependency graph & metrics |
| High latency (Network) | Zero-Copy / Direct Rust โ <10ms response |
How It Works โ
SYNAPSEED connects to your LLM via the Model Context Protocol (MCP) โ an open standard for tool-augmented AI. When your LLM needs to understand code, check security, or explore history, it calls SYNAPSEED tools instead of blindly reading files.
Developer โโ LLM (Claude/Copilot) โโ MCP Protocol โโ SYNAPSEED
โโโ Cortex (AST Engine)
โโโ Husk (DLP Shield + Code Patterns)
โโโ Root (Command Sentinel)
โโโ Chronos (Git Intelligence)
โโโ Search (Tantivy Index)
โโโ Shadow (Live Compiler)
โโโ Architect (Structural Health)
โโโ Gym (Code Sandbox + Adversarial)
โโโ Janitor (Automated Maintenance)
โโโ Bench (Evaluation Suite)
โโโ Decompiler (Binary Analysis)
โโโ Whisper (Intent Router)
โโโ Telemetry (OTLP Receiver)Key Design Principles โ
- Local-first โ No cloud, no network, no telemetry leaks. Runs entirely on your machine.
- Fail-closed security โ If a secret is found, the operation is blocked. No exceptions.
- Plugin architecture โ Each subsystem is an independent crate with a clean interface.
- Event-driven โ Plugins communicate via an async broadcast channel, enabling reactive pipelines.
- Zero-copy where possible โ Direct memory access, no serialization overhead between crates.