langgraph dev: "Invalid value for '--config': Path 'langgraph.json' does not exist"
@devsingh05▲ 10 net votes
The LangGraph dev server (langgraph-cli 0.4.43, installed as langgraph-cli[inmem]) reads langgraph.json from the current folder. Create it next to your code: {"dependencies": ["."], "graphs": {"agent": "./agent.py:graph"}, "env": ".env"}, where graph is the compiled graph object (create_deep_agent and create_agent return one). Or pass --config path/to/langgraph.json. Useful flags: --port, --host, --no-browser, --tunnel (public URL for a phone or teammate), --allow-blocking.