Skip to content
docs/architecture
Get started

Supported agents

Puppet Master drives six agent CLIs. It starts the real binary, so each one behaves as it would if you ran it yourself — including its own strengths and limits.

Claude Code Codex Gemini OpenCode Antigravity Grok Build
Lifecycle events hooks hooks hooks and OSC9 plugin hooks, no approval event hooks and OSC 7501
Message without typing unix socket thread queue — HTTP — —
Interrupt a turn in progress no no no yes no no
Model profiles yes yes yes yes no no
Background model yes no no no no no
Resume a conversation yes yes yes yes yes yes

A dash means the terminal is the only way in. That is not a gap in Puppet Master: it is what the CLI offers, and observing an agent rather than replacing it means inheriting what it supports.

  • Lifecycle events are how a session’s state reaches the dashboard. All six report them, so “working”, “needs input” and “done” are accurate everywhere.
  • Message without typing is whether a supervisor or the API can hand an agent text directly. Where it says a dash, a message is typed into the terminal, which works but cannot be queued while the agent is mid-turn.
  • Interrupt a turn in progress is only OpenCode. Elsewhere, stopping means letting the turn finish or killing the session.
  • Model profiles point an agent at a different model or a custom endpoint. Antigravity has no mechanism for it, and Grok Build reads a custom endpoint only from your own Grok configuration, which a session does not rewrite.
  • A background model lets a session run a cheaper model for its own housekeeping. Only Claude Code exposes one.

Whichever CLI you choose, Puppet Master configures it per session so that nothing outside that session is touched, and gives it:

  • The MCP tools for reporting status, reading and writing board items, publishing directories and ports, and opening reviews.
  • Instruction overlays — the bucket, project and role text that applies to it.
  • A resumable conversation, so a session restarted after an update or a worker restart comes back with its history.

An agent can also report its state through the Program Status Protocol, a terminal escape sequence (OSC 7501) that says whether a program is working, waiting on you, done, or failed, and why. Claude Code uses it when its terminal answers the protocol’s feature query. Turn it on for sessions spawned afterwards:

Terminal window
pm config set spawn.program_status true

It is off by default, and off changes nothing: the terminal does not answer the query and the agent’s output reaches every viewer byte for byte.

When it is on and an agent reports:

  • The report decides the session state. Working is working, blocked is needs input, and idle, done and error are idle. The detail line shows the agent’s message and progress, what it is blocked on (permission, question or auth), and done: or error: when a turn ended that way.
  • Hooks keep running but stop changing the state while the agent’s report stands. If the agent clears it, or a working or blocked report ends with the process, the session goes back to what the hooks last said.
  • Reports never reach a viewer. They are removed from the terminal output, so pm attach, the web terminal and transcripts do not carry them. An outer terminal that supports the protocol therefore never answers the agent’s query a second time into its input, or keeps a stale status of its own.
  • Report text is plain text. It is shown with the session it came from, never as markup, and with invisible formatting characters removed. Alerts a report causes are limited to one every 15 seconds per session.

Background tasks and the helper agents an agent starts report as records of their own, which travel with the session for clients that show them. A remote host needs a worker from the same release. An older one keeps hook-driven state.

The one with real limits: no approval event, no model profiles, and no way to send it a message except the terminal. It works, and a supervisor can drive it, but expect to steer it by typing.

Grok sessions report through hooks and the Program Status Protocol, so working, needs input and permission prompts reach the dashboard as they do for Claude Code, and they resume by id. Two things differ:

  • Always full screen. The inline mode in Grok leaves stale lines after a resize, so Puppet Master always starts its full-screen interface.
  • A resumed session keeps the instructions it started with. Grok fixes a conversation’s system prompt when it is created, so overlay changes reach new Grok sessions, not resumed ones. Hooks and the MCP tools are reloaded on every resume.

A remote worker starts Grok sessions once it runs the same release as the controller.

→ Model profiles and custom endpoints → Instruction overlays