Repository Analysis

browser-use/web-ui

🖥️ Run AI Agent in your browser.

33.4 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of browser-use/web-ui, a Python project with 16,195 GitHub stars. SynthScan v2.0 examined 5,894 lines of code across 34 source files, recording 193 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 33.4 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

33.4
Adjusted Score
33.4
Raw Score
100%
Time Factor
2026-05-15
Last Push
16.2K
Stars
Python
Language
5.9K
Lines of Code
34
Files
193
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 2LOW 191

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 193 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Unused Imports92 hits · 88 pts
SeverityFileLineSnippetContext
LOWtests/test_agents.py14CODE
LOWtests/test_agents.py17CODE
LOWtests/test_agents.py21CODE
LOWtests/test_agents.py25CODE
LOWtests/test_agents.py167CODE
LOWtests/test_agents.py171CODE
LOWtests/test_agents.py330CODE
LOWtests/test_agents.py330CODE
LOWtests/test_playwright.py1CODE
LOWtests/test_controller.py56CODE
LOWtests/test_controller.py58CODE
LOWsrc/utils/utils.py6CODE
LOWsrc/utils/utils.py7CODE
LOWsrc/utils/utils.py8CODE
LOWsrc/utils/utils.py9CODE
LOWsrc/utils/llm_provider.py2CODE
LOWsrc/utils/llm_provider.py4CODE
LOWsrc/utils/llm_provider.py5CODE
LOWsrc/utils/llm_provider.py5CODE
LOWsrc/utils/llm_provider.py11CODE
LOWsrc/utils/llm_provider.py11CODE
LOWsrc/utils/llm_provider.py12CODE
LOWsrc/utils/llm_provider.py12CODE
LOWsrc/utils/llm_provider.py12CODE
LOWsrc/utils/llm_provider.py12CODE
LOWsrc/utils/llm_provider.py12CODE
LOWsrc/utils/llm_provider.py12CODE
LOWsrc/utils/llm_provider.py22CODE
LOWsrc/utils/llm_provider.py22CODE
LOWsrc/utils/llm_provider.py22CODE
LOWsrc/utils/llm_provider.py22CODE
LOWsrc/utils/llm_provider.py22CODE
LOWsrc/utils/llm_provider.py30CODE
LOWsrc/utils/llm_provider.py31CODE
LOWsrc/utils/llm_provider.py32CODE
LOWsrc/utils/llm_provider.py34CODE
LOWsrc/utils/llm_provider.py34CODE
LOWsrc/utils/llm_provider.py34CODE
LOWsrc/utils/llm_provider.py34CODE
LOWsrc/utils/llm_provider.py34CODE
LOWsrc/utils/llm_provider.py34CODE
LOWsrc/utils/llm_provider.py49CODE
LOWsrc/utils/llm_provider.py50CODE
LOWsrc/agent/browser_use/browser_use_agent.py1CODE
LOWsrc/controller/custom_controller.py1CODE
LOWsrc/controller/custom_controller.py3CODE
LOWsrc/controller/custom_controller.py8CODE
LOWsrc/controller/custom_controller.py9CODE
LOWsrc/controller/custom_controller.py10CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py11CODE
LOWsrc/controller/custom_controller.py25CODE
32 more matches not shown…
Excessive Try-Catch Wrapping38 hits · 36 pts
SeverityFileLineSnippetContext
LOWtests/test_agents.py154 except Exception:CODE
LOWtests/test_agents.py316 except Exception:CODE
LOWtests/test_agents.py392 except Exception as e:CODE
LOWsrc/utils/utils.py36 except Exception as e:CODE
MEDIUMsrc/utils/utils.py37 print(f"Error getting latest {file_type} file: {e}")CODE
LOWsrc/utils/mcp_client.py41 except Exception as e:CODE
LOWsrc/utils/mcp_client.py107 except Exception:CODE
LOWsrc/agent/browser_use/browser_use_agent.py158 except Exception as script_gen_err:CODE
LOWsrc/agent/deep_research/deep_research_agent.py434 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py446 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py402 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py413 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py457 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py1036 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py1201 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py1244 except Exception as e:CODE
LOWsrc/agent/deep_research/deep_research_agent.py171 except Exception as e:STRING
LOWsrc/agent/deep_research/deep_research_agent.py182 except Exception as e:STRING
LOWsrc/agent/deep_research/deep_research_agent.py189 except Exception as e:STRING
LOWsrc/agent/deep_research/deep_research_agent.py604 except Exception as e:STRING
LOWsrc/agent/deep_research/deep_research_agent.py745 except Exception as e:STRING
LOWsrc/agent/deep_research/deep_research_agent.py791 except Exception as e:STRING
LOWsrc/agent/deep_research/deep_research_agent.py930 except Exception as e:STRING
LOWsrc/controller/custom_controller.py104 except Exception as e:CODE
LOWsrc/controller/custom_controller.py151 except Exception as e:CODE
LOWsrc/webui/components/deep_research_agent_tab.py36 except Exception as e:CODE
LOWsrc/webui/components/deep_research_agent_tab.py50 except Exception as e:CODE
LOWsrc/webui/components/deep_research_agent_tab.py220 except Exception as e:CODE
LOWsrc/webui/components/deep_research_agent_tab.py270 except Exception as e:CODE
LOWsrc/webui/components/deep_research_agent_tab.py315 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py61 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py123 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py172 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py613 except Exception: # Catch task exceptions if it errors on stopCODE
LOWsrc/webui/components/browser_use_agent_tab.py675 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py724 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py774 except Exception as e:CODE
LOWsrc/webui/components/browser_use_agent_tab.py920 except Exception as e:CODE
Deep Nesting17 hits · 16 pts
SeverityFileLineSnippetContext
LOWsrc/utils/utils.py20CODE
LOWsrc/utils/mcp_client.py46CODE
LOWsrc/utils/mcp_client.py134CODE
LOWsrc/utils/llm_provider.py152CODE
LOWsrc/agent/browser_use/browser_use_agent.py31CODE
LOWsrc/agent/browser_use/browser_use_agent.py48CODE
LOWsrc/agent/deep_research/deep_research_agent.py338CODE
LOWsrc/agent/deep_research/deep_research_agent.py421CODE
LOWsrc/agent/deep_research/deep_research_agent.py461CODE
LOWsrc/agent/deep_research/deep_research_agent.py609CODE
LOWsrc/agent/deep_research/deep_research_agent.py811CODE
LOWsrc/agent/deep_research/deep_research_agent.py1085CODE
LOWsrc/controller/custom_controller.py110CODE
LOWsrc/webui/interface.py22CODE
LOWsrc/webui/webui_manager.py97CODE
LOWsrc/webui/components/deep_research_agent_tab.py57CODE
LOWsrc/webui/components/browser_use_agent_tab.py275CODE
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippetContext
LOWtests/test_agents.py358 task_id_to_resume = "" # Set this to resume a previous task IDCODE
LOWsrc/utils/mcp_client.py67 # Check if parameter is requiredCOMMENT
LOWsrc/utils/mcp_client.py231 # Check if requiredCOMMENT
LOWsrc/agent/browser_use/browser_use_agent.py77 # Check if waiting for user input after Ctrl+CCOMMENT
LOWsrc/agent/browser_use/browser_use_agent.py82 # Check if we should stop due to too many failuresCOMMENT
LOWsrc/agent/deep_research/deep_research_agent.py955 # Check if the current indices point to a valid pending taskSTRING
LOWsrc/webui/components/browser_use_agent_tab.py599 # Check if agent stopped itself or stop button was pressed (which sets agent.state.stopped)COMMENT
LOWsrc/webui/components/browser_use_agent_tab.py617 # Check if agent is asking for help (via response_event)COMMENT
LOWsrc/webui/components/browser_use_agent_tab.py699 elif agent_task.exception(): # Check if task finished with exceptionCODE
LOWsrc/webui/components/browser_use_agent_tab.py803 # Check if waiting for user assistanceCOMMENT
LOWsrc/webui/components/browser_use_agent_tab.py821 # Check if a task is currently running (using _current_task)COMMENT
Structural Annotation Overuse9 hits · 14 pts
SeverityFileLineSnippetContext
LOWREADME.md30#### Step 1: Clone the RepositoryCOMMENT
LOWREADME.md36#### Step 2: Set Up Python EnvironmentCOMMENT
LOWREADME.md58#### Step 3: Install DependenciesCOMMENT
LOWREADME.md73#### Step 4: Configure EnvironmentCOMMENT
LOWREADME.md85#### Step 5: Enjoy the web-uiCOMMENT
LOWREADME.md115#### Step 1: Clone the RepositoryCOMMENT
LOWREADME.md121#### Step 2: Configure EnvironmentCOMMENT
LOWREADME.md133#### Step 3: Docker Build and RunCOMMENT
LOWREADME.md142#### Step 4: Enjoy the web-ui and vncCOMMENT
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/utils/mcp_client.py14logger = logging.getLogger(__name__)CODE
LOWsrc/agent/browser_use/browser_use_agent.py23logger = logging.getLogger(__name__)CODE
LOWsrc/agent/deep_research/deep_research_agent.py39logger = logging.getLogger(__name__)CODE
LOWsrc/controller/custom_controller.py34logger = logging.getLogger(__name__)CODE
LOWsrc/browser/custom_browser.py31logger = logging.getLogger(__name__)CODE
LOWsrc/browser/custom_context.py12logger = logging.getLogger(__name__)CODE
LOWsrc/webui/components/deep_research_agent_tab.py15logger = logging.getLogger(__name__)CODE
LOWsrc/webui/components/agent_settings_tab.py12logger = logging.getLogger(__name__)CODE
LOWsrc/webui/components/browser_use_agent_tab.py27logger = logging.getLogger(__name__)CODE
LOWsrc/webui/components/browser_settings_tab.py10logger = logging.getLogger(__name__)CODE
Hyper-Verbose Identifiers9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/test_agents.py166async def test_browser_use_parallel():CODE
LOWsrc/utils/mcp_client.py17async def setup_mcp_client_and_tools(mcp_server_config: Dict[str, Any]) -> Optional[MultiServerMCPClient]:CODE
LOWsrc/agent/deep_research/deep_research_agent.py438def _save_search_results_to_json(results: List[Dict[str, Any]], output_dir: str):CODE
LOWsrc/agent/deep_research/deep_research_agent.py271def create_browser_search_tool(STRING
LOWsrc/webui/components/deep_research_agent_tab.py376def create_deep_research_agent_tab(webui_manager: WebuiManager):CODE
LOWsrc/webui/components/agent_settings_tab.py46def create_agent_settings_tab(webui_manager: WebuiManager):CODE
LOWsrc/webui/components/browser_use_agent_tab.py972def create_browser_use_agent_tab(webui_manager: WebuiManager):CODE
LOWsrc/webui/components/load_save_config_tab.py8def create_load_save_config_tab(webui_manager: WebuiManager):CODE
LOWsrc/webui/components/browser_settings_tab.py30def create_browser_settings_tab(webui_manager: WebuiManager):CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/test_agents.py41 # temperature=0.6,COMMENT
LOWtests/test_agents.py61 # llm = utils.get_llm_model(COMMENT
LOWtests/test_agents.py181 # temperature=0.8,COMMENT
LOWtests/test_controller.py21 # "run",COMMENT
LOWtests/test_controller.py61 "mcpServers": {COMMENT
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/agent/deep_research/deep_research_agent.py876 """You are a professional researcher tasked with writing a comprehensive and well-structured report baseSTRING
LOWsrc/webui/components/browser_use_agent_tab.py603 # Ensure the task coroutine finishes if agent just set flagCOMMENT