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
In Build a Reasoning Model (From Scratch), acclaimed ML research engineer Sebastian Raschka takes you inside the black box of reasoning-e...
New
ManningBooks
Based on Ilya Sutskever’s famous “must-read” list of ~30 AI papers, this book walks you through the research that shaped today’s deep lea...
New
ManningBooks
Build an AI Agent (From Scratch) is a step-by-step guide to creating a working AI agent, starting with the bare essentials and growing yo...
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
AI agent technology is changing fast! This totally revised Second Edition of AI Agents in Action by Micheal Lanham guides you through the...
New
ManningBooks
Rearchitecting LLMs: Structural techniques for efficient models turns research from the latest AI papers into production-ready practices ...
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
Building Agentic Applications with CrewAI and MCP by Max Gfeller is a practical, example-driven guide to designing AI systems that plan, ...
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

Other popular topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
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
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
xiji2646-netizen
Woke up to this today: Claude Code’s complete source code exposed via npm source map. Not a snippet. All 512,000 lines. 1,900 TypeScript ...
New