✨ Open Source Durable Execution Platform

Build workflows
that never fail

Workflows are plain TypeScript.
Aiki lives inside your app — no separate service to deploy, unless you want one.

Never Lose Progress

Workflows that run for minutes, days, or months. Survive crashes and restarts automatically — pick up where you left off.

Built-in Fault Tolerance

If a worker crashes, another picks up the work automatically. Failed tasks retry based on your policy. Reliability without the complexity.

Topology Is Your Choice

Run all of Aiki inside your app, or split it apart — the server in its own process, workflows executing on a fleet of workers or serverless functions.

Run in Your Environment

Workers execute in your infrastructure, not ours. Keep complete control over where your code runs and data lives.

Developer-First

Workflows are just async functions with full TypeScript support. No complex abstractions — just code you already know how to write.

Workflow Versioning

Deploy new workflow versions without breaking existing runs. Old versions continue running while new instances use the latest code.

No DSLs, no YAML, just TypeScript

import { event, workflow } from "@aikirun/workflow";
import { activateTrial, downgradeToFree } from "./tasks";

export const trialV1 = workflow({ name: "subscription-trial" }).v("1.0.0", {
  async handler(run, input: { userId: string }) {
    // Tasks retry automatically on failure
    await activateTrial.start(run, input.userId);

    // Wait until payment is received or the 14-day trial expires
    const result = await run.events.paymentReceived.wait({ timeout: { days: 14 } });
    if (result.timeout) {
      await downgradeToFree.start(run, input.userId);
    }
  },
  events: {
    paymentReceived: event(),
  },
});
🚀 COMING SOON

Aiki Cloud

Managed infrastructure. Zero operations.
Same great developer experience.

✓ Thanks! We'll notify you when Aiki Cloud launches.