AGENT OPS PLATFORM
LOCAL-FIRST • OPEN SOURCE
RELAYPLANE
LOCAL-FIRSTOPEN SOURCE

OpenRouter routes.
RelayPlane observes,
governs, and learns.

Agent ops for OpenClaw power users.
Your agents make hundreds of API calls per session. You should know what's happening — and have control over it.

$npx clawhub@latest install relayplane
RUN #a3f7ccompleted
Provideranthropic
Modelclaude-opus-4-5
Authapi_key
Tokens12,847 in / 2,341 out
Cost$0.47
Latency1,203ms (TTFT: 412ms)
Toolsread_file, write_file, exec
Routingcapability:tool_use → opus
// WHY RELAYPLANE EXISTS

OpenClaw is Exploding

155K+ GitHub stars. Agents that write code, debug systems, and ship features autonomously. A single session can make 100+ API calls — and you have no idea what's happening inside.

The problem isn't routing. That's solved.

The problem is everything else:

Pain Point
Reality
No visibility
Agents are black boxes. You see the output, not the 47 calls that got you there.
No cost control
One runaway agent can burn through your budget before you notice.
No governance
Which models are allowed? Who approves expensive operations? ¯\_(ツ)_/¯
No learning
Every agent learns in isolation. Your org's patterns stay trapped in logs.
No audit trail
"What happened last Tuesday?" Good luck.

OpenRouter solved routing. RelayPlane solves ops.

// WHAT RELAYPLANE DOES

Three Pillars. One Platform.

01
OBSERVES

Learning Ledger

Captures everything. Every run, every decision, every outcome.

Query your runs. Export for audit. Replay decisions. All local, all queryable.

100%
EVERY RUN CAPTURED
FULL
DECISION EXPLAINABILITY
LOCAL
DATA LOCATION
run_record.json
┌─────────────────────────────────────────────────────────────┐
│ RUN #a3f7c                                                  │
├─────────────────────────────────────────────────────────────┤
│ Provider      anthropic                                     │
│ Model         claude-opus-4-5                               │
│ Auth          api_key                                       │
│ Tokens        12,847 in / 2,341 out                        │
│ Cost          $0.47                                         │
│ Latency       1,203ms (TTFT: 412ms)                        │
│ Tools         read_file, write_file, exec                  │
│ Routing       capability:tool_use → opus (fallback: sonnet) │
│ Outcome       ✓ completed                                   │
└─────────────────────────────────────────────────────────────┘
02
GOVERNS

Policy Engine

Enforces the rules before requests hit providers.

  • Budget caps — Per-run, per-day, per-agent, per-workspace
  • Model restrictions — Allowlists, denylists, approval gates
  • Tool restrictions — Control what agents can do
  • Context caps — Limit token usage per request

Policies evaluated. Violations blocked. Everything logged.

relayplane.policies.yaml
# relayplane.policies.yaml

- name: "Daily Budget Cap"
  type: budget.per_day
  limit_usd: 50
  action: deny

- name: "Opus Approval Gate"
  type: model.allowlist
  models: [claude-opus-*]
  action: require_approval
  approvers: [eng-leads]

- name: "No External Tools in CI"
  type: tool.denylist
  scope: { agent_tag: "ci-*" }
  tools: [browser, web_fetch]
  action: deny
03
LEARNS

Pattern Detection

Turns run history into actionable intelligence.

  • Detect failure patterns before they cost you
  • Surface optimization opportunities automatically
  • Promote successful configurations across your team
  • Keep the learning local — your patterns, your data
suggested_rule.log
┌─────────────────────────────────────────────────────────────┐
│ 💡 SUGGESTED RULE                                           │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ "Code review tasks succeed 94% with Sonnet, 96% with Opus. │
│  Cost difference: 10x. Suggest: route code_review → sonnet" │
│                                                             │
│ Evidence: 847 runs analyzed                                 │
│ Confidence: 0.91                                            │
│                                                             │
│ [Approve]  [Reject]  [Review Runs]                         │
└─────────────────────────────────────────────────────────────┘
// WORKS WITH YOUR SETUP

Flexible Auth. Your Choice.

RelayPlane doesn't dictate how you work. It adapts to how you already work.

Auth Mode
Best For
Automation
Claude Max
Interactive sessions, human-in-the-loop
Restricted by default
API Keys
Background agents, scheduled tasks, CI
✓ Always allowed
Permissive Mode
Power users who know the tradeoffs
✓ You own the risk

Safe Defaults. Override When You Know Better.

config.ts
// Default: recommended mode (safe)
workspace.auth_enforcement_mode = "recommended"

// Power users: permissive mode
workspace.auth_enforcement_mode = "permissive"
// ⚠️ Consumer auth now allowed for automation
// All overrides logged with auth_risk=true

Sub-Agents with Different Profiles

Need your main agent on Max but sub-agents on API keys? That's the pattern.

Human Session (Max) ──spawns──▶ Sub-Agent (API Key)
       │                              │
       └── interactive run            └── background run
           (consumer auth)                (API auth)

Each run = one agent = one auth profile. No mixing. Full traceability.

// ARCHITECTURE

The Flow

Every request passes through four stages. Every decision is logged.

ACTIVE

Your Agent

OpenClaw • Claude Code • Custom

RELAYPLANE
01

Auth Gate

Validate credentials

02

Policy Engine

Enforce rules

03

Router

Select provider

04

Learning

Detect patterns

Learning Ledger

Every run recorded

PROVIDERS

Anthropic

Claude

OpenAI

GPT-4

OpenRouter

100+ LLMs

Local

Ollama

RequestAuthPolicyRouteProviderLedger

Every decision logged. Every run explainable. Every pattern learnable.

// COMING SOON

Roadmap

We're building in public. Here's what's ahead.

Phase
What's Shipping
Status
Phase 1
Learning Ledger + Auth Gate + Basic Proxy
🔨 Building
Phase 2
Policy Engine + Budget Enforcement
📋 Next
Phase 3
Smart Routing + Fallback Chains
📋 Planned
Phase 4+
Explainability UI + Learning + Teams
🔮 Future

Join the waitlist to get early access as each phase ships.

// GET STARTED

Join the Waitlist

RelayPlane is coming soon. Local-first. Open source. Your data stays yours.

#Coming soon
$npx clawhub@latest install relayplane
OPEN SOURCEMIT LICENSEZERO TELEMETRYLOCAL-FIRSTYOUR DATA STAYS YOURS