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: examples/integrations/langchain/deepagents-browserbase/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ It intentionally does **not** route the agent through the Browserbase CLI. Deep
11
11
## Architecture
12
12
13
13
-`browserbase_search`: fast discovery with Browserbase Search
14
-
-`browserbase_fetch`: cheap page retrieval with Browserbase Fetch
14
+
-`browserbase_fetch`: Browserbase Fetch / Fetch Extract for raw, markdown, or structured JSON retrieval
15
15
-`browserbase_rendered_extract`: Stagehand-backed rendered extraction for JS-heavy pages
16
16
-`browserbase_interactive_task`: a Stagehand `agent().execute(...)` workflow for clicks, typing, login, or form submission
17
17
-`browser-specialist` subagent: isolates browser-heavy work from the main planner
@@ -87,11 +87,14 @@ This is the right place to put human approval in a Deep Agents + Browserbase des
87
87
## Notes
88
88
89
89
- The interactive tool now uses `stagehand.agent().execute(...)` instead of a single `sessions.act(...)` call. That makes it better suited to genuine multi-step browser tasks.
90
+
- Browserbase Fetch supports `raw`, `markdown`, and `json` output in the Python SDK starting with `browserbase``1.11.0`, which is why this example now requires that version or newer.
90
91
- Browserbase’s Stagehand quickstart documents that Model Gateway works with just `BROWSERBASE_API_KEY` for Stagehand browser workflows.
91
92
- I did not hardcode a Browserbase model-gateway URL for the LangChain model client because I did not find an official doc page in the Browserbase docs that specifies a general-purpose OpenAI-compatible endpoint for LangChain. The sample therefore accepts `DEEPAGENT_BASE_URL` or `OPENAI_BASE_URL` explicitly.
92
93
93
94
## Suggested prompts
94
95
95
96
-`Research Browserbase Search, Fetch, and browser sessions. Give me a decision tree with citations.`
97
+
-`Use browserbase_fetch with markdown output on https://docs.browserbase.com/platform/fetch/overview and summarize the fetch limits.`
98
+
-`Use browserbase_fetch with JSON output to extract the page title and one-sentence summary from https://www.browserbase.com/.`
96
99
-`Open docs.browserbase.com and extract the limits of the Fetch API from the rendered docs page.`
97
100
-`Go to example.com and tell me whether any interactive action would be required to complete the task.`
0 commit comments