Claude Code config

Agent Memory

Long-term memory runtime for AI agents — plain Markdown as the source of truth, local ranked retrieval, and an independent sleep-time Manage layer. Claude Code and Codex share one store. No API key.

4,301 stars 203 forksConfig & memory Source

Install

From source
git clone https://github.com/tigerless-labs/agent-memory.git

From the README

agent-memory: the long-term memory runtime for AI agents

Invariants · Skill · Issues

*

An agent that closes its session forgets everything it learned in it. agent-memory is the
runtime that fixes that, for any agent — not only coding ones. Markdown files in one store are
the single source of truth, the SQLite index beside them is a cache you can delete at any time,
and Claude Code, Codex CLI, Muse Code, and anything else that can run a shell command share
that store.

Retrieval is local and ranked, and it answers with paths rather than pasted text — the agent
opens each hit only as deep as the task needs. Writes do not wait for the agent to remember to
make them: they fire at conversation boundaries. A sleep-time pass then consolidates and
forgets by value, on its own clock. None of it needs an API key.

Two lines, one store

Agent memory has grown along two architectural lines. One builds a retrieval engine —
embeddings, a knowledge graph, a ranking pipeline — which finds the right thing, but hands the
agent an opaque chunk it cannot inspect and a store it cannot migrate off. The other hands the
agent a filesystem — markdown it reads directly, browsable with ls and grep — which is
legible and costs nothing to run, but does not rank, and stops scaling the moment the tree
outgrows a listing.

agent-memory is the two of them in one store: the retrieval engine indexes a filesystem the
agent can also just read. Relations live as links inside the memories, a local index ranks
them, and every hit resolves to a whole markdown file on disk. Recall gains the precision of a
graph and a vector search without giving up a plain directory an agent can walk — and it stays
fast, because nothing in the read path calls a model or crosses a network.

Retrieve by path, then read by…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
3 November 2026
Topics
agent-memoryai-agentsclaude-codecodexllmlocal-firstlong-term-memorymarkdownmcppythonretrievalsqlite

FAQ

What is Agent Memory?

Long-term memory runtime for AI agents — plain Markdown as the source of truth, local ranked retrieval, and an independent sleep-time Manage layer. Claude Code and Codex share one store. No API key. It is a config for Claude Code, from tigerless-labs/agent-memory on GitHub.

How do I install Agent Memory?

Clone tigerless-labs/agent-memory from GitHub and follow the setup steps in its README.

Is Agent Memory popular?

tigerless-labs/agent-memory has 4,301 GitHub stars and 203 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.

More config & memory

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