ODSP2230 · Pre-recorded

Build durable workflows with Temporal

  • 14 min
  • Catalogue level: (100) Foundational
  • Our depth rating: 200
  • Worth watching: 1/3

Speakers: Cecil Phillip

Watch on Microsoft’s site from 09:26

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Cecil Phillip (Temporal) explains why production applications fail and how much engineering time goes into retry and recovery plumbing, using an order-processing workflow as the example. He presents Temporal as an open-source durable execution platform with multi-language SDKs, self-hosting on Kubernetes (including the open-source worker controller) or Temporal Cloud with multi-region disaster recovery. A local Python demo shows a workflow resuming from step three after a worker crash. The AI section covers plugins and skills for coding agents, a documentation MCP server and integrations with OpenAI Agents SDK, Pydantic AI and CrewAI, plus customer stories from Dust and ZoomInfo. A final demo shows an AI gift shop assistant whose tool calls run as Temporal workflows on Temporal Cloud and Azure Container Apps, using models from Microsoft Foundry.

Best for: Developers and architects building multi-step or agentic AI applications on Azure who are new to durable execution and want an overview of Temporal.

Session timeline by chapter

New material starts at 09:26. Before 09:26 the session covers general reliability problems, the Temporal platform basics, a simple crash-recovery demo and customer stories; at 09:26 the AI-specific tooling (coding-agent plugins, docs MCP server, agent framework integrations) begins.

Where to skip: Skip the intro and jump to 06:13 for the crash-recovery demo if Temporal is new to you; otherwise go straight to 09:26 for the AI tooling and the Azure/Foundry gift shop demo at 10:24. The first three minutes and the customer stories at 08:36 can be skipped.

Chapters (7)

  1. 00:03 Recap Depth 100 · Novelty 0/3

    Why production apps fail: engineering pressure, plumbing code and an order workflow

    Cecil Phillip (Developer Advocate, Temporal) describes customer, business and cost pressure on engineering teams and argues that most engineering time goes into plumbing code rather than business logic. Using a simplified order-processing workflow (prepare shipment, charge customer, ship), he shows how network outages, overloaded services, duplicate charges, database and OS-level failures force teams to add retries, exponential backoff and alerting at every step.

  2. 02:56 Deep dive Depth 200 · Novelty 1/3

    Temporal durable execution platform: open-source server, SDKs, Temporal Cloud and DR

    Temporal is presented as an open-source durable execution platform that lets developers code the happy path while it provides native retries, durable timeouts, scheduling and automatic state capture so work resumes where it left off. It ships SDKs in multiple languages, is used for payments, logistics, infrastructure management, subscriptions and AI data pipelines, model training and MCP servers. Teams can self-host (often on Kubernetes with Helm charts and the recently released open-source worker controller for versioning and autoscaling) or use Temporal Cloud with SSO, 24-hour on-call support and multi-cloud, multi-region disaster recovery; workers always run wherever the customer chooses.

  3. 06:13 Demo Depth 300 · Novelty 1/3

    Demo: local Temporal workflow in Python and resuming after a simulated worker crash

    In Visual Studio Code, a local Temporal dev instance started with one Temporal CLI command is viewed in the integrated browser. The worker.py file defines activities (create, process, complete job, notify completion) and a workflow with timeouts and a retry policy; a client starts the workflow and waits for the result. After a happy-path run, the worker is killed mid-run and restarted, and the workflow resumes from step three instead of starting over.

  4. 08:36 Customer story Depth 100 · Novelty 1/3

    Customer stories: Dust agentic workflows and ZoomInfo Copilot on Temporal

    Dust, an AI assistant platform, had problems versioning and scaling long-running agentic workflows and now runs over 10 million actions a day on Temporal. ZoomInfo reduced costs and sped up development of its ZoomInfo Copilot product. The speaker frames AI systems as distributed systems in disguise.

  5. 09:26 Deep dive Depth 200 · Novelty 2/3

    Temporal for AI: coding-agent plugins, docs MCP server and agent framework integrations

    The speaker argues that AI scaling, data pipeline and coordination problems are already solved by distributed-systems patterns. Temporal provides plugins and skills for coding agents such as Codex and Claude Code to design workflows following its best practices, an MCP server for Temporal documentation, and integrations with AI frameworks such as OpenAI Agents SDK, Pydantic AI and CrewAI with minimal code changes. Temporal is positioned for AI, non-AI and hybrid use cases including agents, MCP and model inferencing.

  6. 10:24 Demo Depth 200 · Novelty 1/3

    Demo: AI gift shop assistant on Temporal Cloud, Azure Container Apps and Foundry models

    A gift shop web app with a virtual assistant asks clarifying questions, searches the catalog, adds a chocolate to the cart, shows loyalty points and navigates to checkout, where payment is completed with a Stripe test card. The Temporal Cloud dashboard shows the workflow instance with each tool call (product search, add to cart, loyalty points) instrumented as actions. In the Azure Portal the resource group shows workers and APIs in Azure Container Apps, SQL Server, Redis, Azure Key Vault, Container Registry and Log Analytics, with models (OpenAI, Anthropic, Mistral) from Microsoft Foundry; the code is on github.com/temporalcommunity.

  7. 13:36 Closing Depth 100 · Novelty 0/3

    Wrap-up: gift shop repo, Temporal.io and the community Slack

    The speaker points to the gift shop demo repository with instructions for local or Azure deployment and recaps Temporal's open-source durable execution value. Viewers are directed to Temporal.io and the Temporal community Slack.

