[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74675":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":40,"readmeContent":41,"aiSummary":42,"trendingCount":16,"starSnapshotCount":16,"syncStatus":43,"lastSyncTime":44,"discoverSource":45},74675,"abtop","graykode\u002Fabtop","graykode","Like htop, but for AI coding agents. Monitor Claude    Code & Codex CLI sessions, tokens, context window,    rate limits, and ports in real-time.","",null,"Rust",2647,252,8,9,0,102,259,553,306,29.21,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39],"ai-agents","ai-coding-agent","btop","claude-code","cli","codex","developer-tools","htop","monitor","ratatui","rust","terminal","tui","2026-06-12 02:03:26","# abtop\n\n**Like [btop](https:\u002F\u002Fgithub.com\u002Faristocratos\u002Fbtop), but for your AI coding agents.**\n\nSee every Claude Code, Codex CLI, and OpenCode session at a glance — token usage, context window %, rate limits, child processes, open ports, and more.\nClaude Code, Codex CLI, and OpenCode sessions are discovered from local process\u002Ffile state, so multiple active profiles are supported across macOS, Linux, and Windows.\n\n![demo](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fdemo.gif)\n\n## Why\n\n- Running 3+ agents across projects? See them all in one screen.\n- Hitting rate limits? Watch your quota in real-time.\n- Agent spawned a server and forgot to kill it? Orphan port detection.\n- Context window filling up? Per-session % bars with warnings.\n\nAll read-only. No API keys. No auth.\n\n## Install\n\n### macOS \u002F Linux\n\n```bash\ncurl --proto '=https' --tlsv1.2 -LsSf https:\u002F\u002Fgithub.com\u002Fgraykode\u002Fabtop\u002Freleases\u002Flatest\u002Fdownload\u002Fabtop-installer.sh | sh\n```\n\n### Cargo\n\n```bash\ncargo install abtop\n```\n\n### Windows\n\nNative support — no WSL required. Uses `sysinfo` for process info and `netstat -ano` for listening ports.\n\n```powershell\npowershell -c \"irm https:\u002F\u002Fgithub.com\u002Fgraykode\u002Fabtop\u002Freleases\u002Flatest\u002Fdownload\u002Fabtop-installer.ps1 | iex\"\n```\n\nOr `cargo install abtop` from any terminal with Git in PATH. Claude Code config is resolved automatically from `%USERPROFILE%\\.claude`.\n\n### Other\n\nPre-built binaries for all platforms are available on the [GitHub Releases](https:\u002F\u002Fgithub.com\u002Fgraykode\u002Fabtop\u002Freleases) page.\n\n## Usage\n\n```bash\nabtop                    # Launch TUI\nabtop --once             # Print snapshot and exit\nabtop --setup            # Install rate limit collection hook\nabtop --theme dracula    # Launch with a specific theme\n```\n\nRecommended terminal size: **120x40** or larger. Minimum 80x24 — panels hide gracefully when small.\n\n### tmux\n\nabtop works standalone, but running inside tmux unlocks session jumping — press `Enter` to switch directly to the pane running that agent.\n\n```bash\ntmux new -s work\n# pane 0: abtop\n# pane 1: claude (project A)\n# pane 2: claude (project B)\n# → Enter on a session in abtop jumps to its pane\n```\n\n## Supported Agents\n\n| Feature           | Claude Code | Codex CLI | OpenCode |\n| ----------------- | :---------: | :-------: | :------: |\n| Session Discovery |     ✅      |    ✅     |    ✅    |\n| Token Tracking    |     ✅      |    ✅     |    ✅    |\n| Context Window %  |     ✅      |    ✅     |    ❌    |\n| Status Detection  |     ✅      |    ✅     |    ✅    |\n| Current Task      |     ✅      |    ✅     |    ❌    |\n| Rate Limit        |     ✅      |    ✅     |    ❌    |\n| Git Status        |     ✅      |    ✅     |    ✅    |\n| Children \u002F Ports  |     ✅      |    ✅     |    ✅    |\n| Subagents         |     ✅      |    ❌     |    ❌    |\n| Memory Status     |     ✅      |    ❌     |    ❌    |\n\nOpenCode support reads the local SQLite database at `~\u002F.local\u002Fshare\u002Fopencode\u002Fopencode.db` and requires `sqlite3` in `PATH`.\n\n## Themes\n\n12 built-in themes, including 4 colorblind-friendly options (`high-contrast`, `protanopia`, `deuteranopia`, `tritanopia`). Press `t` to cycle at runtime, or launch with `--theme \u003Cname>`. Your choice is saved to `~\u002F.config\u002Fabtop\u002Fconfig.toml`.\n\n| btop (default) | dracula | catppuccin |\n|:-:|:-:|:-:|\n| ![btop](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fbtop.png) | ![dracula](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fdracula.png) | ![catppuccin](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fcatppuccin.png) |\n\n| tokyo-night | gruvbox | nord |\n|:-:|:-:|:-:|\n| ![tokyo-night](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Ftokyo-night.png) | ![gruvbox](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fgruvbox.png) | ![nord](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fnord.png) |\n\nColorblind-friendly themes:\n\n| high-contrast | protanopia |\n|:-:|:-:|\n| ![high-contrast](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fhigh-contrast.png) | ![protanopia](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fprotanopia.png) |\n\n| deuteranopia | tritanopia |\n|:-:|:-:|\n| ![deuteranopia](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fdeuteranopia.png) | ![tritanopia](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Ftritanopia.png) |\n\nLight themes (`light` — Solarized cream, `white` — GitHub-style pure white) for bright terminals:\n\n| light | white |\n|:-:|:-:|\n| ![light](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Flight.png) | ![white](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraykode\u002Fabtop\u002Fmain\u002Fassets\u002Fthemes\u002Fwhite.png) |\n\n## Configuration\n\n`~\u002F.config\u002Fabtop\u002Fconfig.toml` supports:\n\n```toml\ntheme = \"btop\"\n# Hide specific agent CLIs from the TUI (case-insensitive).\n# Useful if you only use one agent and want a cleaner view.\nhidden_agents = [\"codex\"]\n# UI language. Omit or leave empty to auto-detect from LANG.\nlanguage = \"zh\"\n```\n\n### Supported Languages\n\n| Code | Language            |\n| ---- | ------------------- |\n| `en` | English (default)   |\n| `zh` | Simplified Chinese  |\n\nWhen `language` is unset, abtop auto-detects from `LANG` — any value starting with `zh` switches to Simplified Chinese, otherwise English.\n\n## Key Bindings\n\n| Key                | Action                               |\n| ------------------ | ------------------------------------ |\n| `↑`\u002F`↓` or `k`\u002F`j` | Select session                       |\n| `Enter`            | Jump to session terminal (tmux only) |\n| `x`                | Kill selected session                |\n| `X`                | Kill all orphan ports                |\n| `t`                | Cycle theme                          |\n| `1`–`5`            | Toggle panel visibility              |\n| `Esc`              | Open\u002Fclose config page               |\n| `q`                | Quit                                 |\n| `r`                | Force refresh                        |\n\n## Privacy\n\nabtop reads local files and local process\u002Fopen-file metadata only. No API keys, no auth. Tool names and file paths are shown in the UI, but file contents and prompt text are never displayed. Session summaries are generated via `claude --print`, which makes its own API call — this is the only indirect network usage.\n\n## Acknowledgements\n\nHuge thanks to [@tbouquet](https:\u002F\u002Fgithub.com\u002Ftbouquet) for driving much of abtop's recent shape — themes, config overlay and panel toggles, session filtering, subagent tree view, the context window gauge with compaction detection, plus a steady stream of fixes and security hardening along the way.\n\n## License\n\nMIT\n","abtop 是一个专为 AI 编码代理设计的实时监控工具，类似于 htop。它能够监测 Claude Code、Codex CLI 会话中的令牌使用情况、上下文窗口百分比、速率限制以及端口状态等关键指标。该工具采用 Rust 语言开发，确保了高性能与低资源消耗，并且支持 macOS、Linux 和 Windows 平台。abtop 适用于需要同时管理多个 AI 编程助手项目的开发者，帮助他们更高效地跟踪和控制资源使用情况，避免因超出 API 限额或未关闭的服务而导致的问题。此外，abtop 提供了多种主题选择以适应不同的视觉偏好。",2,"2026-06-11 03:50:23","high_star"]