agentacct
See what your coding agents actually did — and what it cost — on a dashboard that never leaves your machine.
agentacct is local-first Agent Work Intelligence for coding agents. It reads the session logs that Claude Code and Codex already write on your machine, joins them with the work each session records as it goes, and shows the result — tokens, estimated cost, tasks, and evidence — on a local dashboard.
Private by design. Everything stays on your machine: state is plain local files, the dashboard binds to 127.0.0.1, and there is no phone-home telemetry, no account, no cloud sync. agentacct never stores or requests a provider API key.
Screenshots show a synthetic demo workspace; your dashboard renders your machine's real local data.
What you get
- Honest usage and cost. Tokens per agent, model, and day — read from the clients' own local session files and labeled
client_reported; costs are clearly marked pricing-table estimates, never invoices.
- The work, not just the tokens. Sessions roll up into Tasks with recorded work steps and machine checks: a passing test is
Verified evidence, an agent's own claim stays labeled Agent reported.
- Attribution you can trust. Every join between usage and recorded work carries a confidence label (
exact/high/medium/low). Missing attribution beats wrong attribution: when agentacct cannot prove a link, it shows the gap instead of a guess.
Install
Requires Python >= 3.11 on macOS or Linux; Windows is supported only via WSL.
pipx install agentacct
agentacct onboard # from your repo root
onboard detects your local coding-agent logs, sets up the project-local store, runs a first usage sync, and starts the dashboard at http://127.0.0.1:8765. Then open a new agent session in the project — MCP servers and hooks bind at session start, so the session that ran onboarding cannot become the first recorded Task.
Prefer to let the agent do it? Paste this into the coding agent working in your target repo:
Install and set up agentacct in this repo — a local-first dashboard that reads my
coding-agent logs read-only and shows honest token usage and cost.
Run `pipx install agentacct`
(or `pipx install git+https://github.com/mikehasa/agentacct`),
then `agentacct onboard` from this repo root, then tell me the dashboard URL.
Observe-only: never