synapse-layer
Official🧠 Synapse Layer
RAG ruft ab. Synapse erinnert sich.
Persistente Speicherinfrastruktur für KI-Agenten — AES-256-GCM-verschlüsselt im Ruhezustand, semantische Suche, MCP-nativ.
Synapse Layer ist eine quelloffene, persistente Speicherinfrastruktur für KI-Agenten und Assistenten. Erinnerungen werden im Ruhezustand mit AES-256-GCM verschlüsselt, über pgvector HNSW für semantischen Abruf indiziert und über MCP JSON-RPC für die native Integration mit Claude, GPT, Gemini und jedem MCP-kompatiblen Client bereitgestellt. Lizenziert unter Apache 2.0.
Website · Dokumentation · PyPI · Forge
⚡ 30-Sekunden-Schnellstart
pip install synapse-layerfrom synapse_layer import Synapse
s = Synapse(token="sk_connect_YOUR_TOKEN")
s.store("user likes coffee")
print(s.recall("what does user like?"))Holen Sie sich Ihren Token unter forge.synapselayer.org → Dashboard → Verbinden
Related MCP server: Sylex Memory
Was ist Synapse Layer?
Die persistente Speicherschicht für KI-Agenten — das fehlende Stück zwischen zustandslosen LLMs und echter Kontextkontinuität.
Ihre KI-Agenten vergessen alles zwischen den Sitzungen. Synapse Layer behebt das.
Funktion | Beschreibung |
🔐 Verschlüsselt im Ruhezustand | AES-256-GCM mit zufälliger IV pro Vorgang und HMAC-SHA-256-Integrität |
🧩 Ein-Klick-Verbindung | Claude Desktop, Cursor, LangChain, CrewAI, n8n |
🌐 Agentenübergreifender Speicher | Speichern in ChatGPT, abrufen in Claude |
⚡ MCP-nativ | Jeder MCP-kompatible Agent |
🔒 Header-basierte Authentifizierung | Tokens niemals in URLs oder Logs |
🎯 Trust Quotient | Deterministischer Abruf — Erinnerungen nach Vertrauenswürdigkeit bewertet, nicht nur nach Aktualität |
Warum Synapse Layer?
Ihre KI-Agenten vergessen alles zwischen den Sitzungen. Synapse Layer behebt das — in einer Zeile.
Ohne Synapse Layer | Mit Synapse Layer |
Agent vergisst Kontext jede Sitzung | Persistenter Speicher über alle Sitzungen hinweg |
Speicher an ein Modell gebunden | Agentenübergreifend: speichern in ChatGPT, abrufen in Claude |
Keine Prüfpfad | Trust Quotient-Bewertung für jede Erinnerung |
Komplexe Integration |
|
Klartext auf Servern gespeichert | AES-256-GCM-verschlüsselt im Ruhezustand |
Anwendungsfälle
Langzeit-Assistentenspeicher — Benutzereinstellungen, Fakten und frühere Entscheidungen über Sitzungen hinweg speichern.
Agentenübergreifende Kontinuität — Kontext in einem Agenten speichern und in einem anderen abrufen.
Sicherer Speicher für MCP-Clients — Claude Desktop, Cursor und andere MCP-kompatible Tools mit einer verwalteten Speicherschicht verbinden.
Operativer Speicher für Teams — Strukturierten Kontext, Vertrauensbewertung und durchsuchbaren Abruf für Produktionsagenten bereitstellen.
Installieren
pip install synapse-layerSchnellstart
Python-Skript
from synapse_layer import Synapse
client = Synapse(token="sk_connect_YOUR_TOKEN")
# Store
client.store("User prefers dark mode and concise answers")
# Recall
results = client.recall("user preferences")
for r in results:
print(r["content"], r["trust_quotient"])Mit Kontextmanager
from synapse_layer import Synapse
with Synapse(token="sk_connect_YOUR_TOKEN") as client:
client.store("User prefers dark mode and concise answers")
results = client.recall("user preferences")
for r in results:
print(r["content"])Holen Sie sich Ihren Token unter forge.synapselayer.org → Dashboard → Verbinden
13 MCP-Tools auf einen Blick
Synapse Layer stellt derzeit 13 MCP-Tools für persistente Speicher-Workflows bereit:
recallsave_to_synapseprocess_textsearchhealth_checkinitialize_contextsave_memorystore_memoryrecall_memorylist_memoriesmemory_feedbackneural_handoverslo_report
Diese Tools decken Speichererfassung, semantischen Abruf, strukturierte Speicherung, Feedbackschleifen, Agentenübergabe und operative Beobachtbarkeit ab.
Bereitstellungsmodi
Python-Skript-Modus
Verwenden Sie das SDK, wenn Sie direkten Python-Zugriff auf den Forge-Speicher aus Ihrer Anwendung benötigen.
Am besten geeignet für:
Prototypen und Skripte
Python-native Workflows
schnelle Integration in bestehende Apps
Cloud / Forge-API
Verwenden Sie Forge, wenn Sie persistenten, sitzungs- und agentenübergreifenden Speicher mit verwalteten Zugriffstoken benötigen.
Am besten geeignet für:
Produktionsassistenten
Multi-Agenten-Systeme
MCP-basierte Integrationen
Gemeinsamen Speicher über Tools und Sitzungen hinweg
MCP-Integration (Claude Desktop / Cursor)
Zu claude_desktop_config.json hinzufügen:
{
"mcpServers": {
"synapse-layer": {
"command": "npx",
"args": [
"mcp-remote",
"https://forge.synapselayer.org/api/mcp",
"--header",
"x-connect-token: sk_connect_YOUR_TOKEN"
]
}
}
}Speicherort der Konfigurationsdatei:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
API — Header-basierte Authentifizierung
# Health check
curl -H "x-connect-token: sk_connect_YOUR_TOKEN" \
https://forge.synapselayer.org/api/connect/health
# Save memory
curl -X POST \
-H "x-connect-token: sk_connect_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "User is a Python developer"}' \
https://forge.synapselayer.org/api/v1/captureSicherheit
Funktion | Implementierung |
Verschlüsselung | AES-256-GCM im Ruhezustand mit zufälliger IV pro Vorgang |
Integrität | HMAC-SHA-256 auf Inhalt |
Authentifizierung | Header-basiert ( |
Privatsphäre | Inhaltsbereinigung + mandantenspezifischer verschlüsselter Speicher |
Isolierung | 1 Benutzer = 1 Mandant = 1 privater Verstand |
Siehe SECURITY.md für die Meldung von Schwachstellen.
Verwandte Projekte
Projekt | Beschreibung |
Python SDK — LangChain-, CrewAI- und A2A-Protokoll-Adapter | |
MCP-Skill-Konfiguration für Claude Desktop, Cursor, Windsurf | |
LangGraph-Checkpoint-Speicher mit verschlüsselter Zustandspersistenz |
Governance
Alle öffentlichen Behauptungen folgen der Public Claims Matrix.
Architekturdetails, die Vorteile offenlegen, sind öffentlich; Mechanismen, die sie ermöglichen, sind privat.
Behauptung = Realität. Wenn es nicht implementiert ist, steht es nicht in der README.
Lizenz
Apache-2.0 © Synapse Layer
Available Tools
13 toolshealth_checkARead-onlyInspect
Check service availability, engine version, and storage health. Public method.
Inputs: no named parameters. Returns: status, version, dbLatencyMs
initialize_contextARead-onlyInspect
Initialize a persistent memory context for a conversation or agent session. Returns REDACTED metadata by default (detail="summary"). Use detail="full" with a reason (10–200 chars) to retrieve plaintext content under MEMORY_EXPORT_GOVERNANCE_V1.
Inputs: detail, reason. Returns: scope, agent_id, memories
list_memoriesARead-onlyInspect
List memory metadata with pagination and governance limits.
Inputs: limit, scope, agent_id. Returns: count, total, memories
memory_feedbackAInspect
Submit feedback to adjust trust scoring for stored memories.
Inputs: signal (required), memoryId, memory_id, sessionId, +1 more. Returns: trust, applied, memoryId
neural_handoverAInspect
Transfer contextual state between agents with continuity controls.
Inputs: token (required), reason (required), consuming_agent. Returns: status, handoverId
process_textAInspect
Extract candidate memories from free-form text with governance filters and sanitization.
Inputs: text (required), source, project, agent_id. Returns: extracted, storedCount
recallARead-onlyInspect
Retrieve relevant persisted memory using semantic, temporal, priority, or hybrid routing. Governance: requires reason (10–200 chars). Rate limit: 20/min.
Inputs: query (required), reason (required), mode, limit, +2 more. Returns: count, scope, memories
recall_memoryARead-onlyInspect
Recall persisted memory by query. Alias of recall.
Inputs: query (required), reason (required), mode, limit, +2 more. Returns: count, scope, memories
save_memoryCIdempotentInspect
Save a memory entry to the persistent store. Alias of save_to_synapse.
Inputs: content (required), tags, agent_id, force_intent, +1 more. Returns: id, scope, stored
save_to_synapseAIdempotentInspect
Persist memory with encryption at rest, sanitization, and deduplication controls.
Inputs: content (required), tags, type, project, +4 more. Returns: id, scope, stored
searchARead-onlyInspect
Search persisted memory across agent scopes using full-text matching. Governance: requires reason (10–200 chars) because results contain plaintext content.
Inputs: query (required), reason (required), limit, scope, +1 more. Returns: count, scope, results
slo_reportBRead-onlyInspect
Return uptime and SLO metrics for the MCP service.
Inputs: admin_token (required), window_hours. Returns: p50, p95, uptime, window, +1 more
store_memoryBIdempotentInspect
Store structured memory with metadata and trust scoring.
Inputs: content (required), tags, agent_id, force_intent, +1 more. Returns: id, scope, stored
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
There is overlap between `save_memory` and `save_to_synapse` (aliases), and `recall_memory` and `recall` (aliases), which creates ambiguity. `save_to_synapse` and `store_memory` also have very similar purposes, potentially causing misselection.
Most tools use a verb_noun pattern (e.g., list_memories, save_memory, recall_memory), but `neural_handover` breaks this pattern by using an adjective_noun. `slo_report` is a contraction that doesn't follow the strict verb_noun structure, introducing inconsistency.
With 13 tools, the count is within the well-scoped range (3-15). The presence of aliases inflates the number slightly, but otherwise, each non-alias tool serves a distinct purpose, making the count appropriate.
The tool surface covers core CRUD operations (save, recall, list, search) and lifecycle operations (initialize, feedback, handover). Minor gaps exist, such as missing explicit update or delete tools for memories, but the domain coverage is generally strong.
Maintenance
Related MCP Connectors
Shared long-term memory vault for AI agents with 20 MCP tools.
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
Persistent memory for AI agents to retain, retrieve, and recall conversation context through MCP.
Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenancePersistent memory for AI agents. Store, recall, and share knowledge across sessions with five MCP tools: remember, recall, context, forget, and share. Includes semantic search and agent/user/org scoping.53Apache 2.0
- FlicenseAqualityDmaintenancePersistent encrypted memory for AI agents. E2E encrypted private vaults, shared knowledge commons, topic channels, and agent-to-agent DMs. 23 MCP tools, free, no API key needed.24-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to store and semantically retrieve durable memories across sessions via MCP or REST, with tools for remembering, recalling, asking, updating, and forgetting memories.17 npmMIT
- FlicenseAqualityBmaintenanceShared fleet memory for AI agents — what one agent learns, the whole fleet knows. Nightly self-correction: stale facts rewritten in place, duplicates merged. Recall pushed into every prompt in supported coding agents. Self-hosted.113-