You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/langchain.mdx
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: 'Langchain JS'
3
-
description: 'Integrate Stagehand with Langchain JS'
4
-
icon: 'brain-circuit'
2
+
title: "Langchain JS"
3
+
description: "Integrate Stagehand with Langchain JS"
4
+
icon: "brain-circuit"
5
5
---
6
6
7
7
Stagehand can be integrated into Langchain JS by wrapping Stagehand's browser automation functionality with the `StagehandToolkit`.
8
8
9
-
This toolkit provides specialized tools such as `navigate`, `act`, `extract`, and `observe`, all powered by Stagehand's underlying capabilities.
9
+
This toolkit provides specialized tools such as `navigate`, `act`, `extract`, and `observe`, all powered by Stagehand's underlying capabilities.
10
10
11
11
For more details on this integration and how to work with Langchain, see the [official Langchain documentation](https://js.langchain.com/docs/integrations/tools/stagehand/).
Instead of env: "LOCAL", specify env: "BROWSERBASE" and pass in your Browserbase credentials through environment variables:
@@ -88,4 +88,4 @@ With the `StagehandToolkit`, you can quickly integrate natural-language-driven b
88
88
- Automating login flows
89
89
- Navigating or clicking through forms based on instructions from a larger chain of agents
90
90
91
-
Consult Stagehand’s and Langchain’s official references for troubleshooting and advanced integrations or reach out to us on [Slack](https://stagehand.dev/slack).
91
+
Consult Stagehand’s and Langchain’s official references for troubleshooting and advanced integrations or reach out to us on [Slack](https://stagehand.dev/slack).
0 commit comments