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:

First Post!

KnowledgeIsPower

KnowledgeIsPower

Looks like a very good book.

I just tried to implement a POC on RAG / chatbot without much domain knowledge on it.

Where Next?

Popular Ai topics Top

ManningBooks
Before deploying an AI model into production, you need to know more than just its accuracy. Will it be fast enough for your users? Will i...
New
ManningBooks
AI agent technology is changing fast! This totally revised Second Edition of AI Agents in Action by Micheal Lanham guides you through the...
New
pragdave
Build a prototype in a weekend or a full product in a month or two. Untangle legacy systems, improve tests and documentation, and tackle ...
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
Introduction to Generative AI, Second Edition, guides you from your first eye-opening interaction with tools like ChatGPT to how AI tools...
New
ManningBooks
Build AI-Enhanced Web Apps guides you through AI development using only JavaScript and other common web dev skills–no Python or Machine L...
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
Today’s AI models demand a lot of memory, compute, and server horsepower–which quickly translates into cost. Quantization and Fast Infere...
New
ManningBooks
In Designing AI Agents, you’ll learn how to establish agent architectures that manage costs and take governance seriously from day one. T...
New
ManningBooks
Crack Any Codebase with AI shows you how to use an efficient AI-driven process to quickly and accurately make sense of any software proje...
New

Other popular topics Top

siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
RobertRichards
Hair Salon Games for Girls Fun Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New
PragmaticBookshelf
As digital systems increasingly run the world, mastery of the recurring patterns of software development risk is the key to fast and effe...
New