Install
openclaw skills install synapse-layerProvides persistent, encrypted AI agent memory with a 4-layer security pipeline for storing, retrieving, sharing, and analyzing agent memories.
openclaw skills install synapse-layerSynapse Layer provides persistent, encrypted memory for AI agents with a 4-layer security pipeline.
Install and use:
pip install synapse-layer
from synapse_test import SynapseClient
client = SynapseClient(api_key="sk_connect_...")
# Save memory
result = client.remember("User prefers dark mode", agent="mel")
# Retrieve memories
memories = client.recall("user preferences", agent="mel")
See scripts/synapse_client.py for a complete client implementation.
Add to OpenClaw gateway config for external MCP clients:
{
"mcp": {
"servers": {
"synapse-layer": {
"url": "https://forge.synapselayer.org/mcp",
"headers": {
"Authorization": "Bearer sk_connect_YOUR_API_KEY"
}
}
}
}
}
Note: This is for external MCP clients (Claude Desktop, Cursor) to connect to SynapseLayer, not for OpenClaw agents to use directly.
Once configured via Python SDK, these operations are available:
Every memory passes through 4 non-bypassable layers:
Score (0-1) ranking memory reliability. Higher TQ = more trusted memory.
Memories can be shared across agents using the same agent_id or cross-agent search.
Use the Python SDK client:
from scripts.synapse_client import SynapseClient
client = SynapseClient(api_key="sk_connect_...")
# Save
client.remember("Important decision", agent="mel", importance=5)
# Recall
memories = client.recall("recent decisions", agent="mel", limit=5)
# Search
all_memories = client.search("project deadlines", limit=10)
Extract events from free-form text:
events = client.process_text(
"Decided to use PostgreSQL. Deadline is May 1st.",
agent="hermes",
project="website-redesign"
)
Recommended approach for production:
health_checkhealth_check to verify connectivityUse the test script:
python3 /app/skills/synapse-layer/scripts/synapse_test.py
This script verifies:
For more details, see: