Prompt Runner has one core runtime and several entrypoints layered on top.

Entry Points

Core Runtime Flow

input
  -> RunSpec
  -> Source.load/2
  -> Plan.build/1
  -> Runner
  -> RuntimeStore + Committer + Rendering

Sources

All sources normalize their input into prompt structs plus commit metadata.

Runtime Stores

The runtime store owns progress tracking and log destination selection.

Committers

CLI and legacy runs default to git commits. API runs default to no-op commits.

Rendering

Streaming output is handled through agent_session_manager renderers and sinks:

  • compact
  • verbose
  • studio

PromptRunner adds lifecycle callbacks and observer hooks around that stream.