mikehasa/agentacct

541 stars · Last commit 2026-08-02

See what your coding agents did and what it cost. Breaks each task down into work steps — tools used, files changed, tests run, time and tokens spent. Local-first dashboard for Claude Code, Codex, OpenCode, and more. No login, no telemetry.

README preview

# agentacct

[![tests](https://github.com/mikehasa/agentacct/actions/workflows/tests.yml/badge.svg)](https://github.com/mikehasa/agentacct/actions/workflows/tests.yml)
[![PyPI](https://img.shields.io/pypi/v/agentacct.svg)](https://pypi.org/project/agentacct/)
[![Python](https://img.shields.io/pypi/pyversions/agentacct.svg)](https://pypi.org/project/agentacct/)
[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE)

**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.

![agentacct dashboard: token usage, estimated cost, and per-agent breakdown charts](https://raw.githubusercontent.com/mikehasa/agentacct/main/docs/assets/dashboard-overview.png)

<sub>Screenshots show a synthetic demo workspace; your dashboard renders your machine's real local data.</sub>

## 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.

View full repository on GitHub →