Home / Workflows / Build an agent that remembers across restarts
Memory Opsintermediate3-step workflow~18 min

Build an agent that remembers across restarts

Give an agent durable memory that survives a process restart, then recall and search it in a later session.

Workflow

Step 1 of 3

Store Memory

Write a fact or decision to a namespaced key that outlives this session.

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

Recall Memories

Pull back relevant memories by query in a later session.

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

Search Memory Facts

Search stored facts directly when recall needs to be exact.

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

Install

One command wires up every tool below for Claude Code:

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

Claude Desktop, Cursor and Continue configs are on /install. A free key (500 calls/month, no card) is on /pricing; beyond that it is x402 pay-per-call in USDC on Base.