Skip to product information
1 of 1

Context Engineering with DSPy

Context Engineering with DSPy

Self-Optimizing Prompt Pipelines for Building Reliable AI Agents

Paperback

Regular price $74.99
Regular price Sale price $74.99

Join our rewards scheme and earn reward points on this purchase!

Earn points on this!

Sign in or Sign up!
View full details
  • Release Date: 23/10/2026
  • Barcode: 9798341671263
  • Genre: Computing & The Internet
  • Sub-Genre: Computer Science
  • Imprint: O'Reilly Media
  • Publisher: O'Reilly Media
Context Engineering with DSPy

Context Engineering with DSPy

Collapsible content

DESCRIPTION

Self-Optimizing Prompt Pipelines for Building Reliable AI Agents
Mike Taylor explains DSPy in a clear, approachable style, showing how its modular structure, portable programs, and built-in optimizers help teams move beyond guesswork. Through real examples and step-by-step guidance, you'll learn how DSPy's signatures, modules, datasets, and metrics work together to solve context engineering problems.

AI agents need the right context at the right time to do a good job. Too much input increases cost and harms accuracy, while too little causes instability and hallucinations. Context Engineering with DSPy introduces a practical, evaluation-driven way to design AI systems that remain reliable, predictable, and easy to maintain as they grow.

AI engineer and educator Mike Taylor explains DSPy in a clear, approachable style, showing how its modular structure, portable programs, and built-in optimizers help teams move beyond guesswork. Through real examples and step-by-step guidance, you'll learn how DSPy's signatures, modules, datasets, and metrics work together to solve context engineering problems that evolve as models change and workloads scale.

This book supports AI engineers, data scientists, machine learning practitioners, and software developers building AI agents, retrieval-augmented generation (RAG) systems, and multistep reasoning workflows that hold up in production.

  • Understand the core ideas behind context engineering and why they matter
  • Structure LLM pipelines with DSPy's maintainable, reusable components
  • Apply evaluation-driven optimizers like GEPA and MIPROv2 for measurable improvements
  • Create reproducible RAG and agentic workflows with clear metrics
  • Develop AI systems that stay robust across providers, model updates, and real-world constraints


DELIVERY & RETURNS

UK Delivery:

  • Free delivery on all orders of £10 or more.
  • £1.49 delivery fee on orders below £10.
  • UK orders are shipped via Royal Mail 2nd Class.

International Delivery:

  • Flat rate delivery charges vary by country.

Dispatch and Delivery Times:

  • All orders are shipped from our warehouse in Northampton, UK as soon as stock is available.
  • UK mainland orders typically arrive within 3-7 working days via Royal Mail 2nd Class.
  • International estimated delivery times:
  • Europe & Channel Islands: 7 to 10 working days
  • USA: 7 to 15 working days
  • Rest of the World: 9 to 30 working days

View our full delivery infomation here.

  • OVER

    2 MILLION PRODUCTS

  • 60 MILLION CUSTOMERS

    ACROSS 190 COUNTRIES