# 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.

Repository: https://github.com/graykode/abtop
Canonical: https://ross.abutalabs.com/products/abtop
Language: Rust
License: MIT
License Family: permissive
Topics: ai-agents, ai-coding-agent, btop, claude-code, cli, codex, developer-tools, htop, monitor, ratatui, rust, terminal, tui
Last push: 2026-07-27T03:52:44+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 92, longevity 11
- inputs: {"age_days": 157, "days_push": 37, "days_rel": 57, "gap_med": 1, "n_releases_24m": 38}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3472, forks 315 (observed 2026-08-28T04:08:05.974673+00:00)

## What it is
A terminal-based monitor (like htop/btop) for AI coding agent sessions such as Claude Code, Codex CLI, and OpenCode. It shows token usage, context window percentage, rate limits, child processes, and open ports in real time, read-only with no API keys.

## Use cases
- monitor claude code token usage in terminal
- watch context window usage across multiple ai agent sessions
- track rate limit quota for codex cli in real time
- find orphan ports opened by ai coding agents
- view all running ai agent sessions in one screen
- export agent session snapshot as json for scripts

## When to choose
- you run multiple AI coding agents across projects and want a single real-time dashboard
- you need read-only monitoring without API keys or auth
- you want cross-platform (macOS/Linux/Windows) native terminal monitoring of agent sessions

## When to avoid
- you need to control, configure, or send commands to agents rather than just observe them
- you monitor agents other than Claude Code, Codex CLI, or OpenCode
- you need historical metrics or long-term analytics rather than live snapshots

## Facets
- artifact type: cli-tool
- maturity: active
- function: monitoring, terminal-ui, developer-tools, analytics
- domain: developer-tools, monitoring
- platform: windows, cli, rust
- tags: htop-like, claude-code, codex-cli, opencode, tui, token-tracking, rate-limits, process-monitoring, read-only, command-line, ai-agents, macos, linux

## Member repositories
- graykode/abtop (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.974673+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:36:36.544294+00:00, confidence not recorded.
  - readme: https://github.com/graykode/abtop (fetched 2026-08-28T04:08:05.974673+00:00, sha 630fa85e8f26)
  - registry_crates: https://crates.io/api/v1/crates/abtop (fetched 2026-08-29T09:30:31.983991+00:00, sha 87b6bb3c65dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
