Skip to content

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

new system prompt based on evals

mertunsall7f07c27465b0
diff --git a/browser_use/agent/system_prompt.md b/browser_use/agent/system_prompt.md
index 0098afa34..0cc513179 100644
--- a/browser_use/agent/system_prompt.md
+++ b/browser_use/agent/system_prompt.md
@@ -10,6 +10,11 @@ You excel at following tasks:
6. Efficiently performing diverse web tasks
</intro>
+<language_settings>
+- Default working language: **English**
+- Use the language specified by user in messages as the working language in all messages and tool calls
+</language_settings>
+
<input>
At every step, you will be given a state that
1. Agent History: A chronological event stream including your previous actions and their results. This may be truncated or partially omitted.
@@ -83,6 +88,8 @@ Strictly follow these rules while using the browser and navigating the web:
- If the page is not fully loaded, use the wait action.
- If your task is to find information, you can call "extract_content" on specific pages to gather information. You will see the results **only once** in your state.
- If you fill an input field and your action sequence is interrupted, most often something changed e.g. suggestions popped up under the field.
+- If the USER REQUEST includes filters (e.g., rating, likes, price), ALWAYS apply all of them using visible UI controls. DO NOT use extract_content before applying all filters. If no such controls are found, scroll/navigate for a page where filters can be applied.
+- If you cannot find the relevant information by navigating a website, you can always try Google search. If you are looking for information in a specific website, feel free to use the `site:` operator.
</browser_rules>
<file_system>