Skip to main content

Quickstart

You can submit jobs using either the Solti CLI or directly via the REST API.

Quickstart via CLI​

Install the CLI:

# macOS / Linux (Homebrew — no Node.js required)
brew install trysolti/tap/solti

# or via Node.js >= 20 (npm / pnpm)
npm install -g @solti/cli
# or: pnpm add -g @solti/cli

# or via pip / uv (requires Node.js >= 20 on your PATH)
pip install solti-cli

Log in (browser opens — see Account and Workspace):

solti account login

Create your workspace (skip what you already have):

solti organization create my-org # only if you have no organization yet
solti project create my-project --org my-org
solti project use <project-id>

Connecting a cloud account is optional: a project with no connections runs its jobs on Solti-managed VMs automatically (see Compute Routing). To run jobs in your own cloud instead, connect an account now — see Connections.

Run a simple hello-world workload:

# Inline submission with automatic default resources (1 CPU, 4Gi memory)
solti job run --image alpine:latest -- echo "Hello from Solti!"

Tip: bound the run time with timeout (e.g. timeout: "1h30m" in the workload spec) — omitted means unlimited; see Workload Specs → Timeout.

Track the execution in real-time:

solti job list
solti job status <job-id-or-name>

Quickstart with an AI agent​

Prefer to skip the manual steps? Install the solti-quickstart agent skill and ask your AI agent to do it all in one prompt.

What it automates — everything between signup and your first successful job:

  1. CLI bootstrap — installs the Solti CLI via Homebrew, npm, or pip if missing.
  2. Authentication — runs solti account login (OAuth in your browser); no API key or dashboard round-trip required.
  3. Workspace bootstrap — creates your organization and project if you don't have them (defaulting to "<your-username>'s Organization" and "<your-username>'s Project" unless you name them).
  4. Compute routing (serverless by default) — asks whether to run on Solti-managed infrastructure (the default — nothing to connect) or your own cloud (BYOC). Only if you opt into BYOC does it wire your AWS/GCP/Azure account WIF-first (no cloud secrets shared), flip the project's routing mode, offer default VM pools (defaults to yes), and set up optional R2 storage or GitHub App connections.
  5. First workload — generates a starter job.yaml (a lightweight 0.25 CPU / 1Gi hello-world) and submits it, then watches the status stream until it completes.

Install — clone the skills repo and copy the skill into your agent's skills directory:

git clone https://github.com/trysolti/skills.git
# Claude Code:
cp -r skills/solti-quickstart ~/.claude/skills/solti-quickstart
# pi:
cp -r skills/solti-quickstart ~/.pi/agent/skills/solti-quickstart

Use — then just ask:

Use the solti-quickstart skill to get me started on Solti.

The skill asks before creating anything and never requires you to open the dashboard.

Quickstart via cURL / REST API​

Submit a workload using POST /1/jobs:

curl -X POST https://api.solti.run/1/jobs/ \
-H "X-Solti-API-Key: <your-api-key>" \
-H "X-Solti-Project-Id: <your-project-id>" \
-H "Content-Type: application/json" \
-d '{
"namePrefix": "quickstart-",
"image": "python:3.13-slim",
"command": ["python", "-c"],
"args": ["import sys; print(f\"Python {sys.version} running on Solti!\")"]
}'

Both JSON (Content-Type: application/json) and YAML (Content-Type: application/yaml) request bodies are accepted — the examples in other docs use YAML for the same endpoint.

Because resources was omitted, Solti automatically assigns the default 1 CPU and 4Gi memory allocation. See Resources.