--- title: "Pydantic is All You Need" description: "How Pydantic solved AI agent reliability." icon: "book" --- 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](https://github.com/instructor-ai/instructor). To really understand why it's such a game changer, we recommend watching this video: ## Learn more To take your tools to the next level, we highly recommend the following resources: - [Pydantic Models Documentation](https://docs.pydantic.dev/latest/concepts/models/) - [Instructor Concepts](https://python.useinstructor.com/concepts/) - [Instructor Tips & Tricks](https://python.useinstructor.com/tutorials/2-tips/) - [Instructor Cookbook](https://python.useinstructor.com/examples/)