Learn LangChain by writing real code

Build LLM apps and agents with LangChain and LangGraph: prompts, LCEL chains, structured output, RAG, tools, agents, memory, streaming and tracing.

Each chapter explains one idea, shows a worked example and then asks you to write and run your own LangChain code in the browser, with tests that check your answer.

Anyone can read the chapter list. The chapters themselves are part of licode Club.

LangChain chapters

  1. What Is LangChain?
  2. Chat Models and Messages
  3. Prompt Templates
  4. Output Parsers and Structured Output
  5. Chains with LCEL
  6. Runnables: Parallel, Passthrough and Lambda
  7. Chat History and Memory
  8. Document Loaders
  9. Text Splitters
  10. Embeddings and Vector Stores
  11. Retrievers
  12. Building a RAG Chain
  13. Tools
  14. Agents
  15. LangGraph Basics
  16. LangGraph: Loops, Memory and Humans
  17. Streaming and Callbacks
  18. Tracing and Evaluation with LangSmith
  19. Serving LangChain Apps
  20. Capstone: A Research Assistant Agent