Synapse Layer — Zero-Knowledge Memory

io.github.SynapseLayer由 GitHub 账号 SynapseLayer 发布v1.0.7更新于 Oct 24, 2026

Zero-Knowledge Context™ & Neural Handover™ for AI Agents. The Trust Layer for AI Memory.

发布方自己的服务:Memory.fit

概览

AI 生成的概览

让助手拥有持久、加密的长期记忆,支持语义检索与跨代理上下文交接。

可以做什么
Synapse Layer 是面向 AI 代理的持久记忆层。它提供 13 个 MCP 工具,涵盖记忆写入、语义召回、结构化存储、反馈评分、代理交接与运行观测,包括 recall、save_memory、store_memory、list_memories、memory_feedback、neural_handover 和 slo_report。记忆以 AES-256-GCM 静态加密并建立语义检索索引,README 称可在一个代理中保存、在另一个代理中召回。
适用场景
当助手需要跨会话记住用户偏好、事实和先前决定,或多个代理需要共享上下文时适合使用。也适合希望为生产代理提供可检索、带评分召回能力的团队,而非每次会话都从零开始。
运行要求
以本地 stdio 进程运行,从 PyPI 安装 synapse-layer 并用 uvx 启动。README 还展示了通过 mcp-remote 访问远程 Forge 端点并携带 x-connect-token 请求头,以及使用连接令牌的 Python SDK。环境变量包括 SYNAPSE_AGENT_ID、LOG_LEVEL、SYNAPSE_PRIVACY_EPSILON,以及密钥 SYNAPSE_ENCRYPTION_KEY(未提供时自动生成)。使用托管 Forge 服务需要网络访问。
安装前请注意
README 要求用户从厂商 Forge 控制台获取连接令牌,并作为 x-connect-token 请求头或传给 SDK,该令牌应视为凭据。密钥 SYNAPSE_ENCRYPTION_KEY 用于保护静态记忆,丢失后可能导致已存记忆无法读取。README 的安装方式是把远程脚本通过管道交给 shell 执行,会在本机运行第三方代码。记忆内容会发送到托管 Forge 服务,save_memory、store_memory、neural_handover 等工具会写入并共享数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Synapse Layer — Zero-Knowledge Memory,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🧠 Synapse Layer

RAG retrieves. Synapse remembers.

Persistent memory infrastructure for AI agents — AES-256-GCM encrypted at rest, semantic search, MCP-native.

Synapse Layer is open-source persistent memory infrastructure for AI agents and assistants. Memories are encrypted at rest with AES-256-GCM, indexed via pgvector HNSW for semantic recall, and exposed through MCP JSON-RPC for native integration with Claude, GPT, Gemini, and any MCP-compatible client. Apache 2.0 licensed.

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

Website · Docs · PyPI · Forge


⚡ 30-Second Quickstart

Get your Connect Token at forge.synapselayer.org → Connect, then install into any MCP client:

bash
curl -fsSL https://forge.synapselayer.org/install/smithery | bash

On the Forge dashboard the Smithery card already copies the command with your token embedded (… | bash -s -- sk_connect_…) — a single paste in your terminal is enough.

Or use the Python SDK:

python
from synapse_layer import Synapse
s = Synapse(token="sk_connect_YOUR_TOKEN")
s.store("user likes coffee")print(s.recall("what does user like?"))

Get your token at forge.synapselayer.org → Dashboard → Connect


What is Synapse Layer?

The persistent memory layer for AI agents — the missing piece between stateless LLMs and real continuity of context.

Your AI agents forget everything between sessions. Synapse Layer fixes that.

FeatureDescription
🔐 Encrypted at restAES-256-GCM with per-operation random IV and HMAC-SHA-256 integrity
🧩 One-click connectClaude Desktop, Cursor, LangChain, CrewAI, n8n
🌐 Cross-agent memorySave in ChatGPT, recall in Claude
⚡ MCP-nativeAny MCP-compatible agent
🔒 Header-first authTokens never in URLs or logs
🎯 Trust QuotientDeterministic recall — memories ranked by confidence, not recency alone

