Field Note · · 3 min read

Building AgentMeter

A macOS menu bar app for the usage limits I kept checking by hand, with the same numbers available to my coding agents.

I work across several AI coding subscriptions. The annoying part isn’t switching between them. It’s finding out halfway through a task that the account I’m using is nearly out of room, while another one has plenty left.

Checking meant opening separate apps or usage pages, finding the relevant window, and remembering when it reset. None of that is difficult. Doing it throughout the day is enough friction that I would skip it, then get surprised again.

I built AgentMeter to put those numbers somewhere I already look: the macOS menu bar.

Keep the answer visible

It’s a native app with no Dock icon. The menu bar shows the most constrained usage window for each enabled provider. Open the dropdown for detailed meters, reset countdowns, and balances. Multiple Codex accounts can have separate meters, which matters when the accounts have different limits and reset times.

It supports Codex, Cursor, Claude Code, Gemini, and Antigravity, alongside API reporting for services including OpenRouter, DeepSeek, Kimi, Z.ai, and Venice. Those services don’t all report the same thing. A subscription window can show a percentage used; an API account might expose a balance or spending instead. Claude API reporting shows organization spending and token usage, not remaining prepaid credits. Keeping those distinctions visible matters more than making every row look identical.

Let the agent check too

The next practical question was why I should be the only one checking. If an agent is about to start a long task, the remaining quota is useful context for it too.

AgentMeter has opt-in agent and CLI access. Enable it in Settings → General, and the app writes a local snapshot after each refresh. The bundled CLI can return that snapshot as a table or JSON:

agentmeter status --json

The CLI reads the snapshot; it doesn’t handle credentials or call provider APIs. The bundled SKILL.md, available through agentmeter skill, gives coding agents instructions for checking usage, recognizing stale data, and considering remaining headroom before a large task. It gives them information for a decision, rather than automatically moving work between providers.

Install it

AgentMeter requires macOS 14 Sonoma or later. With Homebrew:

brew install --cask fdtorres1/tap/agentmeter

Homebrew also puts the CLI on your path. The apps and CLIs you want to monitor need to be signed in; API providers need their respective setup. Source code and release downloads are on GitHub, under the MIT license.

This is the kind of tool I like building: a repeated interruption, a small native interface, and one less thing to keep in my head while working.