AgentMemory

Active
GitHub TypeScript Apache-2.0

Description

A persistent memory system for AI coding agents, designed around real-world benchmarks to preserve context across sessions.

Key Features

  • Cross-session persistent memory — AI coding agents preserve context across sessions, no re-explanation needed
  • MCP protocol support — 53 MCP tools compatible with Claude Code, Copilot, Cursor and other agents
  • Auto hook system — 12 automatic hooks save and retrieve memories during agent operations
  • High-performance retrieval — 95.2% R@5 recall rate, 92% token savings
  • Zero external dependencies — Built-in embeddings and vector storage, no external databases needed
  • Real-time viewer — Visual interface to view and manage agent memory content

Use Cases

💡 Let coding agents remember previous project decisions and code context in new sessions
💡 Share project knowledge and learnings across multiple coding tools
💡 Automatically record agent learnings for team reuse
💡 Reduce token consumption in agent interactions for better efficiency

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (27.1k stars)
  • Permissive open-source license (Apache-2.0)

Quick Start

npm install -g @agentmemory/agentmemory
agentmemory
agentmemory connect claude-code

Related Projects

ByteRover CLI

4.9k · TypeScript
Normal B

ByteRover CLI provides persistent structured memory for autonomous coding agents. It features context tree management, git-like version control, and cloud sync, compatible with Cursor, Claude Code, Windsurf, and 22+ coding agents via MCP integration.

agent-memorycontext-managementcoding-agent +3
  • · Persistent structured memory with context tree and knowledge storage for coding agents
  • · Git-like version control for context trees (branch, commit, merge, push/pull)
  • · Supports 20 LLM providers including Anthropic, OpenAI, Google, Groq, DeepSeek

Agentic Stack

2.2k · Python
Active A

A portable .agent workspace that stores memory, skills, and protocols so coding agents like Claude Code, Cursor, and Windsurf can share durable knowledge.

coding-agentmemoryskills +2
  • · Portable .agent folder sharing memory and skills across 12+ coding agent harnesses
  • · Local data layer unifying harness activity monitoring, cron runs, token/cost estimates, and KPI dashboards
  • · Data flywheel converting approved runs into trace records, context cards, eval cases, and training-ready JSONL

Beads

26.4k · Go
Active A

A memory upgrade for coding agents. Provides persistent contextual memory for Claude Code, Codex, and other coding agents to improve long-task consistency.

coding-agentmemorycontext +2
  • · Dolt-powered versioned SQL database — cell-level merge, native branching and remote sync
  • · Dependency-aware task graph — replaces Markdown TODOs with graph structure supporting blocks/related/parent-child relationships
  • · Agent-optimized output — JSON output format, dependency tracking and auto-ready task detection