Native macOS agent activity and usage monitor
See the code
Your agents, at a glance.
A native macOS utility for agent activity, remaining usage, and local usage statistics.
Website · Quick start · Supported clients · Documentation
macOS 14+ · Swift 6 · Apache-2.0
Press ⌘⌥H to toggle the glow. The menu bar gives you quick access to usage and settings.
Requirements: macOS 14 or later, plus Xcode or the Xcode Command Line Tools with a Swift 6 toolchain.
git clone https://github.com/jazzenchen/agent-hud-open.git
cd agent-hud-open
make check
make test
make run
This builds and opens build/Agent HUD Open.app. The app is signed ad-hoc for local use; no developer account, signing identity, or provisioning profile is required.
Claude Code · Codex Desktop / CLI · DeepSeek Harness · Antigravity · Cursor · Grok CLI · GitHub Copilot CLI · OpenCode · Kimi · GLM · Pi · OpenClaw · Hermes Agent · ZCode · CodeBuddy · WorkBuddy · Qwen Code
Install and sign into the clients you want to monitor. Available activity, quota, and balance information depends on the client and account. See session lifecycle coverage for support for running and terminal turns.
Permission requests can be answered from the HUD for the clients whose own hook runs just before they ask: Claude Code, Codex, CodeBuddy, WorkBuddy, ZCode, Qwen Code and the Qoder builds. See approvals.
No Agent HUD account is required. The app reads local agent activity and queries the corresponding providers for usage or balances where supported, using the installed clients' existing sign-in or configured credentials.
See data access for provider details, credential boundaries, and local storage.
| Command | Purpose |
|---|---|
make check | Check source and package boundaries |
make test | Run unit tests |
make build | Build the locally signed macOS app |
make demo | Open settings with sample data |
make snapshot | Render the interface to build/snapshots |
Continuous integration checks source boundaries, runs unit tests, builds the application, and verifies its signature and bundled resources. It does not publish binaries.
| Product | Responsibility |
|---|---|
AgentHUDSupport | Structured JSON, deterministic record identities, and dates |
AgentHUDCore | Agent providers, usage models, local caches, and calculations |
AgentHUDDesktop | Native menu bar, notch, settings, and statistics UI |
AgentHUDOpen | Standalone macOS executable |
The libraries can also be consumed through Swift Package Manager. DesktopApplication(options:settings:store:additionalSettingsPages:onIslandEvents:) takes a SettingsStore and UsageStore plus optional host settings pages and an alert relay, and showSettings(pageID:) opens one of those pages; the host owns any additional services. See architecture.
Apache-2.0. Included provider references and icon assets retain their third-party notices and icon license.
116 commits
Swift
99.7%
Native macOS agent activity and usage monitor
See the code
Your agents, at a glance.
A native macOS utility for agent activity, remaining usage, and local usage statistics.
Website · Quick start · Supported clients · Documentation
macOS 14+ · Swift 6 · Apache-2.0
Press ⌘⌥H to toggle the glow. The menu bar gives you quick access to usage and settings.
Requirements: macOS 14 or later, plus Xcode or the Xcode Command Line Tools with a Swift 6 toolchain.
git clone https://github.com/jazzenchen/agent-hud-open.git
cd agent-hud-open
make check
make test
make run
This builds and opens build/Agent HUD Open.app. The app is signed ad-hoc for local use; no developer account, signing identity, or provisioning profile is required.
Claude Code · Codex Desktop / CLI · DeepSeek Harness · Antigravity · Cursor · Grok CLI · GitHub Copilot CLI · OpenCode · Kimi · GLM · Pi · OpenClaw · Hermes Agent · ZCode · CodeBuddy · WorkBuddy · Qwen Code
Install and sign into the clients you want to monitor. Available activity, quota, and balance information depends on the client and account. See session lifecycle coverage for support for running and terminal turns.
Permission requests can be answered from the HUD for the clients whose own hook runs just before they ask: Claude Code, Codex, CodeBuddy, WorkBuddy, ZCode, Qwen Code and the Qoder builds. See approvals.
No Agent HUD account is required. The app reads local agent activity and queries the corresponding providers for usage or balances where supported, using the installed clients' existing sign-in or configured credentials.
See data access for provider details, credential boundaries, and local storage.
| Command | Purpose |
|---|---|
make check | Check source and package boundaries |
make test | Run unit tests |
make build | Build the locally signed macOS app |
make demo | Open settings with sample data |
make snapshot | Render the interface to build/snapshots |
Continuous integration checks source boundaries, runs unit tests, builds the application, and verifies its signature and bundled resources. It does not publish binaries.
| Product | Responsibility |
|---|---|
AgentHUDSupport | Structured JSON, deterministic record identities, and dates |
AgentHUDCore | Agent providers, usage models, local caches, and calculations |
AgentHUDDesktop | Native menu bar, notch, settings, and statistics UI |
AgentHUDOpen | Standalone macOS executable |
The libraries can also be consumed through Swift Package Manager. DesktopApplication(options:settings:store:additionalSettingsPages:onIslandEvents:) takes a SettingsStore and UsageStore plus optional host settings pages and an alert relay, and showSettings(pageID:) opens one of those pages; the host owns any additional services. See architecture.
Apache-2.0. Included provider references and icon assets retain their third-party notices and icon license.
116 commits
Swift
99.7%