Skip to content

Repository files navigation

PyPILicenseStatus

Synapse Layer — Memory Skill

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.


The Problem

Every AI agent starts from zero.

No memory of past sessions. No context from other models. Every conversation is a blank slate.

Synapse Layer fixes that.


How It Works

Claude ───────┐
│
Cursor ───────┼──→ Synapse Layer → governed recall → any agent
│
ChatGPT ──────┘

Save once. Recall anywhere. Encrypted memory. Per-operation random IV.


Quick Install

Get your token first: forge.synapselayer.org → Dashboard → Connect

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Cursor

Edit .cursor/mcp.json in your project root:

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

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

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

Any MCP Client

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

Restart your client. Done.


What Changes

Without Synapse LayerWith Synapse Layer
Agent forgets every sessionPersistent memory across sessions
Context locked to one modelCross-agent memory
Plaintext exposure riskAES-256-GCM encrypted at rest
Repeated context injectionGoverned recall on demand
No memory reliability signalTrust Quotient scoring

Python SDK

pip install synapse-layer
fromsynapse_memory.clientimportSynapseclient=Synapse(token="sk_connect_YOUR_TOKEN")
client.remember("User prefers concise technical responses")
results=client.recall("user preferences")
forresultinresults:
print(result)

Trust & Security

  • AES-256-GCM encryption at rest
  • Per-operation random IV
  • Trust Quotient memory scoring
  • Header-first MCP auth
  • Designed for LGPD/GDPR alignment
  • Apache 2.0

Troubleshooting

SymptomCauseFix
401 UnauthorizedMissing or invalid tokenVerify your sk_connect_ token at forge.synapselayer.org → Dashboard → Connect
ECONNREFUSEDClient not using mcp-remoteEnsure config uses npx mcp-remote with --header
Empty recall resultsNo memories stored yetCall save_to_synapse first, then recall

Production

  • Live MCP endpoint: forge.synapselayer.org
  • MCP tools: 5 active (recall, save_to_synapse, process_text, search, health_check)

Related Projects

ProjectDescription
synapse-layerCore server — MCP endpoint, encryption engine, pgvector indexing
synapse-sdk-pythonPython SDK — LangChain, CrewAI, and A2A protocol adapters
synapse-layer-langgraphLangGraph checkpoint saver with encrypted state persistence

Links

Apache 2.0 © Synapse Layer

About

Synapse Layer skill plugin (beta) — secure memory recall for AI agents.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors