Skip to content
ToolOpen-source agent

ctop

Terminal monitor for live Claude Code, Codex, OpenCode and Devin coding sessions

ctop is an open-source AI tool for developer tools. It is available on macOS, Linux, Windows and CLI.

Pricing
Open source
Platforms
macOS, Linux, Windows
GitHub stars
96
Last commit
Language
JavaScript
License
MIT

Similar tools

About ctop

Running several AI coding agents at once makes it hard to tell which one is busy, which is stuck, and what it is costing. ctop puts all of those sessions into one terminal pane, showing CPU, memory, token use, context window fill, branch and spend for each process, much as htop does for ordinary processes.

From the same view you can pin sessions, mark several at once to close them, search conversation text, tail a live log pane, and get desktop notifications when a session finishes. It also flags context compaction events and rate-limit usage, and reads session data from local JSONL and SQLite files without making network calls.

It suits developers who run multiple coding agents in parallel and want to catch runaway memory use or idle ghost sessions before they waste time or money. Agents can also query it through a CLI mode to check their own sessions and those of neighbouring agents.

What it does

Multi-agent session view
Lists Claude Code, Codex CLI, OpenCode and Devin sessions with live CPU, memory and status in one table or card grid.
Context window tracking
Shows a segmented bar for input, cache, output and free context so you can see how close a session is to compacting.
Cost and token estimates
Estimates per-session and aggregate API cost using Claude and OpenAI pricing, with a token activity sparkline.
Process control
Stops sessions gracefully or by force, supports bulk closing of marked rows and jumping to a project directory.
Usage history and dashboard
Provides aggregate stats, 24-hour usage charts and a timeline view of past sessions.
CLI mode for agents
One-shot commands such as ls, whoami, alerts and search return output that scripts and agents can parse as JSON.

Good for

  • Spotting ghost or orphaned agent processes that are eating memory
  • Keeping an eye on context fill to avoid losing information to compaction
  • Tracking what several parallel coding sessions cost across providers
  • Letting an agent check its own session or those running alongside it

Pricing

Open source

Free and open source under the MIT licence.

Prices change. Check ctop.dev before you buy.

ctop FAQ

Which agents does ctop monitor?

Claude Code, Codex CLI, OpenCode and Devin running in the terminal.

Does ctop send data over the network?

No. It reads process information and local session files and makes no network calls.

What platforms are supported?

macOS, Linux and Windows. Windows uses PowerShell for process detection and has more limited working-directory resolution.

How is ctop installed?

Through Homebrew, npm or npx, or by cloning the repository and symlinking the script. It requires Node.js 18 or later.

Is ctop free?

Yes. ctop is open source, so you can use and self-host it for free.

What are the best alternatives to ctop?

The closest alternatives to ctop are agent-standup, agent-manager, clawmetry, terminess and Codex Bar.

Where this comes from

  • Description: written from the project's README and the project's website.