CLI Reference
Complete reference for the baz CLI v0.8.14. The CLI is the Bazaar API.
The baz CLI is the programmatic interface to Bazaar — everything the agent and Studio can do is exposed as a command. Install it with:
npm install -g bazaar.itThis reference is generated from the CLI itself (v0.8.14), so it always matches the published behavior. Set BAZ_AGENT=1 to get JSON output suited for agents and scripts.
Global options
| Option | Description |
|---|---|
-v, --version | Show version |
-i, --interactive | Start interactive REPL mode |
--json | Output as JSON |
--compact | Compact JSON output (no whitespace, saves tokens) |
--verbose | Show detailed output |
--config <path> | Custom config file path |
--api-url <url> | Override API URL |
--project-id <id> | Override active project |
--no-suggestions | Suppress next-step suggestions |
Commands
| Command | Description |
|---|---|
baz auth | Manage authentication |
baz project | Manage projects |
baz prompt | Send a prompt to the autonomous agent |
baz scenes | Manage scenes in active project |
baz export | Export video from active project |
baz media | Manage media files in your project |
baz logs | Query recent project/runtime logs |
baz status | Show project overview and timeline |
baz review | Get current project state for external agent evaluation |
baz context | Manage project context (goals, requirements, references) |
baz capabilities | Describe CLI capabilities and protocol support |
baz loop | Iterate prompt → review in a basic OODA loop |
baz state | Get a machine-friendly snapshot of current project state |
baz verify | Verify current project against criteria |
baz mcp | Expose MCP-style tool manifest for agent integrations |
baz template | Browse and apply templates |
baz share | Create and manage share links for projects |
baz model | View and configure AI models for generation |
baz preview | Render a single frame to PNG — visual feedback for agents |
baz balance | Show account balance, spending, and pricing guide |
baz blitz | Manage Blitz setup, queue, and content drops |
baz brand | Manage reusable brand profiles |
baz calibration | Create, launch, inspect, and review persisted calibration runs |
baz skills | Manage Claude Code / Codex skills for Baz |
baz skill | Manage Baz-native reusable skills |
baz resource | Compile external resources into Bazaar video context and run them through the existing generator |
baz studio | CLI-first Studio workflows for brand evidence, runs, and claim pages |