Tools / Durable & distributed execution

Temporal

runtime

Open-source durable execution platform; workflows written as ordinary code run to completion despite crashes.

Role Distributed executionMaintained by Temporal TechnologiesLanguages Go, Java, Python, TypeScript, C#, PHP, Ruby, RustLicense MITFirst release Feb 2020

What it is

Temporal is an MIT-licensed durable execution platform: you write business processes (or agent loops) as normal code, and Temporal guarantees they run to completion, whether that takes a second or a year. It grew out of Uber's Cadence, created by the same founders, and is offered as self-hosted open source or as Temporal Cloud. For agents it has become a common backbone — OpenAI's Codex runs on it — and it ships official integrations with the OpenAI Agents SDK, Google ADK and Pydantic AI.

How it works

Workflow code must be deterministic; anything that touches the outside world (LLM calls, APIs, databases) goes into Activities, which Temporal retries with timeouts. Your own Worker processes poll Task Queues for work, and the Temporal Service records every step in an Event History. If a worker crashes, another one replays that history to rebuild the workflow's state and continues exactly where it stopped.

Key concepts

Workflow
Your business process or agent loop defined in deterministic code with ordinary control flow.
Activity
A unit of work that touches the outside world (API, LLM, database), retried automatically.
Worker
Your process that runs workflow and activity code; Temporal schedules work but never runs your code.
Task Queue
A named queue that workers poll for work.
Event History
The durable, ordered log of everything that happened in a workflow execution, replayed to recover state.
Signal / Query / Update
Ways to send data to, read from, or change a running workflow — e.g. a human approval.

Use it when

  • Agents or business processes run for minutes to months and must survive crashes, deploys and outages.
  • You need reliable retries, timers and human-in-the-loop waits across many services and languages.
  • You run at large scale and want a battle-tested engine with a managed cloud option.

Look elsewhere when

  • A short, single-request agent loop where losing a run is cheap — the extra infrastructure is not worth it.
  • You want a lighter-weight, single-binary or serverless-first runtime — Restate or Inngest may fit better.

Who uses it

  • Temporal executes the core control flows of the Codex coding agent.

    Evidence: temporal.io

  • Mistral Workflows is built on Temporal.

    Evidence: mistral.ai

  • Netflix

    Uses Temporal across engineering to increase developer productivity on long-running workflows.

    Evidence: temporal.io

  • Snap

    Uses Temporal widely across engineering for reliable microservice workflows.

    Evidence: eng.snap.com

  • Gorgias

    Runs AI customer-service agents for e-commerce brands on Temporal.

    Evidence: temporal.io

Milestones

  1. Temporal Technologies raised a $550M Series E at a $12.55B valuation. (temporal.io)
  2. OpenAI Agents SDK integration for the Python SDK became generally available. (temporal.io)
  3. Temporal and OpenAI launched a durable-execution integration for the OpenAI Agents SDK (public preview). (temporal.io)
  4. Temporal server v1.0.0 released. (github.com)

Start learning