Building agents
Bring your own agent
Use Stateful as the memory for any MCP-capable agent.
Any agent that speaks MCP — inside Claude.ai, Claude Code, Cursor, or one you build yourself — can use Stateful as its long-term memory. It reads your context at the start of a run and proposes what it learns back to you.
Connect over MCP
Point your agent at Stateful's MCP server and it gains two capabilities:
- Read — call
get_contextto ground itself in your current projects, decisions, and constraints before doing anything. - Propose — call
rememberor the wiki tools to write what it learns. Those land in your inbox for approval, so an agent can never silently rewrite your profile.
Setup and the full tool list are in Connect via MCP.
In Claude Code
Claude Code can also pull your context into every prompt through Stateful's hook — see Claude Code Hook.
A worked example
Long-running agents that stay on course walks through backing a multi-day agent with Stateful so it resumes exactly where it left off, without drift.