AgentAcct

A local terminal ledger for coding-agent work, token usage, and estimated cost.

Stars
★ 757
Last updated
1mo ago
License
MIT
Primary language
Python

At a glance

How it runs
CLIDesktop app
Works with
Portable with changesCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Python >= 3.11macOS or Linux (Windows via WSL)Shell / CLILocal filesystemMCP Server
Typical use
A Claude Code or Codex user who wants to inspect tokens, estimated cost, and recorded work for each local coding session.
Not a fit if
  • Teams needing native Windows support (WSL only)
  • Production users needing stable interfaces (early alpha)
  • Teams needing exact subscription invoices, not estimates
Website
trytofu.ai ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-03latest release v0.12.11 (2026-10-03)
Source review
75/100 · Good

What does this agent do, and when should you use it?

AgentAcct is a local-first observability tool for coding-agent work, primarily reading session logs already written locally by Claude Code and Codex. Its agentacct tui command provides a live terminal dashboard for usage windows, provider limit reset bars, recent sessions, tokens, and estimated cost. It also combines agent-recorded work sections and machine-check evidence with usage data using real session or transcript IDs. Every attribution is labeled exact, high, medium, or low; when a link cannot be established, the dashboard shows the gap instead of inferring one. It runs from local state files and is documented as requiring no account, cloud sync, telemetry, or provider API key.

After agentacct onboard, AgentAcct detects local coding-agent logs, creates a global store, and performs an initial usage sync. It imports token data from client session files as client_reported and calculates explicitly labeled cost estimates from a local pricing table rather than provider invoices. Agents can record work through the MCP tools agentacct_record_section and agentacct_record_machine_check; machine checks can include command results such as test exit codes. agentacct tui renders the joined usage, cost, limits, and work ledger in the terminal: s opens sessions, u opens usage, and p saves the current view as an SVG snapshot. The local managed runtime is operated with agentacct start, status, stop, and repair.

  1. A Claude Code or Codex user who wants to inspect tokens, estimated cost, and recorded work for each local coding session.
  2. An engineer managing subscription limits who needs recent session activity alongside limit bars and reset countdowns.
  3. A reviewer checking whether an agent actually ran tests, using machine-check records and their exit codes in session detail.
  4. A privacy-conscious developer who needs coding-agent observability from local logs without creating an account or supplying a provider API key.
  5. A developer who wants to save a shareable rendering of a dashboard state as an SVG using the p shortcut.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install pipx
  • uv tool install agentacct
  • pipx install agentacct
Config files
~/.local/state/agentacct/state
Runtime
Python 3.11
Install notes cover
Windows · macOS · Linux · WSL

How do you install or deploy this agent?

Runtime: Python 3.11 or later on macOS or Linux; Windows is supported only through WSL. No account or provider API key is required.

pipx install agentacct
agentacct onboard
agentacct tui

If pipx is not installed, use brew install pipx on macOS or python3 -m pip install --user pipx; uv tool install agentacct is also documented. onboard installs globally by default. For project scope, run agentacct onboard --scope project.

How do you use this agent?

Run agentacct onboard, then start a new agent session before using the dashboard. Launch agentacct tui to inspect local data; press s for sessions and session detail, u for usage, p to save an SVG of the current view, and q to quit. The default global state location is ~/.local/state/agentacct/state; project-scoped installs use .agent-sentinel/ in the repository. For a disposable walkthrough that does not use real data, run agentacct demo.

What are this agent's strengths and limitations?

Pros
  • Separates client-reported usage, agent-recorded work, and machine-check evidence before joining them with explicit attribution confidence.
  • Labels token data as client_reported and costs as local pricing-table estimates instead of presenting estimates as invoices.
  • Keeps state local and documents no account, cloud sync, phone-home telemetry, or provider API-key storage.
  • Provides a terminal-first live dashboard with session drill-down, usage views, limit countdowns, and SVG snapshot export.
