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
The oz CLI
Theoz CLI is the primary way to interact with Oz from your terminal. All oz commands share a few global options:
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
1
Authenticate
Make sure your
WARP_API_KEY is set, or pass --api-key to each command.2
Create a cloud environment
Set up an environment that points to your repository so the agent has code to work with.
3
Run a cloud agent
Dispatch an agent with a prompt. Use
--environment to specify the environment the agent should run in.4
Check the results
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.