Skip to main content

Standalone mode

Standalone is the executable default, not a reduced cloud-dependent profile. It runs with the .NET SDK, local files/SQLite, bounded local queues, deterministic AI, and at least one independent Runtime Worker process.

$env:AI__Provider = "Deterministic"
dotnet run --project src/Agentstration.Web
./scripts/runtime/start-maf-worker.ps1 -AuthorityUrl http://localhost:5100

On startup the authoritative server initializes module-owned stores and reconciles durable Runtime assignments. The Worker pairs on first manual launch, persists its own protected workload credential, and subsequently claims Runs through AWP; it never shares the server stores. Initial Bootstrap is optional. The standard Development launch profiles enable the ordered development Bootstrap profile for a fresh local instance and create the documented disposable admin / admin fixture; no credential or topology is implicit outside Development.

Initial Bootstrap exposes topology, Worker communications, built-in resources, extension contributions, profile resources and finalization as ordered stages. Authenticated Workers can connect after structure creation, before full readiness. Only server-admitted Bootstrap assignments are claimable until finalization; ordinary work, recovery and scheduling remain suspended. Discovery-bearing profiles use their normal durable Flow/AWP path and wait for a compatible Worker at the instruction that needs it. Purely declarative profiles need no Worker. See ADR-0253.

The direct host embeds the Console and uses a separately started Runtime Worker. Aspire starts its Workers after the authority process starts, without waiting for Bootstrap readiness; Compose uses its explicit Worker resource with the same startup ordering. There is no in-process execution fallback. Independently hosted Console and Workplace shells consume the authoritative APIs and own no business state. Deterministic AI remains the offline validation and fallback path; provider integrations are optional.

The local database preview consumes independently versioned server and Worker OCI deliveries by digest. Its two-container SQLite composition optionally adds a digest-pinned PostgreSQL container, following ADR-0078. It uses the existing Runtime and Bootstrap boundaries, keeps initial Bootstrap disabled unless explicitly configured, and requires no local inference or cloud account. This external packaging increment does not add a Runtime deployment orchestrator; see ADR-0255.

The optional Azure preview adapter wraps this same Compose lifecycle with external Bicep, OIDC and private OCI archive transfer. It creates no Azure dependency in the standalone product or its image packages. Its closed-ingress VM has no managed identity by default. Optional Bootstrap password delivery adds a host-only system identity scoped to one installation secret in a shared Azure Key Vault; a persistent container IMDS guard is installed before role assignment. This opt-in exception is recorded in ADR-0277 and adds no product Vault provider or Runtime dependency. Optional public preview access uses an owned outbound Cloudflare tunnel and an isolated credential-stripping local proxy, external to the Runtime. See ADR-0257 for transport/ownership and ADR-0259 for the protected route and remaining live qualification.

An optional authenticated SMTP notification in that external adapter can deliver the verified preview and Key Vault retrieval links to protected, fixed recipients. It never retrieves or emails the password; newly produced public results omit the Key Vault reference in email mode. Mail failure is reported independently from application availability. This adds no product notification service; see ADR-0278.