From RAG to Agents: Making Smart AI Assistants (LLM Zoomcamp bonus module)

workshop

Alexey Grigorev

About the event

A hands-on workshop on turning retrieval-augmented generation into agentic AI flows - Alexey Grigorev

Description:

Retrieval-Augmented Generation (RAG) is a common approach for building AI assistants, but most implementations stop at a single search + answer pattern. In this practical workshop, we go a step further.

You'll learn how to make RAG pipelines more agentic: enabling decision-making, tool use, multi-step reasoning, and real-time interaction with users. We’ll build step by step, from simple retrieval to agent-powered assistants capable of asking follow-up questions, running tool calls, and updating their own knowledge base.

What we’ll cover:

  • Build a basic RAG pipeline: Implement search + prompt + LLM logic using course FAQs
  • Add agentic behavior
    • Let the assistant decide when to search or answer
    • Introduce state, reasoning, and multi-step flows
  • Implement agentic search
    • Iterate over multiple search queries
    • Use search history and reasoning to refine results
  • Use OpenAI function calling
    • Add tool support: search and FAQ updates
    • Maintain interaction history and responses
  • Build a working assistant
    • Organize your logic with chat_assistant.py
    • Interact with a live, modular AI assistant
  • Explore PydanticAI
    • Define tools with type hints and docstrings
    • Run your assistant in a fully typed agent framework

What you’ll get:

A working RAG-based AI assistant that can:

  • Search FAQs
  • Decide when to act
  • Ask follow-up questions
  • Add entries to its own knowledge base

Everything runs in Jupyter with Python. You can follow along with GitHub Codespaces or use your own environment.

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