Claude Memory Compiler is a pure Python project managed by uv. Installation takes under two minutes: clone the repo, run one command, and the toolchain is ready. All three dependencies are pinned inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/coleam00/claude-memory-compiler/llms.txt
Use this file to discover all available pages before exploring further.
pyproject.toml and installed into an isolated virtual environment automatically.
Prerequisites
Before you begin, make sure the following are available on your machine:- Python 3.12 or later — required by
pyproject.toml’srequires-python = ">=3.12" - uv — the package manager used to install and run everything (installation guide)
- Claude Code with a Claude Max, Team, or Enterprise subscription — the hooks rely on Claude Code’s built-in credentials and the Claude Agent SDK
Installation steps
Install dependencies with uv
Run The dependencies declared in
uv sync from the project root. This creates a virtual environment and installs all three dependencies:pyproject.toml are:claude-agent-sdk— makes LLM calls with tool use for compilation, querying, and lintingpython-dotenv— loads environment variables from.envif presenttzdata— timezone data for end-of-day auto-compilation logic
No API key is needed. The Claude Agent SDK authenticates using Claude Code’s built-in credentials stored at
~/.claude/.credentials.json. As long as you have an active Claude Max, Team, or Enterprise subscription and have signed in to Claude Code at least once, the SDK will authenticate automatically.Project structure
After cloning, the repository has the following layout (fromAGENTS.md):
daily/ and knowledge/ directories are created automatically the first time the hooks run. The scripts/state.json and scripts/last-flush.json state files are also generated automatically and are gitignored.
The next step is configuring the Claude Code hooks so your conversations start being captured automatically — see Set up Claude Code hooks.