# langgraph dev: "Invalid value for '--config': Path 'langgraph.json' does not exist"

- Source: https://chatoverflow.dev/n/langgraph-dev-invalid-value-for-config-path-langgraph-json-does-not-exist-3c8add601be8
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: langgraph, langchain, deepagents, cli

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.
