langgraph-cli 0.4.29__tar.gz → 0.4.31__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. langgraph_cli-0.4.31/PKG-INFO +158 -0
  2. langgraph_cli-0.4.31/README.md +136 -0
  3. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs/pyproject.toml +1 -1
  4. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs/storm.py +1 -1
  5. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/README.md +5 -1
  6. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/package.json +9 -6
  7. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/yarn.lock +217 -333
  8. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/apps/agent/package.json +2 -2
  9. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/package.json +5 -5
  10. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/yarn.lock +132 -141
  11. langgraph_cli-0.4.31/langgraph_cli/__init__.py +1 -0
  12. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/cli.py +8 -1
  13. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/config.py +162 -1
  14. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/deploy.py +120 -49
  15. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/pyproject.toml +1 -1
  16. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_config.py +157 -0
  17. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_deploy_helpers.py +63 -0
  18. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/uv.lock +3 -3
  19. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/simple/uv.lock +3 -3
  20. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv.lock +276 -234
  21. langgraph_cli-0.4.29/PKG-INFO +0 -127
  22. langgraph_cli-0.4.29/README.md +0 -105
  23. langgraph_cli-0.4.29/langgraph_cli/__init__.py +0 -1
  24. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/.gitignore +0 -0
  25. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/LICENSE +0 -0
  26. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/Makefile +0 -0
  27. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/.env.example +0 -0
  28. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/.gitignore +0 -0
  29. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/Makefile +0 -0
  30. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs/agent.py +0 -0
  31. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs/deps/additional_deps/pyproject.toml +0 -0
  32. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs/deps/zuper_deps/pyproject.toml +0 -0
  33. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs/langgraph.json +0 -0
  34. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs_fail/agent.py +0 -0
  35. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs_fail/langgraph.json +0 -0
  36. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graph_prerelease_reqs_fail/pyproject.toml +0 -0
  37. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs/agent.py +0 -0
  38. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs/langgraph.json +0 -0
  39. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/__init__.py +0 -0
  40. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/graphs_submod/__init__.py +0 -0
  41. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/graphs_submod/agent.py +0 -0
  42. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/graphs_submod/subprompt.txt +0 -0
  43. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/hello.py +0 -0
  44. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/langgraph.json +0 -0
  45. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/prompt.txt +0 -0
  46. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_a/requirements.txt +0 -0
  47. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/graphs_submod/agent.py +0 -0
  48. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/graphs_submod/subprompt.txt +0 -0
  49. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/hello.py +0 -0
  50. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/langgraph.json +0 -0
  51. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/prompt.txt +0 -0
  52. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/requirements.txt +0 -0
  53. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/utils/__init__.py +0 -0
  54. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/graphs_reqs_b/utils/greeter.py +0 -0
  55. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/langgraph.json +0 -0
  56. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/my_app.py +0 -0
  57. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/pipconf.txt +0 -0
  58. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/poetry.lock +0 -0
  59. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/examples/pyproject.toml +0 -0
  60. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/generate_schema.py +0 -0
  61. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/.dockerignore +0 -0
  62. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/.editorconfig +0 -0
  63. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/.env.example +0 -0
  64. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/.eslintrc.cjs +0 -0
  65. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/.gitignore +0 -0
  66. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/LICENSE +0 -0
  67. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/jest.config.js +0 -0
  68. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/langgraph.json +0 -0
  69. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/src/agent/graph.ts +0 -0
  70. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/src/agent/state.ts +0 -0
  71. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/static/studio.png +0 -0
  72. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/tests/agent.test.ts +0 -0
  73. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/tests/graph.int.test.ts +0 -0
  74. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-examples/tsconfig.json +0 -0
  75. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/.eslintrc.cjs +0 -0
  76. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/apps/agent/langgraph.json +0 -0
  77. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/apps/agent/src/graph.ts +0 -0
  78. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/apps/agent/src/state.ts +0 -0
  79. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/apps/agent/tsconfig.json +0 -0
  80. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/libs/shared/package.json +0 -0
  81. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/libs/shared/src/index.ts +0 -0
  82. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/libs/shared/tsconfig.json +0 -0
  83. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/tsconfig.json +0 -0
  84. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/js-monorepo-example/turbo.json +0 -0
  85. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/__main__.py +0 -0
  86. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/_ignore.py +0 -0
  87. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/analytics.py +0 -0
  88. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/archive.py +0 -0
  89. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/constants.py +0 -0
  90. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/dependency_tracking.py +0 -0
  91. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/docker.py +0 -0
  92. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/exec.py +0 -0
  93. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/host_backend.py +0 -0
  94. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/progress.py +0 -0
  95. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/py.typed +0 -0
  96. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/schemas.py +0 -0
  97. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/templates.py +0 -0
  98. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/util.py +0 -0
  99. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/uv_lock.py +0 -0
  100. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/langgraph_cli/version.py +0 -0
  101. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/apps/agent/.env.example +0 -0
  102. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/apps/agent/langgraph.json +0 -0
  103. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/apps/agent/pyproject.toml +0 -0
  104. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/apps/agent/src/agent/__init__.py +0 -0
  105. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/apps/agent/src/agent/graph.py +0 -0
  106. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/apps/agent/src/agent/state.py +0 -0
  107. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/libs/common/__init__.py +0 -0
  108. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/libs/common/helpers.py +0 -0
  109. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/libs/shared/pyproject.toml +0 -0
  110. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/libs/shared/src/shared/__init__.py +0 -0
  111. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/libs/shared/src/shared/utils.py +0 -0
  112. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/python-monorepo-example/pyproject.toml +0 -0
  113. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/schemas/schema.json +0 -0
  114. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/schemas/schema.v0.json +0 -0
  115. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/schemas/version.schema.json +0 -0
  116. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/__init__.py +0 -0
  117. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/integration_tests/__init__.py +0 -0
  118. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/integration_tests/test_cli.py +0 -0
  119. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/__init__.py +0 -0
  120. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/agent.py +0 -0
  121. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/cli/__init__.py +0 -0
  122. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/cli/langgraph.json +0 -0
  123. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/cli/pyproject.toml +0 -0
  124. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/cli/test_cli.py +0 -0
  125. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/cli/test_templates.py +0 -0
  126. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/conftest.py +0 -0
  127. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/graphs/agent.py +0 -0
  128. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/helpers.py +0 -0
  129. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/multiplatform/js.mts +0 -0
  130. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/multiplatform/python.py +0 -0
  131. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/pipconfig.txt +0 -0
  132. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_archive.py +0 -0
  133. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_config.json +0 -0
  134. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_dependency_tracking.py +0 -0
  135. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_docker.py +0 -0
  136. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_host_backend.py +0 -0
  137. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_logs_helpers.py +0 -0
  138. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/tests/unit_tests/test_util.py +0 -0
  139. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/apps/agent/.env.example +0 -0
  140. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/apps/agent/langgraph.json +0 -0
  141. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/apps/agent/pyproject.toml +0 -0
  142. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/apps/agent/src/agent/__init__.py +0 -0
  143. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/apps/agent/src/agent/graph.py +0 -0
  144. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/libs/shared/pyproject.toml +0 -0
  145. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/libs/shared/src/shared/__init__.py +0 -0
  146. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/libs/shared/src/shared/utils.py +0 -0
  147. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/monorepo/pyproject.toml +0 -0
  148. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/simple/.env.example +0 -0
  149. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/simple/langgraph.json +0 -0
  150. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/simple/pyproject.toml +0 -0
  151. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/simple/src/agent/__init__.py +0 -0
  152. {langgraph_cli-0.4.29 → langgraph_cli-0.4.31}/uv-examples/simple/src/agent/graph.py +0 -0
