Skip to main content
By the end of this quickstart, you will have Agent Memory installed, the memory server running on your machine, your agent connected via MCP, and persistent recall verified with a live demo. The whole process takes under 2 minutes on a machine with Node.js already installed.

What happens next

From this point on, Agent Memory works automatically in the background. Every time your agent reads a file, runs a command, writes code, or hits an error, Agent Memory captures that as an observation. At the end of each session, it compresses those observations into searchable memories. At the start of the next session, it injects the most relevant context so your agent already knows your project. You do not need to change how you work.

Other useful commands

Once the server is running, you have a few more commands at your disposal:
Use agentmemory stop when you want to pause memory capture and free up ports. Use agentmemory remove if you ever want to start fresh — it prompts for confirmation before deleting anything. Use agentmemory upgrade to pull the latest release without reinstalling manually.
Troubleshooting: Run agentmemory doctor at any time for interactive diagnostics. It checks the server, engine, MCP wiring, port availability, and your config file, then suggests specific fixes. It is the fastest path to resolving any setup issue.
For a complete list of supported agents and per-agent wiring details, see Connect Agents.