@kodo/agent-meter
v1.0.3
Published
CLI tool for managing multiple Codex OAuth accounts and checking rate limits
Readme
@kodo/agent-meter
CLI tool for managing multiple Codex OAuth accounts and checking their rate limits / usage.

Install
npm install -g @kodo/agent-meterOr run directly with npx:
npx @kodo/agent-meter listUsage
# Add a new account (opens browser for OAuth login, then auto-checks usage)
agent-meter add
# List all accounts with real-time usage check
agent-meter list
# Show the current default account
agent-meter current
# Switch the default Codex account for the current shell
eval "$(agent-meter use <email-or-id>)"
# Remove an account by email
agent-meter delete <email>How it works
addcreates an isolatedCODEX_HOMEdirectory, runscodex login, then immediately checks usagelistconcurrently checks all accounts via the OAuth usage API and displays a table with progress barscurrentshows which account is currently marked as the defaultusechanges the default account and prints anexport CODEX_HOME=...command for your shelldeleteremoves the account and itsCODEX_HOMEdirectory- If a token expires during
list, you'll be prompted to re-login on the spot
Prerequisites
- Codex CLI installed and available on PATH
Options
| Flag | Description |
|------|-------------|
| --json | Output raw JSON |
| --verbose | Enable verbose logging |
| --data-dir <path> | Override the default .data directory |
License
MIT
