Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building a Research Agent with PydanticAI and External Search Tools

Sam Witteveen via YouTube

Overview

Learn to build a research agent using PydanticAI, a new agent framework from the creators of the Pydantic validation framework, in this 18-minute tutorial video. Discover how to integrate external search capabilities through Tavily and DuckDuckGo search engines, set up agent configurations, and implement search agent tools. Follow along with practical demonstrations of query execution and learn advanced techniques like injecting dates into system prompts. Access the complete implementation through provided GitHub repositories and a Colab notebook, making it easy to replicate and experiment with the demonstrated concepts. Perfect for developers interested in building LLM apps and AI agents with hands-on examples and step-by-step guidance.

Syllabus

Intro
Building a Research Agent with Pydantic AI
Setting up Search Engines Tavily and Duck Duck Go Search
Setting up the Agent
Setting up the Search Agent Tool
Setting up the Dependencies
Running a Query
Injecting a Date into System prompt

Taught by

Sam Witteveen

Reviews

Start your review of Building a Research Agent with PydanticAI and External Search Tools

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.