d503c0bf33
WIP: monorepo support in CLI ( #6028 )
...
This PR introduces the `--build-command` and `--install-command`
arguments to `langgraph build`.
`--install-command` is a custom install command. If passed, it will be
run from wherever the `langgraph build` call was made, i.e. NOT where
the langgraph.json file lives (except if these are the same place). This
will override the detected install command that we previously used.
`--build-command` is a custom build command. This will run from wherever
the langgraph.json file lives, and will be done after the install has
been run.
You don't need to provide both. Just providing one will make the install
(detected or supplied) run in the directory from where `langgraph build
was called` and then have the build command (if one exists) run in the
directory where langgraph.json exists.
I think we should probably allow configuring the directories from which
these commands get run, but I don't think this needs to be part of the
MVP.
---------
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2025-09-04 12:29:11 -07:00
Isaac Francisco and GitHub
1ebdb1ba31
chore: Update schema for new config allowed in LGP ( #5875 )
2025-08-27 11:20:06 -07:00
William FH and GitHub
ddf4e62bde
release(cli): 0.4.0 ( #6014 )
...
Relax upper-bound to permit server versions 0.4.*
2025-08-26 12:59:12 +00:00
William FH and GitHub
501ba8be34
release(cli): Bump max bound of langgraph-api ( #5978 )
2025-08-21 00:59:27 +00:00
William FH and GitHub
998e194e82
release(cli): Support bookworm, trixie, etc. ( #5975 )
...
Also add support for pinning to a semantic version.
2025-08-20 15:40:04 +00:00
David Asamu
40fa69f8ee
lint and format fixes
2025-07-23 15:39:34 +01:00
David Asamu
ec0a30008c
more semantic variable name
2025-07-19 03:30:29 +01:00
Asamu David and GitHub
00c7909c27
Merge branch 'main' into david/30-06/support-base-image-tag
2025-07-19 03:20:09 +01:00
David Asamu
9f0abf014d
format changed files
2025-07-19 03:06:17 +01:00
David Asamu
8d6cd15669
add api-version option
2025-07-19 02:55:47 +01:00
William FH and GitHub
2fee649980
chore: (cli) Update description of disable_meta ( #5406 )
2025-07-08 19:55:10 +00:00
William FH and GitHub
0d8a8c5847
feat: [CLI] Add arg to retain build deps (setuptools, pip, wheel) ( #5404 )
2025-07-08 19:41:47 +00:00
87f2e69395
chore[deps]: upgrade dependencies with uv lock --upgrade ( #5358 )
...
* chore: upgrade dependencies with `uv lock --upgrade`
* linting
* upgrade PR title
---------
Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com >
Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com >
2025-07-07 23:24:32 +00:00
Sam Crowder and GitHub
0a8ba20f5f
docs: remove beta flag on self hosted plane ( #5288 )
2025-06-30 22:41:05 -04:00
Josh Rogers and GitHub
92010f84ec
Adding disable_mcp field to cli docs ( #5132 )
2025-06-17 16:22:50 -07:00
William FH and GitHub
4548a0ebe8
feat: Customizable Pip Installer ( #5098 )
...
Let you set "pip_installer": "pip" (or uv) to handle corner cases in install compatibilities
2025-06-13 10:35:28 -07:00
William FH and GitHub
c17ee1bf5a
feat: [CLI] Add support for building deps with uv ( #4995 )
2025-06-09 08:57:29 -07:00
1a76f6a92a
🐛 [CLI] Generate one --build-context argument for each dependency in the docker build command. ( #4962 )
...
* Generate one `--build-context` for each dependency in the `docker build` command.
* Try and fix test
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2025-06-04 22:48:48 +00:00
David Asamu
1e324b681a
update dockerfile generation logic, fix pip removal in wolfi
2025-06-03 01:43:59 +01:00
David Asamu
bbbadc3db9
regenerate schema + lint & format
2025-06-02 20:50:48 +01:00
David Asamu
1e8f5dd2b6
add warning when image distro is not configured as wolfi
2025-05-30 00:25:27 +01:00
David Asamu
574a9246a6
add unit tests for image_distro config
2025-05-29 23:30:27 +01:00
David Asamu
c46f7a4c3d
add support for image_distro in config file
2025-05-29 21:54:54 +01:00
Sydney Runkle and GitHub
228a08b966
ci: migrate to uv! ( #4698 )
...
* Migrate to `uv`
* Format `pyproject.toml` files properly
* Remove upper bounds on dependencies, and bounds on dev dependencies
(we should be using latest)
* Move to hatch for packaing
In the future we should:
* Set up dependabot / automate lockfile updates and tests
* Add tests for min compatible versions (I'll do this right after merge)
* Use dynamic versioning
* Bump `pydantic` to v2.11.4 in the lockfile, we have some tests failing
2025-05-15 17:39:14 -07:00
Lauren Hirata Singh
f5423783f7
Change LG Cloud > Platform
2025-05-12 12:44:50 -07:00
William FH and GitHub
bb416eb39a
feat: CLI: Add __main__.py ( #4637 )
2025-05-09 13:14:45 -07:00
William FH and GitHub
62069439fc
feat: support --base-image in langgraph dockerfile command ( #4628 )
2025-05-09 18:35:33 +00:00
William FH and GitHub
fcd06acd33
Add support for specifying a custom base image in docker commands ( #4500 )
...
build & dockerfile commands
can be specified via CLI > langgraph.json
2025-05-01 23:13:49 +00:00
Sydney Runkle
5916dc333e
docstring fixes for cli
2025-05-01 13:23:54 -04:00
William FH and GitHub
a2035eeb11
Update CLI ( #4488 )
...
Remove maxbound for langgraph-api and runtime inmem.
Update min-bound.
Add server log level flag for dev
2025-04-30 18:23:41 -07:00
William FH and GitHub
67aeba6210
Add schema updates for the configurable headers ( #4437 )
2025-04-28 15:10:07 +00:00
William FH and GitHub
05f21a384b
Add image arg to up command ( #4385 )
...
Using this argument, you can get more customization since you can do
`langgraph build` or directly `docker build` your image and then re-use
the `langgraph up --image my-image` and have it also spin up redis &
postgres for you.
Easier then writing your own compose file
2025-04-23 07:48:01 -07:00
William FH and GitHub
a5f5d0c4df
Expose --tunnel flag to dev command ( #4370 )
...
Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2025-04-22 14:23:09 +00:00
Tat Dat Duong
4bbdfbf381
Cleanup
2025-04-17 22:23:44 +02:00
Tat Dat Duong
db1fbe74cc
Revert args
2025-04-17 22:22:43 +02:00
Tat Dat Duong
d5f73fe37b
Add tests
2025-04-17 22:21:23 +02:00
Tat Dat Duong
5a200cd89e
feat(cli): add internal docker tag support
2025-04-17 22:15:10 +02:00
Tat Dat Duong
43af618bb5
Remove negation
2025-04-16 23:28:07 +02:00
Tat Dat Duong
2fc941c1df
fix(cli): only render progress when in TTY
...
Prevents logging terminal clear commands in non-TTY environments (LangSmith / CI)
2025-04-16 21:25:21 +02:00
Tat Dat Duong
5eefc1d55d
fix(cli): invert assumed python_version / js_version check
2025-04-11 16:38:26 +02:00
Tat Dat Duong
436902e5a3
Consolidate node_version and python_version fix
2025-04-11 01:04:26 +02:00
Tat Dat Duong
0ac6a96c6e
Fix up
2025-04-11 00:41:16 +02:00
Tat Dat Duong
d9856d92af
Another 3.9 fix
2025-04-11 00:09:34 +02:00
Tat Dat Duong
b3487cbc49
Fix Python 3.9
2025-04-11 00:06:31 +02:00
Tat Dat Duong
d06075cbcf
Fix new style config
2025-04-11 00:04:44 +02:00
Tat Dat Duong
e0be9ae2ef
feat(cli): add multiplatform support
...
Uses new `install-node.sh` script already used for Python Gen UI, add default `node_version` / `python_version` based on provided `graphs`
2025-04-10 23:52:49 +02:00
William FH and GitHub
a03cb0b16d
CLI: Ensure correct api version is used ( #4237 )
...
Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2025-04-10 15:56:07 +00:00
William Fu-Hinthorn
1b9093459c
Remove pip from image
...
Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com >
2025-04-08 15:52:58 -07:00
Eugene Yurtsev and GitHub
adac016e33
cli: support dict format for graph specification in langgraph.json ( #4164 )
...
Allow the CLI to work with dict format for the graph specification.
```json
{
"dependencies": ["./my_agent"],
"graphs": {
"agent": {
"path": "./my_agent/agent.py:graph",
"description": "this is my agent description"
}
},
"env": ".env"
}
```
And backwards compatible with:
```json
{
"dependencies": ["./my_agent"],
"graphs": {
"agent": "./my_agent/agent.py:graph",
},
"env": ".env"
}
```
2025-04-04 10:16:20 -04:00
Tat Dat Duong
958c0df2d7
Install Node.js runtime and run the build process to get the UI
2025-04-03 13:48:14 +02:00