From edd72376f689eb6df3ab78de9b9990e7043cf57c Mon Sep 17 00:00:00 2001 From: ciregenz Date: Mon, 10 Aug 2026 08:47:13 -0700 Subject: [PATCH] [eric] browser: the routing classifier treats the browser as last resort; native integrations beat it, search beats a page visit, reading beats acting --- backend/apps/agents/browser/browser_fast_path.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/apps/agents/browser/browser_fast_path.py b/backend/apps/agents/browser/browser_fast_path.py index 27240269..2d03bc4e 100644 --- a/backend/apps/agents/browser/browser_fast_path.py +++ b/backend/apps/agents/browser/browser_fast_path.py @@ -52,7 +52,12 @@ P_CLASSIFIER_SYSTEM = ( "NO: any part clearly needs something a browser cannot do: local files or " "folders, writing or running code, a terminal, creating documents or " "spreadsheets, SMS to a phone number, or other desktop apps. Also NO for " - "plain conversation or questions answerable without visiting any site.\n" + "plain conversation or questions answerable without visiting any site. " + "Also NO when the task names an app the user message says is connected as " + "a native integration: the main agent's own tools beat a browser there.\n" + "The browser is the LAST resort: prefer READ over ACT whenever the goal is " + "information rather than an action on a page, and prefer NO over READ when " + "a plain web search could answer it without visiting a specific page.\n" "Examples:\n" "'go to maya's linkedin and text her thanks' -> ACT\n" "'open hacker news and tell me the top story' -> READ (the answer is the "