Skip to main content
Software Engineering Daily

Temporal and Durable Execution for AI Agents

47 min episode · 2 min read
·
Maxime Fataev

Episode

47 min

Read time

2 min

Topics

Career Growth, Health & Wellness, Startups

AI-Generated Summary

Key Takeaways

  • ✓Durable Execution Model: Temporal uses event-sourcing replay to preserve workflow state across crashes. Every external call result is recorded, so if a process fails mid-execution, the system replays the function from the start, returning cached results until it reaches the failure point and resumes — making multi-day blocking calls invisible to the developer.
  • ✓AI Agent Compatibility: LLM calls are nondeterministic activities, not workflow logic, so they do not violate Temporal's determinism requirement. The agentic loop itself — call LLM, evaluate returned tools, execute tools, repeat — is deterministic code. Temporal records each step, providing crash recovery and full visibility for long-running agent sessions without modifying the loop structure.
  • ✓80/20 Agent Reality: Roughly 80–90% of production AI agent systems are actually structured workflows, not pure dynamic agent loops. Real use cases like automated GitHub issue-to-pull-request pipelines combine hard-coded workflow steps with embedded LLM calls. Building with Temporal lets teams handle both patterns under one durability and security model without separate infrastructure.
  • ✓Open Source as Strategic Moat: Temporal uses MIT licensing with every enterprise feature — including multi-region replication — included in the open source build. This gives enterprise customers a credible exit option if pricing changes, which Fataev argues is what enables trust for mission-critical deployments. Restricting the license would, by his estimate, eliminate at least half of long-term business.
  • ✓Scale Before Demand: Temporal overinvested in scalability early, enabling OpenAI to scale Temporal usage 60x within one year without requiring architectural changes on OpenAI's side. The lesson: consumption-based infrastructure businesses benefit from building beyond current demand, since enterprise customers take two or more years to migrate mission-critical workloads and then scale aggressively once committed.

What It Covers

Temporal cofounder Maxim Fataev joins Software Engineering Daily to explain how durable execution works, why it functions as infrastructure rather than a framework, how it handles nondeterministic AI agent workloads, and how Temporal grew from 100M to 300M ARR in under a year driven by AI adoption.

Key Questions Answered

  • •Durable Execution Model: Temporal uses event-sourcing replay to preserve workflow state across crashes. Every external call result is recorded, so if a process fails mid-execution, the system replays the function from the start, returning cached results until it reaches the failure point and resumes — making multi-day blocking calls invisible to the developer.
  • •AI Agent Compatibility: LLM calls are nondeterministic activities, not workflow logic, so they do not violate Temporal's determinism requirement. The agentic loop itself — call LLM, evaluate returned tools, execute tools, repeat — is deterministic code. Temporal records each step, providing crash recovery and full visibility for long-running agent sessions without modifying the loop structure.
  • •80/20 Agent Reality: Roughly 80–90% of production AI agent systems are actually structured workflows, not pure dynamic agent loops. Real use cases like automated GitHub issue-to-pull-request pipelines combine hard-coded workflow steps with embedded LLM calls. Building with Temporal lets teams handle both patterns under one durability and security model without separate infrastructure.
  • •Open Source as Strategic Moat: Temporal uses MIT licensing with every enterprise feature — including multi-region replication — included in the open source build. This gives enterprise customers a credible exit option if pricing changes, which Fataev argues is what enables trust for mission-critical deployments. Restricting the license would, by his estimate, eliminate at least half of long-term business.
  • •Scale Before Demand: Temporal overinvested in scalability early, enabling OpenAI to scale Temporal usage 60x within one year without requiring architectural changes on OpenAI's side. The lesson: consumption-based infrastructure businesses benefit from building beyond current demand, since enterprise customers take two or more years to migrate mission-critical workloads and then scale aggressively once committed.

Notable Moment

Fataev revealed that OpenAI's image generation in ChatGPT and the entire server-side infrastructure of Codex both run on Temporal workflows. He attributed this adoption largely to engineers who already knew Temporal from previous companies and immediately applied it rather than rebuilding equivalent infrastructure from scratch.

Know someone who'd find this useful?

Episode Transcript

Coordinating long running processes on top of distributed systems is one of the persistent hard problems in software. A process that runs across many steps can't count on finishing in one clean pass since the machines running it may crash, stall, or drop connections. To handle this fragility, developers have often resorted to writing layers of retries, time outs, and checkpointing to keep state alive across failures. However, this custom plumbing is often brittle, hard to maintain, and can break down at scale. Temporal is an open source platform built around an approach it calls durable execution. Developers write a workflow as a straightforward sequence of steps, and the platform preserves its full state underneath so the code can survive a crash and resume exactly where it left off. The underlying technology was created at Uber over a decade ago. Since then, Temporal has become foundational infrastructure for AI and agent workloads, where long running tools and agent loops need exactly this kind of durability. Maxime Fataev is a cofounder of Temporal. He returns to the show with Sean Falconer to discuss how durable execution works, why its infrastructure rather than a framework, how it fits the nondeterministic world of AI agents, its new capabilities, and why Temporal's fully open source strategy is central to its moat. This episode is hosted by Sean Falconer. Check the show notes for more information on Sean's work and where to find him. Max, welcome back to the show. Thanks for having me back. Yeah, absolutely. As we were saying, sort of pre show, I'm sure a lot has changed in the last couple of years since you were on. Lots of growth, lots of things to get into. And also, the world in technology has massively changed as well, I think, since the bursting on the scene of agentic engineering and large language models and agents. Sure, it's transformed a lot of what you're dealing with day to day now. Absolutely. I certainly I'm convert now. Yeah. I guess, like, for anyone that's listening to this, hasn't worked with Temporal before, isn't quite aware of even the space of durable execution, how do you explain what it is that you do? So Temporal, first, is an open source project. It's been around for over ten years. We started it at Uber, and it's based on the kind of novel idea, which is not new abstraction. We call it durable execution. And idea is that you write code in normal programming language and almost practically any programming language, and we preserve the full state of execution all the time. So just most basic way to explain that, you call... Write a function, this function calls some API, and then whilst waiting for the reply, process crashes. And then maybe three days later, reply comes back. And we resurrect process in exactly the same state, still waiting on the same function with all variables being there, and give it result, and it continues executing. So …

Get the full transcript (8,986 words) + summary by email — free

One-time email with the complete transcript and AI summary of this episode. No account needed.

One email, no spam. We’ll also show you what SignalCast does.

Browse all Software Engineering Daily transcripts →

You just read a 3-minute summary of a 44-minute episode.

Get Software Engineering Daily summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

Books, tools, and gear mentioned in this episode

SignalCast may earn commission on purchases via these links.

Tools

  • by OpenAI

    “OpenAI's image generation in ChatGPT and the entire server-side infrastructure of Codex both run on Temporal workflows.”
  • by OpenAI

    “OpenAI's image generation in ChatGPT and the entire server-side infrastructure of Codex both run on Temporal workflows.”
  • by Deepgram

    “SPONSORS [Deepgram, https://deepgram.com/context-is-everything]”
  • by Origin

    “SPONSORS [Origin, https://originhq.com/sed]”
  • by Parallel

    “SPONSORS [Parallel, https://parallel.ai/sed]”

company

  • TemporalBy guest
    “Temporal cofounder Maxim Fataev joins Software Engineering Daily to explain how durable execution works... Temporal uses event-sourcing replay to preserve workflow state across crashes.”
  • “OpenAI's image generation in ChatGPT and the entire server-side infrastructure of Codex both run on Temporal workflows.”

More from Software Engineering Daily

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

Explore Related Topics

This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.

Read this week's Health & Longevity Podcast Insights — cross-podcast analysis updated weekly.

You're clearly into Software Engineering Daily.

Every Monday, we deliver AI summaries of the latest episodes from Software Engineering Daily and 192+ other podcasts. Free for one show.

Start My Monday Digest

No credit card · Unsubscribe anytime