Notebooks
LangChain and LangGraph tutorials
Resource by Lance Martin
Published by the Learnetto team
About this resource
Lance Martin’s free LangChain Academy material uses hands-on notebooks to teach agents, RAG, orchestration and stateful LLM applications. Start with LangChain concepts, then use LangGraph when your workflow needs durable state and controlled transitions.
Why it is worth your time
Martin’s tutorials are most useful when you need to see how an agent or retrieval workflow is represented in code. The notebooks make state, nodes, transitions and tool calls concrete. Begin with the smallest workflow that matches your use case, add tracing and a test set before adding more nodes, and compare the framework version used in the lesson with the current docs. LangGraph is not a reason to turn a single model call into a graph; use it when explicit state and controlled transitions solve a real problem.
Who this is for
Python developers who know basic LLM APIs and want hands-on practice with RAG, agents and stateful LangGraph workflows.
A practical learning path
LangChain Academy’s repository runs from setup through deployment. Preserve that order and carry one small graph forward so every module changes something you can test.
-
1
Start with Module 0 and the smallest graph: install the supported Python version, run one notebook and inspect the state passed between nodes.
-
2
Work through Modules 1–2 to add tools, memory and human approval without changing the project’s underlying task.
-
3
Use Modules 3–5 for planning, subgraphs, parallel work and multi-agent patterns only where your test cases expose a need.
-
4
Finish with Module 6 deployment, then add tracing, retries, authorization, cost limits and an evaluation set before calling the graph production-ready.
What you will learn
- How LangChain components and LangGraph state machines divide responsibilities
- How to model tool calls, checkpoints and transitions in a multi-step workflow
- How tracing and evaluation expose failures that a successful demo can hide
What to know before you start
- Framework APIs change quickly, so older notebooks may need updates.
- The tutorials teach one ecosystem and should not substitute for learning the underlying agent loop.
- Production security, authorization, rate limits and operational cost need additional work beyond the notebooks.