AI Slop Code RIsk Monitor

2FastLabs/agent-squad

Flexible and powerful framework for managing multiple AI agents and handling complex conversations

9.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for 2FastLabs/agent-squad, a Python project with 7,790 GitHub stars. SynthScan examined 145,454 lines of code across 519 source files, recording 870 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 9.2 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

9.2
Adjusted Signal
9.2
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
7.8K
Stars
Python
Language
145.5K
Lines of Code
519
Files
870
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 495 finding(s).

Hallucinated Dependency & Supply Chain Risk 6.1/100 · LOW

Are imports declared and package/API names verified? 158 finding(s).

Agent Over-Engineering Ratio 27.9/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 604 finding(s).

PR Review Velocity Impact 36.6/100 · MEDIUM

Which changes need focused human review? 870 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 30MEDIUM 134LOW 702

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 870 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers382 hits · 377 pts
SeverityFileLineSnippetContext
LOW⚡python/src/tests/test_agent_overlap_analyzer.py36def test_analyze_overlap_returns_analysis_result():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py42def test_pairwise_overlap_has_correct_number_of_pairs():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py49def test_pairwise_keys_are_formatted_with_double_underscore():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py60def test_overlap_percentage_is_valid_string():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py70def test_potential_conflict_levels_are_valid():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py78def test_uniqueness_scores_count_matches_agent_count():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py84def test_uniqueness_score_is_valid_string():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py94def test_high_conflict_for_very_similar_agents():CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py101def test_returns_none_for_single_agent(capsys):CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py111def test_returns_none_for_empty_agents(capsys):CODE
LOW⚡python/src/tests/test_agent_overlap_analyzer.py119def test_identical_descriptions_produce_high_overlap():CODE
LOWpython/src/tests/test_agent_overlap_analyzer.py131def test_completely_different_descriptions_produce_low_overlap():CODE
LOWpython/src/tests/test_orchestrator.py77def test_init_with_dict_options(mock_boto3_client):CODE
LOWpython/src/tests/test_orchestrator.py85def test_init_with_invalid_options(mock_boto3_client):CODE
LOW⚡python/src/tests/test_orchestrator.py117async def test_classify_request_success(orchestrator, mock_agent):CODE
LOW⚡python/src/tests/test_orchestrator.py125async def test_classify_request_no_agent_with_default(orchestrator):CODE
LOW⚡python/src/tests/test_orchestrator.py133async def test_classify_request_error(orchestrator):CODE
LOW⚡python/src/tests/test_orchestrator.py141async def test_dispatch_to_agent_success(orchestrator, mock_agent):CODE
LOWpython/src/tests/test_orchestrator.py160async def test_dispatch_to_agent_no_agent(orchestrator):CODE
LOWpython/src/tests/test_orchestrator.py176async def test_agent_process_request_streaming(orchestrator, mock_streaming_agent):CODE
LOWpython/src/tests/test_orchestrator.py203async def test_route_request_success(orchestrator, mock_agent):CODE
LOWpython/src/tests/test_orchestrator.py282async def test_measure_execution_time(orchestrator):CODE
LOWpython/src/tests/test_orchestrator.py294async def test_measure_execution_time_error(orchestrator):CODE
LOWpython/src/tests/test_orchestrator.py325def test_create_metadata_no_agent(orchestrator):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py26def test_init_requires_namespace(dakera_client):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py31def test_init_requires_api_key(monkeypatch):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py47def test_init_defaults_to_localhost(dakera_client, monkeypatch):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py74async def test_retrieve_uses_option_top_k_and_filter(dakera_client):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py85async def test_retrieve_empty_text_raises(dakera_client):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py92async def test_retrieve_and_combine_results(dakera_client):CODE
LOWpython/src/tests/retrievers/test_dakera_retriever.py108async def test_retrieve_and_generate_not_supported(dakera_client):CODE
LOWpython/src/tests/retrievers/test_retriever.py13 async def retrieve_and_combine_results(self, text: str) -> str:CODE
LOWpython/src/tests/retrievers/test_retriever.py30async def test_retrieve_and_combine_results(retriever):CODE
LOWpython/src/tests/retrievers/test_retriever.py35async def test_retrieve_and_generate(retriever):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py40def _make_read_resource_result(text: str, mime_type: str = "text/html;profile=mcp-app"):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py45def _make_read_resource_blob_result(blob_b64: str, mime_type: str = "text/html;profile=mcp-app"):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py145def test_to_anthropic_format_alias(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py177async def test_tool_handler_bedrock(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py214async def test_tool_handler_anthropic(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py243async def test_tool_handler_mcp_error(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py277async def test_tool_handler_unknown_tool(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py305async def test_tool_handler_call_exception(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py337async def test_lazy_connection_stdio(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py499async def test_stdio_missing_command(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py519async def test_unknown_transport_type(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py532def test_multiple_tools_format(mock_mcp_modules):CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py562def test_ui_resource_uri_helper():CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py570def test_model_visible_helper():CODE
LOW⚡python/src/tests/tools/test_mcp_tool_provider.py579def test_app_only_tools_hidden_from_model_but_callable(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py413async def test_lazy_connection_streamable_http(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py455async def test_streamable_http_missing_url(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py465async def test_streamable_http_requires_recent_mcp(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py479async def test_ensure_connected_idempotent(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py592async def test_tool_handler_widget_passthrough(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py628async def test_tool_handler_no_ui_returns_plain_toolresult(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py654async def test_template_cache_fetches_once(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py666async def test_widget_template_from_blob(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py680async def test_widget_fetch_failure_degrades_to_text(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py694async def test_empty_content_falls_back_to_structured_json(mock_mcp_modules):CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py710async def test_app_only_tool_still_callable(mock_mcp_modules):CODE
322 more matches not shown…
Decorative Section Separators88 hits · 346 pts
SeverityFileLineSnippetContext
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py54# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py152# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py154# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py172# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py174# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py209# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py211# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py238# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py240# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py272# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py274# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py300# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py302# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py332# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py334# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py494# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py496# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py528# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py530# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py558# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/tools/test_mcp_tool_provider.py560# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py17# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py111# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py113# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py131# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py723# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/src/tests/tools/test_mcp_tool_provider.py725# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py88# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py90# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py147# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py149# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py165# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py167# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py181# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py183# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py214# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py216# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py300# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py302# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py341# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py343# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py361# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_grounded_agent.py363# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_chain_agent.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_chain_agent.py29# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_chain_agent.py50# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_chain_agent.py52# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_chain_agent.py84# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡python/src/tests/agents/test_chain_agent.py86# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py29# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py31# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py117# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py165# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…hon/src/tests/storage/test_summarizing_chat_storage.py167# ---------------------------------------------------------------------------COMMENT
28 more matches not shown…
Unused Imports153 hits · 142 pts
SeverityFileLineSnippetContext
LOWpython/src/tests/test_agent_overlap_analyzer.py1CODE
LOWpython/src/tests/test_orchestrator.py4CODE
LOWpython/src/tests/test_orchestrator.py5CODE
LOWpython/src/tests/test_orchestrator.py7CODE
LOWpython/src/tests/test_orchestrator.py7CODE
LOWpython/src/tests/test_orchestrator.py14CODE
LOWpython/src/tests/test_orchestrator.py14CODE
LOWpython/src/tests/test_orchestrator.py20CODE
LOWpython/src/tests/retrievers/test_retriever.py2CODE
LOWpython/src/tests/tools/test_mcp_tool_provider.py6CODE
LOWpython/src/tests/agents/test_lex_bot_agent.py2CODE
LOWpython/src/tests/agents/test_supervisor_agent.py4CODE
LOWpython/src/tests/agents/test_supervisor_agent.py15CODE
LOWpython/src/tests/agents/test_strands_agent.py7CODE
LOWpython/src/tests/agents/test_agent.py3CODE
LOWpython/src/tests/agents/test_comprehend_agent.py3CODE
LOWpython/src/tests/agents/test_comprehend_agent.py3CODE
LOWpython/src/tests/agents/test_amazon_bedrock_agent.py3CODE
LOWpython/src/tests/agents/test_bedrock_inline_agent.py3CODE
LOWpython/src/tests/agents/test_bedrock_inline_agent.py4CODE
LOWpython/src/tests/agents/test_bedrock_inline_agent.py4CODE
LOWpython/src/tests/agents/test_anthropic_agent.py2CODE
LOWpython/src/tests/agents/test_lambda_agent.py1CODE
LOWpython/src/tests/agents/test_lambda_agent.py5CODE
LOWpython/src/tests/agents/test_lambda_agent.py6CODE
LOWpython/src/tests/agents/test_bedrock_flows_agent.py2CODE
LOWpython/src/tests/utils/test_helpers.py1CODE
LOWpython/src/tests/utils/test_tool.py4CODE
LOWpython/src/tests/utils/test_logger.py3CODE
LOWpython/src/tests/utils/test_logger.py3CODE
LOW…ests/classifier_test_tool/test_classifier_test_tool.py6CODE
LOWpython/src/tests/classifiers/test_classifier.py2CODE
LOWpython/src/tests/classifiers/test_classifier.py2CODE
LOWpython/src/tests/classifiers/test_classifier.py2CODE
LOWpython/src/tests/classifiers/test_classifier.py3CODE
LOWpython/src/tests/classifiers/test_classifier.py6CODE
LOWpython/src/agent_squad/__init__.py6CODE
LOWpython/src/agent_squad/__init__.py6CODE
LOWpython/src/agent_squad/classifier_test_tool.py38CODE
LOWpython/src/agent_squad/classifier_test_tool.py45CODE
LOWpython/src/agent_squad/classifier_test_tool.py47CODE
LOWpython/src/agent_squad/classifier_test_tool.py47CODE
LOWpython/src/agent_squad/agent_overlap_analyzer.py1CODE
LOW…thon/src/agent_squad/retrievers/amazon_kb_retriever.py2CODE
LOWpython/src/agent_squad/retrievers/__init__.py1CODE
LOWpython/src/agent_squad/retrievers/__init__.py2CODE
LOWpython/src/agent_squad/retrievers/__init__.py2CODE
LOWpython/src/agent_squad/retrievers/__init__.py3CODE
LOWpython/src/agent_squad/retrievers/__init__.py3CODE
LOWpython/src/agent_squad/tools/mcp_tool_provider.py31CODE
LOWpython/src/agent_squad/tools/__init__.py4CODE
LOWpython/src/agent_squad/tools/__init__.py4CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
LOWpython/src/agent_squad/types/__init__.py2CODE
93 more matches not shown…
Excessive Try-Catch Wrapping92 hits · 103 pts
SeverityFileLineSnippetContext
LOWpython/src/tests/agents/test_amazon_bedrock_agent.py73 except Exception as error:CODE
MEDIUMpython/src/tests/agents/test_anthropic_agent.py19def test_no_api_key_init(mock_anthropic):CODE
MEDIUMpython/src/tests/agents/test_anthropic_agent.py44def test_client(mock_anthropic):CODE
LOWpython/src/tests/agents/test_anthropic_agent.py28 except Exception as e:CODE
LOWpython/src/tests/agents/test_anthropic_agent.py56 except Exception as e:CODE
LOWpython/src/tests/agents/test_anthropic_agent.py70 except Exception as e:CODE
LOWpython/src/tests/utils/test_tool.py482 except Exception as e:CODE
LOWpython/src/tests/utils/test_tool.py500 except Exception as e:CODE
LOWpython/src/tests/utils/test_tool.py512 except Exception as e:CODE
MEDIUMpython/src/tests/utils/test_tool.py475def test_tool_not_found():CODE
MEDIUMpython/src/tests/utils/test_tool.py495def test_no_func():CODE
MEDIUMpython/src/tests/utils/test_tool.py504def test_no_tool_block():CODE
LOWpython/src/agent_squad/orchestrator.py133 except Exception as error:CODE
LOWpython/src/agent_squad/orchestrator.py240 except Exception as error:CODE
LOWpython/src/agent_squad/orchestrator.py276 except Exception as error:CODE
LOWpython/src/agent_squad/orchestrator.py315 except Exception as error:CODE
LOWpython/src/agent_squad/classifier_test_tool.py213 except Exception as exc:CODE
LOW⚡python/src/agent_squad/tools/mcp_tool_provider.py349 except Exception: # noqa: BLE001CODE
LOW⚡python/src/agent_squad/tools/mcp_tool_provider.py356 except Exception: # noqa: BLE001CODE
LOWpython/src/agent_squad/tools/mcp_tool_provider.py451 except Exception as exc: # noqa: BLE001CODE
LOWpython/src/agent_squad/tools/mcp_tool_provider.py494 except Exception: # noqa: BLE001CODE
LOW⚡python/src/agent_squad/tools/mcp_tool_provider.py507 except Exception: # noqa: BLE001CODE
LOW…hon/src/agent_squad/agents/bedrock_translator_agent.py130 except Exception as error:CODE
LOWpython/src/agent_squad/agents/strands_agent.py80 except Exception as e:CODE
LOWpython/src/agent_squad/agents/strands_agent.py120 except Exception as e:CODE
LOWpython/src/agent_squad/agents/strands_agent.py127 except Exception as e:CODE
LOWpython/src/agent_squad/agents/strands_agent.py284 except Exception as error:CODE
LOWpython/src/agent_squad/agents/strands_agent.py345 except Exception as error:CODE
LOWpython/src/agent_squad/agents/strands_agent.py463 except Exception as error:CODE
LOW…thon/src/agent_squad/agents/comprehend_filter_agent.py101 except Exception as error:CODE
LOWpython/src/agent_squad/agents/bedrock_llm_agent.py428 except Exception as error:CODE
LOWpython/src/agent_squad/agents/bedrock_llm_agent.py564 except Exception as error:CODE
LOWpython/src/agent_squad/agents/bedrock_flows_agent.py114 except Exception as error:CODE
LOWpython/src/agent_squad/agents/chain_agent.py63 except Exception as error:CODE
LOWpython/src/agent_squad/agents/openai_agent.py140 except Exception as error:CODE
LOWpython/src/agent_squad/agents/openai_agent.py162 except Exception as error:CODE
LOWpython/src/agent_squad/agents/openai_agent.py187 except Exception as error:CODE
LOWpython/src/agent_squad/agents/supervisor_agent.py254 except Exception as e:CODE
LOWpython/src/agent_squad/agents/supervisor_agent.py283 except Exception as e:CODE
LOWpython/src/agent_squad/agents/supervisor_agent.py324 except Exception as e:CODE
LOWpython/src/agent_squad/agents/bedrock_inline_agent.py323 except Exception as error:CODE
LOWpython/src/agent_squad/agents/anthropic_agent.py380 except Exception as error:CODE
LOW⚡python/src/agent_squad/agents/anthropic_agent.py439 except Exception as error:CODE
LOWpython/src/agent_squad/shared/user_agent.py42 except Exception:CODE
LOW⚡python/src/agent_squad/shared/user_agent.py80 except Exception:CODE
MEDIUMpython/src/agent_squad/shared/user_agent.py66def add_mao_feature(request, **kwargs):CODE
LOWpython/src/agent_squad/storage/sql_chat_storage.py55 except Exception as error:STRING
LOWpython/src/agent_squad/storage/sql_chat_storage.py126 except Exception as error:STRING
LOWpython/src/agent_squad/storage/sql_chat_storage.py217 except Exception as error:STRING
LOWpython/src/agent_squad/storage/sql_chat_storage.py252 except Exception as error:STRING
LOWpython/src/agent_squad/storage/sql_chat_storage.py280 except Exception as error:STRING
LOWpython/src/agent_squad/storage/sql_chat_storage.py300 except Exception as error:CODE
LOWpython/src/agent_squad/storage/dynamodb_chat_storage.py64 except Exception as error:CODE
LOWpython/src/agent_squad/storage/dynamodb_chat_storage.py116 except Exception as error:CODE
LOWpython/src/agent_squad/storage/dynamodb_chat_storage.py135 except Exception as error:CODE
LOWpython/src/agent_squad/storage/dynamodb_chat_storage.py152 except Exception as error:CODE
LOWpython/src/agent_squad/storage/dynamodb_chat_storage.py193 except Exception as error:CODE
LOW…on/src/agent_squad/classifiers/anthropic_classifier.py125 except Exception as error:CODE
LOWpython/src/agent_squad/classifiers/openai_classifier.py104 except Exception as error:CODE
LOWpython/src/agent_squad/classifiers/jev_classifier.py178 except Exception:CODE
32 more matches not shown…
Self-Referential Comments28 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUMpython/src/tests/agents/test_bedrock_llm_agent.py356 # Create a mock retrieverCOMMENT
MEDIUMpython/src/tests/agents/test_bedrock_llm_agent.py434 # Create a mock AgentToolsCOMMENT
MEDIUMpython/src/tests/agents/test_bedrock_llm_agent.py445 # Create a test LLM response with toolUseCOMMENT
MEDIUMpython/src/tests/agents/test_bedrock_llm_agent.py465 # Create a test LLM response with toolUseCOMMENT
MEDIUMpython/src/tests/agents/test_bedrock_llm_agent.py758 # Create a mock clientCOMMENT
MEDIUMpython/src/tests/agents/test_strands_agent.py661 # Create a generator that raises an exception mid-streamCOMMENT
MEDIUMpython/src/tests/agents/test_agent.py176 # Create a mock loggerCOMMENT
MEDIUM⚡python/src/tests/agents/test_anthropic_agent.py551 # Create the agent with streaming enabledCOMMENT
MEDIUM⚡python/src/tests/agents/test_anthropic_agent.py561 # Create a simple async generator function that mimics the behavior of handle_streaming_responseCOMMENT
MEDIUMpython/src/tests/agents/test_anthropic_agent.py161 # Create a mock Anthropic clientCOMMENT
MEDIUMpython/src/tests/agents/test_anthropic_agent.py496 # Create a mock Anthropic clientCOMMENT
MEDIUMpython/src/tests/agents/test_anthropic_agent.py608 # Create a single response for non-streaming pathCOMMENT
MEDIUMpython/src/tests/agents/test_anthropic_agent.py617 # Create a streaming response for the streaming pathCOMMENT
MEDIUMpython/src/tests/agents/test_anthropic_agent.py668 # Create a mock client that raises an exceptionCOMMENT
MEDIUMpython/src/tests/agents/test_anthropic_agent.py706 # Create a mock custom stream class that acts as both async iterator and context managerCOMMENT
MEDIUMpython/src/tests/agents/test_openai_agent.py55 # Create a mock response objectCOMMENT
MEDIUMpython/src/tests/agents/test_lambda_agent.py92 # Create a mock response that matches the actual Lambda invoke responseCOMMENT
MEDIUMpython/src/agent_squad/orchestrator.py176 # Create an async generator function to handle the streamingCOMMENT
MEDIUM…hon/src/agent_squad/agents/bedrock_translator_agent.py36 # Define the translation toolCOMMENT
MEDIUMpython/src/agent_squad/agents/bedrock_inline_agent.py117 # Define the tool handlerCOMMENT
MEDIUMpython/src/agent_squad/agents/bedrock_inline_agent.py267 # Create the user messageCOMMENT
MEDIUM⚡python/src/agent_squad/shared/user_agent.py73 # This function is exclusive to client and resources objects created in MAOCOMMENT
MEDIUM⚡…text-2-structured-output/multi_agent_query_analyzer.py116 # Create a new orchestrator for this querySTRING
MEDIUMexamples/tools/python/weather_tool_example.py21# Create a tool definition with clear name and descriptionCOMMENT
MEDIUMexamples/tools/python/weather_tool_example.py138 # Create a unique user and session ID for tracking conversationsCOMMENT
MEDIUMexamples/python/travel-planner/travel-planner-demo.py81# Define the async request handlerSTRING
MEDIUM…mples/python/movie-production/movie-production-demo.py46# Define the toolsSTRING
MEDIUM…mples/python/movie-production/movie-production-demo.py58# Define the agentsSTRING
Cross-File Repetition14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHpython/src/tests/utils/test_tool.py0fetches weather data for the given latitude and longitude using the open-meteo api. returns the weather data or an errorSTRING
HIGHexamples/python-demo/tools/weather_tool.py0fetches weather data for the given latitude and longitude using the open-meteo api. returns the weather data or an errorSTRING
HIGHexamples/langfuse-demo/tools/weather_tool.py0fetches weather data for the given latitude and longitude using the open-meteo api. returns the weather data or an errorSTRING
HIGHpython/src/agent_squad/agents/strands_agent.py0prepare the conversation history with the new user message.STRING
HIGHpython/src/agent_squad/agents/bedrock_llm_agent.py0prepare the conversation history with the new user message.STRING
HIGHpython/src/agent_squad/agents/anthropic_agent.py0prepare the conversation history with the new user message.STRING
HIGHpython/src/agent_squad/agents/bedrock_llm_agent.py0you are a \(name). \(description) you will engage in an open-ended conversation, providing helpful and accurate informatSTRING
HIGHpython/src/agent_squad/agents/bedrock_inline_agent.py0you are a \(name). \(description) you will engage in an open-ended conversation, providing helpful and accurate informatSTRING
HIGHpython/src/agent_squad/agents/openai_agent.py0you are a \(name). \(description) you will engage in an open-ended conversation, providing helpful and accurate informatSTRING
HIGHpython/src/agent_squad/agents/anthropic_agent.py0you are a \(name). \(description) you will engage in an open-ended conversation, providing helpful and accurate informatSTRING
HIGHswift/Sources/AgentSquad/Agents/Agent.swift0you are a \(name). \(description) you will engage in an open-ended conversation, providing helpful and accurate informatSTRING
HIGHexamples/python-demo/tools/weather_tool.py0you are a weather assistant that provides current weather data for user-specified locations using only the weather_tool,STRING
HIGHexamples/langfuse-demo/tools/weather_tool.py0you are a weather assistant that provides current weather data for user-specified locations using only the weather_tool,STRING
HIGHexamples/supervisor-mode/weather_tool.py0you are a weather assistant that provides current weather data for user-specified locations using only the weather_tool,STRING
Docstring Block Structure9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHpython/src/agent_squad/agents/strands_agent.py41 Initialize the Strands Agent. Args: options: Configuration options for the agent STRING
HIGHpython/src/agent_squad/agents/strands_agent.py214 Handle streaming response from Strands SDK agent. Args: input_text: User input text STRING
HIGHpython/src/agent_squad/agents/strands_agent.py294 Handle single (non-streaming) response from Strands SDK agent. Args: input_text: User inpuSTRING
HIGHpython/src/agent_squad/agents/strands_agent.py356 Process the request using the specified strategy (streaming or non-streaming). This method routes the STRING
HIGHpython/src/agent_squad/agents/strands_agent.py417 Process a user request using the Strands SDK agent. Args: input_text: The user's input texSTRING
HIGHpython/src/agent_squad/agents/agent.py82 Callback method that runs when an agent starts processing. This method is called at the beginning of aSTRING
HIGHpython/src/agent_squad/agents/agent.py114 Callback method that runs when an agent completes its processing. This method is called at the end of STRING
HIGHpython/src/agent_squad/agents/agent.py143 Callback method that runs when an llm starts processing. This method is called at the beginning of an STRING
HIGHpython/src/agent_squad/agents/agent.py191 Callback method that runs when an llm stops. This method is called at the end of an llm's execution, pSTRING
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALpython/src/agent_squad/shared/user_agent.py195 resource.meta.client.meta.events.register(TARGET_SDK_EVENT, _create_feature_function(feature))CODE
CRITICAL…on/src/agent_squad/classifiers/anthropic_classifier.py4from agent_squad.utils.helpers import is_tool_inputCODE
CRITICALpython/src/agent_squad/classifiers/openai_classifier.py4from agent_squad.utils.helpers import is_tool_inputCODE
CRITICAL…thon/src/agent_squad/classifiers/bedrock_classifier.py5from agent_squad.utils.helpers import is_tool_inputCODE
Over-Commented Block32 hits · 32 pts
SeverityFileLineSnippetContext
LOWpython/ruff.toml1# Enable rules.COMMENT
LOWpython/ruff.toml21 #"PL", # pylint - https://docs.astral.sh/ruff/rules/#pylint-plCOMMENT
LOWdocs/src/env.d.ts1/// <reference path="../.astro/types.d.ts" />COMMENT
LOWdocs/src/content/docs/swift/mcp/custom.md41 self.endpoint = endpointCOMMENT
LOWdocs/src/content/docs/swift/mcp/custom.md61 // )COMMENT
LOWswift/Tests/AgentSquadTests/DakeraRetrieverTests.swift141 #expect(tools.first?.name == "search_memory")COMMENT
LOWswift/Tests/AgentSquadTests/OTLPExporterTests.swift81COMMENT
LOW…gentSquadTests/OpenAIGroundedVoiceAssistantTests.swift341 transport.push(responseDone("r2")) // settled with results → present()COMMENT
LOWswift/Tests/AgentSquadTests/RealtimeWireTests.swift181 #expect(frame?.contains(#""item_id":"item_B""#) == true)COMMENT
LOWswift/Tests/AgentSquadTests/RealtimeWireTests.swift201 #expect(event == .audioTranscriptDelta(responseId: "p1", text: "hi"))COMMENT
LOW…urces/AgentSquad/Core/Tracing/BatchSpanProcessor.swift1import FoundationCOMMENT
LOWswift/Sources/AgentSquad/Core/Tracing/Tracing.swift21 public func shutdown() async {}COMMENT
LOWswift/Sources/AgentSquad/Core/Tracing/Tracing.swift61COMMENT
LOW…gentSquad/Runtimes/Realtime/OpenAIVoiceAssistant.swift41 private var replyText = "" // the spoken reply, captured for persistence in every output modeCOMMENT
LOW…rces/AgentSquad/Runtimes/Realtime/VoiceAssistant.swift81 /// PCM16 @ 24 kHz to play (only for the response currently playing — the session drops stale audio on `interrupt()`COMMENT
LOW…ources/AgentSquad/Runtimes/Realtime/RealtimeWire.swift1import FoundationCOMMENT
LOW…s/AgentSquad/Runtimes/Realtime/RealtimeTransport.swift1import FoundationCOMMENT
LOW…entSquad/Runtimes/Realtime/OpenAIRealtimeSession.swift1import FoundationCOMMENT
LOW…urces/AgentSquad/Storage/TransformingChatStorage.swift1import FoundationCOMMENT
LOW…t/Sources/AgentSquad/Storage/InMemoryChatStorage.swift1import FoundationCOMMENT
LOW…ources/AgentSquad/Storage/SummarizingChatStorage.swift41/// An in-memory buffer is maintained per (userId, sessionId, agentId) slot:COMMENT
LOW…ources/AgentSquad/Storage/SummarizingChatStorage.swift61/// return [summary] + recentCOMMENT
LOW…ift/Sources/AgentSquad/Retrieval/DakeraRetriever.swift81 /// The server returned a non-2xx status.COMMENT
LOW…ft/Sources/AgentSquadAudio/VoiceProcessedAudioIO.swift1import AVFoundationCOMMENT
LOWswift/Sources/AgentSquadAudio/PlaybackClock.swift1import AVFoundationCOMMENT
LOWexamples/chat-demo-app/test/chat-demo-app.ts1// import * as cdk from 'aws-cdk-lib';COMMENT
LOWexamples/python-demo/main-stream.py201 # streaming=True,COMMENT
LOWexamples/python-demo/main-stream.py221 # callbacks=LLMAgentCallbacks()COMMENT
LOWexamples/python-demo/main.py81 ))COMMENT
LOWexamples/python-demo/main.py101 # name="Weather Agent",COMMENT
LOW…-simulator/test/ai-ecommerce-support-simulator.test.ts1// import * as cdk from 'aws-cdk-lib';COMMENT
LOW.github/workflows/claude.yml41 actions: readCOMMENT
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHpython/src/agent_squad/__init__.py8except ImportError:CODE
HIGHpython/src/agent_squad/tools/mcp_tool_provider.py349except Exception: # noqa: BLE001CODE
HIGHpython/src/agent_squad/tools/mcp_tool_provider.py356except Exception: # noqa: BLE001CODE
HIGHpython/src/agent_squad/agents/supervisor_agent.py28except ImportError:CODE
HIGHpython/src/agent_squad/agents/supervisor_agent.py34except ImportError:CODE
HIGHexamples/jev-demo/python/jev_classifier_demo.py283except KeyboardInterrupt:CODE
Deep Nesting22 hits · 22 pts
SeverityFileLineSnippetContext
LOWpython/src/agent_squad/orchestrator.py137CODE
LOWpython/src/agent_squad/tools/mcp_tool_provider.py261CODE
LOW…hon/src/agent_squad/agents/bedrock_translator_agent.py56CODE
LOWpython/src/agent_squad/agents/strands_agent.py141CODE
LOWpython/src/agent_squad/agents/bedrock_llm_agent.py237CODE
LOWpython/src/agent_squad/agents/bedrock_llm_agent.py432CODE
LOWpython/src/agent_squad/agents/bedrock_llm_agent.py249CODE
LOWpython/src/agent_squad/agents/chain_agent.py20CODE
LOWpython/src/agent_squad/agents/supervisor_agent.py178CODE
LOWpython/src/agent_squad/agents/supervisor_agent.py193CODE
LOWpython/src/agent_squad/agents/bedrock_inline_agent.py175CODE
LOWpython/src/agent_squad/agents/amazon_bedrock_agent.py93CODE
LOWpython/src/agent_squad/agents/anthropic_agent.py192CODE
LOWpython/src/agent_squad/agents/anthropic_agent.py384CODE
LOWpython/src/agent_squad/agents/anthropic_agent.py204CODE
LOWpython/src/agent_squad/storage/dynamodb_chat_storage.py156CODE
LOW…thon/src/agent_squad/storage/in_memory_chat_storage.py83CODE
LOW…thon/src/agent_squad/classifiers/bedrock_classifier.py77CODE
LOW…text-2-structured-output/multi_agent_query_analyzer.py114CODE
LOWexamples/python-demo/main-stream.py99CODE
LOWexamples/supervisor-mode/main.py204CODE
LOWexamples/jev-demo/python/jev_classifier_demo.py215CODE
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWpython/src/agent_squad/retrievers/__init__.py5__all__ = [CODE
LOWpython/src/agent_squad/types/__init__.py20__all__ = [CODE
LOWpython/src/agent_squad/agents/__init__.py50__all__ = [CODE
LOWpython/src/agent_squad/agents/bedrock_llm_agent.py579 def update_system_prompt(self) -> None:CODE
LOWpython/src/agent_squad/agents/openai_agent.py200 def update_system_prompt(self) -> None:CODE
LOWpython/src/agent_squad/agents/bedrock_inline_agent.py336 def update_system_prompt(self) -> None:CODE
LOW⚡python/src/agent_squad/agents/anthropic_agent.py443 def set_system_prompt(self, template: Optional[str] = None, variables: Optional[TemplateVariables] = None) -> None:CODE
LOW⚡python/src/agent_squad/agents/anthropic_agent.py450 def update_system_prompt(self) -> None:CODE
LOWpython/src/agent_squad/utils/__init__.py7__all__ = [CODE
LOWpython/src/agent_squad/utils/logger.py32 def set_logger(cls, logger: Any) -> None:CODE
LOWpython/src/agent_squad/shared/user_agent.py15logger = logging.getLogger(__name__)CODE
LOWpython/src/agent_squad/storage/__init__.py23__all__ = [CODE
LOWpython/src/agent_squad/classifiers/classifier.py148 def set_agents(self, agents: Dict[str, Agent]) -> None:STRING
LOWpython/src/agent_squad/classifiers/classifier.py153 def set_history(self, messages: List[ConversationMessage]) -> None:STRING
LOWpython/src/agent_squad/classifiers/classifier.py184 def update_system_prompt(self) -> None:STRING
LOW⚡python/src/agent_squad/classifiers/__init__.py27__all__ = [CODE
Overly Generic Function Names9 hits · 8 pts
SeverityFileLineSnippetContext
LOWexamples/python/travel-planner/travel-planner-demo.py82async def handle_request(_orchestrator: AgentSquad, _user_input: str, _user_id: str, _session_id: str):STRING
LOW…mples/python/movie-production/movie-production-demo.py118async def handle_request(_orchestrator: AgentSquad, _user_input: str, _user_id: str, _session_id: str):STRING
LOWexamples/bedrock-flows/python/main.py10async def handle_request(_orchestrator: AgentSquad,agent:Agent, _user_input:str, _user_id:str, _session_id:str):CODE
LOWexamples/bedrock-prompt-routing/main.py22async def handle_request(_orchestrator: AgentSquad, _user_input:str, _user_id:str, _session_id:str):CODE
LOWexamples/python-demo/main-stream.py99async def handle_request(_orchestrator: AgentSquad, _user_input:str, _user_id:str, _session_id:str):CODE
LOWexamples/python-demo/main.py26async def handle_request(_orchestrator: AgentSquad, _user_input:str, _user_id:str, _session_id:str):CODE
LOWexamples/supervisor-mode/main.py204async def handle_request(_orchestrator: AgentSquad, _user_input:str, _user_id:str, _session_id:str):CODE
LOW⚡examples/langfuse-demo/main.py250async def handle_request(_orchestrator: AgentSquad, _user_input:str, _user_id:str, _session_id:str) -> str:CODE
LOWexamples/strands-agents-demo/main.py59async def handle_request(_orchestrator: AgentSquad, _user_input:str, _user_id:str, _session_id:str):CODE
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md24 <a href="#new-the-swift-runtime--on-device-orchestration"><strong>See what's included ↓</strong></a> · <a href="swift/CODE
MEDIUMREADME.md190## New: the Swift runtime — on-device orchestrationCOMMENT
MEDIUM…entSquad/Runtimes/Realtime/OpenAIRealtimeSession.swift39 // Shared per-turn scaffold (cleared by each actor's `resetTurn`).COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHdocs/src/content/docs/general/faq.md74##### Is there a way to check if the agents I've added to the orchestrator don't overlap?COMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWpython/src/tests/agents/test_supervisor_agent.py55CODE
LOWpython/src/agent_squad/orchestrator.py109CODE
LOWpython/src/agent_squad/agents/strands_agent.py29CODE
LOWpython/src/agent_squad/classifiers/jev_classifier.py56CODE
LOWexamples/bedrock-inline-agents/python/main.py57CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…hon/src/agent_squad/agents/bedrock_translator_agent.py62 # Check if input is a number and return it as-is if trueCOMMENT
LOWpython/src/agent_squad/agents/bedrock_inline_agent.py315 # Check if tool use is requiredCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpython/src/agent_squad/agents/amazon_bedrock_agent.py128 # Invoke Bedrock agent with comprehensive configurationCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpython/src/tests/agents/test_strands_agent.py666CODE
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡python/src/tests/classifiers/test_classifier.py90 "COMPANY": "Acme Corp"CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWexamples/chat-demo-app/scripts/download.js25// Example usage:COMMENT