ATTENTION DEFICIT · EP 005TOOL LAUNCH / DECANT

Dosu ships Decant · August 12

The bill is 68% reading, 3% shipping.

Decant reads the session logs Claude Code and Codex already write and turns them into numbers. On its demo archive — 119 sessions, $1,252.23 in estimated spend — 68% of the cost was context gathering before any file changed. The code that shipped was 3%.

Disclosure: Decant's launch post was written by Attention Deficit co-host Taylor Dolezal at Dosu. We are covering it anyway, on the record. Costs are estimated at standard API rates; subsidized plans will read differently than your bill.

THE POURLOGS → ONE ARCHIVE
CLAUDE CODE~/.claude/projects/*.jsonl
CODEX~/.codex/sessions/rollout-*.jsonl
ONE SQLITE ARCHIVEIndexed, priced, searchable

WAL + FTS5 · full-text search across messages and tool calls

0

outbound calls. Decant ingests files already on your disk; sessions, data, and outputs stay on your machine.

One session, four buckets

Where a run's tokens actually go.

Decant sorts every session into four buckets. Scrub through them — the shares shown are from the launch post's demo archive, not your setup.

00 · CONTEXT

Orienting eats the meter.

Reads, searches, web and MCP retrieval, plus read-only shell like rg and git diff. Demo archive: 68% of estimated cost.

01 · PLANNING

Deciding what to do.

Reasoning blocks and plan tools — the model working out an approach before touching anything.

02 · CODE

The part that ships.

Structured edits plus the shell commands that write, build, or test files. Demo archive: 3% of estimated cost.

03 · COMMUNICATING

What it says back to you.

Replies, summaries, explanations — the visible part of the run.

DECANTING ONE SESSION · DEMO ARCHIVEORIENTING
Context
68%of est. cost
Planning
not broken out
Code
3%of est. cost
Communicating
not broken out
0 / 3
contextplanningcodetalk
SHARE OF DEMO SPEND68% · stated in the post
WHAT COUNTS HEREReads, searches, web and MCP retrieval, read-only shell
The two hatched vessels are drawn at an arbitrary height: the launch post states the context and code shares, and the remaining 29% covers planning and communicating combined, without an individual split.
01 · THE LOGS WERE THERE

Your agents already wrote everything down. Nobody was reading it.

Claude Code and Codex log every session — prompts, responses, tool calls, files touched — as JSONL on your disk. Decant normalizes both formats into a single SQLite archive with full-text search, then prices and indexes your history as it lands. Watch mode follows along with native filesystem events plus a periodic sweep.

DEMO ARCHIVE · SESSIONS119

agent sessions indexed in the archive Dosu used for the launch walkthrough.

DEMO ARCHIVE · ESTIMATED SPEND$1,252

total estimated cost across those sessions, priced at standard API rates.

LOCAL-FIRST, LITERALLY

It reads files you already have.

No account, no telemetry, no outbound calls. The archive, the web app, and the API all run on your machine.

THE HONEST ASTERISK

Estimated is not billed.

Decant prices sessions at standard API rates. If you're on a subscription or subsidized plan, the numbers show what the work would cost via the API — not your invoice.

02 · WHERE THE MONEY GOES

Almost all of the spend lands before a single file changes.

Dosu calls that stretch orienting: the agent working out where things live and what's relevant. In the demo archive it dwarfs everything else — and it's exactly the work agents repeat run after run.

Shares are from the launch post's demo archive, not a benchmark. The post states the context and code figures; the middle bar is the remainder, which combines planning and communicating without an individual split. Decant's methodology doc describes how runs are categorized.

03 · SEEING TO CHANGING

Search it, script it, distill it into skills.

The CLI mirrors the app — decant stats, decant files — every read command takes --json, and a documented local API means your agents can query your own history. Session pages show the full transcript, the four-bucket split, the context-window chart with every compaction, and subagents included.

DECANT DISTILLPatterns become workflow scripts, skills, or AGENTS.md sections.

Recurring command history gets turned into reusable artifacts, with secrets redacted on the way out.

INSIGHTS VIEWRecommendations that remember being implemented.

Suggested optimizations persist with implemented-state tracking, so the tool knows which advice you already took.

QUICKEST
npx @dosu/decant@latest — opens the web app, syncs in the background
HOMEBREW
brew tap dosu-ai/dosu then brew install decant
ALSO
Docker, or clone and bun run dev — Apache 2.0, TypeScript on Bun, local React UI

The logs were always on your disk. Now they answer questions.