Server-side graph entry point for langgraph dev.
This module is referenced by the generated langgraph.json and exposes the CLI
agent graph as a module-level variable that the LangGraph server can load
and serve.
The graph is created at module import time via make_graph(), which reads
configuration from ServerConfig.from_env() — the same dataclass the CLI uses
to write the configuration via ServerConfig.to_env(). This shared schema
ensures the two sides stay in sync.
Read the server project context from environment transport data.
Create the CLI agent graph from environment-based configuration.
Reads DA_SERVER_* env vars via ServerConfig.from_env() (the inverse of
ServerConfig.to_env() used by the CLI process), resolves a model,
assembles tools, and compiles the agent graph.
Full configuration payload passed from the CLI to the server subprocess.
Serialized to/from DA_SERVER_* environment variables so that the server
graph (which runs in a separate Python interpreter) can reconstruct the
CLI's intent without sharing memory.
Explicit user/project path context for project-sensitive behavior.