ManningBooks

ManningBooks

Devtalk Sponsor

Context Engineering (Manning)

Context engineering is the discipline of selecting, organizing, updating, compressing, prioritizing the precise context a model needs to generate accurate responses. This book shows you how to combine well-designed prompts with smart search, content filtering, and advanced RAG techniques incorporating many types of stored data to create reliable responses in your AI applications.

Boni Garcia

If you’re building with LLMs, you’ve probably run into the same pattern many teams are seeing: a clever prompt works in a demo, then falls apart when the system has to handle fresh data, long conversations, tools, memory, multiple steps, or production constraints. The missing piece is often context: what the model sees, when it sees it, how that context is selected, and what gets left out.

Context Engineering treats that as a software design problem.

The book shows how to build AI systems where the model’s information environment is designed with the same care as the code around it. Boni García covers the full context stack: instructions, external knowledge, tools, memory, state, user prompts, orchestration, evaluation, observability, and governance.

Early chapters are already available and cover:

  • What context engineering is and why prompt engineering is only one part of the picture

  • How LLM-based systems evolve from single model calls to workflows, agents, and agentic systems

  • System prompts, agent skills, and instruction artifacts such as AGENTS.md and CLAUDE.md

  • RAG pipelines, chunking, vector databases, graph RAG, hybrid RAG, agentic RAG, vectorless RAG, cache-augmented generation, and context stuffing

  • Tool use through function calling, command-line interfaces, and the Model Context Protocol

The hands-on sections use current tools and platforms, including OpenAI, Anthropic Claude, Google Gemini, Ollama, LangChain, LlamaIndex, CrewAI, DSPy, RAGFlow, and MCP servers. Examples are grounded in working code, with a companion GitHub repository for readers who want to follow along.

This book is aimed at AI engineers, data scientists, and engineering managers who already know the basics of LLMs and agents and want to build systems that behave more consistently outside a notebook or prototype.

A bit about the author: Boni García is an Associate Professor at Universidad Carlos III de Madrid, a Selenium project tech lead, and the creator and maintainer of WebDriverManager and Selenium Manager. His work sits at the intersection of software engineering, test automation, and applied AI.

MEAP means you can start reading now while the book is still being completed. You’ll get updates as new chapters are added.

If you’re working on RAG, agents, coding assistants, enterprise copilots, or any LLM system where “just make the prompt better” has stopped being enough, this one should be on your list.


Don’t forget you can get 45% off with your Devtalk discount! Just use the coupon code “devtalk.com” at checkout :+1:

Where Next?

Popular Ai topics Top

New
ManningBooks
Erlang and OTP in Action teaches you the concepts of concurrent programming and the use of Erlang’s message-passing model. It walks you t...
New
ManningBooks
In Build a DeepSeek Model (From Scratch) you’ll build your own DeepSeek clone from the ground up. First, you’ll quickly review LLM fundam...
New
ManningBooks
Dr Luca Belli, co-founder and former research lead for Twitter’s Machine Learning Ethics, Transparency and Accountability team, has been ...
New
ManningBooks
Rearchitecting LLMs: Structural techniques for efficient models turns research from the latest AI papers into production-ready practices ...
New
ManningBooks
CUDA for Deep Learning shows you how to work within the CUDA ecosystem, from your first kernel to implementing advanced LLM features like...
New
ManningBooks
Introduction to Generative AI, Second Edition, guides you from your first eye-opening interaction with tools like ChatGPT to how AI tools...
New
ManningBooks
How can you be sure your next AI project is worthwhile before you build it? Look Before You Leap offers a repeatable go/kill/pivot decisi...
New
ManningBooks
AI is changing how offensive security workflows are designed, executed, and analyzed. AI Agents for Offensive Security: AI-powered attack...
New
ManningBooks
Building Agentic Applications with CrewAI and MCP by Max Gfeller is a practical, example-driven guide to designing AI systems that plan, ...
New

Other popular topics Top

PragmaticBookshelf
Learn from the award-winning programming series that inspired the Elixir language, and go on a step-by-step journey through the most impo...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
PragmaticBookshelf
Build modern server-driven web applications using htmx. Whatever programming language you use, you’ll write less (and cleaner) code. ...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New