Limitations
  • The project is early alpha and its interfaces may change.
  • Documented live-observed usage paths are currently for Claude Code and Codex; Hermes, OpenCode, OpenClaw, and Cursor have narrower capability-specific support.
  • Costs are estimates rather than subscription invoices, and the weekly Claude plan percentage appears only after calibration from the user's recorded limit history.
  • Adoption requires local session-log access and installation/integration setup; Windows support is limited to WSL.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
AgentAcct This agent 75 · Good CLIFree ★ 757 1mo ago Python Codex · Claude Code
Frink — Local AI Workflow Automation for Your Desktop 65 · Some gaps Desktop appFree + model costs ★ 175 1d ago TypeScript Codex · Claude Code
cost-xray 65 · Some gaps CLIFree ★ 5.8k 5d ago Python Codex · Claude Code · OpenAI API · Claude API
ClawMetry 71 · Some gaps CLIFreemium ★ 437 4d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
75/ 100 5-point scale 3.8 / 5
Trust 19/29
Reliability 8/14
Adaptability 15/18
Convention 14/18
Effectiveness 12/13
Verifiability 7/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

The documentation limits capture to local metadata and says prompts, responses, tool contents, and keys are excluded by default. The security policy describes localhost, process ownership, and optional proxy boundaries. The install prompt asks the agent to show a global-config change command first, while uninstall instructions cover stopping services and removing stored state, supporting least privilege, confirmation, and recovery guidance. Deductions: these sources describe intended safeguards and workflows, but the sample does not show their implementing details; the dependency list has no visible vulnerability audit or lock strategy. Data sources are attributable to client logs, MCP records, and machine checks, but publisher identity is unverified and earns no trust credit.

Reliability8 / 14 · 2.9/5

The README, usage truth table, and security policy are broadly consistent about estimated costs, reported versus verified outcomes, and metadata capture. The source excerpt shows a platform guard and suppression of exception locals, while CI lists multiple Python versions and macOS app checks. Deductions: dependency availability is supported by version ranges but no visible lockfile or supply-chain checks, and the materials disclose a known macOS/Python 3.13 process-identity test issue. Static review cannot establish runtime results.

Adaptability15 / 18 · 4.2/5

The product clearly targets developers reviewing work, steps, costs, and evidence across coding agents, with multiple clients, CLI/TUI/Dashboard views, and installation options. Its coverage matrix, usage truth table, and reported-versus-verified distinction define capability boundaries clearly. The workflow skill provides use conditions and forbids guessed costs, but one rule is truncated and its triggers are broad. Platform support is explicit: macOS/Linux, Windows through WSL only, and native window support only on macOS.

Convention14 / 18 · 3.9/5

The README organizes installation, product views, operation, safety, uninstall, references, and contribution paths clearly. Requirements, alternative install methods, and cleanup steps are concrete. The MIT license is explicit, and the docs disclose alpha status and integration limits. Deductions: no changelog is present in the sample, so version history is not well evidenced; contribution and security-report paths exist, but maintenance responsibility is only partly clear and publisher identity remains unknown. Example documents are linked, but their contents were not provided.

Effectiveness12 / 13 · 4.6/5

Work receipts, timelines, usage filters, check results, and labeled cost estimates aim to turn cross-agent activity into reviewable evidence. Failed attempts remain visible, gaps are shown when evidence is missing, and estimates are labeled, supporting clear user value. Deductions: costs remain client-reported or pricing-table estimates, some coverage requires integrations to record or import data, and early-alpha status and multi-client setup add user effort. Static materials cannot confirm actual output quality.

Verifiability7 / 8 · 4.4/5

The documentation links important claims to a coverage matrix, truth table, privacy threat model, integration reference, and CLI commands, and separates client reports, MCP self-reports, machine checks, and estimated costs. CI and app test files describe checks, but they are source evidence rather than independently executed results; several claims are corroborated across documents. Deductions: the packet is a sample rather than the full repository, and the workflow skill is truncated, so whole-repository consistency cannot be established.

