---
type: "post"
id: "browser-use-with-managed-deep-agents-f66c8a"
slug: "browser-use-with-managed-deep-agents-f66c8a"
title: "Browser Use with Managed Deep Agents"
description: "LangChain product manager Sydney demonstrates Browser Use in Managed Deep Agents, where a browser sandbox runs alongside the agent rather than being an external step in the workflow."
retrieval_nugget: "LangChain product manager Sydney demonstrates Browser Use in Managed Deep Agents, where a browser sandbox runs alongside the agent rather than being an external step in the workflow."
published_at: "2026-11-25"
updated_at: "2026-11-25"
record_date: "2026-11-25"
date_kind: "published_at"
topics: ["sandbox"]
entities: ["LangChain","Managed Deep Agents","LangSmith","Stagehand","Browserbase"]
related_patterns: ["agent-security-moves-to-runtime-boundaries"]
novelty_label: "new_fact"
what_changed: null
prior_refs: []
source_url: "https://www.youtube.com/watch?v=r1iJzoxFBtg"
source_urls: ["https://www.youtube.com/watch?v=r1iJzoxFBtg"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:browser-use-with-managed-deep-agents-f66c8a"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/browser-use-with-managed-deep-agents-f66c8a/","markdown":"https://newruntime.com/posts/browser-use-with-managed-deep-agents-f66c8a.md","json":"https://newruntime.com/posts/browser-use-with-managed-deep-agents-f66c8a.json"}
markdown_url: "https://newruntime.com/posts/browser-use-with-managed-deep-agents-f66c8a.md"
---

# Browser Use with Managed Deep Agents

## Retrieval answer

LangChain product manager Sydney demonstrates Browser Use in Managed Deep Agents, where a browser sandbox runs alongside the agent rather than being an external step in the workflow.

## Summary

LangChain product manager Sydney demonstrates Browser Use in Managed Deep Agents, where a browser sandbox runs alongside the agent rather than being an external step in the workflow. ([youtube.com](https://www.youtube.com/watch?v=r1iJzoxFBtg))

## What happened

Builders can use the built-in browser sandbox or connect a third-party provider such as Browserbase; the Managed Deep Agents setup includes four Browserbase Stagehand tools. The snapshot tool lists interactive page elements, run lets the model write browser-interaction code such as clicks and scrolling, screenshot captures the rendered page, and handoff lets a user take control before returning the browser to the agent.

Sydney identifies internal sites and tools, plus end-to-end UI testing of locally deployed applications, as possible uses. LangSmith Studio displays the agent trace alongside the browser interaction.

## What the archive adds

This extends LangChain’s earlier coverage of Managed Deep Agents and its account of optimizing browser use through iterative trace-and-evaluate work with Stagehand tools. ([earlier New Runtime note](https://newruntime.com/posts/how-we-optimized-browser-use-for-deep-agents-5d66fb/))

## Why it matters

Use `thread` scope when each run should begin clean—for example, repeatable UI tests that should not inherit prior cookies. Use `user` scope when a workflow needs to stay signed in across that user’s separate threads. The trade-off is test isolation versus session continuity.

## Limits and uncertainty

LangChain says it tested Stagehand against seven or eight other tool sets and that Stagehand performed better, particularly on cost and latency. The comparison is attributed to Sydney; no quantitative results are given.

## Skill to build now

Add a `browser.py` file and call `define_browser` to enable browser access in a deployed Managed Deep Agent. Set the `scope` argument to `thread` or `user` according to the session behavior you need.

## Reader takeaway

The key configuration choice is `scope`: `thread` starts each conversation with a fresh browser and unshared cookies, while `user` reuses one browser and its login state across that user’s threads. Choose isolation for repeatable tests; choose persistence when a workflow needs an authenticated session.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Sandbox](https://newruntime.com/topics/sandbox.md): Explore the sandbox topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
