One-time purchase
-
To see product details, add this item to your cart.
Ships from: MyPrepbooks Sold by: MyPrepbooks
Get it faster
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph 1st Edition
Purchase options and add-ons
Additional Details
If you're looking to build production-ready AI applications that can reason and retrieve external data for context-awareness, you'll need to master--;a popular development framework and platform for building, running, and managing agentic applications. LangChain is used by several leading companies, including Zapier, Replit, Databricks, and many more. This guide is an indispensable resource for developers who understand Python or JavaScript but are beginners eager to harness the power of AI.
Authors Mayo Oshin and Nuno Campos demystify the use of LangChain through practical insights and in-depth tutorials. Starting with basic concepts, this book shows you step-by-step how to build a production-ready AI agent that uses your data.
- Harness the power of retrieval-augmented generation (RAG) to enhance the accuracy of LLMs using external up-to-date data
- Develop and deploy AI applications that interact intelligently and contextually with users
- Make use of the powerful agent architecture with LangGraph
- Integrate and manage third-party APIs and tools to extend the functionality of your AI applications
- Monitor, test, and evaluate your AI applications to improve performance
- Understand the foundations of LLM app development and how they can be used with LangChain
- ISBN-101098167287
- ISBN-13978-1098167288
- Edition1st
- PublisherO'Reilly Media
- Publication dateMarch 25, 2025
- LanguageEnglish
- Dimensions7 x 0.62 x 9.19 inches
- Print length294 pages
Discover the latest buzz-worthy books, from mysteries and romance to humor and nonfiction. Explore more
Frequently bought together

