Free · MIT · 100% local

Search and replay every agent session you’ve ever run — locally.

Turnlog indexes your coding agents’ session logs into full-text search and turn-by-turn replay, on your machine.

GitHub

Nothing to look at yet? runs it on sample sessions.

Not a log viewer. An index.

20 sec

turnlog — demo 127.0.0.1 · local only

Reads Claude Code, Codex and Cursor sessions today — more agents on the roadmap. Or open the live demo — the real app, in your browser.

Real screens, sample sessions

npx turnlog demo

Turnlog replay: the turn spine with one turn expanded — speaker rails for you and Claude, Read/Edit/Write tool rows, and a colored diff replacing missing reconnect logic with scheduleReconnect
01

A 5,000-message session folds to its turns. Expand one, and the diff is right there — j / k walk the spine. how the JSONL works →

Turnlog file history: useWebSocket.ts selected, showing the session that edited it with the diff in order and a view-in-session jump
02

Every change any session ever made to one file. Git blame, but for agent edits — with jumps back into context. the full guide →

Turnlog spend filtered by the query 'reconnect': $0.04 across 2 sessions, split by model including gpt-5-codex, with the prompt-caching card
03

What work matching a search cost. Estimates, labeled — counted once per response, priced locally. costs, honestly →

04

Your agent asking how past work was done. claude mcp add turnlog -- npx turnlog mcp — read-only, over stdio. the memory guide →

More: searching your whole history · how Turnlog compares to the field

Free and MIT-licensed. It binds to 127.0.0.1, with no accounts and no telemetry; the one network touch is an npm update check you can turn off — verify it yourself.

two dependencies, no postinstall scripts
Node 22+ · macOS, Linux, Windows
published from CI with sigstore provenance

The index, assembling

Points

Assembling…

On disk it’s a folder of JSONL. Indexed, it’s every session you can search and replay.

Get started

Your sessions are already on disk. Index them.

GitHub

Node 22+ · macOS, Linux, Windows