agent-theatre

v1.9.0
io.github.shreyassaw5394/agent-theatre Checked 9 hours ago Published 27 days ago

Watch your coding agent work as a film: opens and replays the Agent Theatre stage for a repo.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

open_stage

Open the live Agent Theatre stage for a repository folder: the repo becomes a stage and the running Claude Code session animates on it. Returns the URL to open. Reuses a stage that is already running for that folder.

ParameterTypeDescription
cwdstringAbsolute path of the repository folder
setstringStage set id, e.g. island, orbit, lanterns

list_sessions

List past Claude Code sessions for a repository folder (newest first) that Agent Theatre can replay. Returns ids, titles and times only.

ParameterTypeDescription
cwdstringAbsolute path of the repository folder
limitinteger

replay_session

Open a replay of a past Claude Code session on the stage. Omit session_id for the newest. Returns the URL.

ParameterTypeDescription
cwdstringAbsolute path of the repository folder
session_idstringA session id from list_sessions
setstringStage set id, e.g. island, orbit, lanterns

stage_status

What the live stage for a folder has seen so far: event and beat counts, the last few event kinds, and whether hooks are installed. Never returns file contents.

ParameterTypeDescription
cwdstringAbsolute path of the repository folder

what_changed

The change map: which files the agent read, edited, created or deleted (in the live stage for a folder, else the newest session), with line counts, files changed during the session but not by the agent, and a Markdown version for a pull request. Paths and counts only; never file contents.

ParameterTypeDescription
cwdstringAbsolute path of the repository folder
markdownbooleanReturn Markdown for a pull request instead of a plain list
session_idstringA session id from list_sessions

install_hooks

Install the Agent Theatre hooks into ~/.claude/settings.json (non-destructive, keeps a backup). Not needed when the Claude Code plugin is installed.