agentmemory

agentmemory is a plugin for Claude Code, Cursor from rohitg00/agentmemory. Its manifest loads nothing; the 17 skills, 2 commands, 12 hooks, 1 MCP server it bundles cost 878 tokens per session together, scanned A, original, Apache-2.0.

A plugin that gives AI coding agents persistent memory across sessions. It records tool use, compresses information with a language model, and adds context to later sessions.

In plain words
What is it for?
Keeping a record of agent work, reusing earlier context, and viewing memory through its real-time viewer.
Why use it?
Without persistent memory, an agent may lose useful project context when a session ends or its conversation becomes too long.

Plugin for Claude CodeCursor

Written for Claude Code and Cursor: a Claude Code plugin manifest, but also shipped in a Cursor plugin.

Good fit Keeping a record of agent work, reusing earlier context, and viewing memory through its real-time viewer.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add rohitg00/agentmemory
/plugin install agentmemory
About the project

agentmemory is a persistent-memory system that lets AI coding agents retain and search information across sessions. It connects with several coding agents and MCP clients, storing knowledge with confidence scoring, lifecycle handling, knowledge graphs, and hybrid search. The catalogue contains agentmemory integrations such as skills, hooks, commands, a plugin, and an MCP component.

rohitg00/agentmemory · 30,674 stars · on GitHub · agent-memory.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/rohitg00/agentmemory

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agentmemory

README.md
[![agentmods](https://agentmods.dev/badge/plugins/rohitg00/agentmemory/plugin/github.svg)](https://agentmods.dev/plugins/rohitg00/agentmemory/plugin)
Your own site
<a href="https://agentmods.dev/plugins/rohitg00/agentmemory/plugin"><img src="https://agentmods.dev/badge/plugins/rohitg00/agentmemory/plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agentmemory

Your own site · 80×15
<a href="https://agentmods.dev/plugins/rohitg00/agentmemory/plugin"><img src="https://agentmods.dev/badge/plugins/rohitg00/agentmemory/plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 17 skills, 2 commands, 12 hooks, 1 MCP server cost 878 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

agentmemory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugin/.claude-plugin/plugin.json · 27 lines

What it actually says

{
  "name": "agentmemory",
  "version": "0.9.34",
  "description": "Persistent local memory for Claude. Hooks record prompts, tool calls and replies to a separately installed agentmemory server on your machine; skills and 54 MCP tools search and manage that memory. No outside AI provider is used unless you enable one.",
  "author": {
    "name": "Rohit Ghumare",
    "url": "https://github.com/rohitg00"
  },
  "license": "Apache-2.0",
  "homepage": "https://github.com/rohitg00/agentmemory",
  "repository": "https://github.com/rohitg00/agentmemory",
  "skills": ["./skills/"],
  "userConfig": {
    "agentmemory_url": {
      "type": "string",
      "title": "agentmemory server URL",
      "description": "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."
    },
    "agentmemory_secret": {
      "type": "string",
      "title": "agentmemory server secret",
      "description": "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.",
      "sensitive": true
    }
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed c75740d3ae74
  2. 21d ago Changed 9a2458d8d43f
  3. 25d ago Changed · +13 lines d0570bef0a12
  4. 1mo ago Changed f008ae246c91
  5. 1mo ago Changed 1b84d880e5a8
  6. 1mo ago Changed e680485f6f09
  7. 3mo ago First seen · 14 lines scan A 62174a1c1454

Subscribe to this mod's changes

agentmemory is a plugin published in the GitHub repository rohitg00/agentmemory (30,674 stars, last pushed yesterday), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agentmemory compared with plugins from other repositories

agentmemory next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentmemoryrohitg00/agentmemoryPlugin31kyesterdayApache-2.0A—Claude Code, Cursor
hindsight-memoryvectorize-io/hindsightPlugin64kyesterdayMITA—Cursor
relationship-designbencium/bencium-marketplacePlugin5073d agoMITA—Claude Code
ultracontextultracontext/ultracontextPlugin4551mo agoApache-2.0A—Claude Code
context-guardmelodic-software/claude-code-pluginsPlugin33todayMITA—Claude Code
knowldat999zx/knowlPlugin10928d agoApache-2.0A—Claude Code
nodebench-mcpHomenShum/NodeBenchAIPlugin1417d agoMITA—Claude Code