| Name | Type | Description |
|---|---|---|
output_dir* | str | Path | Directory to write the config file. |
graph_ref | str | Default: _DCODE_GRAPH_REFPython "module:attribute" reference to the graph, where the
attribute is a graph factory (e.g. |
env_file | str | None | Default: None |
checkpointer_path | str | None | Default: None |
auth_path | str | None | Default: None |
Generate a langgraph.json config file for langgraph dev.
Registers the interactive agent graph and dcode's custom HTTP operations,
which opt into LangGraph's route-auth layer (enable_custom_route_auth) so a
deployment that configures auth gates them. Production runs noop auth and
relies on the loopback bind, so that gate is inert there -- see
auth_path below and THREAT_MODEL.md TB10. /offload is served by that
backend boundary rather than exposed as another client-addressable graph.
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.
Import path to a LangGraph Auth instance, emitted as the
config's auth.path. Production servers run with
LANGGRAPH_AUTH_TYPE=noop and no auth backend; this exists so
tests can prove enable_custom_route_auth gates the operation
routes when a deployment does configure one.