agent-top

agent-top is a terminal dashboard that shows the coding agent sessions running on your machine, their state, cost and leftover processes.

Overview

agent-top is htop for local coding agents: every Claude Code, Codex, Gemini CLI and OpenCode session on your machine in one terminal view, with tokens, cost and MCP leak detection.

agent-top is a terminal dashboard for the coding agents running on your machine. It reads the transcripts the harnesses already write and the process table the OS already keeps, then shows every Claude Code, Codex, Gemini CLI and OpenCode session, and any other coding harness it can see, in one place: what each one is doing, how many tokens and dollars it has spent, and which helper processes it has left behind.

Coding agents have become long-running processes, and you tend to keep several at once, each in its own window with its own cost and its own leaks. No single harness shows them together. agent-top does, the way htop does it for processes and btop for the whole machine.

It is written in Rust and ships as one static binary for macOS and Linux: no runtime, no daemon, nothing to configure and nothing to enable in your agents. It reads the transcripts the harnesses already write and the process table the OS already keeps. It never writes to, signals or kills an agent, and your data never leaves the machine.

Key Features

  • Terminal dashboard for coding agent sessions
  • Reads existing harness transcripts
  • Reads the OS process table
  • Session state panel
  • Per-session cost at list price
  • Detection of leftover MCP server processes
  • Single static binary for macOS and Linux
  • Snapshots and replay as one JSON file

What Can You Use It For?

  • Seeing all coding agent sessions in one place
  • Checking which agent is working or waiting
  • Tracking token and dollar spend per session
  • Spotting MCP servers left behind by agents
  • Capturing a screen snapshot for bug reports

MCP Integration

No MCP (Model Context Protocol) server is listed for agent-top yet. When one is available, its URL and setup guide appear here.

Know an official MCP server for agent-top? Tell us

Affiliate Program

No affiliate program is listed for agent-top yet. When one is available, its link and terms appear here.

Know an official affiliate program for agent-top? Tell us

Frequently Asked Questions

It shows Claude Code, Codex, Gemini CLI and OpenCode sessions, and any other coding harness it can see.

No. It never writes to, signals or kills an agent.

No. Your data never leaves the machine.

It ships as one static binary for macOS and Linux, with no runtime, no daemon, and nothing to configure or enable in your agents.

Cost is what each session has spent so far at list price, counted from the harness's own usage records.

Alternatives and Related Tools

See More

agentplay turns coding agent session transcripts stored on your machine into interactive replay maps of prompts, tools, models and errors.

Vexa is an open-source meeting bot API for real-time transcription, recording, and bot control across Google Meet, Microsoft Teams, and Jitsi.

Replicas is a cloud platform for running coding agents such as Claude Code and Codex on engineering tasks and getting pull requests back.

Currents is a Playwright dashboard for scaling tests in CI, debugging failures, catching flaky tests, and speeding up test runs.