simplex CLI is installed alongside the Python SDK and provides full access to the Simplex API from your terminal. All commands support --help for detailed usage information.
Auth
simplex login
Authenticate with Simplex. Opens a browser-based OAuth flow by default.
Credentials are saved to
~/.simplex/credentials.
simplex whoami
Display current authentication identity, including a masked API key and its source.
simplex logout
Remove saved credentials from ~/.simplex/credentials.
Core
simplex run
Run a workflow and optionally wait for completion.
Examples:
--watch is used, the CLI polls the session every 2 seconds and displays a spinner. On completion, it prints the session outputs, structured output, and file metadata.
simplex editor
Create a new workflow and start an interactive editor session.
Returns:
workflow_id, session_id, vnc_url, logs_url, message_url.
simplex connect
Stream live SSE events from a running session in the terminal.
The CLI renders agent thinking, tool calls, pauses, completions, and errors in a formatted terminal display. When the agent triggers an
AskUserQuestion event, the CLI prompts you for input interactively.
simplex send
Send a message to a running session’s browser agent.
The CLI automatically resolves the active session’s message URL from the workflow ID.
Session Control
simplex pause
Pause a running session. Looks up the active session from the workflow ID.
simplex resume
Resume a paused session.
simplex interrupt
Interrupt a running editor session’s agent mid-execution.
simplex start-recording
Start recording browser actions in a running editor session. Uses CDP to capture clicks, inputs, navigation, scroll events, and network activity.
simplex stop-recording
Stop recording and export captured actions as an agent-script directory. Returns action count, network event count, duration, and export path.
Workflow Management
simplex workflows list
List and search workflows. Displays a table with ID (truncated), Name, and Metadata.
simplex workflows vars
Show the variable schema for a workflow. Displays a table with Name, Type, Required, Default, and Allowed Values. Also prints an example simplex run command with required variables pre-filled.
simplex workflows set-vars
Set the variable schema for a workflow. Fields can be specified inline or via a JSON file.
Field format:
simplex workflows outputs
Show the structured output schema for a workflow. Displays Name, Type, and Description.
simplex workflows set-outputs
Set the structured output schema for a workflow.
Field format:
simplex workflows update
Update a workflow’s metadata.
Session Inspection
simplex sessions status
Get the status of a session. Shows whether the session is in progress, succeeded, is paused, and displays the final message, outputs, structured output, and file metadata.
simplex sessions events
Poll events for a workflow’s active session. Shows agent text, tool calls, and errors.
simplex sessions logs
Retrieve completed session logs as JSON. Returns an error if the session is still running.
simplex sessions download
Download files from a completed session. Downloads all files as a zip archive by default, or a specific file with --filename.
