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
In Build a Reasoning Model (From Scratch), acclaimed ML research engineer Sebastian Raschka takes you inside the black box of reasoning-e...
New
ManningBooks
The bestselling book on Python deep learning, now covering generative AI, Keras 3, PyTorch, and JAX! François Chollet and Matthew ...
New
pragdave
Build robust LLM-powered apps, chatbots, and agents while mastering AI engineering principles that will help you outlast the tools and th...
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
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
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
LLM Customization and Fine-Tuning is a hands-on playbook for turning a general-purpose open-weights model into a focused, cost-efficient ...
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Free and open source software is the default choice for the technologies that run our world, and it’s built and maintained by people like...
New
AstonJ
Or looking forward to? :nerd_face:
503 15149 280
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
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
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
A concise guide to MySQL 9 database administration, covering fundamental concepts, techniques, and best practices. Neil Smyth MySQL...
New