Custom Tools
Pydantic is All You Need
How Pydantic solved AI agent reliability.
The idea of using Pydantic to validate tool calls and responses is not new. It was popularized by Jason Liu in his library called Instructor.
To really understand why it’s such a game changer, we recommend watching this video: