Durable Agentic Workflows with Temporal.io

workshop

Alexey Grigorev

About the event

In this workshop, you will learn how to create a durable research agent that can answer questions about any YouTube video, using DataTalksClub's podcast collection as the example dataset.

The focus will be on building a reliable end-to-end system: robust transcript ingestion, searchable indexing, and a durable deep-research agent powered by Temporal, Elasticsearch, and PydanticAI.

1. Ingesting and Stabilizing YouTube Transcripts

We begin by collecting transcripts from every podcast episode on the channel.

YouTube transcript retrieval is unstable by nature:

  • Transcripts may be missing or temporarily unavailable
  • We have rate limits
  • Proxies to bypass rate limits can be unreliable

You'll see these failure patterns and learn how to turn an unreliable data-fetching script into a Temporal workflow.

We'll implement retries, backoff, proxy rotation, and failure handling so the ingestion continues even when the environment is unreliable.

Once transcripts are consistently fetched, we'll index them in Elasticsearch for fast, structured retrieval.

2. Building the Deep-Research Agent

With a searchable index in place, we'll build an agent that can answer grounded questions about any indexed video.

Using PydanticAI, we'll define two core tools, a search tool and a file-retrieval tool, that allow the agent to locate relevant transcript segments and use them to generate accurate, source-based answers.

We then run the agent through Temporal, which gives us:

  • Durability for long-running queries
  • Clear workflow histories
  • Built-in logs and observability
  • Reproducible agent behavior

This creates an agent that is easy to inspect, debug, and keep in production.

By the end of the workshop, you’ll have a complete pattern for building a YouTube question-answering system with:

  • A stable ingestion pipeline
  • A searchable transcript index
  • A durable research agent on top of it

The approach generalizes to any YouTube channel or internal video library that needs reliable, auditable AI-powered research.

This event is sponsored by Temporal (opens in a new tab).

About the speakers

Alexey Grigorev Founder of DataTalks.Club

Alexey Grigorev is the founder of DataTalks.Club, the creator of the Zoomcamp series of free courses, and a co-founder of AI Shipping Labs. He has 16 years of experience in software engineering and more than 12 years in AI and machine learning, and he has built and deployed machine learning systems at startups and enterprises. He is a Kaggle Master and the author of several technical books, including Machine Learning Bookcamp.

More than 100,000 students have taken his courses. On Maven he teaches the AI Engineering Buildcamp, and in January 2027 he starts a second course there, Product Shipping with AI.

He hosts the DataTalks.Club podcast and writes about building and testing AI agents on the AI Shipping Blog. Ask him about AI engineering, coding agents, evals, AI business automation and shipping products with AI.

Topics he speaks about

  • AI engineering in production
  • Agentic engineering and coding agents
  • Guardrails when agents touch production
  • Evals for LLM applications and agents
  • AI automation for business
  • Building and running a data community
  • AI and data careers
  • Building in public
  • Generative media agents

More here: https://alexeygrigorev.com/speaker.html (opens in a new tab)

Where to hear him

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club