Cerver routes agent work to the right computer. Your app opens a session, Cerver picks a provider — your own machine via Cerver Connect or a cloud sandbox — and Cerver Runtime runs the work wherever it lands.
const session = await fetch("/gateway/sessions", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ task: "Boot a preview and run tests", requirements: { runtime: "node", timeout_minutes: 20 }, policy: { mode: "balanced" } }) }) await fetch(`/gateway/sessions/${sessionId}/run`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ code: "npm test", timeout: 600 }) })
{
"session_id": "sess_123",
"provider": "vercel",
"compute_id": "cmp_123",
"stdout": "test suite passed",
"metrics": {
"provision_time_ms": 812,
"last_exec_latency_ms": 1432,
"cost_estimate_usd": 0.01
}
}The control plane. Sessions, routing, metrics, and policy. Your app talks to Cerver — never directly to providers.
A portable compute engine — git, worktrees, dev servers, CLI execution. Runs the same on your laptop, Vercel, E2B, or any future provider.
The transport layer for private compute. Your machine opens a persistent WebSocket to Cerver and becomes a routable provider — no inbound ports needed.
Client libraries so your app can open sessions, run code, and stream output in a few lines of Python or TypeScript.
Track startup, latency, stream timing, uptime, engagement, and estimated cost per session.
Add a new backend by implementing the compute adapter contract. Cerver Runtime runs on it automatically.
Different computers wake up differently. Cerver keeps the session API stable and reports the startup profile back as metrics.
Add cloud providers or connect your own machines via Cerver Connect.
Your app describes what it needs — runtime, timeout, policy. Cerver picks the right provider.
Cerver Runtime executes the work — same engine whether it lands on your laptop or a cloud sandbox.
Startup time, latency, uptime, and cost — all reported back through the session.
Your app uses sessions. Providers supply compute. Cerver sits in between.