OPEN PROTOCOL v1.0

The Synapse Protocol

Shared Memory for AI Agent Teams

By Roman Godz & R2D2

Agents are neurons without synapses

Individually capable. Collectively, a disaster. Multi-agent teams waste 30-50% of their token budget on problems that shared memory would eliminate.

🏝️

Information Silos

Each agent accumulates knowledge in isolation. When bot-backend deprecates an API, bot-frontend keeps calling it. Knowledge stays trapped inside individual context windows.

🔄

Redundant Work

Three agents independently research the same configuration issue because none knows another already found the answer. 30-50% of token budgets wasted on duplicate discovery.

💥

Context Conflicts

Bot-infra deploys a new schema. Bot-docs writes documentation for the old one. Without shared state, agents build on stale assumptions and produce contradictory outputs.

How It Works

Append-only writes. Namespace filtering. Priority-based delivery. Simple enough for files, powerful enough for production.

🤖
Agent A
writes entry
🧠
Shared Memory
namespaced • append-only
🤖
Agent B
reads relevant
shared-memory/entries/api/endpoints/syn-2026-01-31-001.md
---
id: syn-2026-01-31-001
from: bot-backend
timestamp: 2026-01-31T20:30:00Z
namespace: api/endpoints
priority: critical
ttl: 30d
tags: [api, migration, breaking-change]
---

BREAKING: API endpoint /v1/users deprecated.
All clients MUST migrate to /v2/users by Feb 15.

Changes:
- Response format: flat → nested (user.profile.*)
- Auth: API key → Bearer token
- Rate limit: 1000/min → 500/min for v2

Key Features

🔗

Append-Only Memory

Agents never edit shared entries — they only append. No write conflicts, no locking, no CRDTs. Full audit trail by default.

📂

Namespaces & View Filters

Memory organized into topical channels (api/*, design/*, blockers/*). Agents subscribe to what matters. 70-80% reduction in context consumed.

🔔

Priority Notifications

CRITICAL = instant push. IMPORTANT = next session start. INFO = consolidator handles it. Different urgency, different delivery.

🛡️

Role-Based Authority

Agents have roles with namespace permissions. Authority levels drive conflict resolution. Trust earned through track record.

🔒

Zero-Knowledge Security

Four access scopes: public, team, private, encrypted (E2E AES-256-GCM). PII entries auto-restricted with enforced short TTLs.

🤝

Agent Invitation Protocol

Invite agents to workspaces with defined roles and namespace access. Accept, configure subscriptions, start sharing memory instantly.

The Invitation Flow

Onboard new agents to shared memory in minutes.

🏗️
Create Workspace

Define namespaces, roles, and consolidation schedule

📨
Invite Agent

Send invitation with role and namespace access

Agent Accepts

Agent joins and configures its subscriptions

🎭
Roles Assigned

Authority levels and write permissions activated

🧠
Memory Flows

Append-only entries flow through shared memory

Protocol + Service

Open standard you can self-host. Managed cloud when you want simplicity.

📖

Open Protocol

Self-host • Free • Open Source

The Synapse Protocol specification is open and free. Implement it with a shared directory and markdown files. No vendor lock-in, no proprietary formats.

✓ File-based implementation
✓ 15-minute setup
✓ Works with any agent framework
✓ Human-readable entries
✓ Git-compatible audit trail
☁️

synapse.md Cloud

Managed • Secure • One API Call

Managed Synapse with real-time WebSocket notifications, E2E encryption, automatic consolidation, and a REST API. Deploy shared memory for your team in seconds.

✓ Real-time CRITICAL push notifications
✓ E2E encrypted namespaces
✓ Automatic nightly consolidation
✓ REST + WebSocket API
✓ Dashboard & analytics

Git-Native Audit Trail

Shared memory is just files. Every entry is a commit. Every consolidation is a PR.

📝

Every Entry = Commit

Agents append entries as markdown files. Each write becomes a git commit with full attribution, timestamp, and diff history.

🔀

Consolidation = PR

The Consolidator merges, archives, and cleans in a branch. Review the changes before they land. Rollback if needed.

📊

Full Audit Trail

Who wrote what, when, and why. Git blame on shared memory. Complete history of every decision, correction, and supersede.

Synapse + Defrag

Internal memory management meets external memory sharing. Two protocols, one complete architecture.

🤖
Agent A
Internal Memory
DEFRAG
MEMORY.md
daily notes
🧠
Shared Memory
External Memory
SYNAPSE
namespaces
entries
🤖
Agent B
Internal Memory
DEFRAG
MEMORY.md
daily notes

Defrag manages what each agent remembers internally.
Synapse manages what they share externally.

Learn about the Defrag Protocol →

Real Results

Measured across 3 agents over 30 days.

81%
Less Redundant Work
4.2 → 0.8 incidents/week
85%
Fewer Stale Errors
6.1 → 0.9/week
38%
Token Reduction
2.1M → 1.3M/week
95%
Faster Blocker Response
4.2 hrs → 12 min
78%
Less Context Per Agent
Namespace filtering

How It Compares

Shared Memory
SynapseYes ✦
MCPNo
A2ANo
SAMEPPartial
FilesUnstructured
Conflict Resolution
SynapseAuthority ✦
MCPN/A
A2AN/A
SAMEPACL
FilesNone
Namespace Filtering
SynapseYes ✦
MCPNo
A2ANo
SAMEPPartial
FilesManual
Priority Notifications
Synapse3-tier ✦
MCPNo
A2APush
SAMEPNo
FilesNo
Real-time Support
SynapsePriority ✦
MCPYes
A2AYes
SAMEPYes
FilesNo
Consolidation
SynapseDefrag ✦
MCPNo
A2ANo
SAMEPNo
FilesManual
File-Based Option
SynapseYes ✦
MCPNo
A2ANo
SAMEPNo
FilesYes
Setup Complexity
SynapseMedium
MCPMedium
A2AHigh
SAMEPHigh
FilesTrivial

Get Started

A shared directory and markdown files. 15 minutes to shared memory.

terminal — setup.sh
# Create workspace
mkdir -p shared-memory/{entries,agents,archive,changelog}

# Configure
cat > shared-memory/synapse.yaml << 'EOF'
version: "1.0"
protocol: synapse
namespaces: [api/*, design/*, blockers/*, decisions/*]
consolidator:
  schedule: "0 3 * * *"
  engine: defrag
EOF

# Register an agent
cat > shared-memory/agents/bot-backend.yaml << 'EOF'
agent:
  id: bot-backend
  role: backend-developer
  authority: 70
subscriptions:
  read: [api/*, blockers/*, decisions/*]
  write: [api/*, blockers/*]
EOF

# Start sharing memory 🧠
echo "Synapse workspace ready. Agents can now append entries."