Patterns
for Building
AI Agents
Practical strategies for taking
AI agents to production.
- Design Patterns
- Context Engineering
- Eval Workflows
- Security

32,500 Books Printed
Combined across both books, distributed to people across the globe.

Principles
Start with the first book in the agentic series to learn the fundamentals

Sam Bhagwat
Sam Bhagwat (CEO of Mastra) goes over a few chapters of his new book “Principles of Building AI Agents”
Read and shared worldwide.
Get your free copy of “Patterns”
What's inside?
Practical patterns for taking AI agents from prototype to production. Learn strategies emerging from teams pushing agents into production at prominent AI companies.