AI :: Agent :: Training :: Principles of Building AI Agents ⪼ Made with 💜 by Polyglot. .. content My Takeaways from “𝗣𝗿𝗶𝗻𝗰𝗶𝗽𝗹𝗲𝘀 𝗼𝗳 𝗕𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗔𝗜 𝗔𝗴𝗲𝗻𝘁𝘀” (by Sam Bhagwat) related AI :: Agent :: Framework :: mastra (⤴︎) Writing :: Books :: In Progress :: AI Literate (⤴︎) Principles of Building AI Agents Principles of Building AI Agents | Sam Bhagwat, CEO Mastra Cover Title Foreward 1st Edition Signature Introduction viii Part I — Prompting a Large Language Model (LLM) 1. A brief history of LLMs 2. Choosing a Provider and Model 3. Writing Great Prompts Part II — Building an Agent 4. Agents 101 5. Model Routing and Structured Output 6. Tool Calling 7. Agent Memory 8. Dynamic Agents 9. Agent Middleware Part III — Tools & MCP 10. Popular Third-Party Tools 11. Model Context Protocol (MCP): Connecting Agents and Tools Part IV — Graph-Based Workflows 12. Workflows 101 13. Branching, Chaining, Merging, Conditions 14. Suspend and Resume 15. Streaming Updates 16. Observability and Tracing Part V — Retrieval-Augmented Generation (RAG) 17. RAG 101 18. Choosing a Vector Database 19. Setting Up Your RAG Pipeline 20. Alternatives To RAG Part VI — Multi-Agent Systems 21. Multi-Agent 101 22. Agent Supervisor 23. Control Flow 24. Workflows As Tools 25. Combining The Patterns 26. Multi-Agent Standards Part VII — Evals 27. Evals 101 28. Textual Evals 29. Other Evals Part VIII — Development & Deployment 30. Local Development 31. Deployment Part IX — Everything Else 32. Multimodal 33. Code Generation 34. What's Next