AgentBar is a macOS menu bar app that tracks AI coding assistant usage in one place. It shows a stacked usage bar in the menu bar, sorted by usage, with a detail popover for per-service metrics.
Supported Services
| Service | Data Source |
|---|---|
| Claude Code | Anthropic OAuth API (Keychain credential) |
| OpenAI Codex | Local session logs (~/.codex/sessions/) |
| Google Gemini | Local logs (~/.gemini/tmp/) |
| GitHub Copilot | GitHub Copilot API (PAT from Keychain) |
| Cursor | Cursor API + local SQLite DB |
| Z.ai | Z.ai quota API (API key from Keychain) |
Features
- Stacked usage bar in the menu bar, sorted by usage
- Detail popover with per-service metrics
- Desktop notifications for agent events (Claude hooks, Codex watcher)
- Configurable refresh interval and per-service enable/disable
- Plan/limit controls and API key management
- Sound pack support via CESP registry
- Custom notification audio with fallback alert tone
Install
Download AgentBar.dmg from Releases, open the DMG, and drag AgentBar to Applications.
Build
xcodebuild build -project AgentBar.xcodeproj -scheme AgentBar -configuration Debug -derivedDataPath build -quiet
open build/Build/Products/Debug/AgentBar.app