Risks and how to mitigate them
  • This is a low-confidence static review; no program was run and no test result was independently verified.
  • The product identifies itself as early alpha. Costs may be price-list estimates or client-reported values, not invoices; integration coverage varies by agent.
  • The supplied skill file is truncated and the packet is only a repository sample; unseen files are unknown, not missing or verified.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 03f1dd803662
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agentacct.svg)](https://followagents.com/en/agents/agentacct)
<a href="https://followagents.com/en/agents/agentacct"><img src="https://followagents.com/badge/agentacct.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.12.11 agentacct 0.12.11
    Release notes excerpt
    Download [Download agentacct 0.12.11 for macOS (Apple Silicon, macOS 14+)](https://github.com/mikehasa/agentacct/releases/download/v0.12.11/agentacct-0.12.11.dmg) What's changed Two Claude accounts on one machine no longer read as one client's contradictory meters: every provider-limit reading is labeled with the account and source it belongs to. (#355) - The macOS Usage page, the TUI, and agentacct limits label each reading — CLI · [email protected], desktop app · org 07c55a50 — so a second account's Weekly meter can no longer be mistaken for the first account's. …
    View on GitHub ↗
  2. v0.12.10 agentacct 0.12.10
    Release notes excerpt
    macOS app [Download agentacct 0.12.10 for macOS](https://github.com/mikehasa/agentacct/releases/download/v0.12.10/agentacct-0.12.10.dmg) Fixed - Recovery notifications no longer accumulate behind identical banners. A recurring source issue replaces its previous recovery banner, and recovered notices disappear after ten seconds. - Recovery titles identify the affected client and issue. Recent updates keeps the recovery history, while active faults remain visible until dismissed or confirmed recovered. …
    View on GitHub ↗
  3. v0.12.9 agentacct 0.12.9
    Release notes excerpt
    Codex's gpt-6.1-sol usage rows are priced instead of importing cost-unknown. Nothing else changed. macOS app (no Python, pipx, or terminal needed): [agentacct-0.12.9.dmg](https://github.com/mikehasa/agentacct/releases/download/v0.12.9/agentacct-0.12.9.dmg) — signed, notarized, and stapled, built from this release's own commit. The app embeds the frozen agentacct CLI, so the DMG is rebuilt here even though no Swift file changed: the fix lives in the CLI, and reusing the 0.12.8 DMG would have shipped the old price table and silently dropped it. …
    View on GitHub ↗

FAQ

Does AgentAcct need a provider API key or billing access?
No. It neither requests nor stores provider API keys, and it does not have exact access to Claude Code or Codex subscription invoices. Cost is estimated from a local pricing table.
Does it send my session data to a hosted service?
No. The documented model is local files with no hosted dashboard, account, cloud sync, or phone-home telemetry. The optional browser dashboard runs locally at http://127.0.0.1:8765.
Why might a session show an attribution gap?
AgentAcct links evidence through real session or transcript IDs and attaches a confidence label. If it cannot prove a connection, it shows the missing attribution rather than guessing.
Does it monitor every process on my machine?
No. It reads local session files for detected clients and does not watch unrelated processes started outside AgentAcct or its integrations.
Is AgentAcct free?
Yes. AgentAcct is free to use and does not need a paid service.
Is AgentAcct open source?
Yes. The source code is on GitHub (mikehasa/agentacct) under the MIT licence.
Is AgentAcct safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored AgentAcct 19/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is AgentAcct still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-03, within the last six months but not the last 30 days. The latest release is v0.12.11 (2026-10-03).
Who makes AgentAcct?
AgentAcct is published on GitHub by the account mikehasa. FollowAgents has not verified which person or company is behind that account.
What is AgentAcct's official website?
The project's GitHub repository lists https://trytofu.ai as its website. That link is set by the repository owner; the source code itself is on GitHub (mikehasa/agentacct).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.