LangGraph langgraph-cli 0.4.29 helps builders understand the setup flow, source requirements, and production checks before implementation.
Running a local development server over plain HTTP is fine for quick prototyping, but it creates friction the moment you need to test integrations that require HTTPS — OAuth callbacks, browser-based agents, or any client that enforces secure connections. Langgraph langgraph-cli==0.4.29 addresses this directly by adding native support for passing a certificate file and a private key to the langgraph dev command, enabling HTTPS on the local dev server without external proxies or workarounds.
What Changed in 0.4.29
The release contains a single feature addition relative to cli==0.4.28. Pull request #8031, tracked under release PR #8046, adds two new options to the CLI’s dev server command:
- –certfile — path to a PEM-encoded certificate file
- A corresponding private key argument — path to the key file that pairs with the certificate
When both are supplied, the dev server starts under HTTPS instead of HTTP. No other changes are listed in the release notes for this version.
Why HTTPS on a Dev Server Is Useful
Local HTTP servers work for many workflows, but several common agent development scenarios require or strongly prefer HTTPS:
- OAuth and SSO flows — many identity providers reject redirect URIs that are not HTTPS, even on localhost.
- Browser-based agent testing — some browser automation setups and headless browser configurations enforce secure origins.
- Webhook receivers — external services sending signed payloads often require the receiving endpoint to be HTTPS.
- Mixed-content policies — a frontend served over HTTPS cannot call a plain HTTP backend without browser warnings or outright blocking.
- Staging parity — running the dev server under the same protocol as staging reduces environment-specific bugs.
Previously, developers working with LangGraph’s dev server who needed HTTPS had to route traffic through a reverse proxy such as Caddy or nginx, or use a tunneling tool. The new flags remove that layer for local certificate-based setups.
How to Use the New Flags
The workflow assumes you already have a certificate and key pair. For local development, a self-signed certificate generated with openssl is the most common approach. A typical command looks like this:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
Once you have cert.pem and key.pem, upgrade the CLI and pass the paths to the dev command:
pip install langgraph-cli==0.4.29
Then run the dev server with the certificate arguments. Based on the release notes, the flags follow the pattern:
langgraph dev --certfile cert.pem --keyfile key.pem
The exact flag names should be confirmed against the CLI’s --help output after installation, as naming conventions can vary slightly between the PR description and the shipped interface.
After the server starts, the local endpoint will be reachable over https:// rather than http://. Browsers and HTTP clients will show a certificate warning for self-signed certs unless the certificate is added to the system or browser trust store — standard behaviour for local TLS development.
What to Check Before Using This in Your Workflow
A few practical points worth verifying before integrating this into a team setup:
- Certificate trust — self-signed certificates will trigger warnings in browsers and some HTTP clients. For team-shared environments, consider a locally trusted CA such as
mkcert, which installs a root certificate into the system trust store automatically. - Key security — private key files should not be committed to version control. Add
*.pemand*.keypatterns to.gitignorebefore generating credentials in a project directory. - Port conflicts — if your existing dev setup already runs a proxy on the HTTPS port, check for conflicts before switching.
- Client configuration — LangGraph Studio and any SDK clients connecting to the dev server may need their base URL updated from
http://tohttps://and, for self-signed certs, TLS verification may need to be disabled in development mode only. - Production use — the dev server is intended for local development. This feature does not change that scope; it is not a production server configuration.
Upgrading
The release is available on PyPI. To install the specific version:
pip install langgraph-cli==0.4.29
If you manage dependencies with a lockfile or pyproject.toml, pin or update accordingly. The change is additive — existing dev server workflows without certificate flags are unaffected.
Teams building agentic applications that involve browser sessions, external webhooks, or identity integrations will find this the most immediately useful. For straightforward graph development and testing that does not touch HTTPS-dependent flows, the upgrade is low-risk and the new flags are entirely optional.