Skip to main content

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

pip install git+https://github.com/dadwadw233/agentop.git

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: /usage API 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_SECRET or a fresh login
  • Proxy users: if you see “unknown scheme for proxy URL”, set AGENTOP_DISABLE_PROXY=1 or install httpx[socks]

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.2.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentop-0.1.2-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file agentop-0.1.2.tar.gz.

File metadata

  • Download URL: agentop-0.1.2.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for agentop-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d43a949efcd726b3cd3ae20abeb1a11ab1d8971abbd41aaab476e8b0dcf2dffc
MD5 b5786791c7bf74dc0a5a892f8909b89f
BLAKE2b-256 0d98ad235836aef1291361a7ed3130c65417a4fa238f33df1aeb9b88c2a9eb19

See more details on using hashes here.

File details

Details for the file agentop-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: agentop-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for agentop-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc18d9adff446982e8fe982cb3d314a5fa618b1a01aa97058c01cce2fc7861c5
MD5 01a6463fcf78293986e2af7f411dfae2
BLAKE2b-256 9c03a48f63ac1b4159d305394c54997f0acc7117f9678a95a06e1bbcd9d3f0d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page