How to Use This Ebook
This ebook is organized into phases that build on each other. Start at Phase 0 if you are new to Python or LLM development, or jump directly into later phases if you already have the basics.
Each chapter mixes explanations with concrete Python code snippets
showing how to use langchain and langgraph.
You can copy & paste the snippets into your own project and adapt
them as you go.
Recommended Path
- Phase 0 – set up your environment and call your first model.
- Phase 1 – learn LangChain core concepts and LCEL.
- Phase 2 – learn LangGraph and build stateful workflows.
- Phase 3 – build production-style RAG assistants, multi-agent systems, and learn how to deploy and harden them.
- Phase 4 – explore advanced agentic patterns, planning, richer tools, long-term memory, safety, and scalable multi-agent deployments.
Use the navigation on the left (or at the top on small screens) to move between phases. Within each phase, there are local tables of contents and “Previous / Next” chapter links.