Home / Workflows / Share memory between two agents
Memory Opsintermediate3-step workflow~18 min

Share memory between two agents

Store a memory under one agent's namespace, share it with a second agent, then have that agent recall it.

Workflow

Step 1 of 3

Store Memory

Write the memory under the originating agent's namespace.

store_memory({"namespace": "example", "key": "example-key", "value": "example"})
Step 2 of 3

Share Memory

Grant a second agent read access to that memory.

share_memory({"namespace": "example", "grantee": "example", "permission": "read", "handle": "my-agent"})
Step 3 of 3

Recall Memories

Have the receiving agent recall the shared memory.

recall_memories({"handle": "my-agent", "query": "wingman protocol"})

Install

One command wires up every tool below for Claude Code:

claude mcp add --transport http wingman https://agent.wingmanprotocol.com/mcp

Claude Desktop, Cursor and Continue configs are on /install. A free key adds 10,000 calls a month, no card: /pricing, which also has the current prices.