Skip to main content

LangChain

Compose real applications around language models — chains, retrievers, memory, tools and agents — with the trade-offs that come with them.

Course Duration: 6h

What You'll Learn

  • Decide when LangChain earns its keep and when direct API calls stay simpler
  • Compose runnables with the LCEL operator, stream and batch them at will
  • Load documents, split them cleanly and build a working retrieval chain
  • Give a chat model memory that fits inside a shrinking context budget
  • Declare typed tools, hand them to an agent and keep the loop from running away
  • Trace, evaluate and debug a chain with LangSmith or an open tracer

Prerequisites

  • Course 16 — Large language models
  • Course 18 — Retrieval-augmented generation
  • Working Python and a running open-weight model (Ollama, an API key, or the setup from course 29)

Course Modules

  1. What LangChain adds and what it complicates
  2. Models, prompts and output parsers
  3. Composing chains
  4. Document loaders and splitting
  5. Vector stores and retrievers
  6. Conversation memory
  7. Tools and function calling
  8. Agents: the reasoning and acting loop
  9. Tracing, evaluation and debugging
  10. Project: an end-to-end tool-using assistant

The running project

Across the ten modules you build the same object: an expense-reports assistant for a small team. It reads receipts, answers questions about the reimbursement policy, remembers the conversation, calls a currency converter and a per-diem ceiling check, and finishes as a tool-using agent that drafts a spreadsheet line. Each module adds one capability to that same assistant — no throwaway toy examples.

Assessment and certificate

The course ends with a 40-question exam covering every module. On success, a certificate of completion is issued; its number is verifiable on the platform.

Free courses, by contrast, end with a 5-question quiz and a preview of the certificate, without certification.