Customers who viewed this item also viewed
Generative AI with LangChain: Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraphPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 10
AI Engineering: Building Applications with Foundation ModelsPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 10
Building Applications with AI Agents: Designing and Implementing Multiagent SystemsMichael AlbadaPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 10
AI Agents and Applications: With LangChain, LangGraph, and MCPPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 10
Hands-On Large Language Models: Language Understanding and GenerationPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 10
Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and ApplicationsPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 10
Customers also bought or read
- Building Applications with AI Agents: Designing and Implementing Multiagent Systems
Paperback$59.57$59.57FREE delivery Wed, Jun 10 - Generative AI with LangChain: Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph
Paperback$44.99$44.99FREE delivery Wed, Jun 10 - AI Agents in Action: Build, orchestrate, and deploy autonomous multi-agent systems
Paperback$41.64$41.64FREE delivery Wed, Jun 10 - Building AI Agents with LLMs, RAG, and Knowledge Graphs: A practical guide to autonomous and modern AI agents
Paperback$44.99$44.99FREE delivery Wed, Jun 10 - AI Engineering: Building Applications with Foundation Models#1 Best SellerMachine Theory
Paperback$57.00$57.00FREE delivery Wed, Jun 10 - Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications
Paperback$74.55$74.55FREE delivery Wed, Jun 10 - Hands-On Large Language Models: Language Understanding and Generation
Paperback$47.69$47.69FREE delivery Wed, Jun 10 - Building Agentic AI Systems: Create intelligent, autonomous AI agents that can reason, plan, and adapt
Paperback$41.24$41.24FREE delivery Wed, Jun 10 - Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs
Paperback$50.00$50.00FREE delivery Wed, Jun 10 - LLMs in Production: From language models to successful products
Paperback$50.66$50.66FREE delivery Wed, Jun 10 - Designing Large Language Model Applications: A Holistic Approach to LLMs
Paperback$57.93$57.93FREE delivery Wed, Jun 10 - Knowledge Graphs and LLMs in Action: Build AI systems using connected data
Paperback$41.75$41.75$3.99 delivery Jul 9 - 29 - Natural Language Processing with Transformers, Revised Edition
Paperback$41.60$41.60FREE delivery Wed, Jun 10 - Context Engineering for Multi-Agent Systems: Move beyond prompting to build a Context Engine, a transparent architecture of context and reasoning
Paperback$54.99$54.99FREE delivery Wed, Jun 10 - Building Generative AI Services with FastAPI: A Practical Approach to Developing Context-Rich Generative AI Applications
Paperback$46.99$46.99FREE delivery Wed, Jun 10 - Learn Model Context Protocol with Python: Build agentic systems in Python with the new standard for AI capabilities
Paperback$36.99$36.99FREE delivery Wed, Jun 10 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Wed, Jun 10 - Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural Networks
Paperback$49.24$49.24FREE delivery Wed, Jun 10 - Building LLMs for Production: Enhancing LLM Abilities and Reliability with Prompting, Fine-Tuning, and RAG
Paperback$58.99$58.99FREE delivery Wed, Jun 10 - Designing Multi-Agent Systems: Principles, Patterns, and Implementation for AI Agents
Paperback$46.40$46.40FREE delivery Wed, Jun 10 - AI Agents and Applications: With LangChain, LangGraph, and MCP
Just releasedPaperback$58.52$58.52FREE delivery Wed, Jun 10 - LLM Engineer's Handbook: Master the art of engineering large language models from concept to production
Paperback$44.99$44.99FREE delivery Wed, Jun 10 - Generative AI on AWS: Building Context-Aware Multimodal Reasoning Applications
Paperback$44.89$44.89FREE delivery Wed, Jun 10 - Agentic Artificial Intelligence: Harnessing AI Agents to Reinvent Business, Work and Life
Paperback$23.98$23.98Delivery Wed, Jun 10 - Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$73.00$73.00FREE delivery Jun 16 - 18 - Agentic Architectural Patterns for Building Multi-Agent Systems: Proven design patterns and practices for GenAI, agents, RAG, LLMOps, and enterprise-scale AI systems
Paperback$49.99$49.99FREE delivery Wed, Jun 10 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
Just releasedPaperback$49.99$49.99FREE delivery Wed, Jun 10 - Generative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex AI on Google Cloud
Paperback$44.99$44.99FREE delivery Wed, Jun 10 - AI Agents in Practice: Design, implement, and scale autonomous AI systems for production
Paperback$33.74$33.74Delivery Wed, Jun 10
From the brand
-
Browse more NLP & LLM books
-
Machine Learning, AI & more
-
More from O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
With this book, we hope to convey the excitement and possibility of adding LLMs to your software engineering toolbelt.
We got into programming because we like building things, getting to the end of a project, looking at the final product and realizing there’s something new out there, and we built it. Programming with LLMs is so exciting to us because it expands the set of things we can build, it makes previously hard things easy (for example, extracting relevant numbers from a long text) and previously impossible things possible—try building an automated assistant a year ago and you end up with the phone tree hell we all know and love from calling up client service numbers.
Now with LLMs and LangChain, you can actually build pleasant assistants (or myriad other applications) that chat with you and understand your intent to a very reasonable degree. The difference is night and day! If that sounds exciting to you (as it does to us) then you’ve come to the right place.
In the Preface, we'll give you a refresher on what makes LLMs tick and why exactly that gives you “thing-building” superpowers. Having these very large ML models that understand language and can output answers written in conversational English (or some other language) gives you a programmable (through prompt engineering), versatile language-generation tool. By the end of the book, we hope you’ll see just how powerful that can be.
We’ll begin with an AI chatbot customized by, for the most part, plain English instructions. That alone should be an eye-opener: you can now “program” part of the behavior of your application without code.
Then comes the next capability: giving your chatbot access to your own documents, which takes it from a generic assistant to one that’s knowledgeable about any area of human knowledge for which you can find a library of written text. This will allow you to have the chatbot answer questions or summarize documents you wrote, for instance.
After that, we’ll make the chatbot remember your previous conversations. This will improve it in two ways: It will feel a lot more natural to have a conversation with a chatbot that remembers what you have previously chatted about, and over time the chatbot can be personalized to the preferences of each of its users individually.
Next, we’ll use chain-of-thought and tool-calling techniques to give the chatbot the ability to plan and act on those plans, iteratively. This will enable it to work toward more complicated requests, such as writing a research report about a subject of your choice.
As you use your chatbot for more complicated tasks, you’ll feel the need to give it the tools to collaborate with you. This encompasses both giving you the ability to interrupt or authorize actions before they are taken, as well as providing the chatbot with the ability to ask for more information or clarification before acting.
Finally, we’ll show you how to deploy your chatbot to production and discuss what you need to consider before and after taking that step, including latency, reliability, and security. Then we’ll show you how to monitor your chatbot in production and continue to improve it as it is used.
Along the way, we’ll teach you the ins and outs of each of these techniques, so that when you finish the book, you will have truly added a new tool (or two) to your software engineering toolbelt.
Learning LangChain: Building AI and LLM Applications with LangChain and LangG...
|
LangChain for Life Sciences and Healthcare: Innovation Through LLMs and Gener...
|
|
|---|---|---|
|
Add to Cart
|
Add to Cart
|
|
| Customer Reviews |
4.2 out of 5 stars 25
|
5.0 out of 5 stars 2
|
| LangChain from O'Reilly | no data | no data |
Editorial Reviews
About the Author
Mayo has consulted with, advised, and trained hundreds of engineers and product managers at various leading institutions, including Amazon, LinkedIn, Evercore, Visa, and BCG.
You can learn more about him at his website, mayooshin.com, and get his latest ideas on AI and technology on X (https://x.com/mayowaoshin).
Nuno Campos is a founding software engineer at LangChain, Inc. Nuno has a decade of experience as a Python and JavaScript software engineer, architect and open-source maintainer. He has worked for various tech startups in software engineering and data science roles. He holds an MSc in Finance.
Product details
- Publisher : O'Reilly Media
- Publication date : March 25, 2025
- Edition : 1st
- Language : English
- Print length : 294 pages
- ISBN-10 : 1098167287
- ISBN-13 : 978-1098167288
- Item Weight : 1.11 pounds
- Dimensions : 7 x 0.62 x 9.19 inches
- Best Sellers Rank: #323,160 in Books (See Top 100 in Books)
- #123 in Natural Language Processing (Books)
- #186 in Customer Relations (Books)
- #776 in Computer Science (Books)
- Customer Reviews:
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
- 5 out of 5 stars
Great book
Reviewed in the United States on June 10, 2025Love the fact you put examples in python and javascript.
Great book.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
proper documentation from langchain
Reviewed in the United States on April 19, 2025Liked the book. But Still missing Human in the loop.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Already outdated
Reviewed in the United States on August 5, 2025Concepts are sound but the code in this book is already obsolete
3 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Unlocking Practical AI: A Developer’s Guide to Building with LLMs and LangChain
Reviewed in the United States on July 17, 2025If you're a developer eager to move beyond LLM experimentation and build robust, context-aware AI applications, this book offers both inspiration and practical guidance. The authors open with a clear passion for the transformative potential of large language models (LLMs) and LangChain, framing these technologies as not just enhancements to the developer’s toolkit, but as gateways to new kinds of “thing-building” superpowers. This sense of possibility is grounded in step-by-step instruction, making the book approachable for those with Python or JavaScript backgrounds who may be new to the world of production-grade AI agents.
What stands out is the book’s careful scaffolding: starting with foundational concepts like prompt-based programming and progressing to advanced capabilities such as retrieval-augmented generation, agent planning, and tool integration. Each stage is contextualized with real-world use cases, like customizing chatbots to interact with your own documents, personalizing user experiences through memory, and deploying to production with reliability and security in mind. The focus on chain-of-thought reasoning and LangGraph’s agent architecture demonstrates the authors’ awareness of the current state of AI, where context and planning are just as important as raw language ability.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Excellent Handbook
Reviewed in the United States on April 11, 2025What got my interest in this book is the author. He's well-known as a leader in the LangChain world. And his book did not disappoint. It goes through the whole life cycle of development and there is a lot useful insights. If you are looking to build real-world genAI/agentic apps, then this book is certainly a great choice.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Useful resource!
Reviewed in the United States on April 10, 2025I found this book well written and extremely useful for getting comfortable with LLMs for building AI apps in production and other agent driven applications.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Fantastic!
Reviewed in the United States on April 10, 2025A great primer on getting started with LangChain concepts!
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
aa5 out of 5 starsgreat
Reviewed in the United Kingdom on January 24, 2026it was great
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Amazon Customer5 out of 5 starsVery good book
Reviewed in Canada on May 8, 2025After reading the first 100 pages, I can say this is a very good book. It greatly helps getting the most of LangChain.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Rutra5 out of 5 starsgreat starting point
Reviewed in Brazil on March 26, 2026the company I work for is implementing a chatbot using langchan. This book gave me confidence I needed to work with langchain, the examples in javascript and python are a big deal. it does talk briefly about HITL.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Computational Scientist5 out of 5 starsQuick start for chains and AI agents!
Reviewed in the United Kingdom on September 10, 2025This was such a useful book! I was writing my own apps every step of the way as I read. Great examples and good writing. The RAG and Agent sections were the most useful.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Amazon Customer1 out of 5 starsWaste of time - most the functions in the book are now depreciated
Reviewed in the United Kingdom on March 31, 2025Sadly this book is a complete waste of time. The LangChain SDK has changed so much since it was published that none of the examples from the first few pages actually worked. It was a case of debugging them each time with the LangChain docs.
I returned the book for a refund as it’s not fit for purpose.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again








