skillfed

langgraph-cli

CLI for interacting with LangGraph API

langgraph-cli v0.4.31 3.5M downloads/30d#2,616 on PyPI39,691
Permissive license MIT Active released

What it is and what it does

LangGraph CLI is the official command-line interface for the LangGraph framework, providing a unified toolkit for the full lifecycle of LangGraph application development. It scaffolds new projects from templates, runs a development server with hot reloading, and packages applications for production deployment via Docker. The CLI reads configuration from a `langgraph.json` file that specifies dependencies, graph entry points, Python version, and custom Dockerfile directives, then orchestrates the build and deployment process.

The tool is designed to accelerate the path from local development to production. Its core commands cover project initialization (`langgraph new`), local development with auto-reload (`langgraph dev`), Docker-based execution (`langgraph up`), image building (`langgraph build`), and Dockerfile generation for custom deployments. It depends on click for CLI parsing, httpx for HTTP operations, langgraph-sdk for API interaction, and standard utilities like python-dotenv and tomli for configuration handling.

Use it for:

  • Scaffold a new LangGraph project with a predefined template to start development quickly.
  • Run a local development server with hot reloading while iterating on graph logic and dependencies.
  • Build and test a LangGraph application in Docker before deploying to production infrastructure.
  • Generate a Dockerfile for custom deployment scenarios or integration with existing CI/CD pipelines.
  • Configure multi-graph applications with external dependencies and environment variables via langgraph.json.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Command-line interface for creating, developing, building, and deploying LangGraph applications locally or in Docker containers.

Yes. This is the official CLI for LangGraph, actively maintained with no known vulnerabilities, low install friction, and permissive licensing. Install it if you are building or deploying LangGraph applications—it is the standard tool for the job. The only caveat is that Docker-based commands require Docker to be installed separately.

Install

langgraph-cli on PyPI

pip

pip install langgraph-cli

uv

uv add langgraph-cli

poetry

poetry add langgraph-cli

Installing langgraph-cli

Before you install

Low friction installation with a pure-Python wheel and six lightweight runtime dependencies. The project is actively maintained with a recent release and strong community backing (39691 repository stars).

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install langgraph-cli
langgraph new my-project --template default
cd my-project
langgraph dev --port 2024

Requires Python 3.10 or later. Docker is needed for `langgraph up` and `langgraph build` commands.

Verify before relying

  • Whether the `langgraph dev` hot-reload feature works reliably with all dependency types.
  • Performance characteristics when building large or complex LangGraph applications.
  • Compatibility with non-standard Python environments or package managers beyond uv/pip.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — click, httpx, langgraph-sdk, pathspec, python-dotenv, tomli
Maintenance actively maintained — 35 days since the last release
Last repo commit
First released
Downloads 3,458,193/month — #2,616 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: langgraph_cli-0.4.31-py3-none-any.whl

Tags

langgraph cli tooldeploy langgraph appslanggraph development serverdocker build langgraphlanggraph api serverlanggraph project scaffoldinglanggraph hot reload dev
cli-toollanggraph-ecosystemllm-deployment

More Build Tools packages