Why Synapse Layer?

Your AI agents forget everything between sessions. Synapse Layer fixes that — in one line.

Without Synapse LayerWith Synapse Layer
Agent forgets context every sessionPersistent memory across all sessions
Memory locked to one modelCross-agent: save in ChatGPT, recall in Claude
No audit trailTrust Quotient scoring on every memory
Complex integrationpip install synapse-layer + 3 lines of code
Plaintext stored on serversAES-256-GCM encrypted at rest

Use Cases

  • Long-term assistant memory — persist user preferences, facts, and prior decisions across sessions.
  • Cross-agent continuity — save context in one agent and recall it in another.
  • Secure memory for MCP clients — connect Claude Desktop, Cursor, and other MCP-compatible tools to a governed memory layer.
  • Operational memory for teams — maintain structured context, trust scoring, and searchable recall for production agents.

Install

bash
pip install synapse-layer

Quick Start

Python Script

python
from synapse_layer import Synapse
client = Synapse(token="sk_connect_YOUR_TOKEN")
# Storeclient.store("User prefers dark mode and concise answers")
# Recallresults = client.recall("user preferences")for r in results:    print(r["content"], r["trust_quotient"])

With Context Manager

python
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"])

Get your token at forge.synapselayer.org → Dashboard → Connect


13 MCP Tools at a Glance

Synapse Layer currently exposes 13 MCP tools for persistent memory workflows:

  • 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

These tools cover memory capture, semantic recall, structured storage, feedback loops, agent handoff, and operational observability.


Deployment Modes

Python Script Mode

Use the SDK when you want direct Python access to Forge memory from your application.

Best for:

  • prototypes and scripts
  • Python-native workflows
  • fast integration into existing apps

Cloud / Forge API

Use Forge when you need persistent, cross-session, and cross-agent memory with managed access tokens.

Best for:

  • production assistants
  • multi-agent systems
  • MCP-based integrations
  • shared memory across tools and sessions

MCP Integration (one tested path per client)

Claude Code (CLI)

bash
claude mcp add --transport http synapse-layer \  https://forge.synapselayer.org/api/mcp \  --header "x-connect-token: sk_connect_YOUR_TOKEN"

The URL is a positional argument — claude mcp add --transport http <name> <url> — there is no --url flag.

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "synapse-layer": {      "command": "npx",      "args": [        "mcp-remote",        "https://forge.synapselayer.org/api/mcp",        "--header",        "x-connect-token: sk_connect_YOUR_TOKEN"      ]    }  }}

Cursor

Add to .cursor/mcp.json in your project root (same JSON block as above).

Any MCP client

Any host that runs npx can use the mcp-remote block above unchanged — it bridges local stdio to the remote endpoint.

Config file locations:

  • Claude Desktop — macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop — Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Claude Desktop — Linux: ~/.config/Claude/claude_desktop_config.json

API — Header-First Auth

bash
# Health checkcurl -H "x-connect-token: sk_connect_YOUR_TOKEN" \  https://forge.synapselayer.org/api/connect/health
# Save memorycurl -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

Security

FeatureImplementation
EncryptionAES-256-GCM at rest with per-operation random IV
IntegrityHMAC-SHA-256 on content
AuthHeader-first (x-connect-token) — tokens never in URLs or logs
PrivacyContent sanitization + tenant-scoped encrypted storage
Isolation1 user = 1 tenant = 1 private mind

See SECURITY.md for vulnerability reporting.


Related Projects

ProjectDescription
synapse-sdk-pythonPython SDK — LangChain, CrewAI, and A2A protocol adapters
synapse-layer-skillMCP skill configuration for Claude Desktop, Cursor, Windsurf
synapse-layer-langgraphLangGraph checkpoint saver with encrypted state persistence

Governance

  • All public claims follow the Public Claims Matrix.
  • Architecture details that reveal benefits are public; mechanisms that enable them are private.
  • Claim = Reality. If it's not implemented, it's not in the README.

License

Apache-2.0 © Synapse Layer

来源:README.md,提交 96d0706

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.7最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Memory 集成