Skip to main content
Glama

🧠 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.

PyPI Python Downloads MCP Compatible Official MCP Registry CI License: Apache-2.0 Smithery

Website · Dokumentation · PyPI · Forge


⚡ 30-Sekunden-Schnellstart

pip install synapse-layer
from 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

pip install synapse-layer + 3 Codezeilen

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-layer

Schnellstart

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:

  • recall

  • save_to_synapse

  • process_text

  • search

  • health_check

  • initialize_context

  • save_memory

  • store_memory

  • recall_memory

  • list_memories

  • memory_feedback

  • neural_handover

  • slo_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.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.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/capture

Sicherheit

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 (x-connect-token) — Tokens niemals in URLs oder Logs

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

synapse-sdk-python

Python SDK — LangChain-, CrewAI- und A2A-Protokoll-Adapter

synapse-layer-skill

MCP-Skill-Konfiguration für Claude Desktop, Cursor, Windsurf

synapse-layer-langgraph

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 tools
health_checkA
Read-only
Inspect

Check service availability, engine version, and storage health. Public method.

Inputs: no named parameters. Returns: status, version, dbLatencyMs

initialize_contextA
Read-only
Inspect

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_memoriesA
Read-only
Inspect

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

recallA
Read-only
Inspect

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_memoryA
Read-only
Inspect

Recall persisted memory by query. Alias of recall.

Inputs: query (required), reason (required), mode, limit, +2 more. Returns: count, scope, memories

save_memoryC
Idempotent
Inspect

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_synapseA
Idempotent
Inspect

Persist memory with encryption at rest, sanitization, and deduplication controls.

Inputs: content (required), tags, type, project, +4 more. Returns: id, scope, stored

slo_reportB
Read-only
Inspect

Return uptime and SLO metrics for the MCP service.

Inputs: admin_token (required), window_hours. Returns: p50, p95, uptime, window, +1 more

store_memoryB
Idempotent
Inspect

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

    B3.4/5.0

    Scored across 13 tools

    Disambiguation3/5

    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.

    Naming Consistency3/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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 npm
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      Shared 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.
      11
      3
      -