Building Natural Language and LLM Pipelines
Build production-grade RAG, tool contracts, and context engineering with Haystack and LangGraph

EPUB · English
Price and availability
EPUB eBookUS store
$40.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Packt Publishing Limited
- Published
- 30 December 2025
- Pages
- 338
- ISBN
- 9781835467008
- Subjects
- Computer science, Computing and Information Technology
About this book
Stop LLM applications from breaking in production. Build deterministic pipelines, enforce strict tool contracts, engineer high-signal context for RAG, and orchestrate resilient multi-agent workflows using two foundational frameworks: Haystack for pipelines and LangGraph for low-level agent orchestration. DRM-free PDF version + access to Packt's next-gen Reader*Key FeaturesDesign reproducible LLM pipelines using typed components and strict tool contractsBuild resilient multi-agent systems with LangGraph and modular microservicesEvaluate and monitor pipeline performance with Ragas and Weights & BiasesBook DescriptionModern LLM applications often break in production due to brittle pipelines, loose tool definitions, and noisy context. This book shows you how to build production-ready, context-aware systems using Haystack and LangGraph. You ll learn to design deterministic pipelines with strict tool contracts and deploy them as microservices. Through structured context engineering, you ll orchestrate reliable agent workflows and move beyond simple prompt-based interactions. You'll start by understanding LLM behavior tokens, embeddings, and transformer models and see how prompt engineering has evolved into a full context engineering discipline. Then, you'll build retrieval-augmented generation (RAG) pipelines with retrievers, rankers, and custom components using Haystack s graph-based architecture. You ll also create knowledge graphs, synthesize unstructured data, and evaluate system behavior using Ragas and Weights & Biases. In LangGraph, you ll orchestrate agents with supervisor-worker patterns, typed state machines, retries, fallbacks, and safety guardrails. By the end of the book, you ll have the skills to design scalable, testable LLM pipelines and multi-agent systems that remain robust as the AI ecosystem evolves. *Email sign-up and proof of purchase requiredWhat you will learnBuild structured retrieval pipelines with HaystackApply context engineering to improve agent performanceServe pipelines as LangGraph-compatible microservicesUse LangGraph to orchestrate multi-agent workflowsDeploy REST APIs using FastAPI and HayhooksTrack cost and quality with Ragas and Weights & BiasesImplement retries, circuit breakers, and observabilityDesign sovereign agents for high-volume local executionWho this book is forLLM engineers, NLP developers, and data scientists looking to build production-grade pipelines, agentic workflows, or RAG systems. Ideal for tech leads looking to move beyond prototypes to scalable, testable solutions, as well as teams modernizing legacy NLP pipelines into orchestration-ready microservices. Proficiency in Python and familiarity with core NLP concepts are recommended.
Bibliographic data © Gardners Books Ltd.