Your agents'
control room

See every tool call, track every token, rewind any decision. Cogpit is an open-source dashboard that turns opaque Claude Code sessions into a transparent, controllable experience.

Cogpit dashboard showing live session monitoring, conversation timeline, and file changes panel

Three modes of operation

Claude Code runs agents behind a terminal. Cogpit opens the black box.

Observe

Watch agent sessions stream in real-time. Every tool call, file edit, thinking block, and sub-agent spawned — rendered as it happens.

SSE Streaming Live Diffs Sub-Agents

Understand

Per-turn token costs, API rate limits, context window usage, and cache efficiency — all at a glance.

Token Charts Cost Tracking Rate Limits

Control

Send messages with voice or text, undo turns, branch conversations, manage permissions and MCP servers, and orchestrate multi-agent teams.

Branching Voice Input Teams
Core Feature

Conversation Timeline

Every turn, tool call, edit diff, and agent thought — rendered in a structured, expandable view.

Components marked Interactive are live demos — click and explore.
Interactive
Youturn 1

Add a dark mode toggle to the settings page

Claudeturn 2
export function SettingsPage() {
  return (
    <div className="p-6">
      <h1>Settings</h1>
      <section>
        <h2>General</h2>
        {/* settings content */}
      </section>
    </div>
  );
}
- <h2>General</h2>
- {/* settings content */}
+ <h2>General</h2>
+ <div className="flex items-center justify-between">
+ <label>Dark Mode</label>
+ <Switch checked={isDark} onCheckedChange={toggleTheme} />
+ </div>

I found the settings page and the existing theme hook. Let me add the dark mode toggle.

Claudeturn 3

The sub-agent found that `useTheme` doesn't persist preferences yet. I'll wire it up to `useLocalStorage` so the dark mode setting persists across sessions.

Claudeturn 4

Done! I've added a dark mode toggle to the settings page with persistence. The toggle uses `useTheme` backed by `useLocalStorage` and all tests pass.

Everything at your fingertips

Built for developers who want full visibility into what their AI agents are doing.

Live Streaming

SSE-powered real-time updates. Watch thinking, tool calls, and edits stream in with auto-scrolling and live status indicators.

Token Analytics

Per-turn cost tracking with model-aware pricing, SVG charts, cache efficiency, context window usage, and API rate limit monitoring.

Sub-Agent Viewer

Inline sub-agent and background agent panels with color-coded activity, per-agent tokens, and click-through to full sessions.

Full-Text Search

SQLite-indexed search across all sessions. Find any tool call, message, or code change instantly with highlighted matches.

File Changes

Net-diff and per-edit views with LCS-based line diffs. Sub-agent attribution badges. Click to open in your editor.

Voice & Images

Local Whisper WASM transcription, plus drag-and-drop image attachments with paste support and format conversion.

Worktree Management

Git worktrees with dirty/clean status, commits-ahead counts, linked sessions, PR creation, and bulk cleanup.

Permissions & MCP

Configure permission modes (bypass, plan, delegate) and toggle MCP servers per-session from a searchable selector.

Config Editor

Browse and edit .claude/ skills, CLAUDE.md, and MCP configs directly in the dashboard with syntax highlighting.

Process Monitor

Track all Claude CLI processes with PID, memory, CPU. Background task port detection and session linking.

Parallel Sessions

Monitor multiple agent sessions side by side. Switch instantly and track progress across all running agents.

Themes

Dark, Deep OLED, and Light themes with OKLCH color space, Malewicz elevation system, and glassmorphism effects.

Multi-Agent

Agent Teams

Monitor multi-agent teams collaborating on complex tasks. Members, task boards, and real-time messaging.

Deep dive
Interactive
feature-authLIVE
4 members2/7 tasks

Members

team-lead
team-leadopus
Coordinating implementation
frontend-dev
developersonnet
Building dashboard UI
backend-dev
developersonnet
researcher
explorerhaiku
Analyzing API patterns

Tasks

Pending3
#5Add WebSocket support
Blocks #7
#6Write E2E tests
Blocked by #3Blocks #7
#7Deploy to staging
Blocked by #5, #6
In Progress2
#3Build dashboard components
frontend-dev
Blocks #6
#4Research API integration
researcher
Completed2
#1Set up project scaffold
team-lead
Blocks #2, #3
#2Implement auth system
backend-dev
Blocks #5

Activity

team-lead14m ago

Starting the implementation. I'll coordinate tasks — check TaskList for your assignments.

backend-dev12m agotask

Auth system complete with JWT + refresh tokens. All tests passing.

team-lead10m ago

Great work! Can you also add the settings page when you're done with the dashboard?

researcher8m ago

Found existing patterns in src/lib/hooks. The useQuery hook already handles caching.

frontend-dev5m ago

Dashboard layout is done. Moving on to the interactive components now.

backend-dev3m agoidle

Went idle

team-lead2m agotask

Assigned task #5 to backend-dev: Add WebSocket support

Undo / Redo

Conversation Branching

Rewind agent actions and explore alternative approaches. Full file operation reversal included.

Deep dive
Interactive
Youturn 1

Build a user authentication system with JWT

Claudeturn 2

I'll set up the authentication system. Let me start with the user model and auth routes.

Read
Write
Write
Youturn 3

Add password hashing and input validation

Claudeturn 4

Added bcrypt hashing and Zod validation schemas. All tests passing.

Edit
Write
Bash
LAN Access

Network Access

Monitor your agents from any device. Share the URL with your team so everyone can watch the same sessions live. Send prompts from your phone.

Deep dive
Interactive
Cogpit — Settings

Network Access

Allow other devices to connect

Network access disabled

Enable it in settings to connect from this device

Get started in seconds

Download the desktop app or clone and run — your choice.

Desktop App

Recommended — zero setup

All packages on the Releases page.

From Source

Requires Bun + Claude Code

terminal
$ git clone https://github.com/gentritbiba/cogpit
$ cd cogpit
$ bun install
$ bun run dev

See the README for Electron builds and advanced setup.