Expand description
Headless one-shot mode: microclaw run -p "<prompt>".
Runs a single prompt through the shared agent loop without starting any
channel, prints the final reply to stdout, and exits non-zero on failure
— the scripting/CI entry point (grok-build’s headless mode equivalent).
Runs share the headless channel; --session <name> selects a named
chat so consecutive runs can keep conversation context.
Structs§
- Headless
RunExecutor - Adapter from the existing shared Agent Engine to the embeddable Runtime contract.
- Headless
RunRequest - Headless
RunResult - Headless
Runtime - Reusable application service for one-shot tasks.
- Headless
Subagent Run - UI-neutral projection of one durable Subagent run.