Resonate documentation
Resonate — agent-native durable execution. Generated, optimized, absurdly cheap.
Resonate is the durable execution engine that agents build with, deploy on, and operate. It is the implementation of a distributed async/await programming model: a formal, language- and transport-agnostic protocol for writing functions that survive process restarts, run for hours or months, and coordinate across many machines.
Resonate is built on three pillars:
- Agent-native — The SDK, docs, tool definitions, and operational surface are designed for agent consumption, not just human developers. CLIs over dashboards. Skill files over screenshots. Agents are the new developers, and Resonate is the platform they reach for.
- Generated & optimized — Open-source pluggable components plus stack-specific generated servers. AI constrained by formal specs and protocols — not slop, but highly optimized software. Exactly what your stack needs, nothing more.
- Absurdly cheap — Serverless-native architecture means you pay only for active execution. Workloads that cost ~$80K/year on hosted alternatives can run for under $100/year on Resonate. Orders of magnitude, not percentages.
Build agents, workflows, pipelines, and services without thinking about retries or recovery — in a few lines of code.
function* agent(context: Context, prompt: string) {
const messages = [{ role: "user", content: prompt }];
// The agent loop
while (true) {
const response = yield* context.run(think, messages);
messages.push(response);
if (response.subprompts) {
// Spawn concurrent subagents
const futures = [];
for (const subprompt of response.subprompts) {
futures.push(yield* context.beginRpc(agent, subprompt));
}
// Collect results
for (const future of futures) {
messages.push({ role: "tool", content: yield* future });
}
} else {
return response.content;
}
}
}Evaluate Resonate
Capabilities, comparisons, and the case for durable execution.
Get started
From scratch or migrating — start here.
Examples
Runnable repos: durable sleep, human-in-the-loop, agents, and more.
Developer reference
APIs and features by SDK.
Operational guidance
Monitoring, scaling, and troubleshooting in production.