cb agent
Scaffold custom agents.
Scaffold custom agents.
| Command | Description |
|---|---|
cb agent init | Create a new agent from template. |
cb agent build | Deprecated: cb run executes agents in-process. |
cb agent push | Deprecated: agent images are no longer used. |
Every command also accepts the global options.
Scaffold custom agents.
Create and manage custom agents for cua-bench.
cb agent [COMMAND]Examples
# Scaffold an agent in ./my-agent
cb agent init my-agentcb agent init#Create a new agent from template.
Scaffold a new custom agent with working sample code.
cb agent init [OPTIONS] <name>| Argument | Type | Default | Description |
|---|---|---|---|
<name> | string | required | Agent name (e.g., 'my-agent'). |
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--output-dir | -o | string | Output directory (default: ./<name>). |
Examples
# Scaffold an agent in ./my-agent
cb agent init my-agent
# Scaffold it into another directory
cb agent init my-agent --output-dir ./agents/my-agentcb agent build#Deprecated: cb run executes agents in-process.
Build a Docker image for an agent directory containing a Dockerfile.
cb agent build [OPTIONS] <path>Examples
# Build an agent image (deprecated)
cb agent build ./my-agent --tag my-agent:devcb agent push#Deprecated: agent images are no longer used.
Push a Docker image through the CUA API proxy with workspace namespacing.
cb agent push [OPTIONS] [<image_name>]Examples
# Push an agent image (deprecated)
cb agent push my-agent:dev| Code | Meaning |
|---|---|
0 | Success: every variant completed. |
1 | Failure: a variant failed or was cancelled, or the command could not run. |
2 | Usage error: an unknown command, flag or value. |
130 | Interrupted (Ctrl-C); running variants are cancelled. |