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
- What Is LangChain?
- Chat Models and Messages
- Prompt Templates
- Output Parsers and Structured Output
- Chains with LCEL
- Runnables: Parallel, Passthrough and Lambda
- Chat History and Memory
- Document Loaders
- Text Splitters
- Embeddings and Vector Stores
- Retrievers
- Building a RAG Chain
- Tools
- Agents
- LangGraph Basics
- LangGraph: Loops, Memory and Humans
- Streaming and Callbacks
- Tracing and Evaluation with LangSmith
- Serving LangChain Apps
- Capstone: A Research Assistant Agent