What you can do with Oz
Run cloud agents
Dispatch a one-off agent to make code changes, triage issues, or investigate a bug — all without keeping a terminal open.
Schedule recurring agents
Set a cron schedule so an agent runs every night, every Monday morning, or at any interval you choose.
Manage environments
Define isolated cloud environments with specific repos, branches, and setup commands, then reuse them across many agent runs.
Store secrets securely
Upload API keys and credentials to Warp’s managed secret store and have them injected automatically into agent containers.
How Oz differs from local Agent Mode
| Local Agent Mode | Oz (cloud agents) | |
|---|---|---|
| Runs in | Your local terminal | Isolated cloud container |
| Requires terminal open | Yes | No |
| Environment setup | Your local machine | Defined cloud environment |
| Secrets | Your local environment variables | Warp Managed Secrets |
| Scheduling | Manual | Cron-based |
The oz CLI
Theoz CLI is the primary way to interact with Oz from your terminal. All oz commands share a few global options:
| Flag | Environment variable | Description |
|---|---|---|
--api-key | WARP_API_KEY | API key for authentication |
--output-format | WARP_OUTPUT_FORMAT | Output format: pretty (default), json, ndjson, or text |
--debug | — | Enable debug logging |
Runs and tasks
When you dispatch a cloud agent, Oz creates a run — the execution record for that agent invocation. Every run has:- A unique run ID (available as
OZ_RUN_IDinside the agent container) - A state:
queued→pending→claimed→in-progress→succeededorfailed - A conversation transcript you can retrieve after the run completes
oz task list to see recent runs, and oz task get <task_id> to inspect a specific run’s status and conversation.
Quick start: run your first cloud agent
Create a cloud environment
Set up an environment that points to your repository so the agent has code to work with.
Run a cloud agent
Dispatch an agent with a prompt. Use
--environment to specify the environment the agent should run in.Output formats
Alloz commands support --output-format for scripting and CI use:
Next steps
Cloud environments
Create and manage the isolated environments your agents run in.
Secrets
Securely store credentials and inject them into agent runs.
Scheduling
Run agents on a cron schedule for recurring automation.