mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-07-21 01:45:27 -04:00
acdf85aba6
Bumps the all-dependencies group in /libs/cli with 1 update: [langgraph-sdk](https://github.com/langchain-ai/langgraph). Updates `langgraph-sdk` from 0.3.5 to 0.3.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langgraph/releases">langgraph-sdk's releases</a>.</em></p> <blockquote> <h2>cli==0.3.6</h2> <p>Changes since cli==0.3.5</p> <ul> <li>add api-version option</li> <li>chore(langgraph): bump api version and prep for v0.6 alpha (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/5559">#5559</a>)</li> <li>feat(langgraph): new context api (replacing <code>config['configurable']</code> and <code>config_schema</code>) (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/5243">#5243</a>)</li> <li>langgraph[change]: solidify public/private differentiations (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/5252">#5252</a>)</li> </ul> <h2>langgraph-sdk==0.3.6</h2> <p>Changes since sdk==0.3.5</p> <ul> <li>release(sdk-py): 0.3.6 (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/6805">#6805</a>)</li> <li>chore: update to add prune method (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/6804">#6804</a>)</li> <li>chore: Re-organize client files. (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/6787">#6787</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langgraph/commit/ca8d92421a9832620c071435807ca6dd14449fad"><code>ca8d924</code></a> langgraph: release 0.3.6 (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/3775">#3775</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/7aa9d3fd003545c1df9b9d2690cf4863ec6adefb"><code>7aa9d3f</code></a> langgraph: use input schema from conditional edge (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/2516">#2516</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/3a4af1e5737eeac1d292cefb5325d1114c9e0787"><code>3a4af1e</code></a> chore(deps): bump axios from 1.7.7 to 1.8.2 in /libs/sdk-js (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/3740">#3740</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/37344124e17453c712207624c045c646f8827eb3"><code>3734412</code></a> Fix updated_at timestamp loading (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/3767">#3767</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/d0f4db6ddd624c4a8be0164fc2af319c56836820"><code>d0f4db6</code></a> feat(sdk-js): use fetchClient from <code>client</code> in gen ui (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/3761">#3761</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/a9800aab876f78017fd633ffcbb50236d04d54bd"><code>a9800aa</code></a> checkpoint-sqlite: release 2.0.6 (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/3763">#3763</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/9bf3fc2d0fa9c67e1a2725fa9f8012cd31146c11"><code>9bf3fc2</code></a> checkpoint-sqlite: commit transactions in AsyncSqliteSaver.aput_writes (<a href="https://redirect.github.com/langchain-ai/langgraph/issues/3762">#3762</a>)</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/a6e4bd93ff930ce60e5103c121ec9440db7954a3"><code>a6e4bd9</code></a> Bump to 0.0.52</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/0e9c41f48059aa37e98f342720982ec8bfd5ae41"><code>0e9c41f</code></a> feat(sdk-js): use fetchClient from <code>client</code> in gen ui</li> <li><a href="https://github.com/langchain-ai/langgraph/commit/3808302309f1ccc6951148367f597df5fabf5764"><code>3808302</code></a> Bump to 0.0.51</li> <li>Additional commits viewable in <a href="https://github.com/langchain-ai/langgraph/compare/0.3.5...0.3.6">compare view</a></li> </ul> </details> <br /> [](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Kennedy <65985482+jkennedyvz@users.noreply.github.com>
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:
- Clone the repository
- Navigate to the CLI directory:
cd libs/cli - Install development dependencies:
uv pip install - Make your changes to the CLI code
- 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.