Claude Code config

Agentmemory

agentmemory: persistent memory for coding agents (Claude Code, OpenAI Codex, Cursor, Agent) with local markdown storage, daily logs, scratchpad, and qmd semantic search.

29 stars 9 forksConfig & memory Source

Install

Install
npm install -g myagentmemory

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/jayzeng/agentmemory.git

From the README

AgentMemory

AgentMemory is a local-first, MIT-licensed memory layer for coding agents. It stores durable memory as plain Markdown files, keeps a daily work log and scratchpad, and can use qmd for local search.

The public project is intentionally standalone. It does not require an account, remote service, payment flow, or proprietary runtime.

Install

Or build from source with Bun:

Core commands

MCP server (agent-memory serve --mcp)

AgentMemory can also run as a real Model Context Protocol server over stdio, so any MCP-capable client or coding harness can call its tools directly instead of shelling out to individual CLI commands:

Speaks JSON-RPC 2.0, one message per line on stdin/stdout (initialize, tools/list, tools/call, ping). Exposes five tools, each backed by the exact same logic as the CLI command of the same shape:

Try it by hand:

Configure your MCP client to run agent-memory serve --mcp as a stdio server (exact config syntax varies by client). For a client that can't spawn a local process at all (e.g. a hosted connector like ChatGPT's), the recommended pattern is a relay: a small local client opens an outbound connection to a remote endpoint and forwards authenticated calls to this same stdio server, so memory content still never leaves your machine except as the direct result of a call you authorized. That relay is a separate, deployment-specific component (not part of this package) -- this server is the one piece every such setup should point at.

Memory lives under ~/.agent-memory by default:

Set AGENT_MEMORY_DIR to use a different directory.

Design principles

- Local first. Memory is stored on the developer's machine.
- Plain text. Markdown remains the source of truth.
- Portable. The same memory can be used from different coding-agent…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
28 September 2026
Topics
agent-memoryagentmemoryai-agentsclaude-codeclicodexcoding-agentcursordeveloper-toolsknowledge-managementllmmemory

FAQ

What is Agentmemory?

agentmemory: persistent memory for coding agents (Claude Code, OpenAI Codex, Cursor, Agent) with local markdown storage, daily logs, scratchpad, and qmd semantic search. It is a config for Claude Code, from jayzeng/agentmemory on GitHub.

How do I install Agentmemory?

Run npm install -g myagentmemory, then follow the setup in the README.

Is Agentmemory popular?

jayzeng/agentmemory has 29 GitHub stars and 9 forks. It was last updated on 28 September 2026.

More config & memory

Browse the most popular Claude Code mods, all config & memory, or the skills and MCP server directories.