A terminal UI tool for monitoring local AI coding agents (Claude Code, etc.)
Project description
Agentop
A terminal UI tool for monitoring local AI coding agents — like nvtop/htop, but for Claude/Codex.
Features
- Real-time process monitoring (CPU, memory, uptime)
- Claude Code usage + cost from local stats
- Quota panels (beta) for Codex + Antigravity
- Lightweight Textual TUI
Supported Agents
| Agent | Process Monitor | Usage Stats | Quota | Status |
|---|---|---|---|---|
| Claude Code | ✅ | ✅ | ✅ | Stable |
| Antigravity | ⏳ | ⏳ | ✅ | Beta |
| OpenAI Codex | ✅ | ✅ | ✅ | Beta |
Supported Platforms (has been tested)
- macOS
- Linux
Installation (macOS / Linux)
PyPI
pip install agentop
From source
git clone https://github.com/dadwadw233/agentop.git
cd agentop
pip install -e .
Quick Start
# TUI
agentop
# Or
python3 -m agentop
Detailed stats:
python3 show_stats.py
Data Sources
- Claude stats:
~/.claude/stats-cache.json - Codex usage/quota:
/usageAPI via Codex auth (~/.codex/auth.json) - Antigravity quota: Google Cloud Code API via Antigravity auth (local state db)
Roadmap
- More agents (TBD)
- Config file (YAML)
- History + export (CSV/JSON)
- UI polish
Known Limitations
- Claude stats can lag behind real time
- Codex usage is fetched from the API (not local files)
- Antigravity quota depends on account access
- Antigravity refresh requires
ANTIGRAVITY_OAUTH_CLIENT_SECRETor a fresh login
License
MIT (see LICENSE)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agentop-0.1.1.tar.gz
(29.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
agentop-0.1.1-py3-none-any.whl
(37.5 kB
view details)
File details
Details for the file agentop-0.1.1.tar.gz.
File metadata
- Download URL: agentop-0.1.1.tar.gz
- Upload date:
- Size: 29.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dbb4e72097fe434c7d86308dba972767c3d4f28badbe79c9e137c683edb394b
|
|
| MD5 |
98cc411e29f1a4b4d104fc432635db69
|
|
| BLAKE2b-256 |
4ff6cb0a971630a2559ce3819e00b1d36b708eff6a33178ccb51aba64c705241
|
File details
Details for the file agentop-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agentop-0.1.1-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
328c4e184129ccdd9fa1ba29c95678479af3872b633eea3dce11b22202b147d5
|
|
| MD5 |
69154211c8bc3b2184e419b6085408dc
|
|
| BLAKE2b-256 |
6c5a270afb4fb8b1691fd84f7bf6bd51b2a238bee6c1410a669ad50d2a6e9977
|