Extension Icon

Agent Usage

Monitor AI coding agent usage across Amp, Claude, Codex, Droid, Gemini, Kimi, Synthetic, Antigravity, and z.ai
AvatarEdward Zhang
613 Installs
Overview

Agent Usage

Track usage across your AI coding agents in one place.

Agent Usage Screenshot Agent Usage Screenshot

Features

  • Multi-Agent Support - View usage for Amp, Claude, Codex, Droid, Gemini, Kimi, Antigravity, Synthetic, and z.ai (GLM)
  • Multi-Account Support - Manage multiple API keys per provider with named accounts ("Work", "Personal", etc.)
  • Quick Overview - See remaining quotas and usage at a glance with ASCII progress bars
  • Detailed Breakdown - Expand each agent for full usage details
  • Menu Bar - Quick overview from the menu bar with click-to-navigate
  • Zero Config - Most agents are auto-detected from local credentials
  • OpenCode Integration - Auto-detect credentials from OpenCode for supported providers, with visual indicator showing which account is currently active in OpenCode
  • Refresh & Copy - Quickly refresh data or copy usage details to clipboard
  • Customizable - Show/hide agents, reorder list, and configure display preferences

Supported Agents

AgentData SourceManual KeyOpenCodeEnv VarMulti-AccountSetup
AmpLocal SQLite databaseAuto-detected from local database
ClaudeAnthropic OAuth Usage APIAuto-detected after claude login
CodexOpenAI APIRun codex login, or paste token in preferences
DroidFactory AI APIRun droid command to login
GeminiLocal state fileAuto-detected from local state
KimiMoonshot APIUse OpenCode kimi-for-coding, or paste token from https://www.kimi.com/code/console
AntigravityGoogle APIAuto-detected from local API
SyntheticSynthetic APIUse OpenCode synthetic, or paste API key from https://synthetic.new/billing
z.ai (GLM)Zhipu APIPaste token, use OpenCode zai-coding-plan, or set ZAI_API_KEY/GLM_API_KEY env var

Legend:

  • Manual Key — Enter API key/token directly in Raycast extension preferences
  • OpenCode — Auto-detected from ~/.local/share/opencode/auth.json
  • Env Var — Auto-detected from shell environment variables
  • Multi-Account — Support for multiple named accounts via "Manage Accounts" action (⌘M)

OpenCode Active Indicator

When you have multiple accounts configured for a provider (e.g., multiple Kimi API keys), the extension shows a ⚡ bolt icon next to the account that is currently being used by OpenCode. This helps you identify which account is actively being consumed.

The indicator appears in:

  • List View — Green bolt icon in the accessory area with tooltip "Currently used in OpenCode"
  • Menu Bar — ⚡ prefix before the account name

This works by comparing your stored account tokens with the keys configured in ~/.local/share/opencode/auth.json.

Preferences

  • Visible Agents - Toggle which agents to show in the list
  • Amp Display Mode - Show remaining as amount or percentage
  • Agent Order - Use ⌘⌥↑ / ⌘⌥↓ to reorder agents in the list

Keyboard Shortcuts

ShortcutAction
Refresh usage data
⌘CCopy usage details
⌘⇧CCopy API key (multi-account providers)
⌘MManage Accounts (multi-account)
⌘⌥↑Move agent up
⌘⌥↓Move agent down

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run linter
npm run lint

Roadmap

More agents coming soon.

License

MIT