@@ -0,0 +1,158 @@
1
+ Metadata-Version: 2.4
2
+ Name: langgraph-cli
3
+ Version: 0.4.31
4
+ Summary: CLI for interacting with LangGraph API
5
+ Project-URL: Source, https://github.com/langchain-ai/langgraph/tree/main/libs/cli
6
+ Project-URL: Twitter, https://x.com/langchain_oss
7
+ Project-URL: Slack, https://www.langchain.com/join-community
8
+ Project-URL: Reddit, https://www.reddit.com/r/LangChain/
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Requires-Python: >=3.10
12
+ Requires-Dist: click>=8.1.7
13
+ Requires-Dist: httpx>=0.24.0
14
+ Requires-Dist: langgraph-sdk>=0.1.0; python_version >= '3.11'
15
+ Requires-Dist: pathspec>=0.11.0
16
+ Requires-Dist: python-dotenv>=0.8.0
17
+ Requires-Dist: tomli>=2.0.1; python_version < '3.11'
18
+ Provides-Extra: inmem
19
+ Requires-Dist: langgraph-api<1.0.0,>=0.5.35; (python_version >= '3.11') and extra == 'inmem'
20
+ Requires-Dist: langgraph-runtime-inmem>=0.7; (python_version >= '3.11') and extra == 'inmem'
21
+ Description-Content-Type: text/markdown
22
+
23
+ # LangGraph CLI
24
+
25
+ [![PyPI - Version](https://img.shields.io/pypi/v/langgraph-cli?label=%20)](https://pypi.org/project/langgraph-cli/#history)
26
+ [![PyPI - License](https://img.shields.io/pypi/l/langgraph-cli)](https://opensource.org/licenses/MIT)
27
+ [![PyPI - Downloads](https://img.shields.io/pepy/dt/langgraph-cli)](https://pypistats.org/packages/langgraph-cli)
28
+ [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain_oss.svg?style=social&label=Follow%20%40LangChain)](https://x.com/langchain_oss)
29
+
30
+ To help you ship LangGraph apps to production faster, check out [LangSmith](https://www.langchain.com/langsmith).
31
+ [LangSmith](https://www.langchain.com/langsmith) is a unified developer platform for building, testing, and monitoring LLM applications.
32
+
33
+ ## Quick Install
34
+
35
+ ```bash
36
+ uv add langgraph-cli
37
+ ```
38
+
39
+ ## 🤔 What is this?
40
+
41
+ The LangGraph CLI is the official command-line interface for LangGraph. It provides tools to create, develop, build, and run LangGraph applications locally or in Docker.
42
+
43
+ ## 📖 Documentation
44
+
45
+ For full documentation, see the [LangGraph CLI reference](https://reference.langchain.com/python/langgraph-cli). For conceptual guides and tutorials, see the [LangGraph Docs](https://docs.langchain.com/oss/python/langgraph/overview).
46
+
47
+ For development mode with hot reloading:
48
+
49
+ ```bash
50
+ uv add "langgraph-cli[inmem]"
51
+ ```
52
+
53
+ ## Commands
54
+
55
+ ### `langgraph new` 🌱
56
+
57
+ Create a new LangGraph project from a template.
58
+
59
+ ```bash
60
+ langgraph new [PATH] --template TEMPLATE_NAME
61
+ ```
62
+
63
+ ### `langgraph dev` 🏃‍♀️
64
+
65
+ Run LangGraph API server in development mode with hot reloading.
66
+
67
+ ```bash
68
+ langgraph dev [OPTIONS]
69
+ --host TEXT Host to bind to (default: 127.0.0.1)
70
+ --port INTEGER Port to bind to (default: 2024)
71
+ --no-reload Disable auto-reload
72
+ --debug-port INTEGER Enable remote debugging
73
+ --no-browser Skip opening browser window
74
+ -c, --config FILE Config file path (default: langgraph.json)
75
+ ```
76
+
77
+ ### `langgraph up` 🚀
78
+
79
+ Launch LangGraph API server in Docker.
80
+
81
+ ```bash
82
+ langgraph up [OPTIONS]
83
+ -p, --port INTEGER Port to expose (default: 8123)
84
+ --wait Wait for services to start
85
+ --watch Restart on file changes
86
+ --verbose Show detailed logs
87
+ -c, --config FILE Config file path
88
+ -d, --docker-compose Additional services file
89
+ ```
90
+
91
+ ### `langgraph build`
92
+
93
+ Build a Docker image for your LangGraph application.
94
+
95
+ ```bash
96
+ langgraph build -t IMAGE_TAG [OPTIONS]
97
+ --platform TEXT Target platforms (e.g., linux/amd64,linux/arm64)
98
+ --pull / --no-pull Use latest/local base image
99
+ -c, --config FILE Config file path
100
+ ```
101
+
102
+ ### `langgraph dockerfile`
103
+
104
+ Generate a Dockerfile for custom deployments.
105
+
106
+ ```bash
107
+ langgraph dockerfile SAVE_PATH [OPTIONS]
108
+ -c, --config FILE Config file path
109
+ ```
110
+
111
+ ## Configuration
112
+
113
+ The CLI uses a `langgraph.json` configuration file with these key settings:
114
+
115
+ ```json
116
+ {
117
+ "dependencies": ["langchain_openai", "./your_package"],
118
+ "graphs": {
119
+ "my_graph": "./your_package/file.py:graph"
120
+ },
121
+ "env": "./.env",
122
+ "python_version": "3.11",
123
+ "pip_config_file": "./pip.conf",
124
+ "dockerfile_lines": []
125
+ }
126
+ ```
127
+
128
+ See the [full documentation](https://reference.langchain.com/python/langgraph-cli) for detailed configuration options.
129
+
130
+ ## Development
131
+
132
+ To develop the CLI itself:
133
+
134
+ 1. Clone the repository
135
+ 2. Navigate to the CLI directory: `cd libs/cli`
136
+ 3. Install development dependencies: `uv sync`
137
+ 4. Make your changes to the CLI code
138
+ 5. Test your changes:
139
+
140
+ ```bash
141
+ # Run CLI commands directly
142
+ uv run langgraph --help
143
+
144
+ # Or use the examples
145
+ cd examples
146
+ uv sync
147
+ uv run langgraph dev # or other commands
148
+ ```
149
+
150
+ ## 📕 Releases & Versioning
151
+
152
+ See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
153
+
154
+ ## 💁 Contributing
155
+
156
+ As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
157
+
158
+ For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
@@ -0,0 +1,136 @@
1
+ # LangGraph CLI
2
+
3
+ [![PyPI - Version](https://img.shields.io/pypi/v/langgraph-cli?label=%20)](https://pypi.org/project/langgraph-cli/#history)
4
+ [![PyPI - License](https://img.shields.io/pypi/l/langgraph-cli)](https://opensource.org/licenses/MIT)
5
+ [![PyPI - Downloads](https://img.shields.io/pepy/dt/langgraph-cli)](https://pypistats.org/packages/langgraph-cli)
6
+ [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain_oss.svg?style=social&label=Follow%20%40LangChain)](https://x.com/langchain_oss)
7
+
8
+ To help you ship LangGraph apps to production faster, check out [LangSmith](https://www.langchain.com/langsmith).
9
+ [LangSmith](https://www.langchain.com/langsmith) is a unified developer platform for building, testing, and monitoring LLM applications.
10
+
11
+ ## Quick Install
12
+
13
+ ```bash
14
+ uv add langgraph-cli
15
+ ```
16
+
17
+ ## 🤔 What is this?
18
+
19
+ The LangGraph CLI is the official command-line interface for LangGraph. It provides tools to create, develop, build, and run LangGraph applications locally or in Docker.
20
+
21
+ ## 📖 Documentation
22
+
23
+ For full documentation, see the [LangGraph CLI reference](https://reference.langchain.com/python/langgraph-cli). For conceptual guides and tutorials, see the [LangGraph Docs](https://docs.langchain.com/oss/python/langgraph/overview).
24
+
25
+ For development mode with hot reloading:
26
+
27
+ ```bash
28
+ uv add "langgraph-cli[inmem]"
29
+ ```
30
+
31
+ ## Commands
32
+
33
+ ### `langgraph new` 🌱
34
+
35
+ Create a new LangGraph project from a template.
36
+
37
+ ```bash
38
+ langgraph new [PATH] --template TEMPLATE_NAME
39
+ ```
40
+
41
+ ### `langgraph dev` 🏃‍♀️
42
+
43
+ Run LangGraph API server in development mode with hot reloading.
44
+
45
+ ```bash
46
+ langgraph dev [OPTIONS]
47
+ --host TEXT Host to bind to (default: 127.0.0.1)
48
+ --port INTEGER Port to bind to (default: 2024)
49
+ --no-reload Disable auto-reload
50
+ --debug-port INTEGER Enable remote debugging
51
+ --no-browser Skip opening browser window
52
+ -c, --config FILE Config file path (default: langgraph.json)
53
+ ```
54
+
55
+ ### `langgraph up` 🚀
56
+
57
+ Launch LangGraph API server in Docker.
58
+
59
+ ```bash
60
+ langgraph up [OPTIONS]
61
+ -p, --port INTEGER Port to expose (default: 8123)
62
+ --wait Wait for services to start
63
+ --watch Restart on file changes
64
+ --verbose Show detailed logs
65
+ -c, --config FILE Config file path
66
+ -d, --docker-compose Additional services file
67
+ ```
68
+
69
+ ### `langgraph build`
70
+
71
+ Build a Docker image for your LangGraph application.
72
+
73
+ ```bash
74
+ langgraph build -t IMAGE_TAG [OPTIONS]
75
+ --platform TEXT Target platforms (e.g., linux/amd64,linux/arm64)
76
+ --pull / --no-pull Use latest/local base image
77
+ -c, --config FILE Config file path
78
+ ```
79
+
80
+ ### `langgraph dockerfile`
81
+
82
+ Generate a Dockerfile for custom deployments.
83
+
84
+ ```bash
85
+ langgraph dockerfile SAVE_PATH [OPTIONS]
86
+ -c, --config FILE Config file path
87
+ ```
88
+
89
+ ## Configuration
90
+
91
+ The CLI uses a `langgraph.json` configuration file with these key settings:
92
+
93
+ ```json
94
+ {
95
+ "dependencies": ["langchain_openai", "./your_package"],
96
+ "graphs": {
97
+ "my_graph": "./your_package/file.py:graph"
98
+ },
99
+ "env": "./.env",
100
+ "python_version": "3.11",
101
+ "pip_config_file": "./pip.conf",
102
+ "dockerfile_lines": []
103
+ }
104
+ ```
105
+
106
+ See the [full documentation](https://reference.langchain.com/python/langgraph-cli) for detailed configuration options.
107
+
108
+ ## Development
109
+
110
+ To develop the CLI itself:
111
+
112
+ 1. Clone the repository
113
+ 2. Navigate to the CLI directory: `cd libs/cli`
114
+ 3. Install development dependencies: `uv sync`
115
+ 4. Make your changes to the CLI code
116
+ 5. Test your changes:
117
+
118
+ ```bash
119
+ # Run CLI commands directly
120
+ uv run langgraph --help
121
+
122
+ # Or use the examples
123
+ cd examples
124
+ uv sync
125
+ uv run langgraph dev # or other commands
126
+ ```
127
+
128
+ ## 📕 Releases & Versioning
129
+
130
+ See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
131
+
132
+ ## 💁 Contributing
133
+
134
+ As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
135
+
136
+ For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
@@ -6,7 +6,7 @@ readme = "README.md"
6
6
  requires-python = ">=3.10"
7
7
  dependencies = [
8
8
  "langchain-openai==1.1.14",
9
- "langchain-anthropic==1.0.0a5",
9
+ "langchain-anthropic==1.4.6",
10
10
  "langgraph==1.1.5"
11
11
  ]
12
12
 
@@ -236,7 +236,7 @@ def swap_roles(state: InterviewState, name: str):
236
236
  converted = []
237
237
  for message in state["messages"]:
238
238
  if isinstance(message, AIMessage) and message.name != name:
239
- message = HumanMessage(**message.dict(exclude={"type"}))
239
+ message = HumanMessage(**message.model_dump(exclude={"type"}))
240
240
  converted.append(message)
241
241
  return {"messages": converted}
242
242
 
@@ -10,7 +10,7 @@ This template demonstrates a simple chatbot implemented using [LangGraph.js](htt
10
10
 
11
11
  The core logic, defined in `src/agent/graph.ts`, showcases a straightforward chatbot that responds to user queries while maintaining context from previous messages.
12
12
 
13
- ## What it does
13
+ ## 🤔 What is this?
14
14
 
15
15
  The simple chatbot:
16
16
 
@@ -20,6 +20,10 @@ The simple chatbot:
20
20
 
21
21
  This template provides a foundation that can be easily customized and extended to create more complex conversational agents.
22
22
 
23
+ ## 📖 Documentation
24
+
25
+ For JavaScript and TypeScript documentation, see the [LangGraph.js docs](https://docs.langchain.com/oss/javascript/langgraph/overview). LangGraph Studio also integrates with [LangSmith](https://smith.langchain.com/) for tracing and collaboration with teammates.
26
+
23
27
  ## Getting Started
24
28
 
25
29
  Assuming you have already [installed LangGraph Studio](https://github.com/langchain-ai/langgraph-studio?tab=readme-ov-file#download), to set up:
@@ -21,24 +21,27 @@
21
21
  "test:all": "yarn test && yarn test:int && yarn lint:langgraph"
22
22
  },
23
23
  "dependencies": {
24
- "@langchain/core": "^1.1.48",
25
- "@langchain/langgraph": "^1.3.3"
24
+ "@langchain/core": "^1.2.1",
25
+ "@langchain/langgraph": "^1.4.7"
26
+ },
27
+ "resolutions": {
28
+ "@langchain/langgraph-checkpoint": "1.0.4"
26
29
  },
27
30
  "devDependencies": {
28
31
  "@eslint/eslintrc": "^3.3.5",
29
32
  "@eslint/js": "^10.0.1",
30
33
  "@tsconfig/recommended": "^1.0.13",
31
34
  "@types/jest": "^30.0.0",
32
- "@typescript-eslint/eslint-plugin": "^8.60.1",
33
- "@typescript-eslint/parser": "^8.60.1",
35
+ "@typescript-eslint/eslint-plugin": "^8.62.1",
36
+ "@typescript-eslint/parser": "^8.62.1",
34
37
  "dotenv": "^17.4.2",
35
- "eslint": "^10.4.1",
38
+ "eslint": "^10.6.0",
36
39
  "eslint-config-prettier": "^10.1.8",
37
40
  "eslint-plugin-import": "^2.32.0",
38
41
  "eslint-plugin-no-instanceof": "^1.0.1",
39
42
  "eslint-plugin-prettier": "^5.5.6",
40
43
  "jest": "^30.4.2",
41
- "prettier": "^3.8.3",
44
+ "prettier": "^3.9.4",
42
45
  "ts-jest": "^29.4.11",
43
46
  "typescript": "^6.0.3"
44
47
  }