See what every
Claude Code
session is doing

Terminal UI, macOS menu bar, and HTTP API to monitor all running Claude Code instances. Track activity, tokens, and cost in real-time.

Get started
$ brew install illegalstudio/tap/lazyagent
lazyagent terminal UI showing Claude Code session monitoringlazyagent macOS menu bar applazyagent HTTP API playground

Capabilities

Everything happens
in one place

Real-time monitoring

Live activity states for every session: thinking, writing, reading, searching, compacting.

Cost tracking

Automatic token counting and USD cost estimation per session.

Activity sparklines

Visual intensity graphs to spot which sessions are most active over time.

Zero modifications

Reads existing JSONL transcripts. Never touches or modifies Claude Code.

Fast & lightweight

FSEvents-based. Single Go binary, no runtime dependencies, minimal CPU.

Three interfaces

TUI, macOS menu bar, or HTTP API. Same core, mix and match as needed.

Interfaces

One binary,
three ways in

Terminal UI

lazyagent

Full-featured TUI built with bubbletea. Vim-style navigation, fuzzy search, activity filters, time window controls, and real-time updates via FSEvents.

j/k navigate/ searchf filter+ / - windowo open editorr refresh
lazyagent TUI

macOS Menu Bar

lazyagent --tray

Native menu bar app with Catppuccin theme. Runs silently in the background with no Dock icon. Click to toggle the session panel.

lazyagent macOS menu bar

HTTP API

lazyagent --api

REST endpoints + Server-Sent Events for real-time streaming. Build dashboards, mobile apps, or custom integrations on top.

lazyagent API playground
Mix them: lazyagent --tui --tray --api

Install

One command,
zero config

Homebrew
Recommended
$brew install illegalstudio/tap/lazyagent
Go install
$go install github.com/nahime0/lazyagent@latest
Build from source
$git clone github.com/nahime0/lazyagent
$cd lazyagent && make build

API

Build on top

Read-only REST API with Server-Sent Events for real-time push updates. Build custom dashboards, mobile apps, or integrate with your existing tools.

# Try it
$curl localhost:7421/api/stats | jq
127.0.0.1:7421
Read-only
GET
/api/sessions

List all active sessions

GET
/api/sessions/{id}

Full session detail with conversation history

GET
/api/stats

Summary: total sessions, tokens, cost

GET
/api/config

Current configuration

GET
/api/events

SSE stream for real-time updates