Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Move Code Agent, Actor, and Sandbox docs to Legacy section

ShawnPana96f39b3c75fc
diff --git a/AGENTS.md b/AGENTS.md
index 4e370fa53..495a33459 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -256,7 +256,7 @@ Your cloud browser is already logged in!
***
-For more sandbox parameters and events, see [Sandbox Quickstart](https://docs.browser-use.com/customize/sandbox/quickstart).
+For more sandbox parameters and events, see [Sandbox Quickstart](https://docs.browser-use.com/legacy/sandbox/quickstart).
# Agent Basics
```python theme={null}
@@ -538,7 +538,7 @@ async def main():
> Complete reference for all browser configuration options
<Note>
- The `Browser` instance also provides all [Actor](https://docs.browser-use.com/customize/actor/all-parameters) methods for direct browser control (page management, element interactions, etc.).
+ The `Browser` instance also provides all [Actor](https://docs.browser-use.com/legacy/actor/all-parameters) methods for direct browser control (page management, element interactions, etc.).
</Note>
## Core Settings
@@ -798,7 +798,7 @@ The agent injects parameters by name matching, so using the wrong name will caus
</Warning>
<Note>
- Use `browser_session` parameter in tools for deterministic [Actor](https://docs.browser-use.com/customize/actor/basics) actions.
+ Use `browser_session` parameter in tools for deterministic [Actor](https://docs.browser-use.com/legacy/actor/basics) actions.
</Note>
diff --git a/docs/customize/browser/all-parameters.mdx b/docs/customize/browser/all-parameters.mdx
index 113b120bb..ab9e890fd 100644
--- a/docs/customize/browser/all-parameters.mdx
+++ b/docs/customize/browser/all-parameters.mdx
@@ -6,7 +6,7 @@ mode: "wide"
---
<Note>
-The `Browser` instance also provides all [Actor](/customize/actor/all-parameters) methods for direct browser control (page management, element interactions, etc.).
+The `Browser` instance also provides all [Actor](/legacy/actor/all-parameters) methods for direct browser control (page management, element interactions, etc.).
</Note>
## Core Settings
diff --git a/docs/customize/tools/basics.mdx b/docs/customize/tools/basics.mdx
index 233d0f1c0..a22faefad 100644
--- a/docs/customize/tools/basics.mdx
+++ b/docs/customize/tools/basics.mdx
@@ -32,5 +32,5 @@ The agent injects parameters by name matching, so using the wrong name will caus
</Warning>
<Note>
-Use `browser_session` parameter in tools for deterministic [Actor](/customize/actor/basics) actions.
+Use `browser_session` parameter in tools for deterministic [Actor](/legacy/actor/basics) actions.
</Note>
diff --git a/docs/docs.json b/docs/docs.json
index 0d7a5f3e8..c97b06ce8 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -35,7 +35,51 @@
},
{
"source": "/production",
- "destination": "/customize/sandbox/quickstart"
+ "destination": "/legacy/sandbox/quickstart"
+ },
+ {
+ "source": "/customize/code-agent/basics",
+ "destination": "/legacy/code-agent/basics"
+ },
+ {
+ "source": "/customize/code-agent/output-format",
+ "destination": "/legacy/code-agent/output-format"
+ },
+ {
+ "source": "/customize/code-agent/exporting",
+ "destination": "/legacy/code-agent/exporting"
+ },
+ {
+ "source": "/customize/code-agent/all-parameters",
+ "destination": "/legacy/code-agent/all-parameters"
+ },
+ {
+ "source": "/customize/code-agent/example-products",
+ "destination": "/legacy/code-agent/example-products"
+ },
+ {
+ "source": "/customize/actor/basics",
+ "destination": "/legacy/actor/basics"
+ },
+ {
+ "source": "/customize/actor/examples",
+ "destination": "/legacy/actor/examples"
+ },
+ {
+ "source": "/customize/actor/all-parameters",
+ "destination": "/legacy/actor/all-parameters"
+ },
+ {
+ "source": "/customize/sandbox/quickstart",
+ "destination": "/legacy/sandbox/quickstart"
+ },
+ {
+ "source": "/customize/sandbox/events",
+ "destination": "/legacy/sandbox/events"
+ },
+ {
+ "source": "/customize/sandbox/all-parameters",
+ "destination": "/legacy/sandbox/all-parameters"
},
{
"source": "/customize/supported-models",
@@ -176,18 +220,6 @@
"customize/agent/all-parameters"
]
},
- {
- "group": "Code Agent",
- "icon": "code",
- "isDefaultOpen": false,
- "pages": [
- "customize/code-agent/basics",
- "customize/code-agent/output-format",
- "customize/code-agent/exporting",
- "customize/code-agent/all-parameters",
- "customize/code-agent/example-products"
- ]
- },
{
"group": "Browser",
"icon": "window",
@@ -220,16 +252,6 @@
"customize/skills/basics"
]
},
- {
- "group": "Actor",
- "icon": "terminal",
- "isDefaultOpen": false,
- "pages": [
- "customize/actor/basics",
- "customize/actor/examples",
- "customize/actor/all-parameters"
- ]
- },
{
"group": "Integration",
"icon": "plug",
@@ -240,13 +262,36 @@
]
},
{
- "group": "Sandbox",
- "icon": "box",
+ "group": "Legacy",
+ "icon": "box-archive",
"isDefaultOpen": false,
"pages": [
- "customize/sandbox/quickstart",
- "customize/sandbox/events",
- "customize/sandbox/all-parameters"
+ {
+ "group": "Code Agent",
+ "pages": [
+ "legacy/code-agent/basics",
+ "legacy/code-agent/output-format",
+ "legacy/code-agent/exporting",
+ "legacy/code-agent/all-parameters",
+ "legacy/code-agent/example-products"
+ ]
+ },
+ {
+ "group": "Actor",
+ "pages": [
+ "legacy/actor/basics",
+ "legacy/actor/examples",
+ "legacy/actor/all-parameters"
+ ]
+ },
+ {
+ "group": "Sandbox",
+ "pages": [
+ "legacy/sandbox/quickstart",
+ "legacy/sandbox/events",
+ "legacy/sandbox/all-parameters"
+ ]
+ }
]
}
]
diff --git a/docs/customize/actor/all-parameters.mdx b/docs/legacy/actor/all-parameters.mdx
similarity index 100%
rename from docs/customize/actor/all-parameters.mdx
rename to docs/legacy/actor/all-parameters.mdx
diff --git a/docs/customize/actor/basics.mdx b/docs/legacy/actor/basics.mdx
similarity index 100%
rename from docs/customize/actor/basics.mdx
rename to docs/legacy/actor/basics.mdx
diff --git a/docs/customize/actor/examples.mdx b/docs/legacy/actor/examples.mdx
similarity index 100%
rename from docs/customize/actor/examples.mdx
rename to docs/legacy/actor/examples.mdx
diff --git a/docs/customize/code-agent/all-parameters.mdx b/docs/legacy/code-agent/all-parameters.mdx
similarity index 100%
rename from docs/customize/code-agent/all-parameters.mdx
rename to docs/legacy/code-agent/all-parameters.mdx
diff --git a/docs/customize/code-agent/basics.mdx b/docs/legacy/code-agent/basics.mdx
similarity index 100%
rename from docs/customize/code-agent/basics.mdx
rename to docs/legacy/code-agent/basics.mdx
diff --git a/docs/customize/code-agent/example-products.mdx b/docs/legacy/code-agent/example-products.mdx
similarity index 100%
rename from docs/customize/code-agent/example-products.mdx
rename to docs/legacy/code-agent/example-products.mdx
diff --git a/docs/customize/code-agent/exporting.mdx b/docs/legacy/code-agent/exporting.mdx
similarity index 100%
rename from docs/customize/code-agent/exporting.mdx
rename to docs/legacy/code-agent/exporting.mdx
diff --git a/docs/customize/code-agent/output-format.mdx b/docs/legacy/code-agent/output-format.mdx
similarity index 100%
rename from docs/customize/code-agent/output-format.mdx
rename to docs/legacy/code-agent/output-format.mdx
diff --git a/docs/customize/sandbox/all-parameters.mdx b/docs/legacy/sandbox/all-parameters.mdx
similarity index 100%
rename from docs/customize/sandbox/all-parameters.mdx
rename to docs/legacy/sandbox/all-parameters.mdx
diff --git a/docs/customize/sandbox/events.mdx b/docs/legacy/sandbox/events.mdx
similarity index 100%
rename from docs/customize/sandbox/events.mdx
rename to docs/legacy/sandbox/events.mdx
diff --git a/docs/customize/sandbox/quickstart.mdx b/docs/legacy/sandbox/quickstart.mdx
similarity index 100%
rename from docs/customize/sandbox/quickstart.mdx
rename to docs/legacy/sandbox/quickstart.mdx