AI Agents and Applications
eBook - ePub

AI Agents and Applications

With LangChain, LangGraph, and MCP

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

AI Agents and Applications

With LangChain, LangGraph, and MCP

About this book

AI-powered applications are rapidly becoming the new normal. Personal productivity assistants, coding agents, smarter search, and automated reporting tools are popping up everywhere. The LangChain ecosystem, and standards like MCP are driving this new gold rush. This book helps you claim your spot.

This is your hands-on guide to creating real, production-ready language model solutions. With LangChain and LangGraph, you’ll orchestrate powerful agentic workflows and build dynamic tool-based agents that can search, summarize, reason, and act. You’ll move from essential prompt engineering to advanced Retrieval Augmented Generation (RAG), and finally to deploying multi-agent systems using modern integration standards like the Model Context Protocol (MCP).

In AI Agents and Applications: With LangChain, LangGraph and MCP, you’ll discover:

• Prompt and context engineering for accurate, hallucination-resistant systems
• Advanced RAG for summarization, semantic search, and reliable Q&A
• Structured, multi-step agentic workflows with LangGraph
• Tool-based agents that adapt in real time
• Multi-agent systems for complex, real-world tasks
• MCP integration to expose, compose, and consume plug-and-play tools

About the technology

This book teaches you to design reliable LLM-powered systems by focusing on the concepts, architectures, and design patterns that will stay stable even as models and APIs change. You’ll learn to structure prompts, compose modular chains, and build RAG pipelines that ingest documents, split them into chunks, embed them, retrieve the right context, and ground answers to elliminate (or vastly reduce) hallucinations.

About the book

Along the way you’ll build concrete applications—summarization and Q&A engines, context-aware chatbots with memory, and tool-using AI agents that orchestrate multi-step workflows with branching logic. For the examples, the book uses Python, LangChain, LangGraph, and LangSmith, but you’ll be able to generalize to other frameworks. You’ll understand with clarity and confidence how to keep integrations maintainable, manage context limits and cost/latency tradeoffs, and evaluate, debug, and monitor behavior so your systems work in production.

About the author

Roberto Infante is an AI innovator with deep FinTech experience, working for a London-based hedge fund. He specializes in building agentic systems for both plain vanilla and exotic quantitative analysis.

Table of Contents

Part 1
1 Introduction to AI agents and applications
2 Executing prompts programmatically
Part 2
3 Summarizing text using LangChain
4 Building a research summarization engine
5 Agentic workflows with LangGraph
Part 3
6 RAG fundamentals with ChromaDB
7 Q&A chatbots with LangChain and LangSmith
Part 4
8 Advanced indexing
9 Question transformations
10 Query generation, routing, and retrieval postprocessing
Part 5
11 Building tool-based agents with LangGraph
12 Multi-agent systems
13 Building and consuming MCP servers
14 Productionizing AI agents: Memory, guardrails, and beyond
Appendixes
A: Trying out LangChain
B: Setting up a Jupyter Notebook environment
C: Choosing an LLM
D: Installing SQLite on Windows
E: Open source LLMs

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. AI Agents and Applications
  2. copyright
  3. contents
  4. dedication
  5. preface
  6. acknowledgments
  7. about this book
  8. about the author
  9. about the cover illustration
  10. Part 1 Getting started with LLMs
  11. 1 Introduction to AI agents and applications
  12. 2 Executing prompts programmatically
  13. Part 2 Summarization
  14. 3 Summarizing text using LangChain
  15. 4 Building a research summarization engine
  16. 5 Agentic workflows with LangGraph
  17. Part 3 Q&A chatbots
  18. 6 RAG fundamentals with ChromaDB
  19. 7 Q&A chatbots with LangChain and LangSmith
  20. Part 4 Advanced RAG
  21. 8 Advanced indexing
  22. 9 Question transformations
  23. 10 Query generation, routing, and retrieval postprocessing
  24. Part 5 AI agents
  25. 11 Building tool-based agents with LangGraph
  26. 12 Multi-agent systems
  27. 13 Building and consuming MCP servers
  28. 14 Productionizing AI agents: Memory, guardrails, and beyond
  29. appendix A Trying out LangChain
  30. appendix B Setting up a Jupyter Notebook environment
  31. appendix C Choosing an LLM
  32. appendix D Installing SQLite on Windows
  33. appendix E Open source LLMs

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 AI Agents and Applications by Roberto Infante 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.