GNGiseldo Neo and Alana NeoBooks

Library

Building AI Agents

From the control loop to the Model Context Protocol · by Giseldo Neo and Alana Neo

Building AI Agents

How to build the complete machinery of an AI agent from scratch in Python: the control loop, tools, harness, context, skills, MCP and orchestration, plus security, evaluation and cost.

Read the book

Contents

  1. Preface
  2. Information
  3. Abstract
  4. 1. From chatbot to agent · Exercises
  5. 2. The agent cycle · Exercises
  6. 3. Tools: the contract between model and world · Exercises
  7. 4. The harness · Exercises
  8. 5. Context: the memory that costs money · Exercises
  9. 6. Skills: giving the agent a procedure · Exercises
  10. 7. MCP: a protocol for tools · Exercises
  11. 8. Orchestration: agents that call agents · Exercises
  12. 9. Security · Exercises
  13. 10. Evaluation · Exercises
  14. 11. Cost and performance · Exercises
  15. 12. Assembling your agent · Exercises
  16. Acknowledgments
  17. About the authors
  18. References