Who it is forAn engineer who wants a plain-text record of which agents a session spawned, to paste into a ticket or check in a script.
The problemOpening an interactive graph is awkward when you only need the structure of a session and want to capture it as text.
The outcomeA printed session tree that shows the main session and its nested agents, with no interactive interface needed.
What you need first
- Claude Code or Codex sessions already recorded on the machine (files under ~/.claude/projects/ or ~/.codex/sessions/)
- Homebrew, a Rust toolchain for cargo install, or a prebuilt binary from the releases page
- A terminal for the zoe TUI, or a browser for the hosted app
Steps
- Install Zoetrope with
cargo install zoetrope(needs a Rust toolchain) orbrew install furkankly/tap/zoetrope. - Run
zoe inspectfollowed by the path to the session file. - Redirect the output to a file, for example with
>in your shell, to keep the record. - Check that the printed tree lists the subagents you expect.
Prompt for your agent
In the zoetrope repo (furkankly/zoetrope), run `zoe inspect` on the session file at <session-file-path> and save the output to <output-file>. Expected output: a printed session tree with the main session and its subagents, written without starting the TUI. Verify that the output file is not empty and lists at least the main session before reporting success.
Caveat. zoe inspect only prints the session tree, so per-tool timings and the detail panel are available only in the interactive TUI or the browser app.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for furkankly/zoetrope and "Print a session's agent tree without opening the TUI"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer