How to Build AI Agents with PydanticAI (Python Tutorial)

  Рет қаралды 7,811

Dave Ebbelaar

Dave Ebbelaar

Күн бұрын

Пікірлер: 35
@daveebbelaar
@daveebbelaar 9 күн бұрын
🛠 Want to get started with freelancing? Let me help: www.datalumina.com/data-freelancer 📚 Learning Data/AI? Join for free: www.skool.com/data-alchemy 🚀 Building AI apps? Check out: launchpad.datalumina.com/ 💼 Need help with a project? Work with me: www.datalumina.com/solutions
@AnthonyAlcerro-v6d
@AnthonyAlcerro-v6d 9 күн бұрын
We need a full tutorial on how to do evals 🙏
@daveebbelaar
@daveebbelaar 8 күн бұрын
Noted!
@IdPreferNot1
@IdPreferNot1 8 күн бұрын
Love that you chose to do a video on this. I wouldnt bet against Pydantic and see this a an even better version of Swarm.
@juanantonionavarrojimenez2966
@juanantonionavarrojimenez2966 7 күн бұрын
The evaluation is perfect. That's the way. Thanks.
@eneskosar4649
@eneskosar4649 9 күн бұрын
Very informative Dave, thanks for all the work. You're the best
@RobShocks
@RobShocks Күн бұрын
Great breakdown. I'm all for less abstraction. Having been in JS world for years there are so many frameworks and tools coming out just for the sake of it. Focus on the problem, reverse engineer and pick the right tool. In many cases you don't need the chainsaw to top a pencil.
@daveebbelaar
@daveebbelaar Күн бұрын
Exactly!
@rembautimes8808
@rembautimes8808 7 күн бұрын
Great video and thanks for sharing. I think having a leaner stack is better because it’s quite easy for a big stack to introduce dependency conflicts. Also Pydantic’s integration with FastAPI is awesome 😂
@jordan-kz3rx
@jordan-kz3rx 8 күн бұрын
Thank you man, this knowledge is really valuable and presented so well.
@kenchang3456
@kenchang3456 4 сағат бұрын
Thanks for all the information I appreciate it.
@PriyankBolia
@PriyankBolia 4 күн бұрын
Please use bigger fonts like other channels, sometimes I use a laptop to watch, and its hard to read.
@daveebbelaar
@daveebbelaar 4 күн бұрын
Noted!
@jirivchi
@jirivchi 8 күн бұрын
thanks for all your content! it is very informative and helpful
@daveebbelaar
@daveebbelaar 7 күн бұрын
Thanks!
@silver1544
@silver1544 8 күн бұрын
Thanks for your review! What would you recommend to use instead of PydanticAI at the moment (until it's matured)? Just using plain API?
@Kivalt
@Kivalt 3 күн бұрын
Does it integrate with OpenRouter?
@chefzieher
@chefzieher 8 күн бұрын
Great video! I like that you are using the interactive execution in vscode/cursor. How do you debug that code? (I didn't figure that out yet)
@daveebbelaar
@daveebbelaar 7 күн бұрын
The interactive mode is great for debugging as well as you can just go line by line and execute your code.
@khandelwal0shekhar0
@khandelwal0shekhar0 6 күн бұрын
Dave I really want to know your take on phidata ?
@heheeheh9711
@heheeheh9711 8 күн бұрын
Hoow is this Agentic Framework comapred to phidata Framework???
@heheeheh9711
@heheeheh9711 8 күн бұрын
or AUTOGEN
@artursradionovs9543
@artursradionovs9543 5 күн бұрын
Does PydanticAI support local running LLM’s?
@aristidefumagalli5100
@aristidefumagalli5100 58 минут бұрын
Yes OpenAI compatible endpoint
@PriyankBolia
@PriyankBolia 4 күн бұрын
How does it compare to langchain?
@daveebbelaar
@daveebbelaar 4 күн бұрын
LangChain is an entire ecosystem. PydanticAI is a really lean framework for solving specific problems around data validation for LLMs. I prefer this leaner, more simple approach.
@TheOrionMusicNetwork
@TheOrionMusicNetwork 2 күн бұрын
Skip langchain bro. Trust me. You don't need that pain in your life.
@daveebbelaar
@daveebbelaar 2 күн бұрын
@@TheOrionMusicNetwork 😂
@PriyankBolia
@PriyankBolia Күн бұрын
@@daveebbelaar Any specific reasons? problems you faced. Trying learning langraph
@daveebbelaar
@daveebbelaar Күн бұрын
@@PriyankBolia LangChain’s ecosystem feels overly complex for me. I’ve faced versioning issues and had to dig through multiple abstraction layers to debug unimplemented features, which made troubleshooting a headache. I’d rather build lightweight, purpose-driven components from scratch. Avoiding frameworks helps keep my projects simpler, faster, and free of unnecessary dependencies.
@IdPreferNot1
@IdPreferNot1 8 күн бұрын
I thought llms loved json structure. Cool markdown utility function but why needed?
@daveebbelaar
@daveebbelaar 7 күн бұрын
It depends on the model. Claude prefers XML while OpenAI prefers Markdown or JSON. With small JSON files, it doesn't really matter, but we've found that the model can sometimes miss information with big nested JSON files. As with anything, you can test and compare for your use case to see if you really need the Markdown conversion. I've also found that Markdown is easier to debug when you're looking at it in your observability platform (like Langfuse). It's even more human readable than JSON. Hope that helps.
@IdPreferNot1
@IdPreferNot1 7 күн бұрын
@@daveebbelaar thank you!
@micbab-vg2mu
@micbab-vg2mu 9 күн бұрын
THANKS :)
@daveebbelaar
@daveebbelaar 9 күн бұрын
I can always count on you! 💪🏻
17 Python Libraries Every AI Engineer Should Know
19:57
Dave Ebbelaar
Рет қаралды 7 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 98 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
PydanticAI - Building a Research Agent
17:34
Sam Witteveen
Рет қаралды 14 М.
We've Been Building AI Agents WRONG Until Now
19:51
Cole Medin
Рет қаралды 33 М.
PydanticAI: Build Production-Ready AI Agents! 🔥
13:47
Learn with Vichu
Рет қаралды 1,1 М.
YouTube is now on EASY Mode (Anyone Can Blow Up in 2025)
12:08
Jason Lee
Рет қаралды 300 М.
OpenAI Structured Output - All You Need to Know
24:46
Dave Ebbelaar
Рет қаралды 36 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 605 М.
Devin review: is it a better AI coding agent than Cursor?
9:18
Steve (Builder.io)
Рет қаралды 57 М.
3 $1M+ AI startup ideas to build in 2025 (and how to grow them)
49:43
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19