graykode/abtop

Like htop, but for AI coding agents. Monitor Claude Code & Codex CLI sessions, tokens, context window, rate limits, and ports in real-time.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 19th, 2026
Created on March 29th, 2026
Open Issues & Pull Requests: 26 (+0)
GitHub issues: Enabled
Number of forks: 321
Total Stargazers: 3,570 (+0)
Total Subscribers: 12 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.6 hours
Mean response time: 4.9 days
90th percentile: 17.7 days
Tracked items: 48

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 13% of issues opened in the past year have never received a reply. 69% of issues opened in the past year have been closed, leaving a working backlog. Three people close 97% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 17
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 113 days
Stale 30+ days: 15
Stale 90+ days: 10

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (20)
  • bug (9)

Detailed Description

abtop is a terminal user interface tool that monitors AI coding agent sessions in real-time, similar to how htop monitors system processes.

The tool addresses the challenge of tracking multiple concurrent AI agent sessions by displaying token usage, context window utilization, rate limits, child processes, and open ports all in one screen. It discovers Claude Code, Codex CLI, and OpenCode sessions from local process and file state without requiring API keys or authentication, making it a read-only monitoring solution that works across macOS, Linux, and Windows.

Developers running multiple AI coding agents simultaneously should consider abtop if they need to track token consumption, detect when rate limits are approaching, identify orphaned processes or ports spawned by agents, or monitor context window saturation. The tool supports multiple active profiles and provides per-session context window percentage bars with warnings. It includes twelve built-in themes with four colorblind-friendly options. Terminal jump functionality allows pressing Enter to focus the terminal running a selected agent, with support for cmux, tmux, and iTerm2 on macOS. The recommended terminal size is 120x40 or larger, though the interface degrades gracefully at the minimum 80x24 size.

The project shows active maintenance with regular updates addressing platform-specific requirements and user-reported issues. Development includes careful attention to cross-platform compatibility, with native Windows support that avoids WSL dependency and platform-specific process discovery mechanisms. The maintainers have incorporated accessibility considerations through multiple colorblind-friendly theme options and responsive UI design that adapts to different terminal sizes. Recent work demonstrates responsiveness to user feedback, including refinements to agent detection logic and theme implementations.