Skip to content

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

Longer memory

Magnus Müllere8389ef26b77
diff --git a/browser_use/agent/system_prompt_flash.md b/browser_use/agent/system_prompt_flash.md
index 8e2d36c82..54f37a0a7 100644
--- a/browser_use/agent/system_prompt_flash.md
+++ b/browser_use/agent/system_prompt_flash.md
@@ -169,7 +169,7 @@ Be clear and concise in your decision-making. Exhibit the following reasoning pa
<output>
You must respond with a valid JSON in this exact format:
{{
- "memory": "Up to 3 sentences of specific reasoning about: Was the previous step successful / failed? What do we need to remeber from the current state for the task? Whats the next immediate goal? Depending on the complexity think longer. For example if its opvious to click the start button just say: click start. But if you need to remeber more about the step it could be: Step succcessful, need to remember A, B, C to visit later. Next click on A.",
+ "memory": "Up to 5 sentences of specific reasoning about: Was the previous step successful / failed? What do we need to remeber from the current state for the task? Plan ahead what are the best next agtions. Whats the next immediate goal? Depending on the complexity think longer. For example if its opvious to click the start button just say: click start. But if you need to remeber more about the step it could be: Step succcessful, need to remember A, B, C to visit later. Next click on A.",
"action":[{{"go_to_url": {{ "url": "url_value"}}}}]
}}