The whole idea of creating AI Agents is so new that frameworks (like LangChain, Phidata, CrewAI, Swarm, etc.) and especially no code agent builders aren't actually good enough for mature and production ready AI agents without a LOT of additional work.
But with Pydantic AI, we're seeing that change in incredible ways. Pydantic AI implements a ton of SUPER important and often overlooked features for an agent framework - context management (for things like API keys and database sessions), logging/monitoring, testing/evaluation capabilities, error handling, and LLM output validation, just to name a few. And it's open source and free to use!
Pydantic AI is incredible but in many ways isn't actually the focus of this video. Who knows if something better is going to be released next month! The important thing to focus on here is how Pydantic AI implements a lot of these "production grade" AI agent features that any framework going forward should implement, and you should understand how to leverage.
In this video I demonstrate the power of Pydantic AI by creating a web search agent (running locally with Ollama!) from scratch using the Brave browser API. Super useful agent you could take and extend in a million ways! Instructions to run this yourself are in the link below to GitHub.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All the Pydantic AI agent code I cover in the video and instructions to run it yourself can be found here:
https://github.com/coleam00/ai-agents-masterclass/tree/main/pydantic-ai
Pydantic AI:
https://ai.pydantic.dev/
I'm building something BIG behind the scenes, launching soon!
https://ottomator.ai
Come join the oTTomator Think Tank - home of the oTToDev community!
https://thinktank.ottomator.ai
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00:00 - What Separates Pydantic AI?
01:33 - Pydantic AI Overview
03:14 - Key Features for Production Grade Agents
06:47 - Building an Agent with Pydantic AI
14:25 - Agent Demo (Running Locally)
15:36 - Advanced Agent with Streamlit UI
17:48 - Advanced Agent Demo
19:06 - Outro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join me as I push the limits of what is possible with AI. I'll be uploading videos at least two times a week - Sundays and Wednesdays at 7:00 PM CDT! Sundays and Wednesdays are for everything AI, focusing on providing insane and practical educational value. I will also post sometimes on Fridays at 7:00 PM CDT - specifically for platform showcases - sometimes sponsored, always creative in approach!
But with Pydantic AI, we're seeing that change in incredible ways. Pydantic AI implements a ton of SUPER important and often overlooked features for an agent framework - context management (for things like API keys and database sessions), logging/monitoring, testing/evaluation capabilities, error handling, and LLM output validation, just to name a few. And it's open source and free to use!
Pydantic AI is incredible but in many ways isn't actually the focus of this video. Who knows if something better is going to be released next month! The important thing to focus on here is how Pydantic AI implements a lot of these "production grade" AI agent features that any framework going forward should implement, and you should understand how to leverage.
In this video I demonstrate the power of Pydantic AI by creating a web search agent (running locally with Ollama!) from scratch using the Brave browser API. Super useful agent you could take and extend in a million ways! Instructions to run this yourself are in the link below to GitHub.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All the Pydantic AI agent code I cover in the video and instructions to run it yourself can be found here:
https://github.com/coleam00/ai-agents-masterclass/tree/main/pydantic-ai
Pydantic AI:
https://ai.pydantic.dev/
I'm building something BIG behind the scenes, launching soon!
https://ottomator.ai
Come join the oTTomator Think Tank - home of the oTToDev community!
https://thinktank.ottomator.ai
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00:00 - What Separates Pydantic AI?
01:33 - Pydantic AI Overview
03:14 - Key Features for Production Grade Agents
06:47 - Building an Agent with Pydantic AI
14:25 - Agent Demo (Running Locally)
15:36 - Advanced Agent with Streamlit UI
17:48 - Advanced Agent Demo
19:06 - Outro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join me as I push the limits of what is possible with AI. I'll be uploading videos at least two times a week - Sundays and Wednesdays at 7:00 PM CDT! Sundays and Wednesdays are for everything AI, focusing on providing insane and practical educational value. I will also post sometimes on Fridays at 7:00 PM CDT - specifically for platform showcases - sometimes sponsored, always creative in approach!
- Category
- Artificial Intelligence
- Tags
- ai, artificial intelligence, ai agents
Comments