Turnbook
Your AI forgets everything when the session ends. This one remembers, and it never calls an LLM to do it.
No AI summaries: every conversation is kept word for word, so nothing is lost or made up on the way in, and saving costs zero model tokens. 91.8% on LongMemEval from 3.1k tokens of memory per question (details). Runs on your own PC.
[![][license-shield]][license-link]
[![][python-shield]][python-link]
[![][platform-shield]][platform-link]
[![][longmemeval-shield]][benchmarks-link]
[![][ci-shield]][ci-link]
[![][pypi-shield]][pypi-link]

Decide something with one agent on Monday. Ask another on Wednesday. It knows.
| Typical memory layers (Mem0, Mastra, Supermemory, ...) | Turnbook |
|---|
| How a conversation is saved | an LLM rewrites it into facts or notes | word for word |
| What saving costs | LLM API calls for every conversation, for as long as you use it | nothing |
| API key or cloud plan | needed | none |
| Where your conversations go | to the LLM provider, and their cloud if hosted | stay on your PC |
| What gets saved | what the model or your code chooses to add | every turn, automatically |
| Which apps share it | the app you build it into | Claude Code, Codex, Cursor, Copilot CLI, Gemini CLI and OpenCode, as they are |
| LongMemEval, gpt-5-mini answering | up to 94.9% (Mastra) | 91.8% from 3.1k tokens |
All 500 LongMemEval_S questions, official gpt-4o judge. Rewriting every conversation with an LLM buys a few points on questions that combine sessions or dates; Turnbook keeps the original words instead and spends nothing to save them. How it compares
English · 한국어
Recorded live on one PC: Claude Code (Opus 5.5, effort high) and Codex (GPT-6.1-Sol, effort high) sharing one Turnbook memory. Model thinking time is fast-forwarded.
If Turnbook saves you tokens or repeated explanations, a ⭐ helps other people find it.
Install
Windows: download Turnbook-Setup.cmd
and double-click it, or in PowerShell:
irm https://raw.githubusercontent.com/goyohan0611-png/turnbook/main/scripts/install.ps1 | iex
macOS / Linux:
curl -LsSf https://raw.githubusercontent.com/goyohan0611-png/turnbook/main/scripts/install.sh | sh
No Python needed; nothing else to set up. Restart your AI apps afterwards. Already have Python?
pip install turnbook && turnbook-install. Rather read the script and pin a version first?
Careful install.
Only Claude Code, and uv installed? It is also a plugin:
/plugin install turnbook --marketplace goyohan0611-png/turnbook
Codex: codex plugin marketplace add goyohan0611-png/turnbook-plugin, then codex plugin add turnbook@turnbook.
Connecting an MCP client by hand
After pip install turnbook:
{
"mcpServers": {
"turnbook": {
"command": "python",
"args": ["-m", "turnbook.mcp_server"]
}
}
}
Claude Code: claude mcp add turnbook -- python -m turnbook.mcp_server. This gives the
tools only; turnbook-install also saves every conversation automatically.
Try it
Work as usual for a while, then open a new session, another app, or another model and ask:
- "Where did we leave off yesterday?"
- "Which database did we pick for the billing service, and why?"
- "What did you change in the auth middleware last week?"
- "What's my dog's name?" (any fact you mentioned once, in passing)
Nothing to tag or save by hand: every turn is already stored, and the agent pulls back the few
that answer the question.
What it does