← all repositories
rohitg00/agentmemory

A memory layer for AI agents that outlives your terminal session

Persistent memory for Claude Code, Cursor, Copilot, and 15+ other coding agents so you stop repeating yourself.

25.6k stars TypeScript Coding AssistantsAgents
agentmemory
Velocity · 7d
+58
★ / day
Trend
steady
star history

What it does

agentmemory is a local memory server that sits between you and your AI coding agents. It remembers context across sessions — architecture decisions, bug fixes, preferences — so you don’t re-explain your codebase every time you open a new chat. It speaks MCP, REST, and native hooks to Claude Code, Cursor, Copilot, Codex, Gemini CLI, and roughly a dozen others.

The interesting bit

The project extends Karpathy’s LLM Wiki pattern with confidence scoring, lifecycle management, and knowledge graphs — then wraps it in a zero-dependency server (no external DB required). One memory store, shared across every agent you use. The “iii engine” underneath handles hybrid search and claims 95.2% retrieval recall at top-5.

Key highlights

  • 53 MCP tools and 12 auto-hooks for Claude Code alone; most agents get native plugins or MCP wiring
  • Claims 92% fewer tokens spent on re-contextualization per session
  • 950+ tests, CI passing, shipped as a single global npm binary (agentmemory on :3111)
  • Includes a real-time viewer and console for inspecting what the system actually remembered
  • Supports 17+ agents at last count, with more via generic MCP/REST

Caveats

  • The README is heavy on integration logos and light on implementation details; the actual storage mechanism and conflict resolution are unclear
  • Benchmarks are self-reported (R@5, token savings) with no link to independent evaluation or methodology
  • The “0 external DBs” badge is technically true, but leaves open whether this scales beyond single-machine use

Verdict

Worth a look if you juggle multiple AI agents and are tired of groundhog-day explanations. Skip it if you need distributed team memory or want to audit the storage engine before trusting it with proprietary code.

Frequently asked

What is rohitg00/agentmemory?
Persistent memory for Claude Code, Cursor, Copilot, and 15+ other coding agents so you stop repeating yourself.
Is agentmemory open source?
Yes — rohitg00/agentmemory is open source, released under the Apache-2.0 license.
What language is agentmemory written in?
rohitg00/agentmemory is primarily written in TypeScript.
How popular is agentmemory?
rohitg00/agentmemory has 25.6k stars on GitHub and is currently holding steady.
Where can I find agentmemory?
rohitg00/agentmemory is on GitHub at https://github.com/rohitg00/agentmemory.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.