baz loop
Iterate prompt → review in a basic OODA loop
baz loop [options] [text]| Option | Description |
|---|---|
--mode <mode> | Generation mode: agent (default), agent-max, multi-scene Default: agent. |
--max | Shorthand for --mode agent-max |
--max-iterations <n> | Maximum iterations (default: 3) Default: 3. |
--time-limit <time> | Total wall-clock time limit (e.g., 45s, 2m, 1h); aborts in-flight generation when exceeded |
--budget <time> | [deprecated] Alias for --time-limit. Note: baz prompt --budget is dollars; this is time |
--stop-on-fail | Stop the loop on generation failure |
--requirements <list> | Deterministic requirements to verify against (duration, scenes, format) |
--file <path> | Read prompt from file |
--image <path> | Attach an image file (can be used multiple times) |
--url <url> | Attach a URL for the agent to analyze (can be used multiple times) |
--save-context | Save provided URL/image references to reusable project context |
--context-label <label> | Label for saved context entries (default: reference) Default: reference. |
--no-stream | Disable streaming output |
--stream-json | Output events as newline-delimited JSON |
-h, --help | display help for command |