Repository Analysis

agent0ai/agent-zero

Agent Zero AI framework

18.3 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of agent0ai/agent-zero, a Python project with 19,001 GitHub stars. SynthScan v2.0 examined 310,742 lines of code across 1990 source files, recording 4471 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 18.3 places this repository in the Moderate 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).

18.3
Adjusted Score
18.3
Raw Score
100%
Time Factor
2026-08-27
Last Push
19.0K
Stars
Python
Language
310.7K
Lines of Code
2.0K
Files
4.5K
Pattern Hits
2026-08-29
Scan Date
0.10
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 3HIGH 187MEDIUM 224LOW 4057

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 4471 distinct pattern matches across 23 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.

Hyper-Verbose Identifiers2233 hits · 2040 pts
SeverityFileLineSnippetContext
LOWmodels.py60def _normalize_litellm_kwargs(values: dict[str, Any]) -> dict[str, Any]:CODE
LOWmodels.py86def get_litellm_global_kwargs() -> dict[str, Any]:CODE
LOWmodels.py121def _merge_litellm_call_kwargs(*overrides: dict[str, Any] | None) -> dict[str, Any]:CODE
LOWmodels.py303def _is_transient_litellm_error(exc: Exception) -> bool:CODE
LOWmodels.py837def _get_local_embedding_model(CODE
LOWrun_tunnel.py20 class NoRequestLoggingWSGIRequestHandler(WSGIRequestHandler):CODE
LOWrun_ui.py53 def flush_and_shutdown_callback() -> None:CODE
LOWagent.py1005 def _responses_state_for_model(self, model: Any) -> dict[str, Any]:CODE
LOWagent.py1016 def _responses_input_items_since(CODE
LOWagent.py1024 def _responses_input_items_for_message(CODE
LOWagent.py1041 def _responses_prompt_input_items(CODE
LOWagent.py1049 def _remember_llm_result_state(CODE
LOWagent.py1238 async def _log_response_builtin_items(self, llm_result: LLMResult) -> None:CODE
LOWagent.py1252 async def _handle_responses_computer_call(self, item: dict[str, Any]) -> None:CODE
LOWagent.py1308 def _handle_responses_mcp_approval_request(self, item: dict[str, Any]) -> None:CODE
LOWagent.py1382 def _computer_call_output_item(CODE
LOWagent.py1413 def _clear_responses_pending_state(self) -> None:CODE
LOWprepare.py8def _retire_legacy_collabora_runtime() -> None:CODE
LOWtools/call_subordinate.py18def _subordinate_profile_labels(agent: Agent) -> dict[str, str]:CODE
LOWtools/call_subordinate.py26def _validate_subordinate_profile(agent: Agent, profile: str) -> str:CODE
LOWtools/call_subordinate.py119def get_or_create_subordinate(CODE
LOWtools/a2a_chat.py55def _extract_latest_assistant_text(task_response: Any) -> str:CODE
LOWtools/scheduler.py63def _task_schedule_from_input(schedule: Any, timezone: str | None = None) -> TaskSchedule:CODE
LOWtools/scheduler.py154 def _resolve_project_metadata(self) -> tuple[str | None, str | None]:CODE
LOWdocker/run/fs/exe/self_update_manager.py126def normalize_describe_to_version(describe: str) -> str:CODE
LOWdocker/run/fs/exe/self_update_manager.py152def is_supported_selector_tag(tag: str) -> bool:CODE
LOWdocker/run/fs/exe/self_update_manager.py157def sort_selector_supported_tags(tags: list[str]) -> list[str]:CODE
LOWdocker/run/fs/exe/self_update_manager.py180def build_default_backup_name() -> str:CODE
LOWdocker/run/fs/exe/self_update_manager.py198def normalize_backup_conflict_policy(conflict_policy: str) -> str:CODE
LOWdocker/run/fs/exe/self_update_manager.py205def get_latest_same_major_tag(CODE
LOWdocker/run/fs/exe/self_update_manager.py232def ensure_latest_target_matches_current_major(CODE
LOWdocker/run/fs/exe/self_update_manager.py311def resolve_backup_destination(CODE
LOWdocker/run/fs/exe/self_update_manager.py403def should_exclude_from_usr_backup(CODE
LOWdocker/run/fs/exe/self_update_manager.py426def should_include_usr_backup_entry(source_file: Path, logger: AttemptLogger) -> bool:CODE
LOWdocker/run/fs/exe/self_update_manager.py461def clean_transient_desktop_agent_state(CODE
LOWdocker/run/fs/exe/self_update_manager.py500def _clean_gnupg_agent_entries(gnupg_dir: Path, logger: AttemptLogger) -> int:CODE
LOWdocker/run/fs/exe/self_update_manager.py661def has_local_rollback_changes(repo_dir: Path) -> bool:CODE
LOWdocker/run/fs/exe/self_update_manager.py1340def installed_target_matches_request(CODE
LOWplugins/_context_window/tests/test_context_window.py27async def test_usage_follows_prompt_sources_and_reconciles_to_total(monkeypatch):CODE
LOWplugins/_context_window/tests/test_context_window.py93async def test_api_returns_only_counts_and_effective_limit(monkeypatch):CODE
LOWplugins/_context_window/tests/test_context_window.py130def test_webui_and_accounting_are_plugin_owned():CODE
LOWplugins/_context_window/tests/test_context_window.py198def test_source_prompt_extensions_are_registered():CODE
LOWplugins/_context_window/tests/test_context_window.py228async def test_chat_stream_drains_terminal_provider_usage(monkeypatch):CODE
LOWplugins/_context_window/tests/test_context_window.py296def test_prompt_fragment_cache_is_bounded_and_content_addressed(monkeypatch):CODE
LOWplugins/_context_window/tests/test_context_window.py317def test_history_ledger_changes_without_invalidating_fragment_cache(monkeypatch):CODE
LOWplugins/_context_window/tests/test_context_window.py368def test_rendered_history_fallback_preserves_system_prompt_bucket(monkeypatch):CODE
LOWplugins/_context_window/tests/test_context_window.py404def test_provider_usage_is_optional():CODE
LOWplugins/_context_window/helpers/usage.py248def _optional_non_negative_int(*values: Any) -> int | None:CODE
LOWplugins/_context_window/helpers/usage.py259def _optional_non_negative_float(*values: Any) -> float | None:CODE
LOWplugins/_email_integration/helpers/dispatcher.py96def parse_dispatcher_response(response: str) -> DispatchDecision:CODE
LOWplugins/_email_integration/helpers/handler.py594async def _read_attachments_via_rfc(CODE
LOWplugins/_email_integration/helpers/handler.py408def _apply_handler_model_preset(context: AgentContext, handler_cfg: dict) -> None:CODE
LOWplugins/_email_integration/helpers/handler.py426async def _send_control_email_reply(CODE
LOWplugins/_email_integration/helpers/handler.py454def _build_control_reply_subject(subject: str, thread_id: str) -> str:CODE
LOWplugins/_email_integration/helpers/imap_client.py475def _extract_email_from_sender(sender: str) -> str:CODE
LOW…ui/set_messages_after_loop/sync-text-editor-results.js7export default async function syncTextEditorResultsIntoOpenEditor(context) {CODE
LOW…ui/set_messages_after_loop/sync-text-editor-results.js85function shouldSyncTextEditorResult(args = {}, payload = {}) {CODE
LOW…ui/set_messages_after_loop/sync-text-editor-results.js91function shouldOpenEditorUiFromResult(payload = {}, document = {}) {CODE
LOW…ui/set_messages_after_loop/sync-text-editor-results.js95function isExplicitEditorUiRequest(payload = {}) {CODE
LOWplugins/_editor/webui/editor-preview.js5export function renderEditorPreviewMarkdown(markdown = "", fullMarkdown = markdown) {CODE
2173 more matches not shown…
Cross-Language Confusion182 hits · 1058 pts
SeverityFileLineSnippetContext
HIGHplugins/_context_window/tests/test_context_window.py194 assert "Number(item.agentno || 0) !== 0" in refresh_hookCODE
HIGHplugins/_browser/helpers/runtime.py73 let active = document.activeElement || document.body || document.documentElement;CODE
HIGHplugins/_browser/helpers/runtime.py77 return active || document.body || document.documentElement;CODE
HIGHplugins/_browser/helpers/runtime.py81 if (!element) return null;CODE
HIGHplugins/_browser/helpers/runtime.py111 return selection ? String(selection.toString() || "") : "";CODE
HIGHplugins/_browser/helpers/runtime.py115 let transfer = null;CODE
HIGHplugins/_browser/helpers/runtime.py119 if (transfer && seedText) {CODE
HIGHplugins/_browser/helpers/runtime.py154 (target || document.body || document.documentElement).dispatchEvent(event);CODE
HIGHplugins/_browser/helpers/runtime.py157 text: clipboardDataText(event.clipboardData || transfer),CODE
HIGHplugins/_browser/helpers/runtime.py161 function dispatchInputEvent(element, type, inputType, data = null) {CODE
HIGHplugins/_browser/helpers/runtime.py162 let event = null;CODE
HIGHplugins/_browser/helpers/runtime.py238 if (!dispatchInputEvent(element, "beforeinput", "deleteByCut", null)) {CODE
HIGHplugins/_browser/helpers/runtime.py242 dispatchInputEvent(element, "input", "deleteByCut", null);CODE
HIGHplugins/_browser/helpers/runtime.py247 if (!selection || selection.rangeCount === 0 || !String(selection.toString() || "")) {CODE
HIGHplugins/_browser/helpers/runtime.py247 if (!selection || selection.rangeCount === 0 || !String(selection.toString() || "")) {CODE
HIGHplugins/_browser/helpers/runtime.py250 if (!dispatchInputEvent(element, "beforeinput", "deleteByCut", null)) {CODE
HIGHplugins/_browser/helpers/runtime.py254 dispatchInputEvent(element, "input", "deleteByCut", null);CODE
HIGHplugins/_browser/helpers/runtime.py132 let event = null;CODE
HIGHplugins/_browser/helpers/runtime.py205 if (!selection || selection.rangeCount === 0) return false;CODE
HIGHplugins/_browser/helpers/runtime.py274 result.text = event.text || selectionText;CODE
HIGHplugins/_browser/helpers/runtime.py275 result.handled = Boolean(result.text || event.defaultPrevented);CODE
HIGHplugins/_browser/helpers/runtime.py2718 "() => globalThis.history?.length || 0",STRING
HIGHplugins/_browser/helpers/runtime.py1661 "(payload) => globalThis.__spaceBrowserPageContent__.capture(payload || null)",STRING
HIGHplugins/_browser/helpers/runtime.py1661 "(payload) => globalThis.__spaceBrowserPageContent__.capture(payload || null)",STRING
HIGHplugins/_browser/helpers/runtime.py1691 "(payload) => globalThis.__spaceBrowserPageContent__.annotate(payload || null)",STRING
HIGHplugins/_browser/helpers/runtime.py1691 "(payload) => globalThis.__spaceBrowserPageContent__.annotate(payload || null)",STRING
HIGHplugins/_desktop/helpers/desktop_session.py1319 xfconf-query -c thunar -p /last-show-hidden -n -t bool -s true >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1320 xfconf-query -c xfce4-desktop -p /desktop-icons/style -n -t int -s 2 >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1321 xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-home -n -t bool -s false >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1322 xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-filesystem -n -t bool -s false >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1323 xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-removable -n -t bool -s false >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1324 xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-trash -n -t bool -s false >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1328 chmod +x "$launcher" 2>/dev/null || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1331 gio set "$launcher" metadata::trusted true >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1333 gio set -t string "$launcher" metadata::xfce-exe-checksum "$checksum" >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1338 timeout 4 xfdesktop --reload >/dev/null 2>&1 || trueCODE
HIGHplugins/_desktop/helpers/desktop_session.py1381 f"'\"{session.profile_dir / 'prepare-xfce-profile.sh'}\" >/dev/null 2>&1 || true; exec xfce4-sesSTRING
HIGHplugins/_commands/tests/test_commands_plugin.py83if (!leading.active || leading.query !== "goal") throw new Error("leading command hidden");CODE
HIGHplugins/_commands/tests/test_commands_plugin.py92if (!resolvable.active || resolvable.query !== "goal") throw new Error("postfix resolution broke");CODE
HIGHplugins/_commands/tests/test_commands_plugin.py95if (!reference.active || reference.query !== "src/app" || reference.start !== 8 || reference.end !== 16) throw new ErrorCODE
HIGHplugins/_commands/tests/test_commands_plugin.py98if (!middle.active || middle.query !== "src/app") throw new Error("caret-local reference not found");CODE
HIGHplugins/_commands/tests/test_commands_plugin.py102if (fileQueryDirectory("../secret") !== null) throw new Error("parent traversal accepted");CODE
HIGHplugins/_commands/tests/test_commands_plugin.py103if (fileQueryDirectory("mcp/server") !== null) throw new Error("MCP reference opened file browser");CODE
HIGHtests/test_oauth_static.py95 assert "this.connectingProvider || this.disconnectingProvider" in store_jsCODE
HIGHtests/test_oauth_static.py135 assert "if (model.provider && model.provider !== providerId) continue;" in store_jsCODE
HIGHtests/test_oauth_static.py164 assert "interval: response.interval || device.interval" in start_pollingCODE
HIGHtests/test_oauth_static.py165 assert "expires_at: response.expires_at || device.expires_at" in start_pollingCODE
HIGHtests/test_model_config_ui.py108 assert '!selectedPreset.chat.vision || selectedPreset.vision.override_main' in preset_modalCODE
HIGHtests/test_sidebar_row_actions.py46 assert "const openUp = spaceBelow < 96 && spaceAbove > spaceBelow;" in storeCODE
HIGHtests/test_webui_startup_assets.py112 assert index_html.count("onload=\"this.onload=null;this.rel='stylesheet'\"") == 19CODE
HIGHtests/test_self_update_tag_filter.py531 assert "if (response.ok && observedBackendUnavailable)" in contentCODE
HIGHtests/test_office_canvas_setup.py306 assert "options.displaySize || this.desktopDisplaySizeForToken(token)" in desktop_storeCODE
HIGHtests/test_office_canvas_setup.py307 assert "result?.width || width" in desktop_storeCODE
HIGHtests/test_office_canvas_setup.py310 assert "canvas?.clientWidth || canvas?.width" in desktop_storeCODE
HIGHtests/test_office_canvas_setup.py552 settings_fallback = open_file_browser.index('const response = await callJsonApi("settings_get", null);')CODE
HIGHtests/test_office_canvas_setup.py556 assert "workdirPath = response?.settings?.workdir_path || workdirPath;" in open_file_browserCODE
HIGHtests/test_office_canvas_setup.py608 assert 'mode === PREVIEW_MODE && this.isTextDocument()' in editor_storeCODE
HIGHtests/test_agent_editor_webui.py312let setEnabledHandler = null;CODE
HIGHtests/test_agent_editor_webui.py313let loadHandler = null;CODE
HIGHtests/test_agent_editor_webui.py314let profilesHandler = null;CODE
122 more matches not shown…
Excessive Try-Catch Wrapping842 hits · 878 pts
SeverityFileLineSnippetContext
LOWmodels.py90 except Exception:CODE
LOWmodels.py634 except Exception as e:CODE
LOWmodels.py775 except Exception as e:CODE
LOWpreload.py18 except Exception as e:CODE
LOWpreload.py35 except Exception as e:CODE
LOWpreload.py44 except Exception as e:CODE
LOWpreload.py56 except Exception as e:CODE
MEDIUMpreload.py9def preload():CODE
LOWrun_ui.py68 except Exception as e:CODE
LOWagent.py314 except Exception as e:CODE
LOWagent.py462 except Exception:CODE
LOWagent.py539 except Exception as e:CODE
LOWagent.py552 except Exception as e:CODE
LOWagent.py1171 except Exception as e:CODE
LOWagent.py1459 except Exception as e:CODE
LOWagent.py1559 except Exception as e:CODE
LOWagent.py1584 except Exception:CODE
LOWprepare.py16 except Exception as exc:CODE
LOWprepare.py40except Exception as e:CODE
LOWtools/vision_load.py103 except Exception as exc:CODE
LOWtools/a2a_chat.py132 except Exception as e:CODE
LOWtools/skills_tool.py284 except Exception:CODE
LOWtools/scheduler.py103 except Exception as exc:CODE
LOWtools/scheduler.py164 except Exception:CODE
LOWdocker/run/fs/exe/self_update_manager.py634 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py657 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py727 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py980 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py1192 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py1252 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py1267 except Exception as restore_exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py1406 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py1437 except Exception as exc:CODE
LOWdocker/run/fs/exe/self_update_manager.py1465 except Exception as exc:CODE
LOWdocker/run/fs/exe/supervisor_event_listener.py38 except Exception as e:CODE
LOWplugins/_skills/api/skills_catalog.py34 except Exception as e:CODE
LOW…tegration/extensions/python/job_loop/_10_email_poll.py82 except Exception as e:CODE
LOW…tegration/extensions/python/job_loop/_10_email_poll.py101 except Exception:CODE
LOWplugins/_email_integration/api/test_connection.py50 except Exception as e:CODE
LOWplugins/_email_integration/api/test_connection.py71 except Exception as e:CODE
LOWplugins/_email_integration/api/test_connection.py102 except Exception as e:CODE
LOWplugins/_email_integration/api/test_connection.py129 except Exception as e:CODE
LOWplugins/_email_integration/helpers/attachment_writer.py35 except Exception as e:CODE
LOWplugins/_email_integration/helpers/handler.py168 except Exception as e:CODE
LOWplugins/_email_integration/helpers/handler.py250 except Exception as e:CODE
LOWplugins/_email_integration/helpers/handler.py507 except Exception:CODE
LOWplugins/_email_integration/helpers/handler.py58 except Exception:CODE
LOWplugins/_email_integration/helpers/attachment_reader.py39 except Exception as e:CODE
LOWplugins/_email_integration/helpers/imap_client.py69 except Exception as e:CODE
LOWplugins/_email_integration/helpers/imap_client.py92 except Exception:CODE
LOWplugins/_email_integration/helpers/imap_client.py124 except Exception as e:CODE
LOWplugins/_email_integration/helpers/imap_client.py158 except Exception:CODE
LOWplugins/_email_integration/helpers/imap_client.py183 except Exception as e:CODE
LOWplugins/_email_integration/helpers/smtp_client.py116 except Exception as e:STRING
LOWplugins/_email_integration/helpers/smtp_client.py143 except Exception as e:STRING
LOWplugins/_editor/api/editor_session.py67 except Exception as exc:CODE
LOWplugins/_editor/api/editor_session.py84 except Exception as exc:CODE
LOWplugins/_editor/api/editor_session.py161 except Exception as exc:CODE
LOWplugins/_editor/api/ws_editor.py38 except Exception as exc:CODE
LOWplugins/_editor/helpers/markdown_sessions.py49 except Exception:CODE
782 more matches not shown…
Decorative Section Separators148 hits · 501 pts
SeverityFileLineSnippetContext
MEDIUM…extensions/python/process_chain_end/_55_email_reply.py55# ------------------------------------------------------------------COMMENT
MEDIUM…extensions/python/process_chain_end/_55_email_reply.py57# ------------------------------------------------------------------COMMENT
MEDIUM…tegration/extensions/python/job_loop/_10_email_poll.py20# ------------------------------------------------------------------COMMENT
MEDIUM…tegration/extensions/python/job_loop/_10_email_poll.py22# ------------------------------------------------------------------COMMENT
MEDIUM…tegration/extensions/python/job_loop/_10_email_poll.py47# ------------------------------------------------------------------COMMENT
MEDIUM…tegration/extensions/python/job_loop/_10_email_poll.py49# ------------------------------------------------------------------COMMENT
MEDIUM…tegration/extensions/python/job_loop/_10_email_poll.py89# ------------------------------------------------------------------COMMENT
MEDIUM…tegration/extensions/python/job_loop/_10_email_poll.py91# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/dispatcher.py70# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/dispatcher.py72# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_writer.py12# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_writer.py14# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_writer.py21# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_writer.py23# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py172# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py174# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py255# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py257# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py511# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py513# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py590# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py592# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py42# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py44# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py69# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py71# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py473# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py475# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py524# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py526# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py539# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py541# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py612# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/handler.py614# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_reader.py12# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_reader.py14# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_reader.py22# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/attachment_reader.py24# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py27# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py29# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py42# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py44# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py73# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py75# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py236# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py238# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py313# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/imap_client.py315# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/smtp_client.py19# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/smtp_client.py21# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/smtp_client.py34# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/smtp_client.py36# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_email_integration/helpers/smtp_client.py122# ------------------------------------------------------------------STRING
MEDIUMplugins/_email_integration/helpers/smtp_client.py124# ------------------------------------------------------------------STRING
MEDIUMplugins/_promptinclude/helpers/scanner.py12# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_promptinclude/helpers/scanner.py14# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_promptinclude/helpers/scanner.py28# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_promptinclude/helpers/scanner.py30# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_promptinclude/helpers/scanner.py120# ------------------------------------------------------------------COMMENT
MEDIUMplugins/_promptinclude/helpers/scanner.py122# ------------------------------------------------------------------COMMENT
88 more matches not shown…
Unused Imports479 hits · 461 pts
SeverityFileLineSnippetContext
LOWinitialize.py3CODE
LOWrun_ui.py3CODE
LOWrun_ui.py3CODE
LOWagent.py6CODE
LOWagent.py8CODE
LOWagent.py10CODE
LOWagent.py34CODE
LOWagent.py34CODE
LOWtools/search_engine.py1CODE
LOWtools/search_engine.py2CODE
LOWtools/search_engine.py3CODE
LOWtools/search_engine.py3CODE
LOWtools/search_engine.py3CODE
LOWtools/search_engine.py5CODE
LOWtools/wait.py1CODE
LOWtools/skills_tool.py1CODE
LOWtools/document_query.py3CODE
LOWdocker/run/fs/exe/self_update_manager.py2CODE
LOWplugins/_skills/hooks.py1CODE
LOWplugins/_skills/api/skills_catalog.py1CODE
LOWplugins/_email_integration/helpers/attachment_writer.py8CODE
LOW…/workdir_file_mutation_after/_40_sync_open_sessions.py1CODE
LOW…or/extensions/python/webui_ws_disconnect/_50_editor.py1CODE
LOW…ge_loop_prompts_after/_55_include_editor_open_files.py1CODE
LOW…_editor/extensions/python/webui_ws_event/_50_editor.py1CODE
LOW…thon/text_editor_patch_after/_40_sync_open_sessions.py1CODE
LOW…thon/text_editor_write_after/_40_sync_open_sessions.py1CODE
LOWplugins/_editor/api/editor_session.py1CODE
LOWplugins/_editor/api/ws_editor.py1CODE
LOWplugins/_editor/helpers/markdown_sessions.py1CODE
LOWplugins/_editor/helpers/open_files_context.py1CODE
LOW…t/handle_exception/end/_80_retry_critical_exception.py2CODE
LOW…t/handle_exception/end/_80_retry_critical_exception.py2CODE
LOW…t/handle_exception/end/_80_retry_critical_exception.py5CODE
LOW…t/handle_exception/end/_80_retry_critical_exception.py6CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py1CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py1CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py3CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py4CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py5CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py6CODE
LOW…onologue/start/_10_reset_critical_exception_counter.py7CODE
LOWplugins/_infection_check/helpers/checker.py13CODE
LOWplugins/_infection_check/helpers/checker.py14CODE
LOWplugins/_whatsapp_integration/helpers/number_utils.py3CODE
LOWplugins/_whatsapp_integration/helpers/bridge_manager.py7CODE
LOW…xtensions/python/startup_migration/_20_oauth_routes.py1CODE
LOW…/models/get_api_key/end/_20_oauth_account_dummy_key.py1CODE
LOWplugins/_oauth/api/start_login.py1CODE
LOWplugins/_oauth/api/models.py1CODE
LOWplugins/_oauth/api/disconnect.py1CODE
LOWplugins/_oauth/api/manual_callback.py1CODE
LOWplugins/_oauth/api/poll_device_login.py1CODE
LOWplugins/_oauth/api/start_device_login.py1CODE
LOWplugins/_oauth/api/status.py1CODE
LOWplugins/_oauth/helpers/config.py1CODE
LOWplugins/_oauth/helpers/codex.py1CODE
LOWplugins/_oauth/helpers/codex.py19CODE
LOWplugins/_oauth/helpers/usage_plans.py1CODE
LOWplugins/_oauth/helpers/summary.py1CODE
419 more matches not shown…
Deep Nesting248 hits · 218 pts
SeverityFileLineSnippetContext
LOWmodels.py60CODE
LOWmodels.py202CODE
LOWmodels.py394CODE
LOWmodels.py530CODE
LOWmodels.py644CODE
LOWinitialize.py84CODE
LOWagent.py391CODE
LOWagent.py1332CODE
LOWagent.py1422CODE
LOWtools/vision_load.py26CODE
LOWtools/scheduler.py121CODE
LOWdocker/run/fs/exe/self_update_manager.py340CODE
LOWdocker/run/fs/exe/self_update_manager.py984CODE
LOWdocker/run/fs/exe/self_update_manager.py1095CODE
LOWdocker/run/fs/exe/supervisor_event_listener.py11CODE
LOWplugins/_email_integration/helpers/handler.py73CODE
LOWplugins/_email_integration/helpers/imap_client.py262CODE
LOWplugins/_email_integration/helpers/imap_client.py317CODE
LOWplugins/_email_integration/helpers/imap_client.py400CODE
LOWplugins/_promptinclude/helpers/scanner.py137CODE
LOW…_integration/extensions/python/job_loop/_10_wa_poll.py44CODE
LOWplugins/_whatsapp_integration/helpers/handler.py67CODE
LOWplugins/_whatsapp_integration/helpers/handler.py355CODE
LOWplugins/_whatsapp_integration/helpers/bridge_manager.py486CODE
LOWplugins/_oauth/helpers/codex.py883CODE
LOWplugins/_oauth/helpers/codex.py917CODE
LOWplugins/_oauth/helpers/codex.py968CODE
LOWplugins/_oauth/helpers/codex.py986CODE
LOWplugins/_oauth/helpers/codex.py1061CODE
LOWplugins/_oauth/helpers/codex.py1236CODE
LOWplugins/_migrate_agents/helpers/migration.py144CODE
LOWplugins/_migrate_agents/helpers/migration.py226CODE
LOWplugins/_migrate_agents/helpers/migration.py257CODE
LOWplugins/_migrate_agents/helpers/migration.py358CODE
LOWplugins/_migrate_agents/helpers/migration.py573CODE
LOWplugins/_migrate_agents/helpers/migration.py613CODE
LOWplugins/_migrate_agents/helpers/migration.py668CODE
LOWplugins/_migrate_agents/helpers/migration.py733CODE
LOW…/_plugin_validator/api/plugin_validator_prepare_zip.py26CODE
LOWplugins/_time_travel/helpers/retention.py206CODE
LOWplugins/_time_travel/helpers/retention.py234CODE
LOWplugins/_browser/tools/browser.py30CODE
LOWplugins/_browser/tools/browser.py544CODE
LOWplugins/_browser/api/ws_browser.py256CODE
LOWplugins/_browser/api/ws_browser.py345CODE
LOWplugins/_browser/api/ws_browser.py497CODE
LOWplugins/_browser/api/ws_browser.py633CODE
LOWplugins/_browser/helpers/extension_manager.py86CODE
LOWplugins/_browser/helpers/runtime.py343CODE
LOWplugins/_browser/helpers/runtime.py3026CODE
LOWplugins/_browser/helpers/runtime.py1718CODE
LOWplugins/_browser/helpers/runtime.py2522CODE
LOWplugins/_browser/helpers/connector_runtime.py141CODE
LOWplugins/_browser/helpers/connector_runtime.py238CODE
LOWplugins/_document_query/helpers/fetch.py124CODE
LOW…s/python/startup_migration/_10_migrate_model_config.py108CODE
LOWplugins/_model_config/api/model_override.py30CODE
LOWplugins/_model_config/api/model_search.py175CODE
LOWplugins/_model_config/api/model_search.py255CODE
LOWplugins/_model_config/api/model_search.py268CODE
188 more matches not shown…
Structural Annotation Overuse75 hits · 130 pts
SeverityFileLineSnippetContext
LOWplugins/_chat_compaction/helpers/compactor.py99 # Step 1: Extract full conversation textCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py106 # Step 2: Estimate tokens, resolve model, and compute context budgetCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py113 # Step 3: Create progress log item (count user-visible messages only)COMMENT
LOWplugins/_chat_compaction/helpers/compactor.py122 # Step 4: Handle large histories by chunking if necessaryCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py135 # Step 5: Save pre-compaction backup before destroying historyCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py138 # Step 6: Replace history with compacted versionCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py156 # Step 7: Reset log and create responseCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py165 # Step 8: Persist and notifyCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py169 # Step 9: Force progress bar to inactive state LASTCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py204 # Step 3: Analyze with LLM (now with validated memories)COMMENT
LOWplugins/_memory/helpers/memory_consolidation.py239 # Step 4: Apply consolidation decisionsCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py334 # Step 1: Extract keywords/queries for enhanced searchCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py339 # Step 2: Semantic similarity search with real scoresCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py378 # Step 5: Sort by similarity score descendingCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py384 # Step 6: Limit to max context for LLMCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py586 # Step 1: Remove original memories being mergedCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py590 # Step 2: Insert consolidated memoryCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py664 # Step 2: Proceed with normal replacement if similarity checks passCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py668 # Step 3: Insert replacement memoryCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py124 # Step 1: Discover similar memoriesCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py158 # Step 2: Validate that similar memories still exist (they might have been deleted by previous consolidations)COMMENT
LOWplugins/_memory/helpers/memory_consolidation.py350 # Step 3: Keyword-based searches with real scoresCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py364 # Step 4: Deduplicate by document ID, keep highest score per memory IDCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py621 # Step 1: Validate similarity scores for replacement safetyCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py702 # Step 1: Update existing memoriesCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py731 # Step 2: Insert the new memory only when no existing memory was updated.COMMENT
LOWdocs/developer/contributing-skills.md97### Step 1: First StepCOMMENT
LOWdocs/developer/contributing-skills.md101### Step 2: Second StepCOMMENT
LOWdocs/developer/contributing-skills.md153### Step 1: Identify the NeedCOMMENT
LOWdocs/developer/contributing-skills.md160### Step 2: Create the StructureCOMMENT
LOWdocs/developer/contributing-skills.md171### Step 3: Write the SKILL.mdCOMMENT
LOWdocs/developer/contributing-skills.md201### Step 4: Add Supporting Files (Optional)COMMENT
LOWdocs/developer/contributing-skills.md224### Step 5: Test Your SkillCOMMENT
LOWdocs/setup/vps-deployment.md123### Step 1: Create Directory StructureCOMMENT
LOWdocs/setup/vps-deployment.md137### Step 2: Create Environment ConfigurationCOMMENT
LOWdocs/setup/vps-deployment.md156### Step 3: Choose Host PortCOMMENT
LOWdocs/setup/vps-deployment.md164### Step 4: Pull and Run ContainerCOMMENT
LOWdocs/setup/vps-deployment.md179### Step 5: Verify ContainerCOMMENT
LOWdocs/setup/dev-setup.md27## Step 0: Install required softwareCOMMENT
LOWdocs/setup/dev-setup.md32## Step 1: Clone or download the repositoryCOMMENT
LOWdocs/setup/dev-setup.md39## Step 2: Open project folder in your IDECOMMENT
LOWdocs/setup/dev-setup.md48# Step 3: Prepare your IDE:COMMENT
LOWdocs/setup/dev-setup.md89## Step 4: Run Agent Zero in the IDECOMMENT
LOWdocs/setup/dev-setup.md122## Step 5: Run another instance of Agent Zero in DockerCOMMENT
LOWdocs/setup/dev-setup.md134## Step 6: Configure SSH and RFC connectionCOMMENT
LOWdocs/setup/installation.md184### Step 1: Install Docker DesktopCOMMENT
LOWdocs/setup/installation.md322### Step 2: Run Agent ZeroCOMMENT
LOWdocs/setup/installation.md402## Step 3: Configure Agent ZeroCOMMENT
LOWdocs/guides/a2a-setup.md19### Step 1: Open A2A ConfigurationCOMMENT
LOWdocs/guides/a2a-setup.md28### Step 2: Get Connection URLCOMMENT
LOWdocs/guides/a2a-setup.md38### Step 3: Save ConfigurationCOMMENT
LOWdocs/guides/api-integration.md22### Step 1: Get the API CodeCOMMENT
LOWdocs/guides/api-integration.md37### Step 2: Provide the Code to Agent ZeroCOMMENT
LOWdocs/guides/api-integration.md55### Step 3: Configure API CredentialsCOMMENT
LOWdocs/guides/api-integration.md86### Step 4: Generate the ImageCOMMENT
LOWwebui/js/device.js33 // Step 1: Check for touch capability (touchOnly or hybrid)COMMENT
LOWwebui/js/device.js41 // Step 2: Check for pointer/hover capability (pointerOnly or hybrid)COMMENT
LOWwebui/components/settings/external/api-examples.html634 // Step 1: Send message with attachmentsCOMMENT
LOWwebui/components/settings/external/api-examples.html654 // Step 2: Retrieve the uploaded fileCOMMENT
LOWskills/a0-create-plugin/SKILL.md32## Step 0: Ask First — Local or Community Plugin?COMMENT
15 more matches not shown…
Redundant / Tautological Comments40 hits · 62 pts
SeverityFileLineSnippetContext
LOWmodels.py928 # Check if this is a local sentence-transformers modelCOMMENT
LOWplugins/_model_config/api/model_config_set.py71 # Check if embedding model changed and notifyCOMMENT
LOWplugins/_telegram_integration/helpers/handler.py385 # Check if existing context is still aliveCOMMENT
LOWplugins/_memory/helpers/knowledge_import.py143 # Check if file has changedCOMMENT
LOWplugins/_memory/helpers/memory.py703 # Check if project isolation is enabled and we are in a projectCOMMENT
LOWplugins/_code_execution/tools/code_execution_tool.py190 # Check if session is running and handle itCOMMENT
LOWplugins/_code_execution/helpers/shell_ssh.py225 # Check if the last byte(s) form an incomplete multi-byte UTF-8 sequenceCOMMENT
LOWplugins/_code_execution/helpers/shell_ssh.py229 # Check if the last byte is part of a multi-byte UTF-8 sequence (continuation byte)COMMENT
LOWplugins/_text_editor/helpers/file_ops.py318 # Check if current line falls in a replace/delete rangeCOMMENT
LOW…tensions/python/process_chain_end/_50_process_queue.py21 # Check if there are queued messagesCOMMENT
LOW…ssage_loop_prompts_before/_90_organize_history_wait.py26 # Check if the task is already doneCOMMENT
LOWapi/api_terminate_chat.py37 # Check if context existsCOMMENT
LOWapi/api_files_get.py65 # Check if file existsCOMMENT
LOWapi/api_reset_chat.py37 # Check if context existsCOMMENT
LOWapi/image_get.py192 # Check if specific icon exists, fallback to generic file iconCOMMENT
LOWapi/scheduler_task_run.py30 # Check if the task exists firstCOMMENT
LOWapi/scheduler_task_run.py36 # Check if task is already runningCOMMENT
LOWapi/scheduler_task_create.py52 # Check if schedule is provided (for ScheduledTask)COMMENT
LOWapi/scheduler_task_delete.py26 # Check if the task exists firstCOMMENT
LOWhelpers/functions.py11 # Check if function accepts *args / **kwargsCOMMENT
LOWhelpers/files.py97 # Read the file contentCOMMENT
LOWhelpers/files.py139 # Read the file contentCOMMENT
LOWhelpers/files.py216 # Read the file contentCOMMENT
LOWhelpers/files.py224 # Read the file contentCOMMENT
LOWhelpers/files.py741 # Check if file is binary by reading a small chunkCOMMENT
LOWhelpers/backup.py229 # Check if the pattern starts with the backed up agent zero rootCOMMENT
LOWhelpers/backup.py286 # Check if this hidden directory is explicitly includedCOMMENT
LOWhelpers/backup.py537 # Check if file matches restore patternsCOMMENT
LOWhelpers/backup.py696 # Check if file matches restore patternsCOMMENT
LOWhelpers/backup.py806 # Check if the archive path starts with the backed up agent zero rootCOMMENT
LOWhelpers/mcp_handler.py1636 # Check if this is a streaming HTTP typeCOMMENT
LOWhelpers/browser.py147# # Check if frame is still validCOMMENT
LOWhelpers/browser.py325# # Check if selector is our UID, returnCOMMENT
LOWhelpers/api.py68 if request.data: # Check if there's any dataCODE
LOWhelpers/file_browser.py291 # Check if this is a symlink (permissions start with 'l')COMMENT
LOWhelpers/rfc_files.py383 # Write fileCOMMENT
LOWhelpers/rfc_files.py616 # Write fileCOMMENT
LOWhelpers/fasta2a_server.py399 # Check if reconfiguration is neededCOMMENT
LOWhelpers/fasta2a_server.py460 # Check if path matches token pattern /t-{token}/COMMENT
LOWhelpers/projects.py138 # Check if cloned repo already has .a0projCOMMENT
Verbosity Indicators32 hits · 60 pts
SeverityFileLineSnippetContext
LOWplugins/_chat_compaction/helpers/compactor.py99 # Step 1: Extract full conversation textCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py106 # Step 2: Estimate tokens, resolve model, and compute context budgetCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py113 # Step 3: Create progress log item (count user-visible messages only)COMMENT
LOWplugins/_chat_compaction/helpers/compactor.py122 # Step 4: Handle large histories by chunking if necessaryCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py135 # Step 5: Save pre-compaction backup before destroying historyCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py138 # Step 6: Replace history with compacted versionCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py156 # Step 7: Reset log and create responseCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py165 # Step 8: Persist and notifyCOMMENT
LOWplugins/_chat_compaction/helpers/compactor.py169 # Step 9: Force progress bar to inactive state LASTCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py204 # Step 3: Analyze with LLM (now with validated memories)COMMENT
LOWplugins/_memory/helpers/memory_consolidation.py239 # Step 4: Apply consolidation decisionsCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py334 # Step 1: Extract keywords/queries for enhanced searchCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py339 # Step 2: Semantic similarity search with real scoresCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py378 # Step 5: Sort by similarity score descendingCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py384 # Step 6: Limit to max context for LLMCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py586 # Step 1: Remove original memories being mergedCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py590 # Step 2: Insert consolidated memoryCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py664 # Step 2: Proceed with normal replacement if similarity checks passCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py668 # Step 3: Insert replacement memoryCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py124 # Step 1: Discover similar memoriesCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py158 # Step 2: Validate that similar memories still exist (they might have been deleted by previous consolidations)COMMENT
LOWplugins/_memory/helpers/memory_consolidation.py350 # Step 3: Keyword-based searches with real scoresCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py364 # Step 4: Deduplicate by document ID, keep highest score per memory IDCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py621 # Step 1: Validate similarity scores for replacement safetyCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py702 # Step 1: Update existing memoriesCOMMENT
LOWplugins/_memory/helpers/memory_consolidation.py731 # Step 2: Insert the new memory only when no existing memory was updated.COMMENT
LOWwebui/js/device.js33 // Step 1: Check for touch capability (touchOnly or hybrid)COMMENT
LOWwebui/js/device.js41 // Step 2: Check for pointer/hover capability (pointerOnly or hybrid)COMMENT
LOWwebui/components/settings/external/api-examples.html634 // Step 1: Send message with attachmentsCOMMENT
LOWwebui/components/settings/external/api-examples.html654 // Step 2: Retrieve the uploaded fileCOMMENT
LOWhelpers/skills_cli.py93### Step 1: First StepCOMMENT
LOWhelpers/skills_cli.py97### Step 2: Second StepCOMMENT
Over-Commented Block71 hits · 60 pts
SeverityFileLineSnippetContext
LOWinitialize.py21COMMENT
LOWagent.py641COMMENT
LOWagent.py661 # PrintStyle(font_color="white", background_color="red", padding=True).print(COMMENT
LOWtools/scheduler.py301COMMENT
LOWdocker/run/fs/etc/searxng/settings.yml41# - autocompleteCOMMENT
LOWdocker/run/fs/etc/searxng/settings.yml81COMMENT
LOWdocker/run/fs/ins/setup_venv.sh1#!/bin/bashCOMMENT
LOWdocker/base/fs/etc/searxng/settings.yml41# - methodCOMMENT
LOWdocker/base/fs/etc/searxng/settings.yml81# - name: mediathekviewwebCOMMENT
LOWplugins/_email_integration/default_config.yaml1handlers: []COMMENT
LOWplugins/_email_integration/default_config.yaml21# dispatcher_instructions: ""COMMENT
LOWplugins/_browser/default_config.yaml21# Runtime used by the agent-facing browser tool:COMMENT
LOWplugins/_telegram_integration/default_config.yaml1bots: []COMMENT
LOWplugins/_code_execution/helpers/shell_ssh.py161 while self.shell.recv_ready() and (COMMENT
LOWplugins/_code_execution/helpers/shell_ssh.py181 # ignore_patterns=[COMMENT
LOWwebui/js/timeout.js1// function timeout(ms: number, errorMessage: string = "Operation timed out") {COMMENT
LOWwebui/js/modals.js481 // modal.element.addEventListener(COMMENT
LOWconf/model_providers.yaml1# Supported model providers for Agent ZeroCOMMENT
LOWhelpers/files.py61COMMENT
LOWhelpers/browser.py1# import asyncioCOMMENT
LOWhelpers/browser.py21# load_timeout = 10000COMMENT
LOWhelpers/browser.py41# await self.close()COMMENT
LOWhelpers/browser.py61COMMENT
LOWhelpers/browser.py81# # Handle page navigation eventsCOMMENT
LOWhelpers/browser.py101# self.page.on("request", handle_request)COMMENT
LOWhelpers/browser.py121# url, wait_until="networkidle", timeout=Browser.load_timeoutCOMMENT
LOWhelpers/browser.py141# for frame in self.page.frames:COMMENT
LOWhelpers/browser.py161COMMENT
LOWhelpers/browser.py181# # print(f"Error when extracting from main frame: {e}")COMMENT
LOWhelpers/browser.py201# tag.decompose()COMMENT
LOWhelpers/browser.py221# tag.attrs = attrsCOMMENT
LOWhelpers/browser.py241COMMENT
LOWhelpers/browser.py261# for tag in structural_tags:COMMENT
LOWhelpers/browser.py281# self.last_selector = selectorCOMMENT
LOWhelpers/browser.py301COMMENT
LOWhelpers/browser.py321COMMENT
LOWhelpers/browser.py341# "No page is open in the browser. Please open a URL first."COMMENT
LOWhelpers/browser.py361COMMENT
LOWhelpers/browser.py381# if nav_count != self.navigation_count:COMMENT
LOWhelpers/email_client.py1# import asyncioCOMMENT
LOWhelpers/email_client.py21# @dataclassCOMMENT
LOWhelpers/email_client.py41# username: str = "",COMMENT
LOWhelpers/email_client.py61# self.username = usernameCOMMENT
LOWhelpers/email_client.py81# f"Unsupported account type: {self.account_type}. "COMMENT
LOWhelpers/email_client.py101# self.client = await loop.run_in_executor(None, _sync_connect)COMMENT
LOWhelpers/email_client.py121# self.exchange_account = await loop.run_in_executor(None, _sync_connect)COMMENT
LOWhelpers/email_client.py141COMMENT
LOWhelpers/email_client.py161# filter = filter or {}COMMENT
LOWhelpers/email_client.py181COMMENT
LOWhelpers/email_client.py201COMMENT
LOWhelpers/email_client.py221COMMENT
LOWhelpers/email_client.py241# try:COMMENT
LOWhelpers/email_client.py261# email_msg = email.message_from_bytes(email_data)COMMENT
LOWhelpers/email_client.py281# self,COMMENT
LOWhelpers/email_client.py301# sender_pattern = filter["sender"].replace("*", "")COMMENT
LOWhelpers/email_client.py321# try:COMMENT
LOWhelpers/email_client.py341COMMENT
LOWhelpers/email_client.py361# sender=str(ex_msg.sender.email_address) if ex_msg.sender else "",COMMENT
LOWhelpers/email_client.py381# # Extract body and attachmentsCOMMENT
LOWhelpers/email_client.py401# filename = self._decode_header(filename)COMMENT
11 more matches not shown…
Modern Structural Boilerplate35 hits · 34 pts
SeverityFileLineSnippetContext
LOWtools/document_query.py5__all__ = ["DocumentQueryTool"]CODE
LOWplugins/_context_window/tests/test_context_window.py22 def set_progress(self, _message: str) -> None:CODE
LOWplugins/_editor/helpers/markdown_sessions.py433def _set_session_base(session: MarkdownSession, doc: dict[str, Any]) -> None:CODE
LOWplugins/_oauth/helpers/providers/__init__.py27__all__ = [CODE
LOWplugins/_browser/helpers/runtime.py735 def _set_last_interacted(self, context_id: str, browser_id: int | None) -> None:STRING
LOWplugins/_browser/helpers/runtime.py2694 async def _settle(self, page: Any, short: bool = False) -> None:STRING
LOWplugins/_document_query/helpers/parsers/__init__.py33__all__ = [CODE
LOWplugins/_desktop/helpers/desktop_session.py2350def _set_registry_prop(root: ET.Element, item_path: str, prop_name: str, value: str) -> None:STRING
LOWplugins/_desktop/helpers/desktop_routes.py6__all__ = ["VirtualDesktopGateway", "install_route_hooks", "is_installed"]CODE
LOWplugins/_kokoro_tts/helpers/__init__.py3__all__ = ["runtime"]CODE
LOWplugins/_commands/helpers/commands.py1007def _set_flag_value(flags: dict[str, Any], key: str, value: Any) -> None:CODE
LOWplugins/_telegram_integration/helpers/draft_stream.py74async def update_response(context: AgentContext, response_text: str) -> None:CODE
LOWplugins/_telegram_integration/helpers/command_ui.py481def _set_session_mapping(context: AgentContext) -> None:CODE
LOWplugins/_office/helpers/artifact_editor.py1324def _set_word_paragraph_text(paragraph: ET.Element, text: str) -> None:CODE
LOWplugins/_office/helpers/artifact_editor.py1348def _set_drawing_paragraph_text(paragraph: ET.Element, text: str) -> None:CODE
LOWplugins/_office/helpers/artifact_editor.py1631def _set_matrix_value(rows: list[list[Any]], row_idx: int, col_idx: int, value: Any) -> None:CODE
LOWtests/test_http_auth_csrf.py21def _set_session(client, **values) -> None:CODE
LOWtests/test_http_auth_csrf.py27def _set_csrf_cookie(client, token: str) -> None:CODE
LOWtests/test_file_tree_visualize.py122def _set_entry_times(relative_path: str, timestamp: float) -> None:CODE
LOWtests/test_stop_agent.py19 def set_progress(self, progress: str, *, active: bool) -> None:CODE
LOWtests/test_prompt_protocol.py12 def set_progress(self, _message: str) -> None:CODE
LOWapi/image_get.py117def _set_image_headers(response: Response, filename: str, file_ext: str) -> None:CODE
LOWhelpers/watchdog.py411__all__ = [CODE
LOWhelpers/notification.py204 def update_item(self, no: int, **kwargs) -> None:CODE
LOWhelpers/ws_manager.py197def set_shared_ws_manager(manager: "WsManager") -> None:CODE
LOWhelpers/ws_manager.py1486 def set_server_restart_broadcast(self, enabled: bool) -> None:CODE
LOWhelpers/localization.py100 def set_timezone(self, timezone: str) -> None:CODE
LOWhelpers/parallel_tools.py713def _update_parallel_child_log(job: ParallelJob) -> None:CODE
LOWhelpers/defer.py222 def set_result(result: Any) -> None:CODE
LOWhelpers/defer.py228 def set_exception(exception: BaseException) -> None:CODE
LOWhelpers/settings.py407def set_runtime_settings_snapshot(settings: Settings) -> None:CODE
LOWhelpers/document_query.py9__all__ = [CODE
LOWhelpers/projects.py704def set_project_subagent_enabled(name: str, profile_id: str, enabled: bool) -> None:CODE
LOWhelpers/kvp.py40def set_runtime(key: str, value: Any) -> None:CODE
LOWhelpers/kvp.py68def set_persistent(key: str, value: Any) -> None:CODE
Self-Referential Comments11 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMdocker/base/fs/ins/install_searxng.sh21# Create the searxng directory and set ownershipCOMMENT
MEDIUM…sions/python/message_loop_result/_10_context_doctor.py65 # Create a response log item when streaming did not create oneCOMMENT
MEDIUMapi/scheduler_task_create.py73 # Create a scheduled taskCOMMENT
MEDIUMapi/scheduler_task_create.py106 # Create a planned taskCOMMENT
MEDIUMapi/scheduler_task_create.py124 # Create an ad-hoc taskCOMMENT
MEDIUMhelpers/print_catch.py11 # Create a StringIO object to capture the outputCOMMENT
MEDIUMhelpers/print_catch.py15 # Define a function to get the current captured outputCOMMENT
MEDIUMhelpers/settings.py813 # This function is kept for backward compatibility but returns an empty dict.COMMENT
MEDIUMhelpers/modules.py9T = TypeVar("T") # Define a generic type variableCODE
MEDIUMhelpers/modules.py17 # Create the module spec and load the moduleCOMMENT
MEDIUMhelpers/duckduckgo_search.py4# # Create an instance with custom parametersCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL…components/modals/scheduler/scheduler-task-editor.html144 <button @click.prevent="$store.schedulerStore.editingTask.plan.todo.spliCODE
CRITICAL…components/modals/scheduler/scheduler-task-editor.html349 <button @click.prevent="$store.schedulerStore.editingTask.plan.todo.spliCODE
CRITICALhelpers/microsoft_tunnel.py9 from flaredantic.core.exceptions import MicrosoftTunnelErrorCODE
AI Structural Patterns28 hits · 26 pts
SeverityFileLineSnippetContext
LOWmodels.py530CODE
LOWmodels.py644CODE
LOWmodels.py897CODE
LOWagent.py63CODE
LOWplugins/_browser/tools/browser.py30CODE
LOWplugins/_browser/helpers/runtime.py2382CODE
LOWplugins/_desktop/helpers/desktop_state.py630CODE
LOWplugins/_commands/helpers/commands.py390CODE
LOWplugins/_telegram_integration/helpers/draft_stream.py375CODE
LOWplugins/_memory/helpers/memory.py609CODE
LOWplugins/_code_execution/tools/code_execution_tool.py241CODE
LOWplugins/_code_execution/tools/code_execution_tool.py518CODE
LOWplugins/_office/tools/office_artifact.py14CODE
LOWplugins/_office/helpers/artifact_editor.py73CODE
LOWplugins/_office/helpers/artifact_editor.py148CODE
LOWapi/download_work_dir_file.py77CODE
LOWapi/rfc.py17CODE
LOWhelpers/plugins.py654CODE
LOWhelpers/files.py454CODE
LOWhelpers/file_tree.py30CODE
LOWhelpers/task_scheduler.py183CODE
LOWhelpers/task_scheduler.py307CODE
LOWhelpers/task_scheduler.py362CODE
LOWhelpers/task_scheduler.py445CODE
LOWhelpers/perplexity_search.py33CODE
LOWhelpers/vector_db.py138CODE
LOWhelpers/rfc.py41CODE
LOWhelpers/tool.py74CODE
Modern AI Meta-Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMpreload.py21 # preload embedding modelCOMMENT
MEDIUMagent.py613 # store as last context window contentCOMMENT
MEDIUMtools/vision_load.py21# image token estimation for context windowCOMMENT
MEDIUMtools/scheduler.py93 # Validate cron expression, agent might hallucinateCOMMENT
MEDIUMplugins/_model_config/api/model_config_set.py71 # Check if embedding model changed and notifyCOMMENT
MEDIUMdocs/README.md109 - [Multi-Agent Cooperation](guides/usage.md#multi-agent-cooperation)CODE
AI Slop Vocabulary7 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtools/skills_tool.py139 ) as e: # keep tool robust; return error instead of crashing loopCODE
MEDIUMplugins/_model_config/helpers/model_config.py117 # The plugin hook resolves selection-only config. Keep this boundary robustCOMMENT
MEDIUMapi/ws_dev_test.py73 # may process them). Only warn for events that look like dev-harnessCOMMENT
MEDIUMwebui/js/websocket.js404 // the Engine.IO handshake. This is required for seamless reconnect after backendCOMMENT
LOWhelpers/skills_import.py168 # If relative fails due to symlink oddities, just use leaf folder nameCOMMENT
MEDIUMhelpers/backup.py367 # Add comprehensive metadataCOMMENT
LOWhelpers/errors.py48 # If no "File" lines found, or not enough to trim, just return the original tracebackCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHplugins/_commands/helpers/commands.py542Resolve a slash command invocation, executing text rendering or a Python script hook. Args: path: PSTRING
HIGHhelpers/file_tree.py42Render a directory tree relative to the repository base path. Parameters: relative_path: Base directory (reSTRING
HIGHhelpers/rfc_files.py314 Find a file in the main directory or backup directories. Args: file_path: Relative file path to searchSTRING
Fake / Example Data14 hits · 13 pts
SeverityFileLineSnippetContext
LOWplugins/_browser/assets/browser-page-content.js1204 const placeholderText = normalizeAttributeText(element?.getAttribute?.("placeholder"));CODE
LOWplugins/_browser/assets/browser-page-content.js1398 const placeholder = normalizeAttributeText(element.getAttribute?.("placeholder"));CODE
LOWplugins/_browser/assets/browser-page-content.js1487 const placeholder = normalizeAttributeText(element.getAttribute?.("placeholder"));CODE
LOWtests/test_oauth_providers.py191 account_label="user@example.com",CODE
LOWtests/test_oauth_providers.py197 account_label="user@example.com",CODE
LOWtests/test_oauth_providers.py201 assert poll.account_label == "user@example.com"CODE
LOWtests/test_oauth_providers.py203 assert callback.account_label == "user@example.com"CODE
LOWtests/test_oauth_providers.py361 "account_label": "user@example.com",CODE
LOWtests/test_oauth_providers.py376 assert summary["oauth_accounts"]["connected"][0]["account_label"] == "user@example.com"CODE
LOWtests/test_oauth_providers.py648 account_label="user@example.com",CODE
LOWtests/test_oauth_providers.py672 assert response["account_label"] == "user@example.com"CODE
LOWtests/test_oauth_gemini_api.py156 "id_token": _jwt({"email": "user@example.com"}),CODE
LOWtests/test_oauth_gemini_api.py168 assert result.account_label == "user@example.com"CODE
LOWhelpers/browser.py211# "placeholder",COMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/developer/mcp-configuration.md32 "Authorization": "Bearer YOUR_API_KEY"CODE
HIGHdocs/guides/mcp-setup.md114 "Authorization": "Bearer YOUR_API_KEY"CODE
Overly Generic Function Names7 hits · 8 pts
SeverityFileLineSnippetContext
LOWrun_tunnel.py35 async def handle_request():CODE
LOWagent.py284 def run_task(CODE
LOWtools/scheduler.py207 async def run_task(self, **kwargs) -> Response:CODE
LOWhelpers/browser.py92# async def handle_request(request):COMMENT
LOWhelpers/api.py62 async def handle_request(self, request: Request) -> Response:CODE
LOWhelpers/fasta2a_server.py35 async def run_task(self, params):CODE
LOWhelpers/fasta2a_server.py94 async def run_task(self, params: Any) -> None: # params: TaskSendParamsCODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWagents/_example/tools/example_tool.py4# don't forget to include instructions in the system prompt by creatingCOMMENT
LOWagents/_example/tools/example_tool.py4# don't forget to include instructions in the system prompt by creatingCOMMENT
LOWhelpers/task_scheduler.py493 # If we updated the plan, make sure to persist itCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWwebui/components/settings/external/api-examples.html418// Example usageCOMMENT
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebui/js/transformers@3.0.2.js100var r,a,s,i,o,l,u,d,c,p,h,m,f,g,_,w,y,b,v,x,M,T,k,$,C,S,P,E,F,A,I,z,O,B,L=Object.defineProperty,D=Object.getOwnPropertyDCODE