Dispatch code-editing sub-agents to the right model with cost caps, secrets isolation, and a per-dollar ledger. MCP-native. Open source.
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.
Your orchestrator (Claude Code, Cline, etc.) calls
mcp__xanadu__dispatch_agent; Xanadu spawns the right CLI
subprocess under a hard timeout.
Per-run and per-month budget gates run before AND after each dispatch. Refuse the run, write a structured ledger row.
One JSONL row per dispatch with raw cost, markup, status, dispatch_id. Stripe-ready aggregate exports built in.
Every agent-authored commit carries an
Agent-Dispatch-ID trailer linking back to the ledger row
that paid for it.
Per-tenant markup, monthly caps enforced at dispatch time, hot-reloaded
tenants.json. Atomic budget under fcntl.flock.
Customers send their provider keys in
X-Anthropic-Key / X-OpenRouter-Key headers;
the dispatch bills against their quota. Keys never persist.
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
}
}
}
}
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
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.
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.