Who it is forA developer who runs several coding agents across projects and wants to know what they worked on last week and roughly what it cost.
The problemAgent sessions are spread across client log files, so it is hard to tell which task changed which files, what ran, and how many tokens it used.
The outcomeA local dashboard and terminal app listing recent tasks with their receipts, steps, checks, tokens, and cost estimates, with nothing sent off the machine.
What you need first
- Python 3.11 or newer on macOS or Linux, or Windows through WSL, with pipx available (or the signed macOS app from the latest release on macOS 14+)
- At least one supported coding agent with local session logs on this machine, such as Claude Code or Codex
- Permission to open a new agent session after setup, because hooks and MCP servers bind at session start
Steps
- Run
pipx install agentacct - Run
agentacct onboardonce on this machine so it finds your agents and starts the recorder - Open a new agent session so hooks and MCP servers bind
- Run
agentacct tuiand open Sessions to see the most recently active tasks
Prompt for your agent
Install agentacct from https://github.com/mikehasa/agentacct on this machine using pipx, then run agentacct onboard. Report the most recent task names and their estimated costs in <project path>, and confirm that costs are marked as estimates. Verify that the Sessions view opens in agentacct tui.
Caveat. Costs are pricing-table estimates rather than invoices, and Windows is supported only through WSL.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for mikehasa/agentacct and "See what your coding agents did and what it cost"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer