Ask a question to get started
Enter to send•Shift+Enter new line
generate_langgraph_json( output_dir: str | Path, *, graph_ref: str = './server_graph.py:graph',
output_dir
str | Path
Directory to write the config file.
graph_ref
str
'./server_graph.py:graph'
Python module:variable reference to the graph.
env_file
str | None
None
checkpointer_path
Generate a langgraph.json config file for langgraph dev.
langgraph.json
langgraph dev
Optional path to an env file.
Import path to an async context manager that yields a BaseCheckpointSaver. When set, the server persists checkpoint data to disk instead of in-memory.
BaseCheckpointSaver