Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

tarqmamdouh/agent-theater

Developer Tools

A live pixel-art stage that visualizes Claude Code workflow runs, agent roles, and phase handoffs on your own machine.

151
15
JavaScript
NOASSERTION
2 days old

What it is

Agent Theater turns Claude Code's local run history into an animated pixel-art stage. Each workflow run gets a lane, each workflow phase becomes a station, and each agent appears as a character whose role determines its look and animation. A finished run's parcel rides a belt into the vault; background tests light up test pods; pushes send a packet to the remote.

The app is a small Node server that reads Claude Code's already-written files (workflow journals, agent transcripts, run records) and serves a Canvas 2D page on 127.0.0.1:8790. It never writes to what it reads, and the only external command it runs is a read-only git log, and only when you point it at a repository (how sources are read).

Two viewing modes matter: public mode (the default) shows generic phrases like "running tests" and never sends commands, paths, prompts or project names to the page; ?public=0 shows redacted tool descriptions for your own screen. Install it where your Claude Code sessions live — notably, a WSL install and a Windows install keep separate sessions.

Quick start

Requires Node.js 24 or newer; there are no dependencies and no build step.

Inside Claude Code (terminal), install the plugin from the marketplace:

claude plugin install agent-theater --marketplace tarqmamdouh/agent-theater

The plugin bundles the app itself, nothing is fetched from npm. With a session running you get a status-bar line, a /theater pane beside the chat, and the full stage at http://127.0.0.1:8790. In VS Code or the desktop app, /plugin is unavailable — run the claude plugin install line in the editor terminal or add the marketplace through the desktop Plugins menu (plugin options).

To run it standalone:

npx github:tarqmamdouh/agent-theater
# or
npx agent-theater

Then open the local stage. With no agents running, add ?sample=1 to see the labelled demo. --once prints a one-shot summary of detected lanes, agents and sources, which is the quickest way to confirm session discovery. Ctrl+C stops the server.

Without Claude Code workflows, you can post events to the event API — a lane with stations, then agent/lane/station/action records, and a final status: done.

Constraints

  • License: PolyForm Internal Use License 1.0.0 — use and modify for internal business operations, but no redistributing the software or your changes (license). Forking on GitHub is allowed by GitHub's terms.
  • Platform/session locality: the adapter reads $CLAUDE_CONFIG_DIR or ~/.claude; sessions active in the last day are picked up. Install it in the environment whose sessions you want to watch.
  • Activity heuristics: an agent counts as working until its result arrives, its run record says it ended, it is stopped, or it has been quiet for 5 minutes with nothing in flight. A background command without a completion notice is counted for up to 180 minutes by default.
  • Rendering prerequisites: the CLI video exporter uses headless Chrome and needs Chrome or Chromium installed; output is MP4, or WebM where Chrome cannot encode MP4.
  • Local only: the server binds 127.0.0.1 and rejects non-local Host headers and non-JSON event posts.

Time-lapses and video export

Any past window up to 48 hours can be replayed from on-disk records: ?timelapse=8 plays the last eight hours, and ?replay=<from>,<to>&duration=45 loops a chosen window. Videos are produced from the command line, not the page, for example:

node tools/render-video.mjs --from 2026-11-19T10:00:00Z --to 2026-11-19T13:30:00Z \
  --duration 45 --aspect 16:9 --title "AGENTS AT WORK" --out exports/day.mp4

Keep public mode on for anything you share. Configuration is optional; the first of --config <file>, AGENT_THEATER_CONFIG, ./agent-theater.config.json or config.json wins, and it covers port, source filters, pipeline models, counters, timing thresholds and replay limits.

HotRepo's take

There is no daily all-language rank for this repository, but its first recorded new-list snapshot on 2026-11-23 captured 132 stars and 15 forks, with 16 stars gained over roughly an hour — a fast early pickup for a project created only days earlier on 2026-11-20. Those numbers describe a short observation window, not sustained adoption. What stands out technically is the separation of concerns: a read-only Claude Code adapter, a state/SSE server, and a pure Canvas 2D rendering layer testable in Node, with video export driven from the same modules. That makes the project more than a decorative GIF generator, but its value depends on your sessions actually living in the Claude Code install where the theater runs.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. rubenhassid1/remakeCapture a public website, rebuild a pixel-matched copy with Claude Code, then swap in your own content.JavaScript102
  2. crsolver/claude-pxlPixel art as code: a compact DSL that turns text files into sprites, sheets, animated GIFs, and a live painting replay.TypeScript431
  3. mvschwarz/openrigCoordinates Claude Code, Codex and other coding agents as a persistent team with roles, shared state and owned work.TypeScript8,246
  4. patch-gg/pixelfxA code-based pixel art VFX library of 244 effects for browser games and engines, with a Claude Code skill for authoring new ones.JavaScript5,014
  5. anthropics/claude-codeA terminal-based agentic coding assistant that reads your codebase and runs routine tasks, explanations and git workflows from natural language prompts.TypeScript154,120