From RAG to AI Agents: Function Calling and Tool Use
Alexey Grigorev
About the event
This is the 3rd workshop in our series to update the LLM Zoomcamp content.
This workshop updates Module 2: Introduction to Agents (opens in a new tab).
In this hands-on session, Alexey Grigorev will show how to turn a basic RAG application into an agentic AI assistant.
You’ll start with a simple RAG pipeline over Zoomcamp FAQ documents, then add agentic behavior: search decisions, multiple tool calls, function calling, and structured interaction with external tools.
What you’ll learn:
- How to build a basic RAG application over course FAQ documents
- What makes a RAG flow “agentic”
- How agents decide when to search and when to answer
- How to make the LLM generate search queries based on the user question
- How to run agentic search over multiple iterations
- How to use previous actions and search history as context
- How OpenAI function calling works
- How to define tools that an LLM can call
- How to let an assistant search the FAQ database using tools
- How to add multiple tools, including a tool for adding new FAQ entries
- How to structure the assistant logic into reusable components
- How to use PydanticAI to simplify tool definitions and agent implementation
By the end, you’ll have an agentic course assistant that can search the FAQ database, decide when it needs more information, call tools, and answer student questions with context.
Like the other workshops, this will be a live demo with practical tips and time for Q&A.
All events in these series:
- Build Your First RAG Application with LLMs
- From RAG to AI Agents: Function Calling and Tool Use
- Vector Databases: Embeddings, Semantic Search, and Hybrid Retrieval
- RAG and Agents Evaluation: Measuring Retrieval and LLM Answer Quality
- Monitoring LLM Applications: Traces, Feedback, and Production Quality
Thinking about Joining LLM Zoomcamp?
This workshop covers the updated content for Module 2 (opens in a new tab) of the LLM Zoomcamp (opens in a new tab), our free course on building practical LLM applications with RAG, vector search, evaluation, monitoring, and AI agents.
You start with a simple RAG pipeline, then improve it with better retrieval, semantic search, function calling, evaluation, monitoring, and production practices.
The course covers the full lifecycle of an LLM application (opens in a new tab): from the first working prototype to evaluation, monitoring, and a complete final project (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
- Humans of Reliability by Rootly (opens in a new tab), 16 June 2026
- Trends in AI Engineering (opens in a new tab), 29 September 2026, with Hugo Bowne-Anderson
- Decoding AI (opens in a new tab) with Paul Iusztin, 6 October 2026
- The Data Hustle (opens in a new tab), episode 20, 17 November 2026
- Guardrails for AI Agents (opens in a new tab), a live O'Reilly event he teaches
- The DataTalks.Club podcast anniversary episode, season 19, episode 3