Agent Meter – Native macOS menu bar monitor for CLI coding agents A developer released Agent Meter, a native macOS menu bar monitor that detects active Claude Code, Codex CLI, Copilot CLI, and Antigravity CLI sessions running inside the Rex terminal in real time. Agent Meter shows an amber menu bar alert when an agent pauses for permission and lets users click "Allow ⏎" or "Deny Esc" inline, previews the latest terminal output of local and SSH sessions, tracks each session's 5-segment context window usage as a percentage, and launches new sessions from a "+" menu. The app requires macOS 14.0+, the Rex terminal (other terminal emulators are not supported), and Swift 6.0+, and is built via `zsh scripts/build-app.sh` or `swift build -c release`. English | 简体中文 https://github.com/amazingyyc/AgentMeter/blob/main/README zh.md A native macOS menu bar CLI Agent monitor Rex terminal only . It detects active Claude Code , Codex CLI , Copilot CLI , and Antigravity CLI sessions running inside Rex in real time, letting you manage all agents from the menu bar without breaking your coding flow. - Stop Babysitting y/n Prompts : Get an instant amber menu bar alert the moment an agent pauses for permission, and click Allow ⏎ or Deny Esc inline without leaving your current window. - No More Tab Hunting : Preview the latest terminal output of all local and SSH sessions in one place, and press ⌥ + Return or click any card to jump straight to the exact Rex window and tab. - Prevent Mid-Task Context Compaction : Monitor each session's 5-segment context window usage meter % at a glance before auto-compaction catches you off guard. - 1-Click Session Launch : Start a new Claude, Codex, Copilot, or Antigravity session in any recent workspace directory directly from the + menu. | Shortcut | Action | |---|---| | ⌥ + Space Option + Space | Toggle Agent Meter menu bar panel | | ⌥ + Return Option + Return | Jump straight to the 1 most urgent Rex agent session | Global shortcuts can be enabled or disabled in Settings. - macOS 14.0+ - Rex terminal Rex only; other terminal emulators are not supported - Swift 6.0+ Xcode Command Line Tools Build the .app bundle and open it: zsh scripts/build-app.sh open "build/Agent Meter.app" --args --show-panel Or build directly with Swift Package Manager: swift build -c release Demo mode: open -n "build/Agent Meter.app" --args --demo --show-panel