> Markdown version of [/videos/1643-rpc-reinvented-asynchronous-durable-and-agent-ready?t=103](https://www.wearedevelopers.com/videos/1643-rpc-reinvented-asynchronous-durable-and-agent-ready?t=103). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # RPC Reinvented: Asynchronous, Durable, and Agent-Ready What if an API call could safely block for days without timing out? Discover how durable RPC delivers a crash-less programming model perfect for AI agents. - **Speakers:** [Maxim Fateev](https://www.wearedevelopers.com/@maxim-fateev) - **Event:** World Congress 2025 - **Published:** August 20, 2025 - **Duration:** 18:07 - **URL:** https://www.wearedevelopers.com/videos/1643-rpc-reinvented-asynchronous-durable-and-agent-ready ## Summary Standard Remote Procedure Calls (RPC) provide clean API contracts but fail catastrophically during long-running operations or process crashes due to a lack of guaranteed delivery. While event-driven architectures solve protocol reliability through system queues, they introduce a fragmented developer experience defined by messy callback configurations, mandatory outbox patterns, and complex troubleshooting. A more robust approach preserves the simplicity of synchronous code while implementing deep underlying persistence to ensure request states survive overarching systemic failures. By leveraging durable execution and Nexus RPC, developers can build highly reliable systems that automatically restore application state across different machines seamlessly after a server crush or timeout. This framework enables code to safely block on an API call for days or weeks without requiring complex asynchronous orchestrations. The runtime natively persists request contexts and correlation IDs to a database, delivering a "crash-less" programming model where long-standing distributed operations maintain traditional, readable execution flow complete with seamless native tracing support. This durable RPC paradigm fundamentally transforms backend capabilities for advanced AI agents and LLM tool integration, which typically assume simple short-lived interactions. Wrapping complex, time-consuming automation tasks in a durable execution context allows LLMs to trigger expansive, weeks-long processes without timing out. Using open-source state preservation, engineering teams can reliably manage complex infrastructure tasks, distributed data pipelines, and mission-critical workflows like payments with built-in fault tolerance. **Keywords:** RPC architecture, durable execution, nexus RPC, event-driven architecture, callback orchestration, outbox pattern, state persistence, fault-tolerant microservices, long-running operations, AI agent workflows, LLM tool invocation, temporal workflow, asynchronous RPC, synchronous APIs, distributed workflow orchestration ## Chapters 1. **Limitations of standard remote procedure calls** (00:05) — Standard RPC mechanisms fail to guarantee request delivery when clients or connections crash. 1. **Drawbacks of transitioning to event-driven architectures** (01:43) — Abandoning APIs for event-driven callbacks leads to complex code structures and race conditions. 1. **Implementing durable remote procedure calls using databases** (02:58) — Delivering responses to different client instances via request persistence creates fully fault-tolerant RPCs. 1. **Introduction to durable execution and Nexus RPC** (06:19) — Durable execution preserves process state seamlessly to allow writing synchronous code for long-running operations. 1. **Enabling long-running tools for artificial intelligence agents** (09:08) — Durable execution allows LLM tools to safely run asynchronously for weeks without timing out. 1. **Demonstrating workflow recovery with Temporal and OpenAI** (10:59) — A live example shows process state surviving immediate termination using a durable Temporal cluster. 1. **Summary of the Nexus RPC paradigm and use cases** (16:37) — Companies use open-source durable execution platforms for infrastructure automation and mission-critical workflows. ## Related Moments - [Introduction to durable execution for resilient application code](https://www.wearedevelopers.com/videos/1031-durable-execution-a-revolutionary-abstraction-for-building-resilient-applications) (from "Durable Execution: A Revolutionary Abstraction for Building Resilient Applications") - [Introducing durable execution for robust distributed systems](https://www.wearedevelopers.com/videos/744-is-your-backend-a-hodgepodge-of-queues-event-stores-and-cron-jobs-durable-execution-to-the-rescue) (from "Is your backend a hodgepodge of queues, event stores and cron jobs? Durable Execution to the Rescue.") - [Introducing durable execution and the Temporal framework](https://www.wearedevelopers.com/videos/1234-exploring-durable-execution-with-python) (from "Exploring Durable Execution with Python") - [Blending resource-oriented and RPC philosophies in API design](https://www.wearedevelopers.com/videos/689-designing-grpc-apis-the-things-they-don-t-tell-you) (from "Designing gRPC APIs - The things they don't tell you") - [Implementing durable execution using event logs and replay](https://www.wearedevelopers.com/videos/744-is-your-backend-a-hodgepodge-of-queues-event-stores-and-cron-jobs-durable-execution-to-the-rescue) (from "Is your backend a hodgepodge of queues, event stores and cron jobs? Durable Execution to the Rescue.") - [Building durable AI agents with Microsoft agent framework](https://www.wearedevelopers.com/videos/100207-in-depth-net-azure-functions-isolated-mode-performance-and-durable-ai-agents) (from "In-depth .NET Azure Functions: Isolated mode, performance and durable AI agents") ## Related Articles - [Why Event-Driven Architecture Isn’t About Speed (and When You Actually Need It)](https://www.wearedevelopers.com/magazine/745-why-event-driven-architecture-isn-t-about-speed-and-when-you-actually-need-it) - [MLOps And AI Driven Development](https://www.wearedevelopers.com/magazine/82-mlops-and-ai-driven-development) - [Building AI Solutions with Rust and Docker](https://www.wearedevelopers.com/magazine/494-building-ai-solutions-with-rust-and-docker) - [Graph and AI Trends 2026: Why Is AI Running but Not Yet Delivering?](https://www.wearedevelopers.com/magazine/680-graph-and-ai-trends-2026-why-is-ai-running-but-not-yet-delivering) ## Related Jobs - [Senior Backend Developer — AI: MCP & Agent Engine](https://www.wearedevelopers.com/jobs/48297-senior-backend-developer-ai-mcp-agent-engine) at **basebox GmbH** - [Senior AI Agent Software Engineer (Go, Python) (m/f/x)](https://www.wearedevelopers.com/jobs/48277-senior-ai-agent-software-engineer-go-python-m-f-x) at **Dynatrace** - [Principal Software Engineer, Enterprise AI Platform](https://www.wearedevelopers.com/jobs/ext/1467292-principal-software-engineer-enterprise-ai-platform) at **GitHub** - [Principal Engineer - AI Search & Vector Infrastructure](https://www.wearedevelopers.com/jobs/ext/353953-principal-engineer-ai-search-vector-infrastructure) at **Redis** - [Senior Fullstack Engineer, Angular & Nestjs (Defi Wallet)](https://www.wearedevelopers.com/jobs/ext/1983681-senior-fullstack-engineer-angular-nestjs-defi-wallet) at **Bitpanda** - [Senior Software Engineer, Enterprise Products](https://www.wearedevelopers.com/jobs/ext/1841248-senior-software-engineer-enterprise-products) at **GitHub**