DomainRuntimedocs
Reference
VerifiedWhat works todayReviewed 2026-09-23

Status

What runs in production today, what is built but not public, and what is designed.

These docs describe the product we are building, and every page says how much of it you can use today:

  • Verified — copy the first code block and it runs in production today.
  • Guide — the mechanism runs today; some helpers shown are planned and marked inline, with a Today block.
  • Planned — designed, not available yet.

Running in production

Runtimeone Rust service serving every environment: queries, live subscriptions, permissions, actions, executions, files, streams
DataPlanetScale Postgres in sa-east-1, a primary and two replicas
FilesAmazon S3 in sa-east-1, private, encrypted, versioned
Query languagewhere with equality, $ne, $in, $gt/$gte/$lt/$lte, $isNull, $like/$ilike, and/or, link paths; order; limit/offset; cursors (first/after, last/before, top level); nested links; fields
Permissionsper-entity CEL rules for view, create, update, delete, link, unlink; auth, data, newData, data.ref, auth.ref, ruleParams, bind, fields, $default
ActionsZod input and output checked by the runtime; execution records; one run per request id; the caller captured at admission and read with runtime.auth; reads and writes as the caller, in development and production
Schema on publishapplied the same way in development and production, checked against stored data; confirmed removals are soft-deleted and restorable for 2 days
Workflowsdurable runs in production releases, started and followed through the runtime
Identitypeople, organizations and one service key per organization; user tokens per environment, validated on every request
Projects and foldersorganizations, projects, folders and environments in the console
Development loopdruntime publishing on save to a development environment (CLI not on npm yet)
HTTP APIevery route on the HTTP API page

Built, not yet public

Missing to be public
CLI (druntime): development session, projects, folders, environments, releases with push, run, querynpm release; query and input issues also need the kernel release with /query?format=objects
Platform SDK (@domainruntime/platform)npm release, and the public shape on its page
Testing helpers (@domainruntime/testing)npm release
Sandboxesself-service access and per-organization limits
Workflows inside DomainRuntime's own runtimeproduction adoption

Designed, not built

Page
runtime.tx, runtime.query inside actions (today: runtime.db())Actions
@domainruntime/react: init({ domain }), db.useQuery, db.actions.<domain>.<action>, db.authReading data, Users
Action scopes: who may run an action, by permissions, roles or custom scopes (today any signed-in user can run any action)Actions
Workflow actions in development environmentsLocal development
withSchema without empty links and roomsModeling data
withPermissions in the domainPermissions
db.storage, runtime.files, runtime.streams, db.streamsFiles, Streams
Error codes of your own on thrown errors; conditional writesError handling, Guarantees
env.users.mintToken; several scoped service keys and rotationUsers, Service keys
druntime release rollback, druntime keysCLI
The project layout generated by create-appProject structure

Later

Presence, rooms and cursors for collaborative apps; offline support; server-side rendering helpers; scheduling an action for later.

On this page