DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to print a session's agent tree without opening the TUI with Zoetrope

Dump the session tree to the terminal headlessly for logs, notes or scripts.

Short answer: Install Zoetrope with cargo install zoetrope (needs a Rust toolchain) or brew install furkankly/tap/zoetrope; then run zoe inspect followed by the path to the session file; Redirect the output to a file, for example with > in your shell, to keep the record. All steps.

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

  1. Install Zoetrope with cargo install zoetrope (needs a Rust toolchain) or brew install furkankly/tap/zoetrope.
  2. Run zoe inspect followed by the path to the session file.
  3. Redirect the output to a file, for example with > in your shell, to keep the record.
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer