AI Workflow Network Visualization
5-Minute SetupZero Config BYOKNo Surprise Bills

The Local-First AI
Workflow Engine

Orchestrate multi-step AI workflows with any model. Run locally with zero latency or deploy to cloud. Full observability. No gateway tax.

$npm install @relayplane/sdk

QUICKSTART

import { relay } from "@relayplane/sdk";
const result = await relay
.workflow("invoice-processor")
.step("extract")
.with("openai:gpt-4o-2024-08-06")
.prompt("Extract invoice fields...")
.step("validate")
.with("anthropic:claude-sonnet-4-20250514")
.depends("extract")
.run({ document: inputFile });

Runs in 30 seconds with your own provider keys. Zero config BYOK.

LIVE NOW

One API for every AI model

Route between OpenAI, Anthropic, Google, xAI, and Ollama in seconds.

Run Workflows Offline
No internet required. Ever. Execute workflows completely offline with zero external dependencies. Your data never leaves your infrastructure.
Zero Gateway Tax
Save $500/month at $10k API spend. No markup on API costs. Pay providers directly. Save 5% on every request compared to gateway services.
Ship in 5 Minutes
npm install to production. From zero to deployed workflow. No setup. No config. Just install and run.
Multi-Provider Support
OpenAI, Anthropic, Google Gemini, xAI, and local LLMs with unified API. Switch providers without changing code.
Built-in Retry Logic
Exponential backoff with jitter. Handle rate limits and transient failures automatically. Configurable per step.
Structured Extraction
JSON Schema validation with strict mode (OpenAI) and prompt engineering (others). Type-safe outputs guaranteed.
MCP Tool Integration
Call external tools as workflow steps. Connect to CRMs, GitHub, Slack, or any MCP-compatible server. Mix AI + API calls.
Conditional Branching
Skip steps based on runtime conditions. Route workflows dynamically with JavaScript expressions.
Parallel Execution
Independent steps run concurrently. DAG-based execution maximizes throughput automatically.
Step Timeouts
Per-step and workflow-level timeout control. Prevent runaway executions with configurable limits.
New
Model Fallback
Automatic failover to backup models. Chain providers for maximum reliability when primary models fail.
Cloud
Webhooks
Trigger workflows via HTTP endpoints. Integrate with any service that can send webhooks.
Cloud
Scheduled Execution
Cron-based workflow automation. Run workflows on any schedule without infrastructure.
Cloud
KV Store
Persistent key-value storage across runs. Share state between workflows with TTL support.
Cloud
Telemetry
Built-in observability. Track token usage, latency, and costs per step automatically.

What Changes When You Use RelayPlane

The Old WayThe RelayPlane Way
Different SDK for each providerOne SDK, every provider
Agents generate inconsistent patternsCopy-paste examples that just work
Magic model resolution breaks silentlyExplicit provider:model — what you write is what runs
DIY retry, fallback, cachingBuilt-in reliability
Observability is an afterthoughtTelemetry from day one
Tool calls need separate plumbingMCP steps native in workflows

Production Templates

Pre-built workflows ready to deploy

Finance
OpenAI
Invoice Processor
Extract, enrich, and summarize invoice data from images or PDFs.
Extract invoice details
Add business insights
Generate summary
View Template
Legal
Anthropic
Contract Analyzer
Review contracts, extract key terms, identify risks, and generate recommendations.
Extract key terms
Identify risks
Generate recommendations
View Template
Productivity
OpenAI
Meeting Notes
Convert transcripts into structured notes with action items and follow-ups.
Structure transcript
Extract action items
Draft follow-up email
View Template
Marketing
OpenAI
SEO Optimizer
Analyze content for SEO, suggest improvements, and generate optimized meta tags.
Analyze SEO quality
Suggest improvements
Generate meta tags
View Template
Support
Anthropic
Support Ticket Handler
Categorize, prioritize, and draft responses for customer support tickets.
Categorize & prioritize
Draft response
Add signature & next steps
View Template
+20

More templates in docs

Browse All
FOR AI AGENTS

90% Less Context, 100% Verified Code

