feat(langchain): add Stagehand code-mode integration - #95
Draft
shrey150 wants to merge 3 commits into
Draft
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
shrey150
force-pushed
the
shrey/stg-2765-deepagents-codemode
branch
2 times, most recently
from
August 4, 2026 22:30
9c7d683 to
6adf008
Compare
shrey150
force-pushed
the
shrey/stg-2765-deepagents-codemode
branch
from
August 4, 2026 22:34
6adf008 to
587b115
Compare
shrey150
force-pushed
the
shrey/stg-2765-deepagents-codemode
branch
from
August 4, 2026 22:56
587b115 to
c9e9564
Compare
shrey150
force-pushed
the
shrey/stg-2765-deepagents-codemode
branch
from
August 4, 2026 23:06
c9e9564 to
7c8deb6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stack
This PR is stacked on the CrewAI integration. Its diff contains only the LangChain Deep Agents integration.
Lifecycle
The harness opens
client.session("stagehand"), loads tools from that session, and runs the complete agent invocation inside the same context. This explicit session is required because the convenienceget_tools()path starts a new local MCP process for each tool call, which would discard browser state.E2E Test Matrix
Deep Agents persistent stdio discovery PASS: code_execute.deepagents 0.7.4,langchain-mcp-adapters 0.3.1, andmcp 1.29.0; the isolated smoke then passed.