abtop monitors AI coding agent sessions in a TUI, showing tokens, context window, rate limits, ports, and more with per-session discovery across platforms. It provides install options via curl installer or cargo, and supports multiple agents.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Like btop, but for your AI coding agents. See Claude Code, Codex CLI, and OpenCode sessions at a glance — token usage, context window %, rate limits, child processes, open ports, and more.
How it works
Abtop discovers sessions from local process/file state and presents a TUI with per-session metrics. It supports multiple active profiles, and can emit a one-shot JSON snapshot or run in setup/monitor modes. OpenCode reads a local SQLite database when available and uses sqlite3 in PATH for monitoring.
Getting started
Install via macOS/Linux installer script, or via Cargo:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/graykode/abtop/releases/latest/download/abtop-installer.sh | sh
cargo install abtop
Windows users can install via a PowerShell installer or cargo install.
Usage:
abtop # Launch TUI
abtop --once # Print snapshot and exit
abtop --json # Print one JSON snapshot and exit (for scripts/tools)
abtop --setup # Install rate limit collection hook
abtop --theme dracula # Launch with a specific theme
abtop --mouse # Enable mouse click/scroll navigation
Recommended terminal size: 120x40 or larger; minimum 80x24.
Recent releases
Latest version v0.5.3 (2026-07-07): install via abtop-installer.sh from v0.5.3 release Previous: v0.5.2 (2026-07-05), v0.5.1 (2026-06-29), v0.5.0 (2026-06-29), v0.4.8 (2026-06-08). Each release provides a prebuilt installer script for download.
Traction
stars_7d: 0 stars_1d: 0
Behind the repo
graykode/abtop is an MIT-licensed Rust project created 2026-03-29, with 3419 stars and 305 forks. It targets macOS, Linux, and Windows, and uses the Ratatui UI crate for TUI rendering.
Caveats
License: MIT. Open issues: 28. Last push: 2026-07-27. Requires sqlite3 for OpenCode/monitoring on Linux/macOS; Windows uses native tools for process info and ports.






