SuperX Code Commands

The terminal interface provides these primary commands, designed to work with agent execution, multi-provider selection, and session persistence.

run

Starts an intelligent session. The agent reads repository context, selects providers and models, plans steps, executes with permission guards, and validates results.

generate

Produces artifacts, applications, or structured outputs from descriptions using agent planning and real tool execution.

serve

Starts a local preview server for the current project or generated artifact.

session

Manages persistent work sessions. Sessions retain repository awareness, selection state, and conversation history.

model

Configures providers and model selection. Intelligent routing matches task requirements to capabilities.

agent

Controls agent execution mode, tool registry access, and permission policies. Supports autonomous loops with bounded retry.

export / import

Exports and imports session state and project metadata safely.

superx run --agent analyst
superx session --continue last

Next: Architecture