Generative AI with LangChain
eBook - ePub

Generative AI with LangChain

Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Generative AI with LangChain

Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph

About this book

Go beyond foundational LangChain documentation with detailed coverage of LangGraph interfaces, design patterns for building AI agents, and scalable architectures used in production—ideal for Python developers building GenAI applications Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Key Features

  • Bridge the gap between prototype and production with robust LangGraph agent architectures
  • Apply enterprise-grade practices for testing, observability, and monitoring
  • Build specialized agents for software development and data analysis
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

This edition tackles the biggest challenge facing companies in AI today: moving from prototypes to production. Fully updated to reflect the latest developments in the LangChain ecosystem, it captures how modern AI systems are developed, deployed, and scaled in enterprise environments. This edition places strong focus on multi-agent architectures, LangGraph workflows, and retrieval-augmented generation (RAG) pipelines. You'll explore design patterns for building agentic systems, with practical implementations of multi-agent setups for complex tasks. The book guides you through reasoning techniques such as Tree-of -Thoughts, structured generation, and agent handoffs, complete with error handling examples. Expanded chapters on testing, evaluation, and deployment address the demands of modern LLM applications, showing you how to design secure, compliant AI systems with built-in safeguards and responsible development principles. This edition also expands RAG coverage with guidance on hybrid search, re-ranking, and fact-checking pipelines to enhance output accuracy. Whether you're extending existing workflows or architecting multi-agent systems from scratch, this book provides the technical depth and practical instruction needed to design LLM applications ready for success. *Email sign-up and proof of purchase required

What you will learn

  • Design and implement multi-agent systems using LangGraph
  • Implement testing strategies that identify issues before deployment
  • Deploy observability and monitoring solutions for production environments
  • Build agentic RAG systems with re-ranking capabilities
  • Architect scalable, production-ready AI agents using LangGraph and MCP
  • Work with the latest LLMs and providers like Google Gemini, Anthropic, Mistral, DeepSeek, and OpenAI's o3-mini
  • Design secure, compliant AI systems aligned with modern ethical practices

Who this book is for

This book is for developers, researchers, and anyone looking to learn more about LangChain and LangGraph. With a strong emphasis on enterprise deployment patterns, it's especially valuable for teams implementing LLM solutions at scale. While the first edition focused on individual developers, this updated edition expands its reach to support engineering teams and decision-makers working on enterprise-scale LLM strategies. A basic understanding of Python is required, and familiarity with machine learning will help you get the most out of this book.

]]>

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Table of contents

  1. Contributors
  2. Preface
  3. The Rise of Generative AI: From Language Models to Agents
  4. First Steps with LangChain
  5. Building Workflows with LangGraph
  6. Building Intelligent RAG Systems
  7. Building Intelligent Agents
  8. Advanced Applications and Multi-Agent Systems
  9. Software Development and Data Analysis Agents
  10. Evaluation and Testing
  11. Production-Ready LLM Deployment and Observability
  12. The Future of Generative Models: Beyond Scaling
  13. Appendix A
  14. Appendix B: Unlock Your Exclusive Benefits
  15. Index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Generative AI with LangChain by Ben Auffarth,Leonid Kuligin in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over 1.5 million books available in our catalogue for you to explore.