Learn LangChain
Build LLM apps and agents: models, prompts, tools, retrieval and LangGraph
LangChain is a Python framework for building applications on large language models. It gives a common interface to chat models from many providers, prompt templates, composable runnables (LCEL), tools and structured output, retrieval components for RAG, and agents built on LangGraph, its low-level library for stateful, durable agent workflows. It is one of the most widely used toolkits for LLM apps.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know