Claude Code usage
abtop
htop-style terminal monitor for Claude Code and Codex sessions, tokens, context window and rate limits.
Install
cargo install abtopgit clone https://github.com/graykode/abtop.gitFrom the README
abtop Like btop, but for your AI coding agents. See every Claude Code, Codex CLI, and OpenCode session at a glance — token usage, context window %, rate limits, child processes, open ports, and more. Claude Code, Codex CLI, and OpenCode sessions are discovered from local process/file state, so multiple active profiles are supported across macOS, Linux, and Windows. Why - Running 3+ agents across projects? See them all in one screen. - Hitting rate limits? Watch your quota in real-time. - Agent spawned a server and forgot to kill it? Orphan port detection. - Context window filling up? Per-session % bars with warnings. All read-only. No API keys. No auth. Install macOS / Linux On Linux, ensure sqlite3 is installed to enable monitoring for OpenCode sessions. Cargo Windows Native support — no WSL required. Uses sysinfo for process info and host CPU/MEM metrics, and netstat -ano for listening ports. Windows has no load average, so LOAD is reported as 0. OpenCode session discovery additionally requires the sqlite3 CLI (winget install SQLite.SQLite); without it abtop prints a one-time warning to stderr. Or cargo install abtop from any terminal with Git in PATH. Claude Code config is resolved automatically from %USERPROFILE%\.claude. Other Pre-built binaries for all platforms are available on the GitHub Releases page. Usage Recommended terminal size: 120x40 or larger. Minimum 80x24 — panels hide gracefully when small. Mouse capture is off by default so terminal drag selection and copy keep working. Launch with --mouse if you prefer click targets and wheel navigation. Terminal Jump Press Enter to focus the terminal running the selected agent. abtop supports cmux, tmux, and iTerm2 on macOS. Supported Agents OpenCode support reads the local SQLite database at…
Details
- Repository
- graykode/abtop
- Language
- Rust
- License
- MIT
- Last updated
- 14 September 2026
- Topics
- ai-agentsai-coding-agentbtopclaude-codeclicodexdeveloper-toolshtopmonitorratatuirustterminal
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is abtop?
htop-style terminal monitor for Claude Code and Codex sessions, tokens, context window and rate limits. It is a usage for Claude Code, from graykode/abtop on GitHub.
How do I install abtop?
Run cargo install abtop, then follow the setup in the README.
Is abtop popular?
graykode/abtop has 3,795 GitHub stars and 343 forks, and is included in 1 curated Claude Code list. It was last updated on 14 September 2026.
More usage & cost trackers
Failproofai
7.8kFailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Token Monitor
3.5kJavis603/token-monitor
Desktop widget tracking token usage, cost and limits across Claude Code and other AI coding tools.
Loop Engineering
12kcobusgreyling/loop-engineering
Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.
Tokscale
5.8kjunhoyeo/tokscale
Track token usage across AI coding agents from your terminal. Global leaderboard with trillions of tokens tracked.
cost-xray
5.8ktigerless-labs/cost-xray
Shows what Claude Code sends to the API and what each part of the request costs.
CodeNotch
3kvinzdg/codenotch
macOS app pinning Claude Code and other agent usage limits to a screen edge.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.