langgraph dev
) and the local Docker server (langgraph up
). It also describes what data is tracked when interacting with the hosted LangGraph Studio frontend.
dev
, up
, run
, etc.), and booleans representing whether a flag was passed to the command. You can see the full analytics logic here.
You can disable all CLI telemetry by setting LANGGRAPH_CLI_NO_ANALYTICS=1
.
langgraph dev
) or a PostgreSQL database (for langgraph up
and in all deployments).
LANGSMITH_TRACING=false
in your server’s runtime environment.
langgraph dev
runs an in-memory development server as a single Python process, designed for quick development and testing. It saves all checkpointing and memory data to disk within a .langgraph_api
directory in the current working directory. Apart from the telemetry data described in the CLI section, no data leaves the machine unless you have enabled tracing or your graph code explicitly contacts an external service.
langgraph up
builds your local package into a Docker image and runs the server as a standalone container consisting of three containers: the API server, a PostgreSQL container, and a Redis container. All persistent data (checkpoints, assistants, etc.) are stored in the PostgreSQL database. Redis is used as a pubsub connection for real-time streaming of events. You can encrypt all checkpoints before saving to the database by setting a valid LANGGRAPH_AES_KEY
environment variable. You can also specify TTLs for checkpoints and cross-thread memories in langgraph.json
to control how long data is stored. All persisted threads, memories, and other data can be deleted via the relevant API endpoints.
Additional API calls are made to confirm that the server has a valid license and to track the number of executed runs and tasks. Periodically, the API server validates the provided license key (or API key).
If you’ve disabled tracing, no user data is persisted externally unless your graph code explicitly contacts an external service.
Variable | Purpose | Default |
---|---|---|
LANGGRAPH_CLI_NO_ANALYTICS=1 | Disable CLI analytics | Analytics enabled |
LANGSMITH_API_KEY | Enable LangSmith tracing | Tracing disabled |
LANGSMITH_TRACING=false | Disable LangSmith tracing | Depends on environment |