William FH and GitHub
9dc3fed6b8
feat(langgraph): Support sending distributed tracing headers ( #5619 )
2025-07-22 12:47:23 -07:00
Sydney Runkle
0232201b7b
improving docs for context
2025-07-22 13:28:27 -04:00
Sydney Runkle and GitHub
869b0f2de4
release(sdk-py): 0.2.0 ( #5622 )
sdk==0.2.0
2025-07-22 13:27:04 -04:00
Sydney Runkle
90e3adcd71
bump sdk version
2025-07-22 13:20:55 -04:00
Sydney Runkle and GitHub
cb918601d1
release: prep for langgraph v0.6 ( #5325 )
0.6.0a1
sdk==0.2.0a1
2025-07-22 13:14:31 -04:00
Sydney Runkle
4a4c8db635
fix header
2025-07-22 12:54:21 -04:00
Sydney Runkle
56a9ce57b1
docs build fixes
2025-07-22 12:46:56 -04:00
Sydney Runkle
d1ee1cf1f1
docs fix
2025-07-22 11:19:08 -04:00
Sydney Runkle and GitHub
29c3a579b3
release(sdk-py): use v0.2.0a1 for testing with sdk ( #5621 )
2025-07-22 15:08:07 +00:00
Sydney Runkle and GitHub
9e3cb1f034
feat(sdk-py): sdk support for context API ( #5566 )
...
Adding support for the `context` arg to `invoke/stream` to the sdk. This
is paired with an update to the API as well that adds `context` support
to the `assistants` and `runs` endpoints.
Bumping version to v0.2.0 on the `v1` branch given this and the
interrupt schema changes.
2025-07-22 10:48:12 -04:00
Sydney Runkle and GitHub
508e333220
Merge branch 'main' into v1
2025-07-22 08:55:42 -04:00
Sam Crowder
aa1bbe3d01
Update changelog via LangGraph Server Changelog Bot
2025-07-21 17:41:55 -07:00
Sydney Runkle and GitHub
139cad373b
fix(docs): use InMemorySaver instead of MemorySaver ( #5608 )
...
Also, remove comment from bash script that makes insertion of `uv`
harder
2025-07-21 18:49:55 +00:00
Sydney Runkle and GitHub
2a86abb8c4
chore: lint v1 branch (due to auto merges) ( #5607 )
2025-07-21 18:43:22 +00:00
Sydney Runkle and GitHub
d1f0799002
Merge branch 'main' into v1
2025-07-21 14:35:13 -04:00
Sydney Runkle and GitHub
be088801ba
fix(langgraph): fix assertion in test ( #5606 )
2025-07-21 14:25:37 -04:00
Sydney Runkle and GitHub
1ee6bfeb8d
release(langgraph): v0.5.4 ( #5605 )
0.5.4
2025-07-21 18:17:00 +00:00
Nuno Campos and GitHub
2153d36726
feat(langgraph): Handle ParentCommand in RemoteGraph ( #5600 )
...
- when receiving a "command" stream event raise ParentCommand exception
for caller graph to handle
2025-07-21 18:48:40 +01:00
Sydney Runkle and GitHub
819eae891e
feat(sdk-py): add interrupts to ThreadState ( #5603 )
sdk==0.1.74
2025-07-21 16:33:00 +00:00
Sydney Runkle
457edaa75b
locks
2025-07-21 12:32:23 -04:00
Sydney Runkle and GitHub
90ba4c5205
Merge branch 'main' into v1
2025-07-21 10:06:23 -04:00
Sydney Runkle and GitHub
b3c5298100
fix(langgraph): ignore write to END with Command ( #5601 )
...
Fixes https://github.com/langchain-ai/langgraph/issues/5572
End is a special terminal node, so we don't need a branch to channel
like we do for other values passed to `Command.goto`
2025-07-21 14:03:00 +00:00
9d9476e664
chore: bump codespell-project/actions-codespell from 2.0 to 2.1 ( #5597 )
...
Bumps
[codespell-project/actions-codespell](https://github.com/codespell-project/actions-codespell )
from 2.0 to 2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/codespell-project/actions-codespell/releases ">codespell-project/actions-codespell's
releases</a>.</em></p>
<blockquote>
<h2>v2.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Use v2 in README by <a
href="https://github.com/okuramasafumi "><code>@okuramasafumi</code></a>
in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/69 ">codespell-project/actions-codespell#69</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/72 ">codespell-project/actions-codespell#72</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/74 ">codespell-project/actions-codespell#74</a></li>
<li>feat: bump to use node20 runtime by <a
href="https://github.com/kbdharun "><code>@kbdharun</code></a> in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/71 ">codespell-project/actions-codespell#71</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci "><code>@pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/76 ">codespell-project/actions-codespell#76</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/okuramasafumi "><code>@okuramasafumi</code></a>
made their first contribution in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/69 ">codespell-project/actions-codespell#69</a></li>
<li><a
href="https://github.com/dependabot "><code>@dependabot</code></a> made
their first contribution in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/72 ">codespell-project/actions-codespell#72</a></li>
<li><a href="https://github.com/kbdharun "><code>@kbdharun</code></a>
made their first contribution in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/71 ">codespell-project/actions-codespell#71</a></li>
<li><a
href="https://github.com/pre-commit-ci "><code>@pre-commit-ci</code></a>
made their first contribution in <a
href="https://redirect.github.com/codespell-project/actions-codespell/pull/76 ">codespell-project/actions-codespell#76</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/codespell-project/actions-codespell/compare/v2...v2.1 ">https://github.com/codespell-project/actions-codespell/compare/v2...v2.1 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/codespell-project/actions-codespell/commit/406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 "><code>406322e</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/codespell-project/actions-codespell/issues/76 ">#76</a>)</li>
<li><a
href="https://github.com/codespell-project/actions-codespell/commit/3174815d6231f5bdc24dbfb6fc3b8caec73d521c "><code>3174815</code></a>
feat: bump to use node20 runtime (<a
href="https://redirect.github.com/codespell-project/actions-codespell/issues/71 ">#71</a>)</li>
<li><a
href="https://github.com/codespell-project/actions-codespell/commit/8edd9f294002b35e8d7de67b06ac493e89114b91 "><code>8edd9f2</code></a>
Bump actions/setup-python from 4 to 5 (<a
href="https://redirect.github.com/codespell-project/actions-codespell/issues/74 ">#74</a>)</li>
<li><a
href="https://github.com/codespell-project/actions-codespell/commit/8dc81685022bbd5008e21ddb6f44abe4eb4f27b1 "><code>8dc8168</code></a>
Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/codespell-project/actions-codespell/issues/72 ">#72</a>)</li>
<li><a
href="https://github.com/codespell-project/actions-codespell/commit/41170f1b9c4f5c5788cb677c6c2f9ef26010243d "><code>41170f1</code></a>
Use v2 in README (<a
href="https://redirect.github.com/codespell-project/actions-codespell/issues/69 ">#69</a>)</li>
<li>See full diff in <a
href="https://github.com/codespell-project/actions-codespell/compare/v2.0...v2.1 ">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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 09:30:41 -04:00
Sydney Runkle and GitHub
03bec97767
feat(sdk-py): add interrupts to thread state ( #5580 )
2025-07-20 23:46:38 +00:00
AG2AI-Admin and GitHub
dd9b5c42e8
chore(docs): Migrate from pyautogen to ag2 Library ( #5577 )
2025-07-20 19:43:54 -04:00
Eugene Yurtsev and GitHub
951a3f2d1c
ci: Update privileged.yml ( #5481 )
2025-07-20 17:34:20 -04:00
Sakshi Gupta and GitHub
adaa340c15
fix(docs): jokes needs reducer in graph-api.md ( #5489 ) ( #5489 )
2025-07-20 17:32:47 -04:00
Yagnesh M. Bhadiyadra and GitHub
2c85cba9ca
fix(docs): Change of condition arguments in Command API example for ease of reading. ( #5571 )
2025-07-20 20:58:37 +00:00
cb7b924006
feat: Implement durability mode argument ( #5432 )
...
- Replaces checkpoint_during: bool
- checkpoint_during is deprecated but still respected
- We implement three durability modes (from least to most durable):
- "exit" - save checkpoint only when the graph exits (equivalent to
checkpoint_during=False)
- "async" - save checkpoint asynchronously while the next step executes
(the default, equivalent to old checkpoint_during=True)
- "sync" - save checkpoint synchronously before the next step starts
(new mode, slower but most durable)
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
2025-07-20 15:42:18 +01:00
Sydney Runkle and GitHub
c61ac946af
feat(docs): add python alt for UI how to ( #5593 )
...
Fixes https://github.com/langchain-ai/langgraph/issues/5311
2025-07-20 09:33:17 -04: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
58d396fcf1
merge main
2025-07-19 03:17:17 +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
Andrew Nguonly and GitHub
61676b8db0
docs: Change 'that' to 'than' ( #5581 )
2025-07-18 14:54:55 -07:00
langchain-infra and GitHub
3b85e53360
docs: fix egress formatting ( #5575 )
2025-07-18 10:43:03 -04:00
infra
250a17d711
docs: fix egress formatting
2025-07-18 09:42:46 -05:00
Eugene Yurtsev and GitHub
f63bec8578
chore(prebuilt): restructure tool node and tool injection logic ( #5562 )
...
* Cleaning up the underlying tool injection logic which is happening in
multiple locations.
* State was being injected into the ToolCall via Send in two places in
create react agent and the logic doesn't belong there, the actual
injection should be happening inside the ToolNode where there's
awareness of what run time parameters the tool accepts.
Change is required to unblock:
https://github.com/langchain-ai/langgraph/pull/5537
2025-07-18 09:59:14 -04:00
langchain-infra and GitHub
dc0f0c5944
docs: add egress docs for LGP self hosted ( #5569 )
2025-07-18 03:14:40 -04:00
infra
777fe692d4
docs: add egress docs for LGP self hosted
2025-07-18 00:40:15 -04:00
infra
fdbe31a3aa
docs: add egress docs for LGP self hosted
2025-07-18 00:28:04 -04:00
Sam Crowder and GitHub
78a9933144
docs: [LangGraph Server Changelog Bot] Changelog updates for new version(s) ( #5561 )
2025-07-17 20:45:42 -07:00
Eugene Yurtsev and GitHub
5717eefa79
feat(docs): Document disabling webhooks ( #5535 )
...
Add information about disabling webhooks
2025-07-17 15:23:00 -04:00
5978012619
release(cli): Release new CLI version with increased bounds for server ( #5565 )
...
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
cli==0.3.5
2025-07-17 12:22:30 -07:00
Eugene Yurtsev and GitHub
b447a1c7cf
fix(docs): fix langgraph cli reference ( #5563 )
...
Fix for wrong indentation that completely messes up formatting
2025-07-17 12:10:11 -07:00
f87608a16f
chore(prebuilt): Remove dead code from prebuilt tests ( #5555 )
...
Fixes #5554
This PR removes unused utility classes and functions from the prebuilt
tests directory to clean up dead code.
Changes include:
- Removed unused classes from `libs/prebuilt/tests/any_str.py`:
- Deleted FloatBetween, AnyDict, AnyVersion, and UnsortedSequence
- Kept only AnyStr class
- Removed unused functions from `libs/prebuilt/tests/messages.py`:
- Deleted _AnyIdDocument and _AnyIdAIMessageChunk
- Kept _AnyIdHumanMessage and _AnyIdToolMessage
- Removed unused classes from `libs/prebuilt/tests/memory_assert.py`:
- Deleted NoopSerializer, MemorySaverAssertCheckpointMetadata, and
MemorySaverNoPending
- Kept MemorySaverAssertImmutable
Verification:
- Manually checked for no remaining references to removed code
- Maintained existing import structures
- Preserved functionality of the prebuilt test suite
The changes reduce code complexity and remove unnecessary utility
classes that were not being used in the test suite.
---------
Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com >
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-07-17 18:45:10 +00:00
Sydney Runkle and GitHub
a5fe3316b6
chore(langgraph): bump api version and prep for v0.6 alpha ( #5559 )
...
Bumping version on `v1` branch so that we can access most recent
`langgraph-cli[inmem]` changes (with v0.6 compat) for store injection.
2025-07-17 14:40:09 -04:00
Sam Crowder
e0699fbdaf
Update changelog via LangGraph Server Changelog Bot
2025-07-17 11:04:52 -07:00
Lauren Hirata Singh and GitHub
b4eb57da67
docs: Rearrange nav ( #5560 )
...
Move Prebuilts overview and Run an agent to the guides page
2025-07-17 13:47:43 -04:00