What Agent Logbook reads and writes
It's worth being explicit, because a couple of these would look alarming if you found them rather than read them here.
On this page
The short version
- Your chats are read from files on your laptop and are never uploaded.
- There's no account, no server of its own, and no analytics or telemetry.
- It makes one request on its own: your plan usage from Anthropic, the same request Claude Code makes.
- It writes its own cache and settings under
~/.claude. It changes your chat files only when you rename one. - The MCP server is off until you connect it. Once it's on, an agent can read your past chats, and what it reads goes to that agent's model like the rest of its conversation.
What it reads
| What | Where | Why |
|---|---|---|
| Claude Code transcripts | ~/.claude/projects | The chat list, reading a chat, search, cost |
| Claude sub-agent transcripts | Next to each chat, in subagents/ | Agent cards and threads; their tokens count toward the chat's cost |
| Codex sessions | ~/.codex/sessions | Codex chats and Codex quota, which is recorded inside each session |
| Memory notes and instructions | ~/.claude/**/memory, ~/.codex/memories, ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md | The Memory tab |
| Which chats are running | The Claude CLI's own list (claude agents --json) and the process list | Live dots, the live board, memory and CPU per chat |
| The MCP activity log | ~/.agent-logbook/activity.jsonl | The Agents tab: which chat looked up what |
| Your Claude login token | The macOS Keychain, or ~/.claude/.credentials.json on Linux and Windows | Only to ask for your plan usage (next section) |
The one network request
To draw the quota bars, Agent Logbook asks Anthropic (api.anthropic.com) for your current plan usage. It's the same request Claude Code makes, with the token Claude Code already stored. The token isn't copied, saved or sent anywhere else.
The answer is cached in ~/.claude/.chistory-usage.json and fetched at most once a minute, less often after an error.
Codex quota needs no request: Codex records it in its own session files.
What it writes
| File | When |
|---|---|
~/.claude/.chistory-cache.json | A summary of each chat, so a growing chat isn't re-read from the start |
~/.claude/.chistory-search.json | The search index |
~/.claude/.chistory-state.json | Your pins, archive, groups and Codex chat titles |
~/.claude/.chistory-usage.json | The last plan-usage answer |
~/.claude/chistory-archive/ | When you archive a chat: a copy, so it survives if Claude Code cleans up the original |
~/.claude/trashed-sessions/ | When you delete a chat: the file is moved here, never wiped |
~/.claude/chistory-briefs/ | When you use Branch with a brief: the brief, left for you to read or edit |
| Your export folder | When you export a chat to Markdown, if you've set one in Settings |
| Your system's temp folder | Briefly, when you copy the usage card or open an image from a chat |
~/.agent-logbook/ | When you connect the MCP server: a copy of the server, and the activity log it writes |
~/.claude.json, ~/.codex/config.toml | When you connect or disconnect the MCP server, through each CLI's own mcp add and mcp remove. A backup is saved next to each first |
~/.claude/skills/agent-logbook/ | When you connect Claude Code: a skill that tells Claude when to use the MCP server. Removed when you disconnect |
Changes to your chat files
Renaming a Claude chat adds one custom-title line to the end of its transcript. That's how Claude Code reads the new name back, so the rename shows up there too. Renaming a Codex chat writes nothing to its transcript.
Nothing else in your transcripts is changed.
Branch with a brief
This is the one feature that runs Claude for you. It writes a short summary of the old chat, then runs claude -p to turn it into a handover brief for the new chat. That uses your own Claude plan, and it only happens when you click it.
The MCP server
The MCP server lets Claude Code and Codex look things up in your past chats. It's off until you connect it in the Agents tab, and you can disconnect it there at any time.
Where it runs. Your agent starts the server on your laptop and talks to it directly over standard input and output. It opens no port and makes no network requests.
What an agent can do with it. Read only: list your chats, search them, pull one chat's context, see what a chat changed and which chats changed a file. It can't edit, delete or resume anything.
Where the text goes. What an agent reads becomes part of that agent's conversation, and the agent sends its conversation to its model provider (Anthropic for Claude Code, OpenAI for Codex), as it does with everything else in the chat. So a lookup sends text from an old chat to that provider. Agent Logbook doesn't send it anywhere itself.
Limits. "This project only" is on by default: an agent sees only chats from the folder it was started in. Known secret formats, such as API keys, access tokens, passwords and private keys, are hidden before anything is returned. Hiding works by pattern, so a secret in an unusual format can still get through. If that matters for a project, leave the server disconnected there.
The log. Every lookup is written to ~/.agent-logbook/activity.jsonl and shown in the Agents tab: which chat asked, which tool it used, and which chats it read. Only the request is logged, never the answer, with secrets hidden in it as well. The log keeps itself to about 2 MB, and Clear log empties it. To tell which chat is asking, the server checks its parent process with claude agents --json, lsof and ps.
What it never does
- Send your chats, file paths, prompts or code anywhere
- Collect analytics, crash reports or usage events
- Ask you to sign in to anything
- Delete a chat file outright
Questions
Open an issue on GitHub or email ragulsundaram15@gmail.com.