Long-horizon agents and durable execution
Martin Fowler's site published an article on long-horizon agents and durable execution, with Kiran Prakash explaining the pattern. The excerpt defines long-horizon agents as systems that can automate complex tasks taking days or weeks to complete and involving multiple exchanges with people and external systems. Over that span, the source says, many things can go wrong, including process crashes, network failures, and unanticipated real-world behavior. Durable execution is presented as an emerging pattern that helps agents recover from these failures and move toward their goal. In this programming model, the runtime keeps a record of the result of each step that interacts with the outside world. When a failure occurs, the program runs again, completed steps are skipped, and the program's state is rebuilt from the record. The excerpt does not name specific runtimes, frameworks, or implementations, and it does not describe benchmarks or measured recovery times. It frames the approach at the level of a programming model rather than a product, and the article is attributed to Kiran Prakash as the explainer, hosted on martinfowler.com.
The article frames durable execution as a programming model in which runtimes record external step results so failed long-running agents can resume without repeating completed work.