When agents need to scale independently, run on different infrastructure, or be developed by different teams, you can deploy them as separate Restate services and route requests between them. Restate makes cross-service calls look like local function calls while providing end-to-end durability, failure recovery, and automatic retries.Documentation Index
Fetch the complete documentation index at: https://docs.restate.dev/llms.txt
Use this file to discover all available pages before exploring further.
Local vs remote agents
There are two ways to coordinate specialist agents:| Local agents | Remote agents | |
|---|---|---|
| Where they run | Same process as the router | Separate services, potentially on different infrastructure |
| Best for | Simple specialization with shared context | Independent scaling, isolation, different languages |
| How routing works | Handoffs, sub-agents, or tool calls within one handler | Durable RPC calls between Restate services |
| Example | LLM picks a specialist prompt, calls LLM again in the same handler | LLM picks a specialist service, router calls it over HTTP |