graykode

graykode / abtop

Public

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

21
0
100% credibility
Found Mar 30, 2026 at 21 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

abtop is a terminal-based monitor that displays real-time stats for AI coding agent sessions like token usage, context fill, rate limits, child processes, and open ports.

How It Works

1
💭 Feeling overwhelmed

You're running several AI coding assistants across projects and wish you could monitor them all in one place.

2
📥 Grab the monitor

Download and set up abtop easily with one quick command on your computer.

3
🚀 See the magic dashboard

Launch it in your terminal and instantly view all your AI sessions with colorful charts, bars, and stats at a glance.

4
⚙️ Add limit tracking

Optionally set up a simple hook so it shows your usage quotas updating live.

5
👀 Navigate and control

Use arrow keys to pick sessions, jump to them, spot forgotten servers, or stop ones that are done.

🎉 AI team mastered

Now you effortlessly track tokens, progress, and resources, keeping everything running smoothly without surprises.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 21 to 21 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is abtop?

abtop delivers an htop-like TUI in Rust for monitoring AI coding agents like Claude Code and Codex CLI. It scans sessions in real-time, showing token usage, context window fill, rate limits, git status, child processes, open ports, and even subagents or memory stats. Run it with `abtop` for live views, `--once` for snapshots, or `--setup` to hook into Claude's status line—no API keys needed.

Why is it gaining traction?

Unlike basic CLI logs, abtop packs everything into one screen: live token rate graphs (github like activity chart style), quota bars with reset timers, orphan port alerts for leaked servers (htop like for gpu or network vibes), and tmux-aware jumps to sessions. Kill strays with 'x' or wipe orphans with 'X'. Privacy-focused read-only mode beats fragmented dashboards, perfect for juggling agents without context-switching.

Who should use this?

Devs running multiple Claude Code or Codex CLI sessions across projects, like backend engineers prototyping APIs or full-stack folks spawning local servers (github like local server). Ideal for rate-limit weary users tracking quotas mid-flow, or those debugging agent-spawned ports and subagents. Skip if you're on Windows native—use WSL.

Verdict

Grab it via `cargo install abtop` if you live in AI agents; the TUI shines for oversight. At 21 stars and 1.0% credibility, it's early—solid README and MIT license, but watch for polish. Strong start for agent-heavy workflows. (187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.