Description
agtop is a terminal dashboard that shows what your AI coding agents are doing, in the style of the top command. It finds Claude Code sessions in the ~/.claude/projects folder and Codex sessions in ~/.codex/sessions, and shows each session's spend, token usage, context-window pressure, CPU load and tool calls, updating live. Cost tracking breaks spend down by hour and by day, by model, and by plan, with billing that accounts for retail, Max or included usage. Panels cover per-session CPU and memory sparklines, the live process tree of each agent, a scrollable tool activity log, and the subagents a session dispatched, with their type, model, cost and duration. A config panel shows CLAUDE.md or AGENTS.md, memories, skills, MCP servers and permissions for each session. The overview shows aggregate sparklines, and the README includes a JSON output option. It suits developers who run several coding agents and want their cost and activity in one place in the terminal.…
Highlights
- Live view of Claude Code and Codex sessions
- Cost tracking by hour, day and model
- Context-window pressure for each session
- Tool activity and subagent panels
- Process and CPU metrics for running agents
Ratings & Reviews
No ratings yet
Be the first to rate Agtop.
People also visit
Agtop FAQ
What does agtop show?
Spend, token usage, context pressure, CPU load, tool invocations and subagents for each Claude Code and Codex session on your machine.
Which agents does it support?
Claude Code, read from the ~/.claude/projects folder, and Codex, read from ~/.codex/sessions.
How does it track cost?
It shows per-session spend with hourly and daily breakdowns and per-model token and cost totals, with plan-aware billing for retail, Max or included usage.
Can I get the data as JSON?
Yes. The README has a JSON output section for use in scripts.
Is it open source?
The code is public on GitHub at ldegio/agtop.
What are the best Agtop alternatives?
Popular alternatives to Agtop include Abtop, Agentacct and lazyagent. See all Agtop alternatives


