AI-Optimized Documentation

Build local-first AI workflows with explicit provider control. No gateway tax, no vendor lock-in.

Get Started in 30 Seconds

const result = await relay
  .workflow("invoice-processor")
  .step("extract").with("openai:gpt-4o").prompt("Extract data")
  .step("summarize").with("anthropic:claude-sonnet-4-20250514").depends("extract")
  .run(inputFile);

Recent Updates

25+ workflow examples - Invoice processing, SEO audits, contract analysis, and more

Added in this release

SDK v3 API - New fluent builder with type-safe workflow definitions

New in v3

Multi-provider support - OpenAI, Anthropic, xAI, Google, and local models

Core feature