Home / Use Cases / Build an agent that remembers across restarts
Use case3-step workflow

Build an agent that remembers across restarts

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

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

Summarize Memory

Condense a namespace of memories into a short summary.

summarize_memory({"handle": "my-agent"})

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.