Session-close memory distillation for Claude Code
Project description
memory-keeper
Session-close memory distillation for Claude Code.
At the end of every Claude Code session, memory-keeper reads the .md files you
accessed and uses an LLM to distill key insights into your persistent memory store.
Quick start
# Install the Stop hook into ~/.claude/settings.json
uvx memory-keeper --install-hook
Requires uv and an API key in ~/.claude/memory-store/config.yaml.
Configuration
Copy the example config and fill in your API key:
cp config.yaml.example ~/.claude/memory-store/config.yaml
Edit config.yaml — set api.api_key to your key.
Any OpenAI-compatible endpoint works (Anthropic, OpenAI, local relay).
How it works
- Stop hook fires
uvx memory-keeper --enqueueat session close (async, non-blocking). - A background worker processes the queue and calls your LLM to distill insights.
- Distilled memories land in
~/.claude/memory/as Markdown files.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dreamtime-0.1.0.tar.gz.
File metadata
- Download URL: dreamtime-0.1.0.tar.gz
- Upload date:
- Size: 73.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ce4327c4de4dbbf4d8e77091c6f7a95c9583c5dfae1745af1fde691b7f40860
|
|
| MD5 |
7f3832c26c5dad0525d292c5b2d5a6c0
|
|
| BLAKE2b-256 |
12c31c2ea9e2c482be6b683c8cd96fc7a8cda3dd1b0db97a165251c2f9e53fc0
|
File details
Details for the file dreamtime-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dreamtime-0.1.0-py3-none-any.whl
- Upload date:
- Size: 90.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88ea632d1cd18a0e3d59b4544958b9c8c52aeebcd38e027e1f4f9cc1c79f60e6
|
|
| MD5 |
d43b0999c524ff8dcaeff7b9322b3c18
|
|
| BLAKE2b-256 |
ca3ed411f9fc299d078fed4f8c86e9a43ea09e965cfe248f3740c1fa5a1f1f02
|