abtop
Like htop, but for AI coding agents. Monitor Claude Code & Codex CLI sessions, tokens, context window, rate limits, and ports in real-time.
- 3.8k stars
- 339 forks
- 33 open issues
- Language: Rust
- License: MIT
- updated
Install
git clone https://github.com/graykode/abtop && cp abtop/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Editor's note
Abtop is a terminal user interface tool written in Rust, using the Ratatui library, that monitors multiple AI coding agent sessions in real time from a single screen. It discovers Claude Code, Codex CLI, and OpenCode sessions automatically by reading local process and file state, requiring no API keys or authentication, and displays per-session metrics including token usage, context window percentage bars, rate limit status, child processes, open ports, git status, and current task. It connects to Claude Code specifically by scanning local session files and config directories such as `~/.claude`, and supports multiple Claude profiles simultaneously across macOS, Linux, and Windows. When run inside tmux, pressing Enter jumps directly to the terminal pane running the selected agent. A standout detail is orphan port detection, which flags servers that an agent spawned but never terminated. Developers running several concurrent Claude Code or Codex CLI sessions across projects are the primary audience, along with anyone needing to track context window consumption before hitting limits.
Subagents overview
What people ask about abtop
What is graykode/abtop?
graykode/abtop is subagents for the Claude AI ecosystem. Like htop, but for AI coding agents. Monitor Claude Code & Codex CLI sessions, tokens, context window, rate limits, and ports in real-time. It has 3.8k GitHub stars and its last recorded update is dated 2026-09-14.
How do I install abtop?
You can install abtop by cloning the repository (https://github.com/graykode/abtop) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is graykode/abtop safe to use?
Our security agent has analyzed graykode/abtop and assigned a Trust Score of 92/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains graykode/abtop?
graykode/abtop is maintained by graykode. The last recorded GitHub activity is dated 2026-09-14, with 33 open issues.
Are there alternatives to abtop?
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.