Loading video...

Video Failed to Load

Go Home

Pydantic quietly dropped the most underrated framework for building Agents with MCP and tool calling. Learn how to run it in just 3 mintues.

84,917 views • 1 year ago •via X (Twitter)

10 Comments

matt palmer's profile picture
matt palmer1 year ago

1️⃣ Remix the replit template 2️⃣ Paste in your API key 3️⃣ Click "Run" to see how it works 4️⃣ Deploy > Scheduled > enter time in natural language 5️⃣ Click "Deploy"

matt palmer's profile picture
matt palmer1 year ago

Youtube here: Remix the template to get started

Samuel Colvin's profile picture
Samuel Colvin1 year ago

Hey, thanks so much for the kind words about Pydantic AI, I would love to talk about collaborating more, can I DM you? Or email me ([email protected]) if it's easier.

dennis hegstad's profile picture
dennis hegstad1 year ago

👀

Michael S's profile picture
Michael S1 year ago

Does pydantic handle closing the mcp connection automatically??

Jesse's profile picture
Jesse1 year ago

Deadly!

Mr_C's profile picture
Mr_C1 year ago

Amazing can’t wait to test this out this week vibes coding for me is all about utility and using the power of MCP !! Thanks Mattt

LabelGuy's profile picture
LabelGuy1 year ago

Love these info packed ultra-quick videos. Thanks @mattppal !

D3conomist 🍉 🍉 🍉's profile picture
D3conomist 🍉 🍉 🍉1 year ago

wow... you replitians just never dissapoint. Thanks for this good ser!

Waldo's profile picture
Waldo1 year ago

Thank you so much for sharing your knowledge, Matt! I really enjoy your tutorials 💯💯💯

Related Videos

New short course: Building Code Agents with Hugging Face smolagents! Learn how to build code agents in this course, created in collaboration with Hugging Face, and taught by Thomas Wolf, its co-founder and CSO, and m_ric, Hugging Face’s Project Lead on Agents. Tool-calling agents use LLMs to generate multiple function calls sequentially to complete a complex sequence of tasks. They generate one function call, execute it, observe, reason, and decide what to do next. Code agents take a different approach. They consolidate all these calls into a single block of code, letting the LLM lay out an entire action plan at once, which can be executed efficiently to provide more reliable results. You’ll learn how to code agents using smolagents, a lightweight agentic framework from Hugging Face. Along the way, you’ll learn how to run LLM-generated code safely and develop an evaluation system to optimize your code agent for production. In detail, you’ll learn: - How agentic systems have evolved, gaining greater levels of agency over time—and why code agents are a next step. - How code agents write their actions in code. - When code agents outperform function-calling agents. - How to run code agents safely in your system using a constrained Python interpreter and sandboxing using E2B. - To trace, debug, and assess the code agent to optimize its behaviours for complex requests. - How to build a research multi-agent system that can find information online and organize it into an interactive report. By the end of this course, you’ll know how to build and run code agents using smolagents, and deploy them safely with a structured evaluation system in your projects. Please sign up here!

Andrew Ng

124,382 views • 1 year ago