How to Add Memory to Your AI Agent in 3 Commands

Stop starting from zero. Give your AI agent persistent memory across sessions with a 30-second setup using Squish. Works with any MCP-compatible client.

Install the Runtime

Run npm i -g squish-memory && squish install. The CLI detects Claude Code, Cursor, Codex, and OpenCode automatically and configures MCP for each.

Connect Your Agent

Squish registers itself as an MCP server. Your agent gains 7 memory tools: remember, recall, forget, link, context, stats, and inspect with zero additional config.

Store and Recall Context

Use squish remember to capture decisions and constraints. Use squish recall to search past context semantically. Memory persists across sessions automatically.

Frequently Asked Questions

How long does it take to add memory to an AI agent?

Under 30 seconds. Install with npm i -g squish-memory && squish install and your agent has persistent memory.

Does this work with any AI agent?

Yes. Squish works with any MCP-compatible client including Claude Code, Cursor, Codex, OpenCode, LangChain, and custom agents.

Do I need to modify my agent's code?

No. Squish connects via the MCP protocol. No code changes, no API keys, no cloud dependency.

Can I remove memory my agent stored?

Yes. Use squish forget or the inspect tool to review and delete specific memories.

Install Squish

Squish documentation