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