docs: browser-use 1.0 judges every run (result.judgement, judge, judge_context)
browser-use/browser-use#6398 (merged 2026-11-14) brings the judge back in the open-source library: after each run that took a step, one low-effort request to the agent's own model fills result.judgement (plus one text-only retry if the model rejects the images with an HTTP 4xx, per #6403). The open-source docs still said the judge was removed (use_judge ignored, ground_truth / judgement() â result.success).
Changes, all facts from the #6398 diff (MIGRATING.md, README.md, agent/service.py, agent/judge.py, agent/views.py, legacy.py, telemetry/):
- all-parameters: new
judge(defaultTrue) andjudge_context(defaultNone) rows;use_judgeremoved from the ignored list (it is now an alias, popped from kwargs, no longer inIGNORED). - output:
judgementfield,cost_usdincludes the judge, new "Judge" section with theJudgementfields. - migrating:
use_judge/ground_truthkept asjudge/judge_context;judge_llmdropped;judgement()is now theresult.judgementattribute;browser_use.agent.judgeJudgementResult/SimpleJudgeResultpoint toJudgement. - observability / telemetry: cost covers the judge;
agent_eventcarries the scrubbed judgement (schema 5), only whetherjudge_contextis set is sent as configuration; the verdict is scrubbed text, so short or partial quotes of the context can remain.
â ď¸ Merge after the next browser-use release. #6398 merged after 1.0.4 (PyPI 2026-11-13 20:56 UTC), and the 1.0.4 wheel has neither judge nor judge_context, so pip install browser-use users would see params that do not exist yet. (The docs-oss-params CI installs browser-use from GitHub main, so it already passes.)
Not documented (unsure): the exact warning text a failed judge logs, and whether the CLI/MCP server expose the judgement.
đ¤ Generated with Claude Code
Summary by cubic
Updates the open-source docs to reflect that browser-use 1.0 judges every run that took a step, filling result.judgement with the verdict.
- Documents
judge(defaultTrue) andjudge_context, plusresult.judgementand its fields; gotchas are also written on success when a site rejected, errored or blocked the agent, and if the model rejects images with an HTTP 4xx error that mentionsimage, the judge retries once with text alone. use_judgeandground_truthstay as aliases,judge_llmis dropped, andjudgement()becomes theresult.judgementattribute.- The judge reads the run as redacted text capped at 120k characters, plus up to 4 screenshots (the run's last distinct ones and the final page) when vision is on; a failed judge request leaves
result.judgementNoneand never changes the run's own result. - Notes the judge's cost in
cost_usdand the scrubbed verdict in telemetry, with the 300-character caps that apply per field;judge_contextitself is never sent, though partial quotes of it can survive in the scrubbed verdict.
Merge after the next browser-use release. browser-use/browser-use#6398 merged after 1.0.4, and PyPI 1.0.4 has neither judge nor judge_context; the parameter check CI installs from main and passes.