LangGraph 1 · Setup

Write langgraph.json

Tell the CLI which graphs your project exposes and where its dependencies and environment file are.

{
  "dependencies": ["."],
  "graphs": {"agent": "./agent.py:graph"},
  "env": ".env"
}

Official LangGraph 1 documentation

More setup commands

All setup commands · LangGraph 1 cheatsheet

Was this page helpful?