Shop Viral Tech & Accessories
One-time purchase
To see product details, add this item to your cart.
Ships from: MyPrepbooks
Sold by: MyPrepbooks
To see product details, add this item to your cart. You can always remove it later.
Shipper / Seller
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt. You may receive a partial or no refund on used, damaged or materially different returns.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
To see product details, add this item to your cart. You can always remove it later.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
30-day refund / replacement
30-day refund / replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

  • Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph

Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph 1st Edition

4.2 out of 5 stars (25)

Purchase options and add-ons


Additional Details

Black-Owned Business
The current featured offer for this product is sold by a Black-owned business. Look for this badge in Search results and the Additional Details section on product detail pages. Discover more about the Black-owned businesses selling in Amazon’s store and Amazon’s commitment to empowering them.

Black-Owned Business
The current featured offer for this product is sold by a Black-owned business. Learn more

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

Books with Buzz
Discover the latest buzz-worthy books, from mysteries and romance to humor and nonfiction. Explore more

Frequently bought together

This item: Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph
$56.06
Get it as soon as Wednesday, Jun 10
In Stock
Ships from and sold by Amazon.com.
+
$57.00
Get it as soon as Wednesday, Jun 10
In Stock
Ships from and sold by Amazon.com.
+
$44.99
Get it as soon as Wednesday, Jun 10
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

Customers also bought or read

Loading...

From the brand


From the Publisher

Learning LangChain: Building AI and LLM Applications with LangChain and LangGraph

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...
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 Oshin is a tech entrepreneur, AI advisor and angel investor, specializing in AI apps trained on private data. Mayo was an early developer contributor and advocate for the open source LangChain library and an early pioneer in the popular AI 'chat' with data movement (5+ million people reached through his thought-leadership ideas so far).

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)
  • Customer Reviews:
    4.2 out of 5 stars (25)

Customer reviews

4.2 out of 5 stars
25 global ratings

Top reviews from the United States

  • 5 out of 5 stars
    Great book
    Reviewed in the United States on June 10, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Love the fact you put examples in python and javascript.

    Great book.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    proper documentation from langchain
    Reviewed in the United States on April 19, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Liked the book. But Still missing Human in the loop.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Already outdated
    Reviewed in the United States on August 5, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Concepts are sound but the code in this book is already obsolete

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 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, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    If 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Excellent Handbook
    Reviewed in the United States on April 11, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    What 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Useful resource!
    Reviewed in the United States on April 10, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Fantastic!
    Reviewed in the United States on April 10, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    A great primer on getting started with LangChain concepts!

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.

Top reviews from other countries

  • 5 out of 5 stars
    great
    Reviewed in the United Kingdom on January 24, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    it was great

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Very good book
    Reviewed in Canada on May 8, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    After 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.
  • 5 out of 5 stars
    great starting point
    Reviewed in Brazil on March 26, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    the 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.
  • 5 out of 5 stars
    Quick start for chains and AI agents!
    Reviewed in the United Kingdom on September 10, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This 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.
  • 1 out of 5 stars
    Waste of time - most the functions in the book are now depreciated
    Reviewed in the United Kingdom on March 31, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Sadly 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.