Choosing a Mode
Scion runs the same agents and the same CLI whether you are working alone on a laptop or operating a durable, always-on platform for a team. What changes between those situations is how much infrastructure sits behind the agents — and that is what a mode captures.
This page introduces the three run modes and helps you pick the one that fits your use case. The definitions here follow the canonical GLOSSARY.md; when in doubt, the root glossary wins.
The mode spine
Section titled “The mode spine”The run modes form a spine of increasing infrastructure:
Workstation → Single-node hosted → HA hosted
Every mode has a control plane: Scion always runs agents through a Hub. Each step to the right adds capability — a networked Hub, a durable data store, multi-user access — at the cost of more moving parts to run and pay for. You are not locked in: the same projects and agents move up the spine as your needs grow.
Earlier releases could also run agents from the CLI with no Hub at all. That option was removed; on your own machine the workstation server takes its place. See the migration page.
The two dimensions
Section titled “The two dimensions”Two independent dimensions separate the modes. Understanding them makes the choice straightforward.
Availability tier
Section titled “Availability tier”The availability tier describes the durability of the Hub — Scion’s control plane (see Core Concepts). It is fixed by the Hub’s database driver, set with SCION_SERVER_DATABASE_DRIVER:
- Embedded (
sqlite) — the Hub runs as a single instance with state in an embedded SQLite database on local or single-volume storage. Cheap and simple; accepts restart/redeploy downtime. There is no separate database to provision, secure, back up, or pay for. - External (
postgres) — the Hub is replicated behind a load balancer, backed by an external managed database (Postgres) and object storage. Highly available and durable — it survives node loss and redeploys without downtime — at the cost of running that external infrastructure.
Tenancy
Section titled “Tenancy”Tenancy describes whether a deployment serves one user or many. It is orthogonal to the availability tier and only opens up once you are hosted:
- Single-user — one principal, with simple auth (a workstation dev token, or one OAuth identity).
- Multi-user — many principals authenticated through an OAuth identity provider (Google or GitHub), with Hub Groups and access policies governing who can see and act on what.
Workstation mode is single-user by construction. Either hosted tier can be single- or multi-user.
The three modes
Section titled “The three modes”| Mode | Control plane | State & durability | Tenancy | Canonical use |
|---|---|---|---|---|
| Workstation | Combo server (Hub + Runtime Broker + Web) on loopback | Embedded SQLite on that machine | Single-user | The hosted experience locally, on your own machine |
| Single-node hosted | One networked Hub on a single node | Embedded SQLite, single-volume; non-HA | Single- or multi-user | A cheap, simple networked Hub — a single VM, or one Cloud Run instance + SQLite |
| HA hosted | Hub replicated behind a load balancer | External Postgres + object storage; highly available | Single- or multi-user | A durable, always-on shared deployment — Cloud Run + Cloud SQL |
Workstation mode
Section titled “Workstation mode”Run a single-tenant Scion server — the combo server, which bundles the Hub, a Runtime Broker, and the Web dashboard into one process — on your own machine over loopback. This gives you the hosted experience locally: a visual dashboard, remote-style dispatch, and project management, without deploying shared infrastructure. It is also where the scion CLI runs your agents on this machine: once the server is running, a repository links to it on its first command.
Choose Workstation when: “I want agents on my machine”, with or without the dashboard.
The fastest way in is the Onboarding Wizard, which scion server start opens automatically on first run; then follow the Tutorial. For the mechanics of the combo server, network bridges, and lifecycle, see Workstation Server Mode.
Single-node hosted
Section titled “Single-node hosted”A hosted deployment whose control plane runs as a single Hub instance on one compute node, keeping state in an embedded SQLite database. It is non-HA — it accepts restart/redeploy downtime and single-volume durability — in exchange for low cost and operational simplicity. Realized as a single VM (for example the Developer Hub or single-node-vm scripts) or a single Cloud Run instance backed by SQLite. “Single-node” scopes the control plane only; agents may run on other nodes.
Choose Single-node hosted when: “A cheap, shared Hub for me or a small team.”
Because it is networked, this tier forks into a user journey (connect, dispatch, collaborate) and a moderate admin journey (provision the node, configure auth and secrets). See Hub Setup.
HA hosted
Section titled “HA hosted”A hosted deployment whose control plane is replicated across multiple Hub instances behind a load balancer, backed by an external managed database (Cloud SQL Postgres) and object storage (GCS), with stateless proxy/hosted brokers. It is highly available and durable — surviving node loss and redeploys without downtime — at the cost of running and paying for that external infrastructure. Realized by the Cloud Run deployment (Cloud Run with min-instances ≥ 2 plus Cloud SQL).
Choose HA hosted when: “A durable, always-on, multi-user platform.”
This tier requires the fullest user/admin split: admins provision Postgres, object storage, load-balanced Hub replicas, proxy/hosted brokers, identity providers, and observability; users largely reuse the hosted-user journey. See Hub Setup for the deployment tracks.
How to choose
Section titled “How to choose”- Agents on my machine, just me → Workstation. One command (
scion server start) and the onboarding wizard; the CLI and the dashboard both use it. - A shared Hub on the network, kept cheap and simple → Single-node hosted. One VM or Cloud Run instance with SQLite; accepts downtime.
- A durable, always-on platform for a team → HA hosted. External Postgres, object storage, and replicated Hub instances.
The two questions that resolve almost every case: Does anyone besides me, on another machine, need to reach the Hub? (Workstation vs. hosted), and if so, Do I need it to stay up through restarts and node loss? (Single-node vs. HA). Tenancy — single- or multi-user — is a separate switch you set once you are hosted.
See also
Section titled “See also”- Core Concepts — Agent, Project, Hub, Runtime Broker, and the state model.
- Glossary — canonical definitions for every term used here.
- Onboarding Wizard — the guided setup for Workstation mode.
- Workstation Server Mode — running the combo server locally.