agent
Launch external agent CLIs with worai MCP server + skills.
Usage
worai agent [options] [-- <agent-cli-args...>]worai agent mcp serve [--config <path>] [--profile <name>]
Arguments after -- are passed through to the selected agent CLI unchanged.
Options
| Option | Type | Default | Description |
|---|---|---|---|
--agent-cli, --cli | string | codex | Agent CLI to launch: `codex |
--agent-exec | string | auto | Override agent executable path. |
--config | string | none | Session default worai.toml path for MCP tools. |
--profile | string | none | Session default profile for MCP tools. |
--dry-run | bool | false | Print launch command and generated files without launching. |
--keep-temp | bool | false | Keep generated temporary skill/MCP config files after exit. |
MCP tools
worai_versionworai_helpworai_graph_validateworai_graph_exportworai_graph_sync_run_start(async)worai_structured_data_validate_pageworai_structured_data_inventory_start(async)worai_web_pages_classify_typesworai_job_statusworai_job_outputworai_job_cancelworai_cli_exec(fallback; argv-array based; no shell string)
Config precedence for MCP calls
- per-call
config_path/profile - session defaults from
worai agent --config/--profile - environment + standard worai discovery
Examples
worai agent --agent-cli codexworai agent --agent-cli codex -- --yolo --searchworai agent --agent-cli claude --profile acmeworai agent --agent-cli gemini --config ./worai.toml --profile acmeworai agent --agent-cli codex --dry-runworai agent mcp serve --profile acme