[PR #639] [MERGED] feat(langgraph): Adds RemoteGraph #905

Closed
opened 2026-02-15 19:16:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/639
Author: @jacoblee93
Created: 10/28/2024
Status: Merged
Merged: 10/30/2024
Merged by: @jacoblee93

Base: mainHead: jacob/remotegraph


📝 Commits (10+)

📊 Changes

13 files changed (+1554 additions, -56 deletions)

View changed files

📝 libs/langgraph/.gitignore (+4 -0)
📝 libs/langgraph/langchain.config.js (+2 -1)
📝 libs/langgraph/package.json (+15 -1)
📝 libs/langgraph/src/errors.ts (+14 -0)
📝 libs/langgraph/src/graph/graph.ts (+186 -1)
📝 libs/langgraph/src/pregel/index.ts (+28 -37)
libs/langgraph/src/pregel/remote.ts (+616 -0)
📝 libs/langgraph/src/pregel/types.ts (+91 -9)
📝 libs/langgraph/src/pregel/utils/subgraph.ts (+1 -6)
libs/langgraph/src/remote.ts (+1 -0)
libs/langgraph/src/tests/remote.int.test.ts (+96 -0)
libs/langgraph/src/tests/remote.test.ts (+477 -0)
📝 yarn.lock (+23 -1)

📄 Description

Tests to follow - getGraph() and getSubgraphs() are unfortunately sync right now, so made new, bespoke async methods for now.

SDK typing also seems to be off in a few cases, will dig in further once tests are finished.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/639 **Author:** [@jacoblee93](https://github.com/jacoblee93) **Created:** 10/28/2024 **Status:** ✅ Merged **Merged:** 10/30/2024 **Merged by:** [@jacoblee93](https://github.com/jacoblee93) **Base:** `main` ← **Head:** `jacob/remotegraph` --- ### 📝 Commits (10+) - [`2873189`](https://github.com/langchain-ai/langgraphjs/commit/2873189bc5e8ac31553b5a39d8ace023b35a0c5d) Adds RemoteGraph - [`b68cec0`](https://github.com/langchain-ai/langgraphjs/commit/b68cec05576f7b5b7cf521e9cd05a249accfcf01) Fix ts-errors by adding new methods - [`972bec2`](https://github.com/langchain-ai/langgraphjs/commit/972bec2c4d6e4610c169c4522aede3080f9ccabb) Refactor interfaces - [`5aa111d`](https://github.com/langchain-ai/langgraphjs/commit/5aa111db3990fdcf45cab5ab12510f59156f3748) Adds streamEvents - [`192cc38`](https://github.com/langchain-ai/langgraphjs/commit/192cc38c5be987ada4a4746517703255dea2b401) Merge branch 'main' of github.com:langchain-ai/langgraphjs into jacob/remotegraph - [`a6a5da3`](https://github.com/langchain-ai/langgraphjs/commit/a6a5da3b78038196513f30a0a460356a3d756179) More progress - [`0b06e57`](https://github.com/langchain-ai/langgraphjs/commit/0b06e57e2de3d5e85a3d075a151b0be0bd064ccc) Fix lint - [`c0239b9`](https://github.com/langchain-ai/langgraphjs/commit/c0239b98cfaf9814593b39a1b2e41b4631f425b1) Fix build - [`30a5bf5`](https://github.com/langchain-ai/langgraphjs/commit/30a5bf5880ba82c17050540f2b4f33eaad189daa) Fix test - [`bbf2b3f`](https://github.com/langchain-ai/langgraphjs/commit/bbf2b3f7899c362bec70f25696720fd10302317b) Expose remote graph ### 📊 Changes **13 files changed** (+1554 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/.gitignore` (+4 -0) 📝 `libs/langgraph/langchain.config.js` (+2 -1) 📝 `libs/langgraph/package.json` (+15 -1) 📝 `libs/langgraph/src/errors.ts` (+14 -0) 📝 `libs/langgraph/src/graph/graph.ts` (+186 -1) 📝 `libs/langgraph/src/pregel/index.ts` (+28 -37) ➕ `libs/langgraph/src/pregel/remote.ts` (+616 -0) 📝 `libs/langgraph/src/pregel/types.ts` (+91 -9) 📝 `libs/langgraph/src/pregel/utils/subgraph.ts` (+1 -6) ➕ `libs/langgraph/src/remote.ts` (+1 -0) ➕ `libs/langgraph/src/tests/remote.int.test.ts` (+96 -0) ➕ `libs/langgraph/src/tests/remote.test.ts` (+477 -0) 📝 `yarn.lock` (+23 -1) </details> ### 📄 Description Tests to follow - `getGraph()` and `getSubgraphs()` are unfortunately sync right now, so made new, bespoke async methods for now. SDK typing also seems to be off in a few cases, will dig in further once tests are finished. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:21 -05:00
yindo closed this issue 2026-02-15 19:16:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#905