Durable Functions & Workflows
Workflows that survive anything. Replace manual retry logic with automatic checkpointing. Your AI workflows resume exactly where they failed - no lost progress. Works with Python, TypeScript, Go, and Rust.
@workflow
async def analyze_document(document_url: str):
# Automatically checkpointed - survives crashes
text = await step.run("extract",
lambda: extract_text(document_url))
# Resumes here if previous step succeeded
summary = await step.run("summarize",
lambda: llm.summarize(text))
return summary Automatic Checkpointing
Write workflows as normal code. No manual retry logic needed. The runtime automatically checkpoints progress at each step. If your workflow crashes, it resumes from the last successful checkpoint - no lost work.
Multi-Language Support
Works with Python, TypeScript, Go, and Rust. Use the language you're comfortable with. All SDKs provide the same durable execution guarantees.
Human-in-the-Loop
Built-in support for approval workflows. Pause execution and wait for human input. Workflows maintain state while waiting - resume exactly where they left off.
Error Recovery
Automatic retries with exponential backoff. Configure retry policies per step. Failed steps don't affect completed work - the workflow continues from where it failed.