Your editor, your repository, your terminal.

Volvel is code first. Scripts, flows, tables and apps are TypeScript in a repository you own, and the console is a peer: what's made there comes back to your files with one command.

A short loop, from idea to a running thing.

  1. 1Write

    TypeScript and zod in your editor, with the SDK's types. volvel run tries a script on your machine; volvel dev reloads an app against a workspace's real data.

  2. 2Ship

    run --remote tries a build on the instance without deploying it. Deploy to dev, then promote the same bundle to production.

  3. 3Watch

    logs -f follows a run as it goes. A failure opens at the line that threw, in the version that ran.

A repository you'd recognise.

A tenant is a normal TypeScript project. What has logic is code; what has none is a YAML file the console can edit too; who may do what can live beside both.

  • Every resource has one owner: the code that defines it, or a file. The build refuses one defined in both places, and names both.
  • Keep files wherever suits you. volvel.yaml says where to look.
  • The repository is complete and deployable with only the public core. No private dependency, ever.
examples/higher-ed-devicestree
src/
  model.ts           # tables and events
  scripts.ts         # nine scripts
  flows.ts           # the review flow
  apps.ts            # roles and bindings
platform/
  desk.app.yaml, borrow.app.yaml
  screens/desk.interface.yaml
  reports/lending.dashboard.yaml
  reports/loans-by-month.query.yaml
  loans/days.variable.yaml
  loans/overdue-each-morning.schedule.yaml
tenant/
  groups/tech-desk.group.yaml
  service-accounts/helpdesk-assistant.service_account.yaml

The SDK, at a glance.

One package for what runs on the instance, one for the browser, one for the components. Everything a define* call writes has a JSON Schema in the repository.

CallWhat it defines
defineTableColumns, choices, references, indexes and row rules. Its row types flow into every script and app that uses it.
defineScriptzod input and output, what it may reach, retries, timeouts, concurrency, a worker pool and an agent tool name.
defineFlowTriggers and steps, with trigger.* and step.* builders and expressions checked at build.
defineQueryOne SELECT with typed parameters, run under each caller's row rules.
defineApp, defineInterfaceA React app built from your source, a page of widgets, or a folder of documentation served as a site.
defineConnection, defineVariableWhat a workspace must bind before the code can run there.
defineSchedule, defineWebhook, defineEventWays in, and messages between scripts and flows.
defineRole, defineBindingWho may do what, at which scope, reviewed with the code it governs.
@volvel/app, @volvel/uiTyped rows, runs and the session in the browser, and the console's own components for your apps.

The build catches it first.

volvel build runs the same checks the instance does, on your machine, before anything is uploaded.

  • A definition that isn't exported, or two exported under one name.
  • A reference to a script, table, flow or event that isn't there.
  • Two agent tools with one name, or a flow step nothing can reach.
  • A documentation page with a broken link or a term nobody defines.
  • A move that would drop a resource's runs or rows, with the key to add instead.
src/scripts.tsdefineScript
export const submit = defineScript({
  path: "lending/requests/file",
  key: "requests/submit",   // the path it had
  title: "Submit a device request",
  mcp: { name: "submit_device_request" },
  // …
});

// deploy: renamed script requests/submit -> lending/requests/file

From the SDK guide. Its runs, bindings and tool name stay, and the old path answers for 90 days.

The parts you'd build yourself, built.

Contracts on everything
zod on scripts, typed rows in apps, JSON Schema for every resource kind, and editor completion for the YAML files.
Git as the source of truth
Two-way sync with the console's drafts. pull brings console work into your files.
Migrations that keep data
Declare the table you want. Renames keep their data, and nothing is dropped by a deploy.
Environments that hold
Immutable bundles, promotion without a rebuild, and secrets bound per workspace, never in the repo.
Wired into your stack
OpenTelemetry traces, Prometheus metrics, and an OpenAPI description of the whole API at /openapi.json.
Agents included
Every script can be an MCP tool, scoped by a service account and checked by its schema.

What it is, and isn't, today.

Better you hear it here than find it in week two.

  • Scripts are TypeScript. More languages are planned, and the design leaves room for them.
  • Outside databases are Postgres. SQL queries read the workspace's own tables, and only read.
  • Each run gets its own process and a memory cap. It isn't a sandbox for untrusted code: everyone who writes code for a tenant is someone you trust.
  • The flow editor ships five ready-made steps. Everything else is a script, which can become a step of its own.
  • The MCP server is tested with the protocol's own client library over streamable HTTP.

Clone it and run something tonight.

One machine, Docker Compose, and the examples to start from.