VaakLoom
⚡ Reactive Orchestration · TypeScript & Python · Sub-millisecond

Weave any API into a resilient orchestration

VaakLoom is an ultra-lightweight, reactive API orchestration engine and control plane. Run your DAG workflows, Hub control plane, SQLite telemetry, Snapline regression tests, and RBAC in a single resilient process without heavyweight runtimes.

orders-orchestration.workflow.ts
Live DAG
import { workflow, map, when, fanOut, branch, mockApi } from "@vaakloom/engine";

export const orderFlow = workflow("orders-create")
  .route("POST", "/orders")
  .search("orderId", "tenantId")
  .steps(
    map("annotate", { mergeInput: true, set: { tenantId: "{{attrs.tenantId}}" } }),
    when("{{input.amount}} > 1000", [
      map("flagVIP", { mergeInput: true, set: { vip: true } })
    ]),
    fanOut("weave", [
      branch("inventory", mockApi("checkInv", { stock: true, ms: 12 })),
      branch("fraudCheck", mockApi("evalScore", { score: 98, ms: 18 })),
    ], { id: "join", kind: "map", config: { set: { status: "approved" } } })
  )
  .build();
Execution Flow
annotate
when(amount)
⚡ fanOut: inventory
⚡ fanOut: fraudCheck
join(merge)
200 OK
✓ Completed in 21.4ms · 4 step traces emitted
< 1ms
Engine Overhead
0
Heavy Worker Runtimes
100%
TypeScript & Python Parity
8+
Protocol Adapters

Built for High-Throughput API Orchestration

Everything needed to compose, execute, observe, and test microservice workflows without operational sprawl.

Fluent DSL & DAG Engine

Compose declarative workflows with type safety. Branch, join, retry, delay, and template with clean, self-documenting syntax.

Nested Parallelism

Run asynchronous tasks inside parallel fanouts. Merge results dynamically with built-in concurrency controls and soft timeouts.

Zero-Leak Telemetry

Every step emits app and data telemetry. Persisted asynchronously to SQLite and Prometheus without bloating request memory.

Visual Hub Control Plane

Interactive web UI for workflow authoring, live trace inspection, Prometheus metrics, RBAC management, and deploy bundle export.

Modular Adapters

Install only what you use. Ready built-in REST, map, and mock APIs, with modular packages for GraphQL, gRPC, WebSocket, SSE, and SQL.

Snapline Regression Tests

Built-in deterministic snapshot testing. Verify API orchestration outputs, latency contracts, and state diffs automatically in CI/CD.

Ready to orchestrate your APIs with VaakLoom?

Get started in minutes with our TypeScript SDK or standalone CLI. Full platform with SQLite and Hub control plane included.

Get Started Now → Try Interactive Demo