Abtop — Data & AI agent for Claude Code
AI agent monitor for your terminal.
How to install Abtop
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open graykode/abtop and copy the folder into
~/.claude/agents/.
What Abtop does
AI agent monitor for your terminal. Like btop++, but for AI coding agents. Supports Claude Code and Codex CLI.
Alternatives in Data & AI
- Claude Mem — A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresse 38.9k ★
- Crush — The glamourous AI coding agent for your favourite terminal 21.8k ★
- Vision — GSD-2 is the orchestration layer between you and AI coding agents 5.7k ★
README
abtop
AI agent monitor for your terminal. Like btop++, but for AI coding agents.
Supports Claude Code and Codex CLI.
Architecture
src/
├── main.rs # Entry, terminal setup, event loop, --setup flag
├── app.rs # App state, tick logic, key handling, summary generation
├── setup.rs # StatusLine hook installation (abtop --setup)
├── ui/
│ └── mod.rs # All panels in single file: header, context, quota,
│ # tokens, projects, ports, sessions, footer
├── collector/
│ ├── mod.rs # MultiCollector orchestration, orphan port detection
│ ├── claude.rs # Claude Code: session discovery, transcript parsing
│ ├── codex.rs # Codex CLI: session discovery via ps+lsof, JSONL parsing
│ ├── process.rs # Child process tree (ps) + open ports (lsof) + git stats
│ └── rate_limit.rs # Rate limit file reading (~/.claude/abtop-rate-limits.json)
└── model/
├── mod.rs # Re-exports
└── session.rs # AgentSession, SessionStatus, RateLimitInfo,
# ChildProcess, OrphanPort, SubAgent
Layout
┌─ ¹context (token rate sparkline + per-session context bars) ─────────┐
│ ▁▃▅▇█▇▅▃▁▃▅▇██ S1 abtop ████████ 82% │
│ token rate (200pt history) S2 prediction █████████91%⚠ │
│ S3 api-server ███ 22% │
└──────────────────────────────────────────────────────────────────────┘
┌─ ²quota ─────┐┌─ ³tokens ───┐┌─ ⁴projects ──┐┌─ ⁵ports ──────────┐
│ CLAUDE ││ Total 1.2M ││ abtop ││ PORT SESSION CMD │
│ 5h ████ 35% ││ Input 402k ││ main +3 ~18 ││ :3000 api-srv node│
│ resets 2h ││ Output 89k ││ ││ :8080 predict crgo│
│ 7d ██ 12% ││ Cache 710k ││ prediction ││ │
│ ││ ▁▃▅▇█▇▅▃▁▃▅││ feat/x +1~2 ││ ORPHAN PORTS │
│ CODEX ││ Turns: 48 ││ ││ :4000 old-prj node│
│ 5h █ 9% ││ Avg: 25k/t ││ api-server ││ │
│ 7d ██ 14% ││ ││ main ✓clean ││ │
└──────────────┘└─────────────┘└──────────────┘└────────────────────┘
┌─ ⁶sessions ─────────────────────────────────────────────────────────┐
│ ►*CC 7336 abtop ● Work opus 82% 1.2M 48 Edit src/pay.rs │
│ >CD 8840 pred ◌ Wait sonn 91% 340k 12 waiting │
│ ─────────────────────────────────────────────────────────────────── │
│ SESSION 7336 · /Users/graykode/abtop │
│ Stripe payment integration... │
│ └─ Edit src/pay.rs │
│ CHILDREN: 7401 cargo build │
│ SUBAGENTS: explore-data ✓12k · run-tests ●8k │
│ MEM 4f · 12/200 │ v2.1.86 · 47m │
└───────────────────────────────
Related Agents
Marka Yalitim Muhafizi
Bir markanın verisinin başka markaya — veritabanı sorgusu, AI aracı, AI bağlamı, Codex/terminal süreci, dosya
CodexResearcher
Remy - Eccentric, curiosity-driven technical archaeologist who treats research like treasure hunting. Consults
Force Runner
Run AI model tasks in background via The Force. Use when user wants parallel work with GPT-5.2, Gemini, Codex,
Rememora Triage
Use this agent when triaging issues, feature requests, or bugs for the Rememora project — a cross-agent persis
Ops Monitor
Production observability expert. Use when designing monitoring, setting Sentry alerts, establishing error budg
Monitor UI
Use this agent proactively whenever:\n- The user mentions monitoring, dashboards, metrics, or real-time data v
Related Skills
Tuimux
A terminal multiplexer for TUI apps. Run btop, lazygit, Claude Code, and any other TUI in embedded terminal wi
TokenUsage2
A live, btop-style terminal dashboard for developers to track Claude Code, Codex CLI, and OpenCode token usage
Agent Signal Bar
Monitor AI agent status on the macOS menu bar with local, customizable light effects for tools like Claude Cod