Skip to main content
The oz CLI is the primary command-line interface for Warp’s cloud agent orchestration platform. It lets you run AI coding agents in the cloud, manage environments and secrets, schedule recurring tasks, and inspect run history — all from your terminal. The binary is distributed as oz (with warp available as an alias) and is bundled directly with the Warp application, so no separate installation step is required.

Installation

The oz CLI ships inside the Warp application bundle. Once Warp is installed, the oz binary is available in your PATH automatically. You can confirm it is working by running:
If you use the warp alias instead, every command works identically:

Quick examples

Global options

Every oz command accepts the following flags, regardless of subcommand.
string
API key for authentication. Equivalent to setting the WARP_API_KEY environment variable. Use this for CI/CD pipelines and non-interactive environments.
string
default:"pretty"
Controls how command output is rendered. Accepted values: pretty (human-readable, default), json, ndjson, text. Equivalent to setting the WARP_OUTPUT_FORMAT environment variable.
boolean
Enable verbose debug logging. Useful when troubleshooting unexpected behaviour.

Output formats

All oz commands support four output formats, selectable via --output-format or the WARP_OUTPUT_FORMAT environment variable:

The help system

Every command and subcommand supports a --help flag that prints its full usage, flags, and a description.

Shell completions

The oz CLI can generate shell completion scripts for bash, zsh, fish, and PowerShell.
Add the following line to your ~/.bashrc:

Commands

oz agent

Run and manage AI coding agents locally and in the cloud.

oz run

List and inspect agent task runs.

oz environment

Create and manage cloud environments for agent runs.

oz mcp

Manage Model Context Protocol servers.

oz secret

Store and retrieve secrets for use in agent runs.

oz schedule

Schedule agents to run on a cron schedule.

oz model

List available AI models.