Know what every agent session actually cost.
You run a coding agent, and afterward have no idea what it cost or which ticket it was even for. traceknot watches your sessions locally, ties each one back to the work item you were on, and gives you a dashboard of real cost and activity per task.
Spent this week
342 sessions
Tokens
1.6M in · 0.8M out
Coverage
share of sessions claimed
Unattributed
3 sessions to triage
Top work items by cost
Top models by cost
Top agents by cost
Cost over time
Recent sessions
Sample data, for illustration
Works with
How it works
Three steps. No change to how you already work.
01
Install
One command. traceknot hooks into the agent CLIs you already have installed.
02
Name what you're on
Each session opens with a quick prompt to pick the issue. You choose it, on purpose, in a couple seconds.
03
Open the dashboard
See cost and activity per session, per task, per agent, all served locally.
Every session starts with a question
traceknot could silently guess which ticket you're on. It doesn't. It asks you to name the work, on purpose, so the record is something you actually stand behind — not a best guess stitched together after the fact.
Attach Context
Match this session to a work item, or skip
Target prompt
Fix the token refresh race condition in the auth retry path
Sample data, for illustration
It asks, it doesn't guess
No AI classifier quietly assigning your work. You pick the item, every session.
Two seconds, not a form
Search, hit enter, done. Skip if it genuinely doesn't apply.
Becomes a habit
Naming the work before the agent runs turns into muscle memory, not a chore.
Not just what it cost, where it went
Open any session and see which step ran long, where the agent stalled or looped, and what each part actually cost.
Cost per task, not per month
Every session rolls up into a real figure, broken down by model, cache tier and tool calls.
Tied to your issue tracker
Attribute sessions to an issue in your tracker, using the CLI you already have signed in. Read-only, no setup.
Drill into any session
Step-by-step view of where a session actually spent its time and your money.
100% local
Everything lives in a local database on your machine. No account, no cloud sync, no analytics.
Inside a session
Every prompt, chat turn, tool call and subagent, broken down by model, tokens and cost. Click into any step for the full picture.
Session
Arguments
node_8fcf54acd5
Sample data, for illustration