Vlo documentation
Durable execution for workflows and AI agents, as a library on the database you already run. Vlo keeps long-running work alive through crashes and restarts: an agent on its fortieth step, a render that takes three hours, an approval that takes two days.
| What you get | Read more | |
|---|---|---|
| Tiny | A 298 KB kernel inside your process. No cluster, no broker, no service to stand up. | Why Vlo |
| Performant | One transaction per step, and a resume that costs the same at 38 events and at 20,000. | Performance |
| Reliable | Nothing is acknowledged before it is saved, and every checkpoint is hash-checked. | Reliability |
| Efficient | A waiting run holds no compute. An agent that reaches its budget parks instead of burning money. | Why Vlo |
| Built for the edge | A kernel with no I/O that runs anywhere wasm runs. The edge host is not built yet. | Status and roadmap |
All five come from one design principle: a workflow is a pure reducer, (state, event) → (state, commands). An event comes in, new state and commands come out, and both are saved in one database transaction. Between events a run is only rows in your Postgres or a SQLite file, so nothing has to be kept alive, captured or replayed.
Start here
| If you are | Start with |
|---|---|
| New to Vlo | Getting started: a run on your laptop in ten minutes, then kill the process and watch it continue. |
| Building an AI agent | Build an agent harness: a loop that survives crashes, stays inside a budget and waits for people. |
| Deciding whether to adopt it | Why Vlo, then Performance, Reliability and Status and roadmap. |
| Looking for a how-to | Recipes and the FAQ. |
| Taking it to production | Deployment, Configuration and Limits. |
All pages
| Page | Read it when |
|---|---|
| Evaluate | |
| Why Vlo | You want the argument: what durable execution costs today, what Vlo changes, and what it does not have yet. |
| Performance | You want measured numbers, with their setup and their limits. |
| Reliability | You want to know exactly what Vlo guarantees and how. |
| Status and roadmap | You want to know what is built and what is planned. |
| FAQ | You have an objection or a quick question. |
| Build | |
| Getting started | You want a run going on a laptop in ten minutes. |
| Concepts | You need the vocabulary: run, step, event, command, role, profile. |
| Workflows | You are writing a reducer, or using sequence, fanOut, waitFor, sleep. |
| Activities and workers | You are implementing the code a task runs, in-process or over HTTP. |
| Signals and humans | A run has to wait for a person, a webhook or a deadline. |
| Build an agent harness | You are building an agent end to end. |
| Agents | You need the @oona/vlo/agent reference: options, step ids, state and result. |
| Testing | You are testing a reducer, a workflow or an agent. |
| Recipes | You want a short answer to "how do I…". |
| Operate | |
| Configuration | vlo.config.ts: profiles, queues, roles, dispatcher mode, env(). |
| CLI | vlo dev, vlo serve, vlo doctor, vlo deploy. |
| Deployment | Long-lived hosts, serverless hosts with a cron, pull workers. |
| Observability | The journal as the trace, usage accounting, the side channel, health. |
| HTTP API | Every route, its auth, its JSON, the SSE stream, push and poll. |
| Journal | The tables, the Postgres and SQLite adapters, blob stores, URL forms. |
| Errors | Host errors, kernel error codes, vlo doctor hints and what to do. |
| Limits | Payload caps, size budgets, known weak spots, what edge runtimes cannot do yet. |
| Internals | |
| Architecture | Layers, the write path, the task lifecycle, how roles split across processes. |
| Kernel protocol | The JSON-in / JSON-out contract between host and kernel, hashing, fixtures. |
| Design decisions | Why a reducer, why the journal is the queue, why Rust on wasm. |
Generated API reference
Both are published with these pages at https://oonalab.github.io/vlo/.
- TypeScript (
@oona/vloand its/host,/agentand/testingentries): oonalab.github.io/vlo/api/. TypeDoc writes a page for every exported symbol intodocs/api/. Build it locally withpnpm --filter @oona/vlo docs:api; the output is not committed, so you will not find it in a checkout. - Rust (
vlo-types,vlo-kernel,vlo-kernel-wasm,vlo-traits): oonalab.github.io/vlo/rustdoc/. Build it locally withcargo doc --workspace --no-deps --openfrom the repository root.
Conventions used in these pages
- Paths are relative to the repository root unless they start with
src/, in which case they are relative tosdk/ts/sdk/. - Wire fields are
snake_case(cost_micro_usd); authoring options arecamelCase(costMicroUsd). The wire form is what you see in the journal and on the HTTP API. - Every instant is a millisecond Unix epoch and every such column or field ends in
_ms.