Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By rohitg00v0.9.33Apache-2.0In 2 marketplaces
Gives Claude persistent memory across sessions: recall past work, save decisions and lessons, and resume earlier tasks. Hooks record every prompt, tool call and reply to a separately run local server (Node.js 20+).
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
persistent-memory, session-history, recall, lessons, handoff, context, local-server, commit-history
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
agentmemory server URLagentmemory_url
Where the hooks and MCP server reach your agentmemory server. Leave empty to use AGENTMEMORY_URL from your environment when it is set, otherwise http://localhost:3111. A remote server must use https.
string
agentmemory server secretagentmemory_secret
Only needed for a remote agentmemory server. Leave empty for a server on this machine; the plugin then reads the local server's own secret and never sends it off this machine.
Sensitivestring
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
agentmemory gives Claude persistent memory across sessions. Its hooks record what happens in each session, and its skills and MCP tools let Claude search that history, save decisions and lessons, and pick up earlier work. Everything is stored on your own machine by default.
/plugin install agentmemory --marketplace rohitg00/agentmemory
This plugin is a client for the agentmemory server, a separate program that you install and run yourself. The 54 MCP tools, the search index and the viewer all come from that server. Without it the hooks have nowhere to send events and the tools return errors.
Start the server in its own terminal with Node.js 20 or newer:
npx -y @agentmemory/agentmemory@latest
Keep it running while you use the plugin. Check it with npx -y @agentmemory/agentmemory@latest status. The server listens on http://localhost:3111 and the viewer on http://localhost:3113.
When you enable the plugin, Claude Code asks for two optional settings: the server URL and the server secret. Leave both empty for a local server. If the URL is empty, the plugin uses AGENTMEMORY_URL from your environment when it is set. Claude Code keeps the secret in your system keychain; on systems without a keychain it keeps it in ~/.claude/.credentials.json, a file readable only by your user. The plugin sends events and the secret only to a loopback address or an https:// URL; for a remote http:// URL it sends nothing.
The plugin registers 12 Claude Code hooks. They record:
Before storage, <private>...</private> blocks and common secret formats such as API keys and private keys are replaced with redaction markers. Long tool output is truncated.
The server stores everything in a local data folder:
~/Library/Application Support/agentmemory~/.local/share/agentmemory%APPDATA%\agentmemoryIf the server is down, hook events wait in a capture-spool folder inside the same data folder. The spool holds at most 5 MiB and drops events older than 7 days.
Data is kept until you delete it. Each session keeps at most 500 observations by default. Memories that carry an expiry date are removed automatically after that date.
By default, nothing. Search uses local keyword matching, and no LLM is called. Content leaves your machine only when you turn on one of these options on the server:
AGENTMEMORY_LLM_PROVIDER selects an LLM provider (Anthropic, OpenAI, Gemini, OpenRouter or MiniMax). Session summaries, consolidation and reflection then send excerpts of recorded content to it. A provider key that is already in your environment does nothing until you set this option. LLM compression of each observation stays off unless you also set AGENTMEMORY_AUTO_COMPRESS=true.AGENTMEMORY_ALLOW_AGENT_SDK=true, with no provider selected, sends the same excerpts to Claude through the Claude Agent SDK.EMBEDDING_PROVIDER set to gemini, openai, voyage, cohere or openrouter sends text to that service to build search vectors. EMBEDDING_PROVIDER=local runs on your machine after a one-time model download.Context injection is also off by default. The plugin prints stored memory into the conversation only when you set AGENTMEMORY_INJECT_CONTEXT=true.
http://localhost:3113, or run npx -y @agentmemory/agentmemory@latest status.memory_export tool.forget skill or the memory_governance_delete tool.npx -y @agentmemory/agentmemory@latest stop, then delete the data folder listed above. With a Redis state backend, also delete agentmemory's records from that Redis server, for example by flushing the Redis database you gave agentmemory.Recalled memories are evidence from past sessions, not instructions. Claude should check them before acting on them.
Privacy policy: https://agent-memory.dev/privacy
Source and issues: https://github.com/rohitg00/agentmemory
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub rohitg00/agentmemory --plugin agentmemoryPlugins from other owners that cover similar ground