Skip to content

Table of Contents

This book aims to provide a strong, general-purpose theoretical foundation for context engineering, supported by hands-on examples.

  1. Introduction to context engineering
  2. Instructions in AI agents
  3. External knowledge and retrieval
  4. Tools in AI agents
  5. Memory and state in agentic systems
  6. User prompts for LLMs
  7. Context management and orchestration
  8. Evaluation and observability
  9. Governance and operations
  10. AI frameworks for context engineering
  11. Context engineering for software development
  12. 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.

Released under the Apache-2.0 License.