Table of Contents
This book aims to provide a strong, general-purpose theoretical foundation for context engineering, supported by hands-on examples.
- Introduction to context engineering
- Instructions in AI agents
- External knowledge and retrieval
- Tools in AI agents
- Memory and state in agentic systems
- User prompts for LLMs
- Context management and orchestration
- Evaluation and observability
- Governance and operations
- AI frameworks for context engineering
- Context engineering for software development
- The state of the art in context engineering
Appendix A. The AI ecosystem
Appendix B. References and further reading
Each chapter begins by explaining the underlying principles and patterns of each thematic block. The final part of each chapter then presents specific examples, all of which are available in the GitHub repository. New examples will continue to be added, and existing ones maintained, even after the book is published. The goal is to provide an open-source, up-to-date reference for everyone interested in context engineering.