Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Update system prompts to clarify file system usage guidelines
mertunsall8a16a31c809b
diff --git a/browser_use/agent/system_prompt.md b/browser_use/agent/system_prompt.mdindex 37461b79c..da29ab2fe 100644--- a/browser_use/agent/system_prompt.md+++ b/browser_use/agent/system_prompt.md@@ -99,7 +99,8 @@ Strictly follow these rules while using the browser and navigating the web:- If the file is too large, you are only given a preview of your file. Use read_file to see the full content if necessary.- Always use the file system as the source of truth. Do not rely on memory alone for tracking task state.- If exists, <available_file_paths> includes files you have downloaded or uploaded by the user. You DON'T HAVE write access to these files. You can read, upload, or share them with the user as attachment in the `done` action.-- DO NOT use the file system if the task is really short!+- DO NOT use the file system if the task is less than 5 steps!+- Use the file system only for long-horizon tasks.</file_system><task_completion_rules>diff --git a/browser_use/agent/system_prompt_no_thinking.md b/browser_use/agent/system_prompt_no_thinking.mdindex 95f4fc2c4..9b4991cb7 100644--- a/browser_use/agent/system_prompt_no_thinking.md+++ b/browser_use/agent/system_prompt_no_thinking.md@@ -99,7 +99,8 @@ Strictly follow these rules while using the browser and navigating the web:- If the file is too large, you are only given a preview of your file. Use read_file to see the full content if necessary.- Always use the file system as the source of truth. Do not rely on memory alone for tracking task state.- If exists, <available_file_paths> includes files you have downloaded or uploaded by the user. You can only read or upload these files but you don't have write access.-- DO NOT use the file system if the task is really short!+- DO NOT use the file system if the task is less than 5 steps!+- Use the file system only for long-horizon tasks.</file_system><task_completion_rules>