Announcements (3)

  • 04:52 not stated Temporal

    Temporal open-source worker controller

    An open-source controller for managing worker versioning and autoscaling inside Kubernetes deployments.

    Speaker’s quote (at 04:52)
    „More recently, we released our opensource worker controller, which is our opinion and a way for you to manage versioning and autoscaling inside of your Kubernetes deployments.“
  • 09:26 not stated Temporal

    Temporal plugins and skills for coding agents

    Plugins and skills for coding agents such as Codex and Claude Code that help design workflows following Temporal best practices.

    Speaker’s quote (at 09:26)
    „we have plugins and skills available for those tools that'll help you design your workflows in a way that follows Temporal's best practices“
  • 09:59 not stated Temporal

    Temporal documentation MCP server

    An MCP server exposing up-to-date Temporal documentation about SDKs and the Temporal server to AI tools.

    Speaker’s quote (at 09:59)
    „There's even an MCP server available for our Temporal documentation, so you can have up-to-date knowledge about the features and capabilities“

Demos (2)

  • 06:13 Not stated Temporal

    A developer runs a multi-step Python workflow locally and shows that after a worker crash the workflow resumes from the last completed step.

    Steps (8)
    1. Start a local Temporal development server with the Temporal CLI and open the Temporal dashboard in the VS Code integrated browser.
    2. In worker.py, define functions decorated as activities (create job, process job, complete job, notify completion).
    3. Define the workflow (line 69 in the demo) with timeouts and a retry policy that executes the activities in order.
    4. In a terminal, start the worker so it connects to the Temporal server and waits for work.
    5. Run the client application, which asks the server to start the workflow and waits for the result.
    6. Check the Temporal dashboard for the completed workflow run.
    7. Start the worker and client again, then stop the worker before the workflow finishes to simulate a crash.
    8. Restart the worker (as if on another server) and observe that execution resumes from step three and completes.

    Prerequisites: Temporal CLI, the Temporal Python SDK, and Visual Studio Code.

  • 10:24 Not stated Temporal Cloud with Microsoft Foundry on Azure

    A shopper uses an AI assistant in a gift shop app to find and buy a gift, while every agent tool call runs as a durable Temporal workflow hosted on Azure.

    Steps (9)
    1. Open the gift shop application and browse Collections.
    2. Tell the virtual assistant you need a gift for your son and answer its clarifying questions.
    3. Ask for chocolates and ask it to add the Ruby Rose chocolate to the cart.
    4. Ask for your balance to see loyalty points, then ask to go to checkout.
    5. Add a gift note, enter details and address, and pay with a Stripe test card.
    6. Verify the transaction under Transactions in the Stripe dashboard.
    7. In the Temporal Cloud dashboard, open the application namespace, select Workflows and inspect the running workflow's tool actions.
    8. In the Azure Portal, open the resource group to see Azure Container Apps, SQL Server, Redis, Key Vault, Container Registry and Log Analytics.
    9. Get the gift shop demo code from github.com/temporalcommunity to run locally or deploy to Azure.

    Prerequisites: Temporal Cloud namespace (or Temporal server), Azure subscription with Container Apps, SQL Server, Redis, Key Vault, Container Registry and Log Analytics, Microsoft Foundry model access, and a Stripe test account; code from github.com/temporalcommunity.

Watch on Microsoft’s site: ODSP2230