What you write
You write one ordinary async function. Rebuno runs that handler for you. Route every non-deterministic effect through the kernel, which records the outcome. Three ways to do it:defineTool
Records a
tool_call step: actions the agent takes, such as a search, an
email, or a database write.rebunoFetch
Records an
llm_call step: calls to an LLM provider.step
Records a
local step: local non-determinism such as the clock, a random
choice, or a fresh id.Sections
Quickstart
Install, configure, and run a complete example.
Agents
The
Agent host, input validation, serve vs fetch, and lifecycle.Tools
defineTool, wrapTool, idempotency, blocking work, and MCP tools.LLM calls
rebunoFetch and createRebunoFetch.Steps
step() for durable local work.Clients
Creating and inspecting executions, and approvals.
Errors
The error class hierarchy.
How it works
Step identity, replay, heartbeats, and the kernel protocol.