langgraph-cli 0.4.42__tar.gz → 0.4.43__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.
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/PKG-INFO +21 -12
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/README.md +20 -11
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/generate_schema.py +4 -0
- langgraph_cli-0.4.43/langgraph_cli/__init__.py +1 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/analytics.py +0 -3
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/cli.py +106 -51
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/deploy.py +104 -84
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/docker.py +2 -37
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/schemas.py +9 -9
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/schemas/schema.json +16 -16
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/schemas/schema.v0.json +16 -16
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/schemas/version.schema.json +1 -1
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/test_cli.py +100 -49
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/test_deploy_command.py +80 -12
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_config.py +1 -1
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_deploy_agents.py +1 -1
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_deploy_helpers.py +8 -5
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_docker.py +4 -98
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv.lock +145 -112
- langgraph_cli-0.4.42/langgraph_cli/__init__.py +0 -1
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/.gitignore +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/LICENSE +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/Makefile +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/.env.example +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/.gitignore +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/Makefile +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs/deps/additional_deps/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs/deps/zuper_deps/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs_fail/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs_fail/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graph_prerelease_reqs_fail/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs/storm.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/graphs_submod/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/graphs_submod/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/graphs_submod/subprompt.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/hello.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/prompt.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_a/requirements.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/graphs_submod/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/graphs_submod/subprompt.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/hello.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/prompt.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/requirements.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/utils/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/graphs_reqs_b/utils/greeter.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/my_app.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/pipconf.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/examples/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/.dockerignore +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/.editorconfig +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/.env.example +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/.eslintrc.cjs +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/.gitignore +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/LICENSE +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/README.md +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/jest.config.js +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/package.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/src/agent/graph.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/src/agent/state.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/static/studio.png +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/tests/agent.test.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/tests/graph.int.test.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/tsconfig.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-examples/yarn.lock +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/.eslintrc.cjs +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/apps/agent/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/apps/agent/package.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/apps/agent/src/graph.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/apps/agent/src/state.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/apps/agent/tsconfig.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/libs/shared/package.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/libs/shared/src/index.ts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/libs/shared/tsconfig.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/package.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/tsconfig.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/turbo.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/js-monorepo-example/yarn.lock +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/__main__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/_ignore.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/archive.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/config.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/constants.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/dependency_tracking.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/deployment_metrics.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/exec.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/host_backend.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/image_reference.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/progress.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/py.typed +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/templates.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/util.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/uv_lock.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/langgraph_cli/version.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/apps/agent/.env.example +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/apps/agent/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/apps/agent/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/apps/agent/src/agent/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/apps/agent/src/agent/graph.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/apps/agent/src/agent/state.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/libs/common/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/libs/common/helpers.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/libs/shared/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/libs/shared/src/shared/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/libs/shared/src/shared/utils.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/python-monorepo-example/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/integration_tests/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/integration_tests/test_cli.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/test_deploy_monitoring.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/cli/test_templates.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/conftest.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/deployment_metrics.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/graphs/agent.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/helpers.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/multiplatform/js.mts +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/multiplatform/python.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/pipconfig.txt +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_archive.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_config.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_dependency_tracking.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_deployment_metrics.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_exec.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_host_backend.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_image_reference.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_logs_helpers.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/tests/unit_tests/test_util.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/apps/agent/.env.example +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/apps/agent/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/apps/agent/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/apps/agent/src/agent/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/apps/agent/src/agent/graph.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/libs/shared/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/libs/shared/src/shared/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/libs/shared/src/shared/utils.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/monorepo/uv.lock +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/simple/.env.example +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/simple/langgraph.json +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/simple/pyproject.toml +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/simple/src/agent/__init__.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/simple/src/agent/graph.py +0 -0
- {langgraph_cli-0.4.42 → langgraph_cli-0.4.43}/uv-examples/simple/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: langgraph-cli
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.43
|
|
4
4
|
Summary: CLI for interacting with LangGraph API
|
|
5
5
|
Project-URL: Source, https://github.com/langchain-ai/langgraph/tree/main/libs/cli
|
|
6
6
|
Project-URL: Twitter, https://x.com/langchain_oss
|
|
@@ -62,7 +62,7 @@ langgraph new [PATH] --template TEMPLATE_NAME
|
|
|
62
62
|
|
|
63
63
|
### `langgraph dev` 🏃♀️
|
|
64
64
|
|
|
65
|
-
Run
|
|
65
|
+
Run Agent Server in development mode with hot reloading.
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
68
|
langgraph dev [OPTIONS]
|
|
@@ -76,7 +76,7 @@ langgraph dev [OPTIONS]
|
|
|
76
76
|
|
|
77
77
|
### `langgraph up` 🚀
|
|
78
78
|
|
|
79
|
-
Launch
|
|
79
|
+
Launch Agent Server in Docker.
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
82
|
langgraph up [OPTIONS]
|
|
@@ -108,14 +108,23 @@ langgraph dockerfile SAVE_PATH [OPTIONS]
|
|
|
108
108
|
-c, --config FILE Config file path
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
+
### `langgraph deploy`
|
|
112
|
+
|
|
113
|
+
Build and deploy an Agent Server image to LangSmith. Use `--agent-server-id` to
|
|
114
|
+
update an existing Agent Server and `--agent-server-type` to select its type.
|
|
115
|
+
The legacy `--deployment-id` and `--deployment-type` spellings remain supported
|
|
116
|
+
as hidden compatibility aliases, with no removal scheduled. Older Python CLI
|
|
117
|
+
versions and the JavaScript CLI may still require the legacy spellings; check
|
|
118
|
+
command help for your installed version.
|
|
119
|
+
|
|
111
120
|
### `langgraph deploy metrics`
|
|
112
121
|
|
|
113
|
-
Fetch
|
|
114
|
-
Use `langgraph deploy list` to find the
|
|
115
|
-
API key and workspace configuration as the other
|
|
122
|
+
Fetch Agent Server monitoring time series as JSON through the LangSmith control plane.
|
|
123
|
+
Use `langgraph deploy list` to find the Agent Server ID. Authentication uses the same
|
|
124
|
+
API key and workspace configuration as the other `deploy` commands.
|
|
116
125
|
|
|
117
126
|
```bash
|
|
118
|
-
langgraph deploy metrics
|
|
127
|
+
langgraph deploy metrics AGENT_SERVER_ID \
|
|
119
128
|
--start-time 2026-10-28T00:00:00Z \
|
|
120
129
|
--end-time 2026-10-28T01:00:00Z \
|
|
121
130
|
--metrics cpu_usage,memory_usage,worker_count
|
|
@@ -130,8 +139,8 @@ langgraph deploy metrics DEPLOYMENT_ID \
|
|
|
130
139
|
- Queue: `run_queue_wait_time`
|
|
131
140
|
|
|
132
141
|
These are exact metric names, not free-text search terms. Availability depends on
|
|
133
|
-
the
|
|
134
|
-
`lg_run_count` for
|
|
142
|
+
the Agent Server and platform; a supported metric may have no data. Use
|
|
143
|
+
`lg_run_count` for Agent Server runs, not the UI schema's placeholder `run_count`.
|
|
135
144
|
|
|
136
145
|
Omit `--metrics` to fetch all available metrics. Time bounds default to the last
|
|
137
146
|
15 minutes, and the backend picks the resolution from the time
|
|
@@ -158,8 +167,8 @@ series has fewer than two timestamps. UI metadata and repeated series IDs are
|
|
|
158
167
|
omitted. The host-backend response itself is unchanged.
|
|
159
168
|
|
|
160
169
|
```bash
|
|
161
|
-
langgraph deploy metrics
|
|
162
|
-
langgraph deploy metrics
|
|
170
|
+
langgraph deploy metrics AGENT_SERVER_ID --summary
|
|
171
|
+
langgraph deploy metrics AGENT_SERVER_ID --raw
|
|
163
172
|
```
|
|
164
173
|
|
|
165
174
|
`--summary` returns the same shape without `points`. `--raw` returns the original
|
|
@@ -167,7 +176,7 @@ UI chart schema without reshaping or rounding. These flags are mutually exclusiv
|
|
|
167
176
|
Neither mode returns traces.
|
|
168
177
|
|
|
169
178
|
Size comparison using the realistic synthetic unit-test fixture (compact JSON
|
|
170
|
-
serialization for all modes; not a live
|
|
179
|
+
serialization for all modes; not a live Agent Server benchmark):
|
|
171
180
|
|
|
172
181
|
| Before: raw UI schema | After: default | After: summary |
|
|
173
182
|
| --- | --- | --- |
|
|
@@ -40,7 +40,7 @@ langgraph new [PATH] --template TEMPLATE_NAME
|
|
|
40
40
|
|
|
41
41
|
### `langgraph dev` 🏃♀️
|
|
42
42
|
|
|
43
|
-
Run
|
|
43
|
+
Run Agent Server in development mode with hot reloading.
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
46
|
langgraph dev [OPTIONS]
|
|
@@ -54,7 +54,7 @@ langgraph dev [OPTIONS]
|
|
|
54
54
|
|
|
55
55
|
### `langgraph up` 🚀
|
|
56
56
|
|
|
57
|
-
Launch
|
|
57
|
+
Launch Agent Server in Docker.
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
langgraph up [OPTIONS]
|
|
@@ -86,14 +86,23 @@ langgraph dockerfile SAVE_PATH [OPTIONS]
|
|
|
86
86
|
-c, --config FILE Config file path
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
+
### `langgraph deploy`
|
|
90
|
+
|
|
91
|
+
Build and deploy an Agent Server image to LangSmith. Use `--agent-server-id` to
|
|
92
|
+
update an existing Agent Server and `--agent-server-type` to select its type.
|
|
93
|
+
The legacy `--deployment-id` and `--deployment-type` spellings remain supported
|
|
94
|
+
as hidden compatibility aliases, with no removal scheduled. Older Python CLI
|
|
95
|
+
versions and the JavaScript CLI may still require the legacy spellings; check
|
|
96
|
+
command help for your installed version.
|
|
97
|
+
|
|
89
98
|
### `langgraph deploy metrics`
|
|
90
99
|
|
|
91
|
-
Fetch
|
|
92
|
-
Use `langgraph deploy list` to find the
|
|
93
|
-
API key and workspace configuration as the other
|
|
100
|
+
Fetch Agent Server monitoring time series as JSON through the LangSmith control plane.
|
|
101
|
+
Use `langgraph deploy list` to find the Agent Server ID. Authentication uses the same
|
|
102
|
+
API key and workspace configuration as the other `deploy` commands.
|
|
94
103
|
|
|
95
104
|
```bash
|
|
96
|
-
langgraph deploy metrics
|
|
105
|
+
langgraph deploy metrics AGENT_SERVER_ID \
|
|
97
106
|
--start-time 2026-10-28T00:00:00Z \
|
|
98
107
|
--end-time 2026-10-28T01:00:00Z \
|
|
99
108
|
--metrics cpu_usage,memory_usage,worker_count
|
|
@@ -108,8 +117,8 @@ langgraph deploy metrics DEPLOYMENT_ID \
|
|
|
108
117
|
- Queue: `run_queue_wait_time`
|
|
109
118
|
|
|
110
119
|
These are exact metric names, not free-text search terms. Availability depends on
|
|
111
|
-
the
|
|
112
|
-
`lg_run_count` for
|
|
120
|
+
the Agent Server and platform; a supported metric may have no data. Use
|
|
121
|
+
`lg_run_count` for Agent Server runs, not the UI schema's placeholder `run_count`.
|
|
113
122
|
|
|
114
123
|
Omit `--metrics` to fetch all available metrics. Time bounds default to the last
|
|
115
124
|
15 minutes, and the backend picks the resolution from the time
|
|
@@ -136,8 +145,8 @@ series has fewer than two timestamps. UI metadata and repeated series IDs are
|
|
|
136
145
|
omitted. The host-backend response itself is unchanged.
|
|
137
146
|
|
|
138
147
|
```bash
|
|
139
|
-
langgraph deploy metrics
|
|
140
|
-
langgraph deploy metrics
|
|
148
|
+
langgraph deploy metrics AGENT_SERVER_ID --summary
|
|
149
|
+
langgraph deploy metrics AGENT_SERVER_ID --raw
|
|
141
150
|
```
|
|
142
151
|
|
|
143
152
|
`--summary` returns the same shape without `points`. `--raw` returns the original
|
|
@@ -145,7 +154,7 @@ UI chart schema without reshaping or rounding. These flags are mutually exclusiv
|
|
|
145
154
|
Neither mode returns traces.
|
|
146
155
|
|
|
147
156
|
Size comparison using the realistic synthetic unit-test fixture (compact JSON
|
|
148
|
-
serialization for all modes; not a live
|
|
157
|
+
serialization for all modes; not a live Agent Server benchmark):
|
|
149
158
|
|
|
150
159
|
| Before: raw UI schema | After: default | After: summary |
|
|
151
160
|
| --- | --- | --- |
|
|
@@ -107,6 +107,10 @@ def add_descriptions_to_schema(schema, cls):
|
|
|
107
107
|
# Recursively process nested definitions
|
|
108
108
|
if "$defs" in schema:
|
|
109
109
|
for def_name, def_schema in schema["$defs"].items():
|
|
110
|
+
# msgspec copies raw __doc__, which keeps indentation before Python
|
|
111
|
+
# 3.13, so clean it here too for classes not listed below.
|
|
112
|
+
if def_schema.get("description"):
|
|
113
|
+
def_schema["description"] = inspect.cleandoc(def_schema["description"])
|
|
110
114
|
# Find the class that corresponds to this definition
|
|
111
115
|
for potential_cls in [
|
|
112
116
|
Config,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.43"
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
"""CLI entrypoint for
|
|
1
|
+
"""CLI entrypoint for Agent Server."""
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
import pathlib
|
|
5
5
|
import shutil
|
|
6
6
|
import sys
|
|
7
7
|
from collections.abc import Sequence
|
|
8
|
+
from urllib.parse import SplitResult, urlencode, urlsplit, urlunsplit
|
|
8
9
|
|
|
9
10
|
import click
|
|
10
11
|
import click.exceptions
|
|
@@ -45,7 +46,7 @@ OPT_CONFIG = click.option(
|
|
|
45
46
|
|
|
46
47
|
\b
|
|
47
48
|
Config file must be a JSON file that has the following keys:
|
|
48
|
-
- "dependencies": array of dependencies for
|
|
49
|
+
- "dependencies": array of dependencies for the Agent Server. Dependencies can be one of the following:
|
|
49
50
|
- ".", which would look for local python packages, as well as pyproject.toml, setup.py or requirements.txt in the app directory
|
|
50
51
|
- "./local_package"
|
|
51
52
|
- "<package_name>
|
|
@@ -140,17 +141,6 @@ OPT_VERBOSE = click.option(
|
|
|
140
141
|
help="Show more output from the server logs",
|
|
141
142
|
)
|
|
142
143
|
OPT_WATCH = click.option("--watch", is_flag=True, help="Restart on file changes")
|
|
143
|
-
OPT_DEBUGGER_PORT = click.option(
|
|
144
|
-
"--debugger-port",
|
|
145
|
-
type=int,
|
|
146
|
-
help="Pull the debugger image locally and serve the UI on specified port",
|
|
147
|
-
)
|
|
148
|
-
OPT_DEBUGGER_BASE_URL = click.option(
|
|
149
|
-
"--debugger-base-url",
|
|
150
|
-
type=str,
|
|
151
|
-
help="URL used by the debugger to access LangGraph API. Defaults to http://127.0.0.1:[PORT]",
|
|
152
|
-
)
|
|
153
|
-
|
|
154
144
|
OPT_POSTGRES_URI = click.option(
|
|
155
145
|
"--postgres-uri",
|
|
156
146
|
help="Postgres URI to use for the database. Defaults to launching a local database",
|
|
@@ -160,7 +150,7 @@ OPT_API_VERSION = click.option(
|
|
|
160
150
|
"--api-version",
|
|
161
151
|
type=str,
|
|
162
152
|
help=(
|
|
163
|
-
"
|
|
153
|
+
"Agent Server version to use for the base image. If unspecified, the "
|
|
164
154
|
"latest stable version will be used. Compatible ranges like "
|
|
165
155
|
"~=0.11.0.dev5 stay on 0.11.0.dev5 while only newer dev builds exist, "
|
|
166
156
|
"then resolve to the newest matching rc or stable release, for example "
|
|
@@ -242,18 +232,94 @@ cli.add_command(deploy)
|
|
|
242
232
|
# ---------------------------------------------------------------------------
|
|
243
233
|
|
|
244
234
|
|
|
235
|
+
def _validated_http_url(value: str, option_name: str) -> SplitResult:
|
|
236
|
+
try:
|
|
237
|
+
parsed = urlsplit(value)
|
|
238
|
+
hostname = parsed.hostname
|
|
239
|
+
_ = parsed.port
|
|
240
|
+
except ValueError as exc:
|
|
241
|
+
raise click.UsageError(
|
|
242
|
+
f"{option_name} must be a valid HTTP(S) URL without credentials."
|
|
243
|
+
) from exc
|
|
244
|
+
|
|
245
|
+
if (
|
|
246
|
+
value != value.strip()
|
|
247
|
+
or parsed.scheme not in {"http", "https"}
|
|
248
|
+
or not parsed.netloc
|
|
249
|
+
or not hostname
|
|
250
|
+
or parsed.username is not None
|
|
251
|
+
or parsed.password is not None
|
|
252
|
+
):
|
|
253
|
+
raise click.UsageError(
|
|
254
|
+
f"{option_name} must be a valid HTTP(S) URL without credentials."
|
|
255
|
+
)
|
|
256
|
+
return parsed
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
def _studio_link(
|
|
260
|
+
*,
|
|
261
|
+
port: int,
|
|
262
|
+
studio_url: str | None,
|
|
263
|
+
api_url: str | None,
|
|
264
|
+
debugger_base_url: str | None,
|
|
265
|
+
) -> str:
|
|
266
|
+
if debugger_base_url is not None:
|
|
267
|
+
if api_url is not None and api_url != debugger_base_url:
|
|
268
|
+
raise click.UsageError(
|
|
269
|
+
"--api-url and --debugger-base-url cannot specify different URLs."
|
|
270
|
+
)
|
|
271
|
+
click.echo(
|
|
272
|
+
"Warning: --debugger-base-url is deprecated; use --api-url instead.",
|
|
273
|
+
err=True,
|
|
274
|
+
)
|
|
275
|
+
api_url = debugger_base_url
|
|
276
|
+
|
|
277
|
+
studio_url = "https://smith.langchain.com" if studio_url is None else studio_url
|
|
278
|
+
api_url = f"http://127.0.0.1:{port}" if api_url is None else api_url
|
|
279
|
+
studio_parts = _validated_http_url(studio_url, "--studio-url")
|
|
280
|
+
_validated_http_url(api_url, "--api-url")
|
|
281
|
+
if studio_parts.query or studio_parts.fragment:
|
|
282
|
+
raise click.UsageError(
|
|
283
|
+
"--studio-url must not include a query string or fragment."
|
|
284
|
+
)
|
|
285
|
+
|
|
286
|
+
studio_path = f"{studio_parts.path.rstrip('/')}/studio/"
|
|
287
|
+
return urlunsplit(
|
|
288
|
+
studio_parts._replace(
|
|
289
|
+
path=studio_path,
|
|
290
|
+
query=urlencode({"baseUrl": api_url}),
|
|
291
|
+
)
|
|
292
|
+
)
|
|
293
|
+
|
|
294
|
+
|
|
245
295
|
@OPT_RECREATE
|
|
246
296
|
@OPT_PULL
|
|
247
297
|
@OPT_PORT
|
|
248
298
|
@OPT_DOCKER_COMPOSE
|
|
249
299
|
@OPT_CONFIG
|
|
250
300
|
@OPT_VERBOSE
|
|
251
|
-
@OPT_DEBUGGER_PORT
|
|
252
|
-
@OPT_DEBUGGER_BASE_URL
|
|
253
301
|
@OPT_WATCH
|
|
254
302
|
@OPT_POSTGRES_URI
|
|
255
303
|
@OPT_API_VERSION
|
|
256
304
|
@OPT_ENGINE_RUNTIME_MODE
|
|
305
|
+
@click.option(
|
|
306
|
+
"--studio-url",
|
|
307
|
+
type=str,
|
|
308
|
+
default=None,
|
|
309
|
+
help="URL of the LangGraph Studio instance. Defaults to https://smith.langchain.com",
|
|
310
|
+
)
|
|
311
|
+
@click.option(
|
|
312
|
+
"--api-url",
|
|
313
|
+
type=str,
|
|
314
|
+
default=None,
|
|
315
|
+
help="URL that LangGraph Studio uses to access the API. Defaults to http://127.0.0.1:[PORT]",
|
|
316
|
+
)
|
|
317
|
+
@click.option(
|
|
318
|
+
"--debugger-base-url",
|
|
319
|
+
type=str,
|
|
320
|
+
default=None,
|
|
321
|
+
hidden=True,
|
|
322
|
+
)
|
|
257
323
|
@click.option(
|
|
258
324
|
"--image",
|
|
259
325
|
type=str,
|
|
@@ -264,7 +330,7 @@ cli.add_command(deploy)
|
|
|
264
330
|
@click.option(
|
|
265
331
|
"--base-image",
|
|
266
332
|
default=None,
|
|
267
|
-
help="Base image to use for the
|
|
333
|
+
help="Base image to use for the Agent Server. Pin to specific versions using version tags. Defaults to langchain/langgraph-api or langchain/langgraphjs-api."
|
|
268
334
|
"\n\n \b\nExamples:\n --base-image langchain/langgraph-server:0.2.18 # Pin to a specific patch version"
|
|
269
335
|
"\n --base-image langchain/langgraph-server:0.2 # Pin to a minor version (Python)",
|
|
270
336
|
)
|
|
@@ -273,7 +339,7 @@ cli.add_command(deploy)
|
|
|
273
339
|
is_flag=True,
|
|
274
340
|
help="Wait for services to start before returning. Implies --detach",
|
|
275
341
|
)
|
|
276
|
-
@cli.command(help="🚀 Launch
|
|
342
|
+
@cli.command(help="🚀 Launch Agent Server.")
|
|
277
343
|
@log_command
|
|
278
344
|
def up(
|
|
279
345
|
config: pathlib.Path,
|
|
@@ -284,17 +350,24 @@ def up(
|
|
|
284
350
|
watch: bool,
|
|
285
351
|
wait: bool,
|
|
286
352
|
verbose: bool,
|
|
287
|
-
debugger_port: int | None,
|
|
288
|
-
debugger_base_url: str | None,
|
|
289
353
|
postgres_uri: str | None,
|
|
290
354
|
api_version: str | None,
|
|
291
355
|
engine_runtime_mode: str,
|
|
356
|
+
studio_url: str | None,
|
|
357
|
+
api_url: str | None,
|
|
358
|
+
debugger_base_url: str | None,
|
|
292
359
|
image: str | None,
|
|
293
360
|
base_image: str | None,
|
|
294
361
|
):
|
|
295
|
-
|
|
362
|
+
studio_link = _studio_link(
|
|
363
|
+
port=port,
|
|
364
|
+
studio_url=studio_url,
|
|
365
|
+
api_url=api_url,
|
|
366
|
+
debugger_base_url=debugger_base_url,
|
|
367
|
+
)
|
|
368
|
+
click.secho("Starting Agent Server...", fg="green")
|
|
296
369
|
click.secho(
|
|
297
|
-
"""For local dev, requires env var LANGSMITH_API_KEY with access to LangSmith
|
|
370
|
+
"""For local dev, requires env var LANGSMITH_API_KEY with access to LangSmith Agent Server.
|
|
298
371
|
For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KEY.""",
|
|
299
372
|
)
|
|
300
373
|
with Runner() as runner, Progress(message="Pulling...") as set:
|
|
@@ -308,8 +381,6 @@ For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KE
|
|
|
308
381
|
pull=pull,
|
|
309
382
|
watch=watch,
|
|
310
383
|
verbose=verbose,
|
|
311
|
-
debugger_port=debugger_port,
|
|
312
|
-
debugger_base_url=debugger_base_url,
|
|
313
384
|
postgres_uri=postgres_uri,
|
|
314
385
|
api_version=api_version,
|
|
315
386
|
engine_runtime_mode=engine_runtime_mode,
|
|
@@ -337,20 +408,12 @@ For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KE
|
|
|
337
408
|
if "unpacking to docker.io" in line:
|
|
338
409
|
set("Starting...")
|
|
339
410
|
elif "Application startup complete" in line:
|
|
340
|
-
debugger_origin = (
|
|
341
|
-
f"http://localhost:{debugger_port}"
|
|
342
|
-
if debugger_port
|
|
343
|
-
else "https://smith.langchain.com"
|
|
344
|
-
)
|
|
345
|
-
debugger_base_url_query = (
|
|
346
|
-
debugger_base_url or f"http://127.0.0.1:{port}"
|
|
347
|
-
)
|
|
348
411
|
set("")
|
|
349
412
|
sys.stdout.write(
|
|
350
413
|
f"""Ready!
|
|
351
414
|
- API: http://localhost:{port}
|
|
352
415
|
- Docs: http://localhost:{port}/docs
|
|
353
|
-
- LangGraph Studio: {
|
|
416
|
+
- LangGraph Studio: {studio_link}
|
|
354
417
|
"""
|
|
355
418
|
)
|
|
356
419
|
sys.stdout.flush()
|
|
@@ -394,7 +457,7 @@ For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KE
|
|
|
394
457
|
)
|
|
395
458
|
@click.option(
|
|
396
459
|
"--base-image",
|
|
397
|
-
help="Base image to use for the
|
|
460
|
+
help="Base image to use for the Agent Server. Pin to specific versions using version tags. Defaults to langchain/langgraph-api or langchain/langgraphjs-api."
|
|
398
461
|
"\n\n \b\nExamples:\n --base-image langchain/langgraph-server:0.2.18 # Pin to a specific patch version"
|
|
399
462
|
"\n --base-image langchain/langgraph-server:0.2 # Pin to a minor version (Python)",
|
|
400
463
|
)
|
|
@@ -410,7 +473,7 @@ For production use, requires a license key in env var LANGGRAPH_CLOUD_LICENSE_KE
|
|
|
410
473
|
)
|
|
411
474
|
@click.argument("docker_build_args", nargs=-1, type=click.UNPROCESSED)
|
|
412
475
|
@cli.command(
|
|
413
|
-
help="📦 Build
|
|
476
|
+
help="📦 Build Agent Server Docker image.",
|
|
414
477
|
context_settings=dict(
|
|
415
478
|
ignore_unknown_options=True,
|
|
416
479
|
),
|
|
@@ -527,12 +590,12 @@ tests
|
|
|
527
590
|
@OPT_CONFIG
|
|
528
591
|
@click.argument("save_path", type=click.Path(resolve_path=True))
|
|
529
592
|
@cli.command(
|
|
530
|
-
help="🐳 Generate a Dockerfile for the
|
|
593
|
+
help="🐳 Generate a Dockerfile for the Agent Server, with Docker Compose options."
|
|
531
594
|
)
|
|
532
595
|
@click.option(
|
|
533
596
|
"--add-docker-compose",
|
|
534
597
|
help=(
|
|
535
|
-
"Add additional files for running the
|
|
598
|
+
"Add additional files for running the Agent Server with "
|
|
536
599
|
"docker-compose. These files include a docker-compose.yml, .env file, "
|
|
537
600
|
"and a .dockerignore file."
|
|
538
601
|
),
|
|
@@ -540,7 +603,7 @@ tests
|
|
|
540
603
|
)
|
|
541
604
|
@click.option(
|
|
542
605
|
"--base-image",
|
|
543
|
-
help="Base image to use for the
|
|
606
|
+
help="Base image to use for the Agent Server. Pin to specific versions using version tags. Defaults to langchain/langgraph-api or langchain/langgraphjs-api."
|
|
544
607
|
"\n\n \b\nExamples:\n --base-image langchain/langgraph-server:0.2.18 # Pin to a specific patch version"
|
|
545
608
|
"\n --base-image langchain/langgraph-server:0.2 # Pin to a minor version (Python)",
|
|
546
609
|
)
|
|
@@ -632,7 +695,7 @@ def dockerfile(
|
|
|
632
695
|
"\n",
|
|
633
696
|
"# LANGSMITH_API_KEY=your-api-key",
|
|
634
697
|
"\n",
|
|
635
|
-
"# Or if you have
|
|
698
|
+
"# Or if you have an Agent Server license key, "
|
|
636
699
|
"then uncomment the following line: ",
|
|
637
700
|
"\n",
|
|
638
701
|
"# LANGGRAPH_CLOUD_LICENSE_KEY=your-license-key",
|
|
@@ -729,7 +792,7 @@ def dockerfile(
|
|
|
729
792
|
"--server-log-level",
|
|
730
793
|
type=str,
|
|
731
794
|
default="WARNING",
|
|
732
|
-
help="Set the log level for the
|
|
795
|
+
help="Set the log level for the Agent Server.",
|
|
733
796
|
)
|
|
734
797
|
@click.option(
|
|
735
798
|
"--ssl-certfile",
|
|
@@ -757,7 +820,7 @@ def dockerfile(
|
|
|
757
820
|
)
|
|
758
821
|
@cli.command(
|
|
759
822
|
"dev",
|
|
760
|
-
help="🏃♀️➡️ Run
|
|
823
|
+
help="🏃♀️➡️ Run Agent Server in development mode with hot reloading and debugging support",
|
|
761
824
|
)
|
|
762
825
|
@log_command
|
|
763
826
|
def dev(
|
|
@@ -776,7 +839,7 @@ def dev(
|
|
|
776
839
|
ssl_certfile: pathlib.Path | None,
|
|
777
840
|
ssl_keyfile: pathlib.Path | None,
|
|
778
841
|
):
|
|
779
|
-
"""CLI entrypoint for running the
|
|
842
|
+
"""CLI entrypoint for running the Agent Server."""
|
|
780
843
|
if (ssl_certfile is None) != (ssl_keyfile is None):
|
|
781
844
|
raise click.UsageError(
|
|
782
845
|
"Both --ssl-certfile and --ssl-keyfile must be provided to enable HTTPS."
|
|
@@ -936,8 +999,6 @@ def prepare_args_and_stdin(
|
|
|
936
999
|
docker_compose: pathlib.Path | None,
|
|
937
1000
|
port: int,
|
|
938
1001
|
watch: bool,
|
|
939
|
-
debugger_port: int | None = None,
|
|
940
|
-
debugger_base_url: str | None = None,
|
|
941
1002
|
postgres_uri: str | None = None,
|
|
942
1003
|
api_version: str | None = None,
|
|
943
1004
|
engine_runtime_mode: str = "combined_queue_worker",
|
|
@@ -951,8 +1012,6 @@ def prepare_args_and_stdin(
|
|
|
951
1012
|
stdin = langgraph_cli.docker.compose(
|
|
952
1013
|
capabilities,
|
|
953
1014
|
port=port,
|
|
954
|
-
debugger_port=debugger_port,
|
|
955
|
-
debugger_base_url=debugger_base_url,
|
|
956
1015
|
postgres_uri=postgres_uri,
|
|
957
1016
|
image=image,
|
|
958
1017
|
base_image=base_image,
|
|
@@ -990,15 +1049,13 @@ def prepare(
|
|
|
990
1049
|
pull: bool,
|
|
991
1050
|
watch: bool,
|
|
992
1051
|
verbose: bool,
|
|
993
|
-
debugger_port: int | None = None,
|
|
994
|
-
debugger_base_url: str | None = None,
|
|
995
1052
|
postgres_uri: str | None = None,
|
|
996
1053
|
api_version: str | None = None,
|
|
997
1054
|
engine_runtime_mode: str = "combined_queue_worker",
|
|
998
1055
|
image: str | None = None,
|
|
999
1056
|
base_image: str | None = None,
|
|
1000
1057
|
) -> tuple[list[str], str]:
|
|
1001
|
-
"""Prepare the arguments and stdin for running the
|
|
1058
|
+
"""Prepare the arguments and stdin for running the Agent Server."""
|
|
1002
1059
|
config_json = langgraph_cli.config.validate_config_file(config_path)
|
|
1003
1060
|
warn_non_wolfi_distro(config_json)
|
|
1004
1061
|
# pull latest images
|
|
@@ -1033,8 +1090,6 @@ def prepare(
|
|
|
1033
1090
|
docker_compose=docker_compose,
|
|
1034
1091
|
port=port,
|
|
1035
1092
|
watch=watch,
|
|
1036
|
-
debugger_port=debugger_port,
|
|
1037
|
-
debugger_base_url=debugger_base_url or f"http://127.0.0.1:{port}",
|
|
1038
1093
|
postgres_uri=postgres_uri,
|
|
1039
1094
|
api_version=api_version,
|
|
1040
1095
|
engine_runtime_mode=engine_runtime_mode,
|