An online edition AI Agents, Engineered Designing, Building, Evaluating, and Operating Agents You Can Verify Start reading Search Preface 5 min ยท 1 figure I. Foundations 1 What Is an Agent? 16 min ยท 4 figures 2 The Engine: How Language Models Work 43 min ยท 6 figures II. Building Agents 3 The Agent Loop ๐ 4 Planning, Reasoning, and Self-Correction ๐ 5 Tools and the Action Space ๐ 6 Skills, Protocols, and Interoperability ๐ III. Context Engineering 7 Managing the Context Window ๐ 8 Retrieval and Knowledge ๐ 9 Memory: Working State Across Long Runs ๐ IV. Patterns and Choices 10 Workflows and Composition Patterns ๐ 11 Multi-Agent Systems ๐ 12 Oversight and Autonomy ๐ 13 Writing the Outer Loop ๐ 14 Choosing Your Approach: When Not to Build an Agent ๐ V. Making Agents Reliable 15 Observability and Debugging ๐ 16 Evaluating Agents ๐ 17 Security, Safety, and Guardrails ๐ 18 Reliability, State, and the Harness ๐ VI. Shipping and Operating 19 Cost, Latency, and Performance ๐ 20 Deploying and Scaling ๐ VII. Applications and the Road Ahead 21 Coding Agents ๐ 22 The Coding Workflow in Practice ๐ 23 Research and Business Agents ๐ 24 Agent UX and Human Trust ๐ 25 Transversal Recipes: Big Patterns That Cut Across Industries ๐ 26 Agents as Classifiers and Scorers ๐ 27 The Frontier and How to Keep Learning ๐ Appendices A A Minimal Agent, Annotated ๐ B Glossary 22 min ยท 0 figures C Annotated Further Reading and Source Map ๐