Skip to content

CLI Reference

The runsight command starts the Runsight server (FastAPI + Uvicorn). The CLI is intentionally minimal — it launches the server and serves the bundled GUI.

The recommended way to run Runsight is via uvx, which handles Python package resolution automatically:

Terminal window
uvx runsight

This installs the runsight package (if not already cached) and runs the runsight entry point, which is registered in pyproject.toml as:

[project.scripts]
runsight = "runsight_api.cli:main"
runsight [--host HOST] [--port PORT]
FlagTypeDefaultDescription
--hoststr0.0.0.0Bind address for the server
--portint8000Bind port for the server
--help, -hPrint usage information and exit

Unknown arguments cause the CLI to print an error and exit with code 1.

Terminal window
# Start with defaults (0.0.0.0:8000)
uvx runsight
# Custom port
uvx runsight --port 3000
# Bind to localhost only
uvx runsight --host 127.0.0.1 --port 9000

On startup, the CLI prints:

Runsight running at http://localhost:8000
Press Ctrl+C to stop

Runsight ships a multi-stage Dockerfile that bundles the frontend and backend into a single image.

Terminal window
# Build the image
docker build -t runsight .
# Run with defaults
docker run -p 8000:8000 runsight
# Mount a workspace directory for your workflows, souls, and tools
docker run -p 8000:8000 -v $(pwd)/custom:/workspace/custom runsight
VariableDefaultDescription
RUNSIGHT_BASE_PATH/workspaceRoot path for workflow discovery
RUNSIGHT_STATIC_DIR/app/staticPath to the bundled frontend assets
RUNSIGHT_LOG_FORMATtextLog output format

The container exposes port 8000 and includes a health check at /health.

The default Docker CMD is ["runsight"]. Override it to pass flags:

Terminal window
docker run -p 3000:3000 runsight runsight --port 3000
  • Python >= 3.11
  • The runsight package installs FastAPI, Uvicorn, SQLModel, and all other dependencies automatically.