● live · public beta

Xanadu

Dispatch code-editing sub-agents to the right model with cost caps, secrets isolation, and a per-dollar ledger. MCP-native. Open source.

Get started GitHub v0.0.2 · MIT · runs at xanadu.run/mcp

Why this exists

Teams spending $10K–$50K/mo on Cursor Cloud Agents (or similar wrapped-LLM tooling) want three things from the wrapper: route the task to the right model, cap what each run can cost, and see every dollar in one place. Xanadu does that with no vendor lock-in — bring your own provider keys, point your orchestrator's .mcp.json at the server, dispatch.

What you get

Sub-agent dispatcher

Your orchestrator (Claude Code, Cline, etc.) calls mcp__xanadu__dispatch_agent; Xanadu spawns the right CLI subprocess under a hard timeout.

Cost caps that enforce

Per-run and per-month budget gates run before AND after each dispatch. Refuse the run, write a structured ledger row.

Per-dollar ledger

One JSONL row per dispatch with raw cost, markup, status, dispatch_id. Stripe-ready aggregate exports built in.

Provenance trailers

Every agent-authored commit carries an Agent-Dispatch-ID trailer linking back to the ledger row that paid for it.

Multi-tenant + markup

Per-tenant markup, monthly caps enforced at dispatch time, hot-reloaded tenants.json. Atomic budget under fcntl.flock.

BYOT keys

Customers send their provider keys in X-Anthropic-Key / X-OpenRouter-Key headers; the dispatch bills against their quota. Keys never persist.

Quick start

Hosted — paste-and-go

Wire your orchestrator's .mcp.json at xanadu.run/mcp. Email hello@xanadu.run for a tenant id (10 seconds, no card).

{
  "mcpServers": {
    "xanadu": {
      "type": "http",
      "url": "https://xanadu.run/mcp",
      "headers": {
        "X-Xanadu-Tenant-Id": "your_tenant_id",
        "X-Anthropic-Key": "sk-ant-..."     // optional BYOT
      }
    }
  }
}

Self-host — free, OSS

git clone https://github.com/wkasel/xanadu && cd xanadu
uv venv && source .venv/bin/activate
uv pip install -e .
xanadu doctor                                # verify install
xanadu dispatch code-reviewer "Review HEAD~1..HEAD"
xanadu ledger summary                        # totals by agent / model / status

Pricing

Self-host: free, MIT-licensed, runs anywhere you run Python.

Hosted (public beta): $0.25 per 1M tokens routed, capped at $50/mo. No seat fees, no commitment. Bring your own provider keys and we never see your raw LLM cost.

Status

Public beta. The dispatcher, MCP wiring, ledger, budget caps, provenance trailers, multi-tenant flow, BYOT keys, and the HTTP admin signup endpoint all work and have ~400 tests at 90%+ line coverage behind them. The hosted runner is live at xanadu.run/mcp as of June 2026.

Things still rough around the edges: customer-self-service signup (operator-mediated for now), scheduled billing push, email notifications for near-cap warnings.