Terminal dashboard to monitor Claude Code and Codex usage limits.
npm install -g agent-limit
agent-limit usage[███████░░░░|░░░░░░░░░] 30% ↓12%
^ you should be at 42%, but you're at 30% (12% under pace)
↓X%(green) = under pace, you have headroom↑X%(red) = over pace, might hit limits early
- Real-time usage tracking for Claude Code and Codex
- Trajectory markers showing if you're ahead or behind your usage pace
- Auto-refresh every 60 seconds
- Color-coded usage indicators
| Command | Description |
|---|---|
agent-limit usage |
Show usage dashboard |
agent-limit version |
Show version |
agent-limit help |
Show help message |
| Key | Action |
|---|---|
q |
Quit |
r |
Refresh |
| Provider | Status | Data Source |
|---|---|---|
| Claude Code | Full support | macOS Keychain + Anthropic API |
| Codex | Full support | ~/.codex/auth.json + OpenAI API |
agent-limit reads credentials from standard locations:
- Claude Code: macOS Keychain (
Claude Code-credentials) - Codex:
~/.codex/auth.json
It then fetches usage data from each provider's API and displays it in a unified dashboard.
npm install -g agent-limitDownload from GitHub Releases:
# Apple Silicon
curl -L https://github.com/AgentWorkforce/limit/releases/latest/download/agent-limit-darwin-arm64 -o /usr/local/bin/agent-limit
chmod +x /usr/local/bin/agent-limit
# Intel Mac
curl -L https://github.com/AgentWorkforce/limit/releases/latest/download/agent-limit-darwin-x64 -o /usr/local/bin/agent-limit
chmod +x /usr/local/bin/agent-limit- macOS (uses Keychain for credential storage)
- Active CLI authentication for providers you want to monitor
git clone https://github.com/AgentWorkforce/limit.git
cd monitor
bun installRun in development mode with hot reload:
bun run devRun directly:
bun run startNote: In dev mode, use
qto quit cleanly. If you Ctrl-C and see garbled output, runresetto restore your terminal.
Build binaries that don't require Bun:
# Build for all macOS architectures
bun run build
# Build for specific architecture
bun run build:arm64 # Apple Silicon
bun run build:x64 # IntelBinaries are output to dist/.
MIT