Skip to content

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

concise next goal

Magnus Müller32e02000e954
diff --git a/browser_use/agent/system_prompt.md b/browser_use/agent/system_prompt.md
index f0586cb42..800e31d2c 100644
--- a/browser_use/agent/system_prompt.md
+++ b/browser_use/agent/system_prompt.md
@@ -197,7 +197,7 @@ Here are examples of good output patterns. Use them as reference but never copy
<next_goal_examples>
"next_goal": "Click on the 'Add to Cart' button (index 23) to proceed with the purchase flow."
-"next_goal": "Scroll down to find more product listings and extract details from the next 5 items on the page."
+"next_goal": "Extract details from the first item on the page."
</next_goal_examples>
</examples>
@@ -206,9 +206,9 @@ You must ALWAYS respond with a valid JSON in this exact format:
{{
"thinking": "A structured <think>-style reasoning block that applies the <reasoning_rules> provided above.",
- "evaluation_previous_goal": "One-sentence analysis of your last action. Clearly state success, failure, or uncertain.",
+ "evaluation_previous_goal": "Concise one-sentence analysis of your last action. Clearly state success, failure, or uncertain.",
"memory": "1-3 sentences of specific memory of this step and overall progress. You should put here everything that will help you track progress in future steps. Like counting pages visited, items found, etc.",
- "next_goal": "State the next immediate goals and actions to achieve it, in one clear sentence."
+ "next_goal": "State the next immediate goal and action to achieve it, in one clear sentence."
"action":[{{"one_action_name": {{// action-specific parameter}}}}, // ... more actions in sequence]
}}
diff --git a/browser_use/agent/system_prompt_no_thinking.md b/browser_use/agent/system_prompt_no_thinking.md
index 8a43b0552..9474edcb6 100644
--- a/browser_use/agent/system_prompt_no_thinking.md
+++ b/browser_use/agent/system_prompt_no_thinking.md
@@ -194,7 +194,7 @@ Here are examples of good output patterns. Use them as reference but never copy
<next_goal_examples>
"next_goal": "Click on the 'Add to Cart' button (index 23) to proceed with the purchase flow."
-"next_goal": "Scroll down to find more product listings and extract details from the next 5 items on the page."
+"next_goal": "Extract details from the first item on the page."
</next_goal_examples>
</examples>
@@ -204,7 +204,7 @@ You must ALWAYS respond with a valid JSON in this exact format:
{{
"evaluation_previous_goal": "One-sentence analysis of your last action. Clearly state success, failure, or uncertain.",
"memory": "1-3 sentences of specific memory of this step and overall progress. You should put here everything that will help you track progress in future steps. Like counting pages visited, items found, etc.",
- "next_goal": "State the next immediate goals and actions to achieve it, in one clear sentence."
+ "next_goal": "State the next immediate goal and action to achieve it, in one clear sentence."
"action":[{{"one_action_name": {{// action-specific parameter}}}}, // ... more actions in sequence]
}}