Files
langgraph/libs/cli
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f03fcfe6a1 chore(deps): bump uv from 0.11.7 to 0.11.15 in /libs/cli (#7943)
Bumps [uv](https://github.com/astral-sh/uv) from 0.11.7 to 0.11.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/uv/releases">uv's
releases</a>.</em></p>
<blockquote>
<h2>0.11.15</h2>
<h2>Release Notes</h2>
<p>Released on 2026-05-18.</p>
<h3>Security</h3>
<ul>
<li>Fix a TAR parser differential, see <a
href="https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3cv2-h65g-fgmm">GHSA-3cv2-h65g-fgmm</a>
(<a
href="https://redirect.github.com/astral-sh/uv/pull/19463">#19463</a>)</li>
<li>Enforce that entry points cannot escape in the scripts directory,
see <a
href="https://github.com/astral-sh/uv/security/advisories/GHSA-4gg8-gxpx-9rph">GHSA-4gg8-gxpx-9rph</a>
(<a
href="https://redirect.github.com/astral-sh/uv/pull/19464">#19464</a>)</li>
</ul>
<h3>Enhancements</h3>
<ul>
<li>Add TOML v1.1 -&gt; v1.0 backwards compatibility for source
distributions (<a
href="https://redirect.github.com/astral-sh/uv/pull/18741">#18741</a>)</li>
<li>Add support for Azure request signing (<a
href="https://redirect.github.com/astral-sh/uv/pull/19421">#19421</a>)</li>
<li>Apply stricter validation to all wheel filename segments (<a
href="https://redirect.github.com/astral-sh/uv/pull/19364">#19364</a>)</li>
<li>Reject empty strings as an invalid package name (<a
href="https://redirect.github.com/astral-sh/uv/pull/19435">#19435</a>)</li>
<li>Use structured errors for signing authentication failures (<a
href="https://redirect.github.com/astral-sh/uv/pull/19422">#19422</a>)</li>
</ul>
<h3>Preview</h3>
<ul>
<li>uv audit: Add JSON output (<a
href="https://redirect.github.com/astral-sh/uv/pull/19305">#19305</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Respect <code>required-environments</code> in <code>uv pip
compile</code> (<a
href="https://redirect.github.com/astral-sh/uv/pull/19378">#19378</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid parsing JSON manifest when local Python is available (<a
href="https://redirect.github.com/astral-sh/uv/pull/19398">#19398</a>)</li>
<li>Avoid walking nested directories in linker conflict registration (<a
href="https://redirect.github.com/astral-sh/uv/pull/19382">#19382</a>)</li>
<li>Optimize async wheel ZIP writing (<a
href="https://redirect.github.com/astral-sh/uv/pull/19383">#19383</a>)</li>
<li>Fix dead &quot;already trimmed&quot; fast-path in
<code>Version::only_release_trimmed</code> (<a
href="https://redirect.github.com/astral-sh/uv/pull/19425">#19425</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Apply workspace-member <code>[tool.uv.sources]</code> credentials
under <code>uv sync --frozen</code> (<a
href="https://redirect.github.com/astral-sh/uv/pull/19423">#19423</a>)</li>
<li>Skip empty directories in uv build outputs (<a
href="https://redirect.github.com/astral-sh/uv/pull/19437">#19437</a>)</li>
<li>Fix Git submodule handling when using relative paths (<a
href="https://redirect.github.com/astral-sh/uv/pull/12156">#12156</a>)</li>
<li>Fix line number reporting in netrc parsing (<a
href="https://redirect.github.com/astral-sh/uv/pull/19452">#19452</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Move Bazel auth helper setup into integration guide (<a
href="https://redirect.github.com/astral-sh/uv/pull/19392">#19392</a>)</li>
</ul>
<h2>Install uv 0.11.15</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://releases.astral.sh/github/uv/releases/download/0.11.15/uv-installer.sh
| sh
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/uv/blob/main/CHANGELOG.md">uv's
changelog</a>.</em></p>
<blockquote>
<h2>0.11.15</h2>
<p>Released on 2026-05-18.</p>
<h3>Security</h3>
<ul>
<li>Fix a TAR parser differential, see <a
href="https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-3cv2-h65g-fgmm">GHSA-3cv2-h65g-fgmm</a>
(<a
href="https://redirect.github.com/astral-sh/uv/pull/19463">#19463</a>)</li>
<li>Enforce that entry points cannot escape in the scripts directory,
see <a
href="https://github.com/astral-sh/uv/security/advisories/GHSA-4gg8-gxpx-9rph">GHSA-4gg8-gxpx-9rph</a>
(<a
href="https://redirect.github.com/astral-sh/uv/pull/19464">#19464</a>)</li>
</ul>
<h3>Enhancements</h3>
<ul>
<li>Add TOML v1.1 -&gt; v1.0 backwards compatibility for source
distributions (<a
href="https://redirect.github.com/astral-sh/uv/pull/18741">#18741</a>)</li>
<li>Add support for Azure request signing (<a
href="https://redirect.github.com/astral-sh/uv/pull/19421">#19421</a>)</li>
<li>Apply stricter validation to all wheel filename segments (<a
href="https://redirect.github.com/astral-sh/uv/pull/19364">#19364</a>)</li>
<li>Reject empty strings as an invalid package name (<a
href="https://redirect.github.com/astral-sh/uv/pull/19435">#19435</a>)</li>
<li>Use structured errors for signing authentication failures (<a
href="https://redirect.github.com/astral-sh/uv/pull/19422">#19422</a>)</li>
</ul>
<h3>Preview</h3>
<ul>
<li>uv audit: Add JSON output (<a
href="https://redirect.github.com/astral-sh/uv/pull/19305">#19305</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Respect <code>required-environments</code> in <code>uv pip
compile</code> (<a
href="https://redirect.github.com/astral-sh/uv/pull/19378">#19378</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid parsing JSON manifest when local Python is available (<a
href="https://redirect.github.com/astral-sh/uv/pull/19398">#19398</a>)</li>
<li>Avoid walking nested directories in linker conflict registration (<a
href="https://redirect.github.com/astral-sh/uv/pull/19382">#19382</a>)</li>
<li>Optimize async wheel ZIP writing (<a
href="https://redirect.github.com/astral-sh/uv/pull/19383">#19383</a>)</li>
<li>Fix dead &quot;already trimmed&quot; fast-path in
<code>Version::only_release_trimmed</code> (<a
href="https://redirect.github.com/astral-sh/uv/pull/19425">#19425</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Apply workspace-member <code>[tool.uv.sources]</code> credentials
under <code>uv sync --frozen</code> (<a
href="https://redirect.github.com/astral-sh/uv/pull/19423">#19423</a>)</li>
<li>Skip empty directories in uv build outputs (<a
href="https://redirect.github.com/astral-sh/uv/pull/19437">#19437</a>)</li>
<li>Fix Git submodule handling when using relative paths (<a
href="https://redirect.github.com/astral-sh/uv/pull/12156">#12156</a>)</li>
<li>Fix line number reporting in netrc parsing (<a
href="https://redirect.github.com/astral-sh/uv/pull/19452">#19452</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Move Bazel auth helper setup into integration guide (<a
href="https://redirect.github.com/astral-sh/uv/pull/19392">#19392</a>)</li>
</ul>
<h2>0.11.14</h2>
<p>Released on 2026-05-12.</p>
<h3>Enhancements</h3>
<ul>
<li>Add Astral mirror URL override (<a
href="https://redirect.github.com/astral-sh/uv/pull/19206">#19206</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/uv/commit/3cffe97c2e48c9e49422c738da3af95919dd0bf5"><code>3cffe97</code></a>
Fix crates.io publish script lockfile (<a
href="https://redirect.github.com/astral-sh/uv/issues/19473">#19473</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/de16a7b1a30c54e3137db0d414ff250a1c0ae427"><code>de16a7b</code></a>
Bump version to 0.11.15 (<a
href="https://redirect.github.com/astral-sh/uv/issues/19472">#19472</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/cf826cc4e0feeafb23e4e52b85929848ab2d16a7"><code>cf826cc</code></a>
Disable <code>test_simultaneous_create_set_then_move</code> on Linux (<a
href="https://redirect.github.com/astral-sh/uv/issues/19469">#19469</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/2d566bced5152ba9da3aedbc02f1dd087bfeb8e9"><code>2d566bc</code></a>
Allow retry of <code>custom-publish-crates</code> separately from
<code>announce</code> (<a
href="https://redirect.github.com/astral-sh/uv/issues/19470">#19470</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/0588b8fb3505235ed97fc511a874a3ce0cbd9b72"><code>0588b8f</code></a>
Run release builds on maturin version bumps in CI (<a
href="https://redirect.github.com/astral-sh/uv/issues/19466">#19466</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/9a65753e9a8d0e99e7079114d78001311444c718"><code>9a65753</code></a>
Enforce that entry points cannot escape in the scripts directory (<a
href="https://redirect.github.com/astral-sh/uv/issues/19464">#19464</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/d77d849816de6278f61d3f385b70b2735ca2f0fd"><code>d77d849</code></a>
Revert &quot;Update maturin to v1.13.2 (<a
href="https://redirect.github.com/astral-sh/uv/issues/19445">#19445</a>)&quot;
(<a
href="https://redirect.github.com/astral-sh/uv/issues/19465">#19465</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/5373e96b15609291995a630704ef08cea31b4b08"><code>5373e96</code></a>
Update Rust crate rustls to v0.23.40 (<a
href="https://redirect.github.com/astral-sh/uv/issues/19250">#19250</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/fb8d3d46ac08ab5fc88f7a96c89f55860f343012"><code>fb8d3d4</code></a>
Update Rust crate rustls-pki-types to v1.14.1 (<a
href="https://redirect.github.com/astral-sh/uv/issues/19251">#19251</a>)</li>
<li><a
href="https://github.com/astral-sh/uv/commit/078480dc40fdc6d2e56145730dacfb2744da5940"><code>078480d</code></a>
Configure maturin and uv so <code>uv run</code> can be used to work on
uv itself (<a
href="https://redirect.github.com/astral-sh/uv/issues/19461">#19461</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/uv/compare/0.11.7...0.11.15">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uv&package-manager=uv&previous-version=0.11.7&new-version=0.11.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain-ai/langgraph/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 10:26:08 -07:00
..
2026-04-07 17:17:54 -07:00
2025-05-15 17:39:14 -07:00

LangGraph CLI

The official command-line interface for LangGraph, providing tools to create, develop, and deploy LangGraph applications.

Installation

Install via pip:

pip install langgraph-cli

For development mode with hot reloading:

pip install "langgraph-cli[inmem]"

Commands

langgraph new 🌱

Create a new LangGraph project from a template

langgraph new [PATH] --template TEMPLATE_NAME

langgraph dev 🏃‍♀️

Run LangGraph API server in development mode with hot reloading

langgraph dev [OPTIONS]
  --host TEXT                 Host to bind to (default: 127.0.0.1)
  --port INTEGER             Port to bind to (default: 2024)
  --no-reload               Disable auto-reload
  --debug-port INTEGER      Enable remote debugging
  --no-browser             Skip opening browser window
  -c, --config FILE        Config file path (default: langgraph.json)

langgraph up 🚀

Launch LangGraph API server in Docker

langgraph up [OPTIONS]
  -p, --port INTEGER        Port to expose (default: 8123)
  --wait                   Wait for services to start
  --watch                  Restart on file changes
  --verbose               Show detailed logs
  -c, --config FILE       Config file path
  -d, --docker-compose    Additional services file

langgraph build

Build a Docker image for your LangGraph application

langgraph build -t IMAGE_TAG [OPTIONS]
  --platform TEXT          Target platforms (e.g., linux/amd64,linux/arm64)
  --pull / --no-pull      Use latest/local base image
  -c, --config FILE       Config file path

langgraph dockerfile

Generate a Dockerfile for custom deployments

langgraph dockerfile SAVE_PATH [OPTIONS]
  -c, --config FILE       Config file path

Configuration

The CLI uses a langgraph.json configuration file with these key settings:

{
  "dependencies": ["langchain_openai", "./your_package"],  // Required: Package dependencies
  "graphs": {
    "my_graph": "./your_package/file.py:graph"            // Required: Graph definitions
  },
  "env": "./.env",                                        // Optional: Environment variables
  "python_version": "3.11",                               // Optional: Python version (3.11/3.12)
  "pip_config_file": "./pip.conf",                        // Optional: pip configuration
  "dockerfile_lines": []                                  // Optional: Additional Dockerfile commands
}

See the full documentation for detailed configuration options.

Development

To develop the CLI itself:

  1. Clone the repository
  2. Navigate to the CLI directory: cd libs/cli
  3. Install development dependencies: uv pip install
  4. Make your changes to the CLI code
  5. Test your changes:
    # Run CLI commands directly
    uv run langgraph --help
    
    # Or use the examples
    cd examples
    uv pip install
    uv run langgraph dev  # or other commands
    

License

This project is licensed under the terms specified in the repository's LICENSE file.