01
Capability routing
Send work to an agent that declares the right skill without hard-coding a process address.
Agent Primitives /Fabric = Durable coordination
Discover capabilities, delegate work, and make uncommitted tasks available again after failure. Contracts carry deadlines; workflows carry budgets and compensation.
await using triage = Agent.builder()
.id(AgentId.new("triage"))
.listenOn(AgentTopic.Commands)
.respondOn(AgentTopic.Responses)
.capabilities([
{ skillId: CAPABILITY },
])
.ackOnPickup()
.handler(worker)
.spawn(laser)
await triage.ready()
const outcome = await laser
.contract(routeToCapable(
CAPABILITY, ANY_ROUTE_POLICY
))
.from(AgentId.new("orchestrator"))
.payload(utf8("ticket #42 is stuck"))
.inboxRoute({
kind: "fixed",
topic: AgentTopic.Commands,
})
.deadline(60_000)
.send()Primitive guarantees
01
Send work to an agent that declares the right skill without hard-coding a process address.
02
Uncommitted work becomes available again when a worker disappears before acknowledgement.
03
Deadlines, budgets, approvals, and compensation travel with durable workflow state.
Explore the system
Combine transport, prompt assembly, recall, relationships, and live views without stitching together disconnected systems.