oz agent command is the entry point for running AI coding agents. Use oz agent run to launch an agent in your local terminal session, or oz agent run-cloud to dispatch a headless agent to a cloud environment. You can also list available agent configurations and manage agent profiles from this command group.
Synopsis
Subcommands
| Subcommand | Description |
|---|---|
run | Run a new Oz agent in the local terminal |
run-cloud | Dispatch an Oz agent that runs remotely in a cloud environment |
list | List all available agent configurations |
profile list | List available agent profiles |
oz agent run
Runs a new Oz agent in your current terminal session. You must supply either--prompt or --saved-prompt (or --skill) to specify what the agent should do.
oz agent r
Flags
The prompt for the agent to carry out. Mutually exclusive with
--saved-prompt.Short form: -pThe ID of a saved AI prompt to run. Mutually exclusive with
--prompt.Use a skill as the base prompt for the agent. Format:
skill_name, repo:skill_name, or org/repo:skill_name. Skills are searched in .agents/skills/, .warp/skills/, .claude/skills/, and .codex/skills/ directories. When combined with --prompt, the skill provides the base context and the prompt is the specific task.Override the base model for this run. Use
oz model list to see available model IDs.A human-readable name for this agent task.Short form:
-nWorking directory for the agent. Defaults to the current directory.Short form:
-CCloud environment to use, identified by ID.Short form:
-eMCP server to start before executing the agent. Accepts a path to a JSON config file or inline JSON. Repeatable — specify multiple times to include multiple servers.
Enable computer use capabilities for this agent run. Mutually exclusive with
--no-computer-use.Disable computer use capabilities for this agent run. Mutually exclusive with
--computer-use.Continue an existing cloud conversation by ID.
Agent profile ID to configure the terminal session.
Disable the end-of-run workspace snapshot upload.
Maximum time to wait for the end-of-run snapshot upload (e.g.
5m).Examples
oz agent run-cloud
Dispatches an Oz agent to run headlessly in a cloud environment. The agent runs asynchronously — you do not need to keep your terminal open. Useoz run list and oz run get to check the results.
oz agent ra, oz agent run-ambient
Flags
The prompt for the agent to carry out. Mutually exclusive with
--saved-prompt.Short form: -pThe ID of a saved AI prompt to run. Mutually exclusive with
--prompt.Use a skill as the base prompt for the agent. Format:
repo:skill_name or org/repo:skill_name. The skill is resolved at runtime in the agent’s cloud environment.Override the base model for this run. Use
oz model list to see available model IDs.A human-readable name for this agent task.Short form:
-nCloud environment to run the agent in, identified by environment ID.Short form:
-eRun the agent without a cloud environment. Not recommended for most use cases.
MCP server to start before executing the agent. Accepts a path to a JSON config file or inline JSON. Repeatable.
Enable computer use capabilities for this run.
Disable computer use capabilities for this run.
Open the agent’s session in Warp once it becomes available.
Continue an existing cloud conversation by ID.
Path to a file to attach to the agent query. Repeatable — specify up to 5 times.
Where the job should be hosted. Set to
warp (or omit) to run on Warp’s infrastructure. Any other value is matched against a self-hosted worker name.Disable the end-of-run workspace snapshot upload.
Examples
oz agent list
Lists all available agent configurations, optionally scoped to a specific GitHub repository.Flags
List agent configurations from a specific GitHub repository. Format:
owner/repo or https://github.com/owner/repo.Short form: -r