Headless CLI wrapper for non-interactive agent execution. Runs scorpiox sessions programmatically — ideal for CI/CD pipelines, automation scripts, and server-side orchestration without a TUI.
| Flag | Short | Description | Takes Value |
|---|---|---|---|
--version |
-v |
ScorpioX version to use for the session | Yes |
--prompt |
-p |
Prompt text to send to the agent (the task instruction) | Yes |
--repo |
-r |
Git repository URL to clone and work in | Yes |
--branch |
-b |
Git branch to checkout (default: main) | Yes |
--help |
-h |
Show help and usage information | No |
--dry-run |
-n |
Simulate execution without running the agent | Yes |
--tui |
-i |
Launch in TUI interactive mode instead of headless | No |
--provider |
— |
LLM provider to use (e.g. claude_code, openai) | Yes |
--cwd |
— |
Working directory for the agent session | Yes |
--agent |
— |
Agent name or path to agent configuration | Yes |
--image |
— |
Container image to use for isolated execution | Yes |
--sx-branch |
— |
ScorpioX branch to use (for development/testing) | Yes |
--pat |
— |
Personal access token for private repository authentication | Yes |
--local |
— |
Run using local scorpiox installation instead of containerized | No |
--print |
— |
Print session output to stdout (machine-readable) | No |
--serve |
— |
Start HTTP server mode for API-driven execution | Yes |
--host-port |
— |
Host port mapping when running in container mode | Yes |
--session-id |
— |
Unique session identifier for tracking and log correlation | Yes |
--port |
— |
Port number for serve mode or container port mapping | Yes |
--net |
— |
Docker network to attach the container to | Yes |
--volume |
— |
Additional volume mount for the container (host:container) | Yes |
--emit-session |
— |
Emit session metadata as JSON to stdout on start | No |