CLI commands
Full command reference for the Optamus CLI.
optamus run
Start an agent run.
optamus run [prompt] [flags]
| Flag | Type | Description |
|---|---|---|
--workspace <path> | string | Workspace directory |
--model <id> | string | Model override |
--json | boolean | Structured output |
--yes | boolean | Skip permission prompts |
--stdin | boolean | Read prompt from stdin |
--max-tokens <n> | number | Per-run token budget |
--parallel <n> | number | Fan out across matches |
optamus init
Create workspace config in the current directory.
optamus doctor
Check credentials, workspace access, and surface versions.
optamus keys
Manage API keys: create, list, revoke.
optamus --version
Print the CLI version.