Skip to main content
Create a new agent. On a real terminal with no --file flag, this walks you through an interactive wizard; pass --file to create from a raw JSON config instead. Maps to the create_agent MCP tool.

Syntax

Flags

--file is required in a non-interactive context (a script or CI pipe) — there’s no wizard to fall back to without a terminal.

Example

config.json