The RelayPlane MCP Server lets Claude Code, Cursor, and other AI agents orchestrate multi-step workflows with massive context savings.

ONE-LINE INSTALL

$claude mcp add relayplane -- npx @relayplane/mcp-server
90%+
Context Reduction

Intermediate results stay in the workflow engine, not your context window

7
MCP Tools

Run workflows, list models, discover skills, view traces

20+
AI Models

OpenAI, Anthropic, Google, xAI with unified interface

ToolPurposeCost
relay_workflow_runExecute multi-step workflowsProvider cost
relay_runSingle model callProvider cost
relay_workflow_validateValidate DAG structureFree
relay_skills_listDiscover pre-built patternsFree
relay_models_listList available modelsFree

Why RelayPlane Works

Built on principles that eliminate common AI workflow bottlenecks

No network overhead

Local execution means zero latency between steps. Your workflow runs at the speed of your machine, not your internet connection.

No API gateway bottleneck

Direct connections to providers eliminate the middleman. No queue, no rate limits beyond the provider's own.

Direct provider connections

Your API keys talk directly to OpenAI, Anthropic, Google, or xAI. No proxy, no logging, no security concerns.

Type-safe from end to end

Full TypeScript support with Zod schemas. Catch errors at compile time, not runtime. IntelliSense guides you through every step.

Simple, Transparent Pricing

No usage fees. No gateway tax. Pay for features, not tokens.

Free
$0
  • 100 runs/month
  • 1M tokens/month
  • 1 cloud workflow
  • Community support
Start Free
Starter
$29/mo
  • 1,000 runs/month
  • 10M tokens/month
  • 10 cloud workflows
  • Run history & logs
  • Email support
Start Free Trial
Popular
Pro
$99/mo
  • 10,000 runs/month
  • 100M tokens/month
  • Unlimited cloud workflows
  • Webhooks + schedules
  • Team access (5 seats)
Start Free Trial
Scale
$399/mo
  • 50,000 runs/month
  • 500M tokens/month
  • High-frequency schedules
  • Team access (20 seats)
  • Priority support
Start Free Trial
Enterprise
Custom
  • Unlimited runs & tokens
  • SAML SSO
  • VPC deployment
  • Unlimited seats
  • Dedicated support
Contact Sales

Frequently Asked Questions

How does BYOK work?

Bring Your Own Keys means we never proxy or store your API keys unless you choose to encrypt them in your dashboard. Security by design, not as an add-on. You maintain direct relationships with AI providers like OpenAI, Anthropic, and Google, with complete transparency and no markup costs.

Do you store my API keys?

On the Free plan, keys are passed inline or via environment variables—we never store them. On paid plans (Starter and above), you can optionally store keys in our dashboard, encrypted with AES-256. You can always use inline keys instead of dashboard storage.

How does pricing work?

RelayPlane pricing is simple and transparent. Free gives you 100 runs/month. Starter ($29/month) adds 1,000 runs and cloud telemetry. Pro ($99/month) unlocks webhooks, schedules, and team access. Scale ($399/month) adds high-frequency schedules and priority support. Enterprise gets custom SLAs.

What is MCP?

MCP (Model Context Protocol) lets you call external tools as workflow steps. Connect to CRMs, GitHub, Slack, or any MCP-compatible server. Mix AI steps with API calls in a single DAG workflow.

Do I need MCP to use RelayPlane?

No! MCP is optional. Most workflows only use AI steps. MCP is useful when you need to integrate external tools like CRMs, databases, or APIs into your workflow.

Which providers are supported?

RelayPlane supports OpenAI (including GPT-4o vision), Anthropic (Claude), Google (Gemini), xAI (Grok), and local LLMs via Ollama. All providers use the same unified API. Switch providers with a single line of code.

What happens if workflows fail?

RelayPlane includes built-in exponential backoff with jitter. Configure retry logic per workflow step. Handle rate limits and transient failures automatically. All error states are tracked and logged for debugging.

Start Building Today

No gateway tax. No lock-in. Full control. Join developers building the future of AI workflows.