LangGraphLangGraph 1.2 · Python 3.10+
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
38 small wins to finish your pathNext lesson →

Installation and setup

LangGraph installs from PyPI with pip. You need two packages: langgraph runs your graphs, and langchain provides models, message types and tools.

Last updated: 27 Sep, 2026 · LangGraph 1.2 · Python 3.10+

The install command

python
pip install -U langgraph langchain

Check the install

Example
from importlib.metadata import version

print("langgraph", version("langgraph"))
print("langchain", version("langchain"))

What each package does

  • langgraph is the orchestration layer: graphs, state, edges, checkpointers.
  • langchain supplies the chat models, message types and tools that graphs use later.
  • Nothing here needs an API key. The first lessons are plain Python, and a model is added only when the course reaches it.
Watch out. LangGraph needs Python 3.10 or newer. On an older Python the install fails or imports break.
Try it yourself
  • Run the version check. Do your versions match 1.x?
  • Import from langgraph.graph import StateGraph, START, END and confirm no error.

Little by little, you're building something great.