Agentmem

•

Maintain persistent, cross-agent project memory stored as Markdown files directly in your codebase.

Agentmem provides persistent, zero-dependency long-term memory for AI coding assistants such as Claude Code, Cursor, Windsurf, Codex, and any MCP-compliant client. Memories are stored as plain Markdown files keyed to git repositories, supporting both private local storage and version-controlled team memories committed in git for collaborative pull request reviews. The tool automatically captures decisions and handoffs, detects code changes to flag stale knowledge, enforces file-based guardrails to prevent unauthorized edits, and exports rules into standard instruction files like AGENTS.md and CLAUDE.md.

Key Features

01Multi-tier memory architecture separating private local notes, committed team memories, and organization-wide rules
02Code-aware staleness tracking using file hashes to notify agents when referenced code has changed
03Seamless task handoffs and automatic session memory capture to resume context across different editors
040 GitHub stars
05Proactive guardrails with block and warn policies to prevent AI agents from editing sensitive files
06Cross-agent interoperability with support for Claude Code, Cursor, Windsurf, Copilot, and standard MCP clients

Use Cases

01Sharing architectural decisions, conventions, and codebase gotchas across an entire engineering team via git
02Switching between different AI coding tools mid-task without losing context, progress, or next steps
03Enforcing strict file-modification boundaries on AI agents in CI/CD workflows and local development environments