ai-memory is a shared long-term memory system for coding agents that preserves project knowledge, unfinished work, failed approaches, and open questions across tools and machines. It is used by individual developers and teams to hand work between different coding agents and continue projects without repeating the context.
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.
git clone --depth 1 https://github.com/akitaonrails/ai-memoryWrote 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.
[](https://agentmods.dev/plugins/akitaonrails/ai-memory/claude-code)<a href="https://agentmods.dev/plugins/akitaonrails/ai-memory/claude-code"><img src="https://agentmods.dev/badge/plugins/akitaonrails/ai-memory/claude-code/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.
<a href="https://agentmods.dev/plugins/akitaonrails/ai-memory/claude-code"><img src="https://agentmods.dev/badge/plugins/akitaonrails/ai-memory/claude-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
ai-memory 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 today.
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.
What it actually says
{
"name": "ai-memory",
"displayName": "ai-memory",
"version": "3.0.1",
"description": "Long-term memory across sessions and harnesses. Hands each lifecycle event to the installed ai-memory binary, which applies your capture exclusions and sends a sanitized record only to your ai-memory server (default http://127.0.0.1:49374). Adds the ai-memory MCP tools. No telemetry. Requires the ai-memory binary, 3.0 or later. In Cowork, capture runs on your computer and needs ai-memory installed there; the memory tools still work.",
"author": {
"name": "AkitaOnRails",
"url": "https://github.com/akitaonrails"
},
"homepage": "https://aimemory.sh",
"repository": "https://github.com/akitaonrails/ai-memory",
"license": "MIT",
"keywords": [
"memory",
"mcp",
"hooks",
"handoff",
"context"
],
"userConfig": {
"server_url": {
"type": "string",
"title": "ai-memory server URL",
"description": "Base URL of the ai-memory server. Leave empty to use the server_url from your ai-memory config (http://127.0.0.1:49374 for a local install).",
"default": ""
},
"ai_memory_bin": {
"type": "string",
"title": "ai-memory executable",
"description": "Absolute path to the ai-memory binary, only needed when it is not on PATH. A relative path is ignored.",
"default": "ai-memory"
},
"data_dir": {
"type": "string",
"title": "ai-memory data directory",
"description": "Only for an install that uses a non-default data directory.",
"default": ""
}
}
}
What it installs
The manifest is a name and a version. 9 hooks, 1 MCP server travel with it, and installing the plugin installs all of them. Each is measured on its own page, and each can be installed alone.
- Hook PostToolUse A not measured
- Hook SessionStart A not measured
- Hook UserPromptSubmit A not measured
- Hook SubagentStart A not measured
- Hook SubagentStop A not measured
- Hook PreCompact A not measured
- Hook Stop A not measured
- Hook PreToolUse A not measured
- Hook SessionEnd A not measured
- MCP server ai-memory A not measured
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.
- today Changed dca267612612
- 2d ago First seen · 41 lines scan A 811b12673d9e
ai-memory is a plugin published in the GitHub repository akitaonrails/ai-memory (9,421 stars, last pushed today), licensed MIT. 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-10-14.
Other plugins, from other repositories
open-knowledge-vault
Create and maintain portable Open Knowledge Format vaults with optional Obsidian and Dataview views.
knowledge-and-memory
Research methodology, corpus search, persistent memory, iterative workflows, and project knowledge management.
pai
Personal AI Infrastructure — persistent memory, session continuity, and knowledge graph for Claude Code.
tree-ring-memory
Local-first memory lifecycle, project bootstrap, and receipt-backed harness guidance for Claude Code using Tree Ring Memory v0.15+.
claude-mega-brain
OKF-powered knowledge context for Claude Code — injects your project knowledge base at every session.
vault-template
Personal Knowledge Management system for Obsidian with AI-powered workflows, goal tracking, and productivity coaching.