v0.1.0 Released•Open-Source Durable Workflow Engine

Durable workflows.
Zero infrastructure.

ApexFlow is a lightweight, code-first workflow orchestration engine. Define durable, fault-tolerant Python pipelines with automatic step checkpointing, client-side zero-knowledge encryption, and instant observability—without managing complex brokers or database clusters.

Zero Ops (REST API Key)
Automatic Step Memoization
Client AES-256-GCM E2EE
Auto Payload Offload (>250KB)
Quickstart Journey

How to use ApexFlow at a glance

From zero to running resilient, durable production workflows in four straightforward steps.

01

Create Your Account

Sign up on the ApexFlow cloud control plane in seconds. No credit card, complicated clusters, or database installations required.

1-Click Setup
02

Generate Project Key

Head to Project Settings and generate your secure API key (af_live_...). Your workflows and workers are instantly tenant-isolated.

Scoped Auth
03

Connect with Python SDK

Install apex-flow-sdk via pip. Wrap your Python functions with @client.workflow and execute durable steps using ctx.step(...).

pip install apex-flow-sdk
04

Observe & Control Live

Track execution timelines in real time. Inspect step checkpoints, automatic retries, worker heartbeats, and client-decrypted payloads.

Turnkey UI
example_workflow.py — ApexFlow Python SDK
from apex_flow_sdk import ApexFlowClient, WorkflowContext

# 1. Initialize client with your project API key
client = ApexFlowClient(project_key="af_live_your_key_here")

# 2. Define workflow with durable, memoized steps
@client.workflow(name="customer-onboarding-pipeline")
async def onboard_customer(ctx: WorkflowContext, payload: dict):
    # Step 1: Create billing account (memoized on completion)
    account = await ctx.step(
        "create-stripe-customer",
        lambda: {"customer_id": f"cus_{payload['email'].split('@')[0]}"},
    )

    # Step 2: Provision cloud workspace (with automatic retries)
    workspace = await ctx.step(
        "provision-workspace",
        lambda: {"workspace_url": f"https://app.example.com/{account['customer_id']}"},
        max_attempts=3,
    )

    # Step 3: Send confirmation notification
    await ctx.step(
        "send-welcome-email",
        lambda: {"email_sent": True, "to": payload["email"]},
    )

    return {"status": "active", "workspace": workspace}

# 3. Start worker
if __name__ == "__main__":
    import asyncio
    asyncio.run(client.start_worker())
Enterprise Durability

Engineered for resilience, speed, and privacy

Everything required to orchestrate mission-critical workflows without the burden of managing complex distributed infrastructure.

Durable Step Checkpointing

Each step is memoized upon completion. If a 5-step pipeline encounters a network glitch at Step 4, restarting it skips Steps 1–3 and resumes instantly at Step 4.

Zero-Knowledge Encryption (E2EE)

Sensitive payloads are encrypted on your worker using authenticated AES-256-GCM before transmission. The control plane holds only ciphertext, decrypted client-side in your browser.

Zero Infrastructure to Manage

Connect workers over standard HTTPS REST. No Kafka clusters, Redis brokers, or Cassandra databases to deploy, maintain, or keep alive.

Transparent Large Payload Offload

Payloads exceeding 250KB are transparently offloaded to Cloudflare R2 or S3 with lightweight pointer descriptors dereferenced automatically by the SDK.

Advanced Flow Control

Fine-grained step execution delays, run-level execution timeouts, integer priority queuing, and trigger event debouncing for rapid webhook bursts.

Time-Travel Debugging & Forking

Branch execution from any prior step checkpoint (POST .../fork?from_step=N) to diagnose bugs and replay altered inputs without re-running entire pipelines.

Architecture Comparison

How ApexFlow compares

The code-first ergonomics of DBOS, paired with a turnkey, zero-ops cloud control plane.

FeatureApexFlow ⚡DBOS TransactTemporal.ioCelery + Redis
Developer ErgonomicsCode-First (Python)Code-First (Python/TS)Complex SDK / DSLDecorator-based
Infrastructure SetupZero Ops (REST API Key)Direct PostgreSQL ConnHeavy (Clusters + ES)Medium (Redis / RabbitMQ)
Durable Step Resumption✅ Yes (Step Memoization)✅ Yes✅ Yes❌ No (Whole task fails)
Zero-Knowledge Encryption✅ AES-256-GCM Client E2EE❌ No❌ Custom Data Converter❌ No
Turnkey Web Dashboard✅ Included (Next.js)❌ No native cloud UI✅ Heavy Web UI⚠️ Basic (Flower)
Large Payload Offload✅ Automatic R2/S3 (>250KB)❌ Manual⚠️ 2MB hard ceiling❌ Broker bloat
Time-Travel Forking✅ POST .../fork?from_step=N✅ Supported⚠️ Replay only❌ No
Open Source & Community

Contribute, collaborate, or get direct help

ApexFlow is 100% open source. Whether you want to contribute new language SDKs, report an edge case, propose architectural improvements, or need direct help setting up workflows in your stack—I'd love to connect.