AI Slop Code RIsk Monitor

google/agents-cli

The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.

18.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for google/agents-cli, a Python project with 6,072 GitHub stars. SynthScan examined 84,989 lines of code across 424 source files, recording 985 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 18.4 (Elevated 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.

18.4
Adjusted Signal
18.4
Raw Pattern Score
100%
Time Factor
2026-10-06
Last Push
6.1K
Stars
Python
Language
85.0K
Lines of Code
424
Files
985
Pattern Hits
2026-10-12
Scan Date
0.19
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 35.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 5.7/100 · LOW

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

Agent Over-Engineering Ratio 40.7/100 · MEDIUM

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

PR Review Velocity Impact 61.5/100 · HIGH

Which changes need focused human review? 985 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 0HIGH 79MEDIUM 122LOW 784

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 985 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.

Over-Commented Block270 hits · 268 pts
SeverityFileLineSnippetContext
LOWdocs/mkdocs.yml1# Copyright 2026 Google LLCCOMMENT
LOWdocs/pyproject.toml1# Copyright 2026 Google LLCCOMMENT
LOWdocs/hooks/skills_reference.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/tests/test_extension.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/tests/test_run.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/tests/test_eval_generate.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/tests/test_content.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/tests/test_publish.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/tests/test_telemetry.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/agents-cli-extension.yaml1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/app/fast_api_app.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/app/app_utils/a2a.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/app/app_utils/content.py1# Copyright 2026 Google LLCCOMMENT
LOW…nsions/langchain/template/tests/load_test/load_test.py1# Copyright 2026 Google LLCCOMMENT
LOW…angchain/template/tests/integration/test_server_e2e.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/scripts/run.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/scripts/unsupported.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/scripts/_content.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/scripts/eval_generate.py1# Copyright 2026 Google LLCCOMMENT
LOWextensions/langchain/template/scripts/publish.py1# Copyright 2026 Google LLCCOMMENT
LOW…sions/langchain/template/.template/templateconfig.yaml1# Copyright 2026 Google LLCCOMMENT
LOW.github/workflows/docs.yml1# Copyright 2026 Google LLCCOMMENT
LOW.github/ISSUE_TEMPLATE/feature_request.yml1# Copyright 2026 Google LLCCOMMENT
LOW.github/ISSUE_TEMPLATE/bug_report.yml1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_output.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/auth.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_modes.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_agent_platform_types.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_telemetry.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_tools.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_adk_client.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_click.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_defaults.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_experiments.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_skills_check.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_gcp_project.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_remote.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_trust.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_telemetry_worker.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/main.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_runner.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_project.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_agent_platform.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/cmd_cicd.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/_cicd_utils.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/_terraform.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/cmd_datastore.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/cmd_infra.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/cmd_infra_show.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/infra/cmd_infra_single_project.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/_schema.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/_manifest.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/_overrides.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/_loader.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/_refs.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/_paths.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/extension/cmd_extension_add.py1# Copyright 2026 Google LLCCOMMENT
210 more matches not shown…
Decorative Section Separators76 hits · 252 pts
SeverityFileLineSnippetContext
MEDIUMdocs/src/javascripts/lifecycle.js64 // ── Lazy: only fire when the element scrolls into view ──────────────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js115 // ─────────────────────────────────────────── 1. TRANSCRIPT ──────────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js207 // ─────────────────────────────────────────── 2. LIFECYCLE LOOP ──────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js287 // ─────────────────────────────────────────── 5b. FAILURE MUSEUM ─────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js350 // ─────────────────────────────────────────── 3. SCAFFOLD WIZARD ─────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js472 // ─────────────────────────────────────────── 4. TEAM DIAGRAM ────────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js641 // ─────────────────────────────────────────── 5. EVAL-FIX LOOP ───────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js835 // ─────────────────────────────────────────── 6. TRACE WATERFALL ─────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js984 // ─────────────────────────────────────────── 7. MODEL COMPARE ───────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js1050 // ─────────────────────────────────────────── 8. INLINE PLAYGROUND ───────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js1129 // ─────────────────────────────────────────── 9. DEPLOY TARGETS ──────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js1224 // ─────────────────────────────────────────── 10. PUBLISH CARD ───────────COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js1254 // ─────────────────────────────────────────── 11. ROLLING EVAL ───────────COMMENT
MEDIUMsrc/google/agents/cli/auth.py76# ── Google Cloud (ADC) ──────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/auth.py217# ── Gemini API Key ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/auth.py256# ── Express Mode ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/auth.py377# ── Shared Helpers ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/auth.py442# ── Token Helpers ──────────────────────────────────────────────────COMMENT
MEDIUM⚡src/google/agents/cli/_project.py306# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/_project.py308# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py53# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py55# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py59# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py61# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py69# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py71# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py78# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/google/agents/cli/eval/_paths.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/cmd_generate.py434# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/cmd_generate.py436# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/run/_local_server.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/run/_local_server.py218# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py573 # ── Compare ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py583 # ── Dependency merging ───────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py612 # ── Display ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py626 # ── Confirm ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py643 # ── Pre-apply hook (e.g. backup) ─────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py648 # ── Apply ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py679 # ── Post-apply hook (e.g. metadata update) ───────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py683 # ── Summary ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/language.py46# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/language.py48# =============================================================================COMMENT
MEDIUM⚡src/google/agents/cli/scaffold/utils/template.py48# =============================================================================COMMENT
MEDIUM⚡src/google/agents/cli/scaffold/utils/template.py50# =============================================================================COMMENT
MEDIUM⚡src/google/agents/cli/scaffold/utils/template.py54# =============================================================================COMMENT
MEDIUM⚡src/google/agents/cli/scaffold/utils/template.py95# =============================================================================COMMENT
MEDIUM⚡src/google/agents/cli/scaffold/utils/template.py97# =============================================================================COMMENT
MEDIUM⚡src/google/agents/cli/scaffold/utils/template.py104# =============================================================================COMMENT
MEDIUM…es/go/deployment/terraform/single-project/telemetry.tf30# ====================================================================COMMENT
MEDIUM…es/go/deployment/terraform/single-project/telemetry.tf32# ====================================================================COMMENT
MEDIUM…es/go/deployment/terraform/single-project/telemetry.tf60# ====================================================================COMMENT
MEDIUM…es/go/deployment/terraform/single-project/telemetry.tf62# ====================================================================COMMENT
MEDIUM…es/go/deployment/terraform/single-project/telemetry.tf119# ====================================================================COMMENT
MEDIUM…es/go/deployment/terraform/single-project/telemetry.tf121# ====================================================================COMMENT
MEDIUM…se_templates/go/deployment/terraform/cicd/telemetry.tf31# ====================================================================COMMENT
MEDIUM…se_templates/go/deployment/terraform/cicd/telemetry.tf33# ====================================================================COMMENT
MEDIUM…se_templates/go/deployment/terraform/cicd/telemetry.tf63# ====================================================================COMMENT
MEDIUM…se_templates/go/deployment/terraform/cicd/telemetry.tf65# ====================================================================COMMENT
MEDIUM…se_templates/go/deployment/terraform/cicd/telemetry.tf124# ====================================================================COMMENT
MEDIUM…se_templates/go/deployment/terraform/cicd/telemetry.tf126# ====================================================================COMMENT
16 more matches not shown…
Hyper-Verbose Identifiers171 hits · 176 pts
SeverityFileLineSnippetContext
LOWextensions/langchain/tests/test_extension.py45 def test_builds_on_the_empty_base(self):CODE
LOW⚡extensions/langchain/tests/test_extension.py59 def test_overrides_the_framework_coupled_commands(self):CODE
LOW⚡extensions/langchain/tests/test_extension.py67 def test_refuses_the_adk_only_commands(self):CODE
LOWextensions/langchain/tests/test_extension.py80 def test_every_refusal_explains_itself(self):CODE
LOWextensions/langchain/tests/test_extension.py94 def test_every_script_it_points_at_ships_with_the_template(self):CODE
LOWextensions/langchain/tests/test_extension.py102 def test_first_party_manifest_validates(self):CODE
LOW⚡extensions/langchain/tests/test_extension.py146 def test_it_carries_its_own_overrides(self, project):CODE
LOW⚡extensions/langchain/tests/test_extension.py153 def test_its_guide_replaces_the_adk_one(self, project):CODE
LOW⚡extensions/langchain/tests/test_extension.py159 def test_ships_no_adk_shaped_tests(self, project):CODE
LOWextensions/langchain/tests/test_extension.py174 def test_it_is_not_installable_from_this_repo(self):CODE
LOW⚡extensions/langchain/tests/test_run.py69 def test_sends_the_single_message(self, mod, seen, monkeypatch):CODE
LOW⚡extensions/langchain/tests/test_run.py73 def test_extra_words_are_rejected_not_joined(self, mod, seen, monkeypatch):CODE
LOW⚡extensions/langchain/tests/test_run.py80 def test_no_message_is_a_usage_error(self, mod, monkeypatch):CODE
LOW⚡extensions/langchain/tests/test_run.py88 def test_remote_flags_are_refused_with_a_way_out(CODE
LOWextensions/langchain/tests/test_eval_generate.py47 def test_appends_agent_reply_per_turn(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py72 def test_turn_without_user_event_is_skipped(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py98 def test_multiple_turns_each_get_reply(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py136 def test_turns_get_index_and_id(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py162 def test_output_parses_as_the_model_grade_reads(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py178 def test_case_carries_the_final_response(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py186 def test_prompt_shaped_case_gets_a_reply_turn(self):CODE
LOWextensions/langchain/tests/test_eval_generate.py220 def test_accepts_the_flags_the_builtin_takes(self, mod, tmp_path, argv, monkeypatch):CODE
LOWextensions/langchain/tests/test_eval_generate.py231 def test_url_is_refused_with_a_way_out(self, mod, tmp_path, capsys):CODE
LOWextensions/langchain/tests/test_eval_generate.py238 def test_trailing_separator_names_a_directory_to_create(CODE
LOWextensions/langchain/tests/test_publish.py42def test_only_agent_runtime_is_refused(monkeypatch, tmp_path, capsys, target, refused):CODE
LOW⚡extensions/langchain/tests/test_telemetry.py56 def test_disabled_without_bucket(self, monkeypatch):CODE
LOW⚡extensions/langchain/tests/test_telemetry.py64 def test_disabled_when_capture_off(self, monkeypatch):CODE
LOW⚡extensions/langchain/tests/test_telemetry.py71 def test_enabled_sets_upload_contract(self, monkeypatch):CODE
LOWextensions/langchain/tests/test_telemetry.py111 def test_off_skips_the_exporters(self, monkeypatch):CODE
LOW…ls/google-agents-cli-adk-code/references/adk-python.md632async def generate_memories_callback(callback_context: CallbackContext):CODE
LOWsrc/google/agents/cli/_adk_client.py168def _event_has_function_response(event: dict) -> bool:CODE
LOWsrc/google/agents/cli/_adk_client.py176def _event_has_answer_content(event: dict) -> bool:CODE
LOWsrc/google/agents/cli/_remote.py46def is_legacy_agent_runtime_url(url: str) -> bool:CODE
LOWsrc/google/agents/cli/_remote.py58def validate_agent_runtime_url(url: str) -> None:CODE
LOWsrc/google/agents/cli/_remote.py78def build_agent_runtime_passthrough_url(location: str, runtime_resource: str) -> str:CODE
LOWsrc/google/agents/cli/_remote.py101def build_agent_runtime_endpoints(location: str, runtime_resource: str) -> AgentEndpoints:CODE
LOWsrc/google/agents/cli/_remote.py122def parse_agent_runtime_service_url(service_url: str) -> tuple[str, str]:CODE
LOWsrc/google/agents/cli/main.py56def _print_is_project_moved_tip() -> None:CODE
LOWsrc/google/agents/cli/_project.py132def _read_project_config_from_manifest(manifest_path: Path) -> ProjectConfig:CODE
LOWsrc/google/agents/cli/_project.py141def _read_project_config_from_pyproject(pyproject_path: Path) -> ProjectConfig:CODE
LOWsrc/google/agents/cli/_project.py244def _find_legacy_project_root(start_dir: Path) -> Path | None:CODE
LOWsrc/google/agents/cli/_project.py345def require_deployment_target(cfg: ProjectConfig) -> None:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py126def prompt_gh_cli_installation() -> None:CODE
LOW⚡src/google/agents/cli/infra/cmd_cicd.py197def get_project_name_from_config() -> str | None:CODE
LOW⚡src/google/agents/cli/infra/cmd_cicd.py212def detect_region_from_terraform_vars() -> str | None:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py265def prompt_for_repository_details(CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py480def handle_github_authentication(interactive: bool = True) -> None:CODE
LOWsrc/google/agents/cli/infra/_terraform.py33def require_single_project_tf_dir() -> Path:CODE
LOWsrc/google/agents/cli/extension/_spec.py201def _warn_if_script_entrypoint(name: str, kind: str, first_token: str) -> None:CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py68def validate_agent_runtime_deployment(CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py492def _check_agent_runtime_secret_ids(*, project: str, secrets: str) -> CheckResult | None:CODE
LOWsrc/google/agents/cli/deploy/_operation.py503def read_remote_agent_runtime_id() -> str | None:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py152def build_psc_interface_config(CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py203def print_agent_runtime_dry_run(CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py704def check_agent_runtime_operation(CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py773def list_agent_runtime_deployments(project: str, location: str) -> None:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py875def _missing_dockerfile_error(cfg: ProjectConfig) -> str:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py904def _require_gateway_ready_project(cfg: ProjectConfig) -> None:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py915def _build_agent_gateway_config(CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py1113def _is_agent_identity_principal(effective_identity: str | None) -> bool:CODE
111 more matches not shown…
Empty Error Handlers32 hits · 160 pts
SeverityFileLineSnippetContext
HIGH…angchain/template/tests/integration/test_server_e2e.py99except RequestException:CODE
HIGHsrc/google/agents/cli/auth.py212except Exception:CODE
HIGHsrc/google/agents/cli/auth.py463except Exception:CODE
HIGHsrc/google/agents/cli/auth.py503except (AttributeError, requests.exceptions.HTTPError):CODE
HIGHsrc/google/agents/cli/_telemetry.py442except Exception: # pragma: no cover - defensive catch-allCODE
HIGHsrc/google/agents/cli/_adk_client.py362except ConnectionClosed:CODE
HIGHsrc/google/agents/cli/_skills_check.py187except OSError:CODE
HIGHsrc/google/agents/cli/_runner.py126except (io.UnsupportedOperation, AttributeError, OSError):CODE
HIGHsrc/google/agents/cli/_project.py255except Exception:CODE
HIGHsrc/google/agents/cli/infra/cmd_cicd.py207except Exception:CODE
HIGHsrc/google/agents/cli/extension/_resolver.py277except (OSError, RecursionError, UnicodeDecodeError, yaml.YAMLError):CODE
HIGHsrc/google/agents/cli/deploy/_operation.py192except (ValueError, TypeError):CODE
HIGHsrc/google/agents/cli/deploy/_operation.py92except OSError:CODE
HIGHsrc/google/agents/cli/deploy/_operation.py107except OSError:CODE
HIGHsrc/google/agents/cli/setup/cmd_setup.py77except OSError:CODE
HIGHsrc/google/agents/cli/setup/_antigravity.py114except OSError:CODE
HIGHsrc/google/agents/cli/setup/_antigravity.py130except (OSError, NotImplementedError):CODE
HIGHsrc/google/agents/cli/setup/_antigravity.py120except OSError:CODE
HIGHsrc/google/agents/cli/setup/_antigravity.py148except (OSError, subprocess.CalledProcessError):CODE
HIGHsrc/google/agents/cli/publish/cmd_publish.py1207except (json.JSONDecodeError, KeyError, FileNotFoundError):CODE
HIGHsrc/google/agents/cli/eval/cmd_optimize.py184except OSError:CODE
HIGHsrc/google/agents/cli/eval/cmd_optimize.py169except OSError:CODE
HIGHsrc/google/agents/cli/eval/cmd_optimize.py178except OSError:CODE
HIGHsrc/google/agents/cli/run/_local_server.py527except (json.JSONDecodeError, OSError):CODE
HIGHsrc/google/agents/cli/run/_local_server.py564except psutil.NoSuchProcess:CODE
HIGHsrc/google/agents/cli/scaffold/utils/version.py52except OSError:CODE
HIGH…oyment_targets/gke/python/tests/load_test/load_test.py112except json.JSONDecodeError:CODE
HIGH…gets/agent_runtime/python/tests/load_test/load_test.py132except json.JSONDecodeError:CODE
HIGH…nt_runtime/python/tests/integration/test_server_e2e.py104except RequestException:CODE
HIGH…yment_targets/none/python/tests/load_test/load_test.py112except json.JSONDecodeError:CODE
HIGH…_targets/cloud_run/python/tests/load_test/load_test.py112except json.JSONDecodeError:CODE
HIGHsrc/google/agents/cli/scaffold/commands/enhance.py384except Exception:CODE
Cross-File Repetition29 hits · 145 pts
SeverityFileLineSnippetContext
HIGH…ions/langchain/template/tests/eval/response_quality.py0local llm-as-judge for `custom_response_quality` (see eval_config.yaml).STRING
HIGH…cli/scaffold/agents/adk/tests/eval/response_quality.py0local llm-as-judge for `custom_response_quality` (see eval_config.yaml).STRING
HIGH…ts/cli/scaffold/agents/adk_go/eval/response_quality.py0local llm-as-judge for `custom_response_quality` (see eval_config.yaml).STRING
HIGH…oyment_targets/gke/python/tests/load_test/load_test.py0simulates a user interacting with the chat stream api.STRING
HIGH…yment_targets/none/python/tests/load_test/load_test.py0simulates a user interacting with the chat stream api.STRING
HIGH…_targets/cloud_run/python/tests/load_test/load_test.py0simulates a user interacting with the chat stream api.STRING
HIGH…argets/gke/python/tests/integration/test_server_e2e.py0start the fastapi server using subprocess and log its output.STRING
HIGH…nt_runtime/python/tests/integration/test_server_e2e.py0start the fastapi server using subprocess and log its output.STRING
HIGH…rgets/none/python/tests/integration/test_server_e2e.py0start the fastapi server using subprocess and log its output.STRING
HIGH…/cloud_run/python/tests/integration/test_server_e2e.py0start the fastapi server using subprocess and log its output.STRING
HIGH…argets/gke/python/tests/integration/test_server_e2e.py0wait for the server to be ready (agent card requires the lifespan to run).STRING
HIGH…nt_runtime/python/tests/integration/test_server_e2e.py0wait for the server to be ready (agent card requires the lifespan to run).STRING
HIGH…rgets/none/python/tests/integration/test_server_e2e.py0wait for the server to be ready (agent card requires the lifespan to run).STRING
HIGH…/cloud_run/python/tests/integration/test_server_e2e.py0wait for the server to be ready (agent card requires the lifespan to run).STRING
HIGH…argets/gke/python/tests/integration/test_server_e2e.py0pytest fixture to start and stop the server for testing.STRING
HIGH…nt_runtime/python/tests/integration/test_server_e2e.py0pytest fixture to start and stop the server for testing.STRING
HIGH…rgets/none/python/tests/integration/test_server_e2e.py0pytest fixture to start and stop the server for testing.STRING
HIGH…/cloud_run/python/tests/integration/test_server_e2e.py0pytest fixture to start and stop the server for testing.STRING
HIGH…argets/gke/python/tests/integration/test_server_e2e.py0test the a2a route using the json-rpc streaming protocol.STRING
HIGH…nt_runtime/python/tests/integration/test_server_e2e.py0test the a2a route using the json-rpc streaming protocol.STRING
HIGH…rgets/none/python/tests/integration/test_server_e2e.py0test the a2a route using the json-rpc streaming protocol.STRING
HIGH…/cloud_run/python/tests/integration/test_server_e2e.py0test the a2a route using the json-rpc streaming protocol.STRING
HIGH…argets/gke/python/tests/integration/test_server_e2e.py0test that the a2a agent card is served at the well-known uri.STRING
HIGH…nt_runtime/python/tests/integration/test_server_e2e.py0test that the a2a agent card is served at the well-known uri.STRING
HIGH…rgets/none/python/tests/integration/test_server_e2e.py0test that the a2a agent card is served at the well-known uri.STRING
HIGH…/cloud_run/python/tests/integration/test_server_e2e.py0test that the a2a agent card is served at the well-known uri.STRING
HIGH…argets/gke/python/tests/integration/test_server_e2e.py0cleanup agent engine sessions created during tests.STRING
HIGH…rgets/none/python/tests/integration/test_server_e2e.py0cleanup agent engine sessions created during tests.STRING
HIGH…/cloud_run/python/tests/integration/test_server_e2e.py0cleanup agent engine sessions created during tests.STRING
Excessive Try-Catch Wrapping131 hits · 132 pts
SeverityFileLineSnippetContext
LOW…tensions/langchain/template/app/app_utils/telemetry.py58 except Exception as e: # best-effort; unavailable off-GCPCODE
LOW…tensions/langchain/template/app/app_utils/telemetry.py98 except Exception as e: # pragma: no cover - optional dependencyCODE
LOW…tensions/langchain/template/app/app_utils/telemetry.py104 except Exception as e: # pragma: no cover - optional dependencyCODE
LOW…tensions/langchain/template/app/app_utils/telemetry.py136 except Exception as e: # no GCP creds (local dev): keep instrumentationCODE
LOWextensions/langchain/template/scripts/eval_generate.py61 except Exception as e:CODE
LOW…google-agents-cli-deploy/references/batch-inference.md53 except Exception as e:CODE
LOWsrc/google/agents/cli/auth.py186 except Exception as e:CODE
LOWsrc/google/agents/cli/auth.py212 except Exception:CODE
LOWsrc/google/agents/cli/auth.py354 except Exception as e:CODE
LOWsrc/google/agents/cli/auth.py427 except Exception:CODE
LOWsrc/google/agents/cli/auth.py438 except Exception:CODE
LOWsrc/google/agents/cli/auth.py463 except Exception:CODE
LOWsrc/google/agents/cli/auth.py473 except Exception as exc:CODE
LOWsrc/google/agents/cli/_telemetry.py347 except Exception:CODE
LOWsrc/google/agents/cli/_telemetry.py364 except Exception:CODE
LOWsrc/google/agents/cli/_telemetry.py374 except Exception:CODE
LOWsrc/google/agents/cli/_telemetry.py442 except Exception: # pragma: no cover - defensive catch-allCODE
LOWsrc/google/agents/cli/_tools.py182 except Exception as e:CODE
LOWsrc/google/agents/cli/_click.py198 except Exception:CODE
LOWsrc/google/agents/cli/_experiments.py67 except Exception as e:CODE
LOWsrc/google/agents/cli/_skills_check.py104 except Exception as e:CODE
LOWsrc/google/agents/cli/_skills_check.py155 except Exception as e:CODE
LOWsrc/google/agents/cli/_remote.py172 except Exception as exc:CODE
LOWsrc/google/agents/cli/main.py177 except Exception as e: # import failure shouldn't crash extension applicationCODE
LOWsrc/google/agents/cli/main.py335 except Exception as exc:CODE
LOWsrc/google/agents/cli/_project.py255 except Exception:CODE
LOW⚡src/google/agents/cli/_project.py301 except Exception as e:CODE
LOW⚡src/google/agents/cli/infra/cmd_cicd.py207 except Exception:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py235 except Exception:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py687 except Exception as e:STRING
LOWsrc/google/agents/cli/infra/_cicd_utils.py262 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py346 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py476 except Exception:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py530 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py575 except Exception as e:CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py233 except Exception as exc:CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py274 except Exception as exc:CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py453 except Exception as exc:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py1391 except Exception as exc:CODE
LOWsrc/google/agents/cli/setup/cmd_setup.py227 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py204 except Exception as auth_err:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py230 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py383 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py473 except Exception as e:CODE
LOW⚡src/google/agents/cli/publish/cmd_publish.py1390 except Exception as e:STRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1475 except Exception as e:STRING
LOWsrc/google/agents/cli/dev/cmd_install.py127 except Exception as e:CODE
LOW…google-agents-cli-deploy/references/batch-inference.md53 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py74 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py187 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py265 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/_live.py239 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/_live.py255 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/_live.py293 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py188 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py199 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py215 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py225 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py241 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py315 except Exception as exc:CODE
71 more matches not shown…
Modern AI Meta-Vocabulary35 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMdocs/src/guide/lifecycle.md41| 1 | **Scaffold** | Turn the spec into a production-shaped project (~72 files). | `scaffold create` | `google-agents-clCODE
MEDIUMdocs/src/guide/lifecycle.md129When the team needs to span processes — or call agents your team doesn't own — use the **[A2A protocol](https://a2a-protCODE
MEDIUMdocs/src/guide/lifecycle.md214 # Phase 1: scaffoldCOMMENT
MEDIUMdocs/src/guide/lifecycle.md222 # Phase 2-3: build & orchestrate (edit app/agent.py)COMMENT
MEDIUMdocs/src/javascripts/lifecycle.js27 * #lifecycle-anim-scaffold Interactive scaffold wizardCOMMENT
MEDIUMdocs/src/reference/skills.md42## `google-agents-cli-scaffold`COMMENT
MEDIUM⚡extensions/langchain/tests/test_extension.py64 # scaffold.* belongs to the CLI now: the template is the scaffold.COMMENT
MEDIUMskills/google-agents-cli-scaffold/SKILL.md104agents-cli scaffold upgrade --force # Overwrite scaffolding files when smart-merge failsCODE
MEDIUMskills/google-agents-cli-scaffold/references/flags.md3## `agents-cli scaffold create` FlagsCOMMENT
MEDIUMskills/google-agents-cli-scaffold/references/flags.md30## `agents-cli scaffold enhance` FlagsCOMMENT
MEDIUMskills/google-agents-cli-deploy/references/gke.md41> **ADK projects.** The session wiring below (`shared://session`, `app_utils/services.py`) is ADK scaffold behavior. TheCODE
MEDIUMskills/google-agents-cli-deploy/references/cloud-run.md29> **ADK projects.** The session wiring below (`shared://session`, `app_utils/services.py`) is ADK scaffold behavior. TheCODE
MEDIUM…ls/google-agents-cli-adk-code/references/adk-python.md49 description="Provides weather information.", # Important for multi-agent delegationCODE
MEDIUM…ls/google-agents-cli-adk-code/references/adk-python.md779# Prefer scaffolding over manual code — scaffold a normal `adk` agent; A2A is built in (see /google-agents-cli-scaffold)COMMENT
MEDIUM…ls/google-agents-cli-adk-code/references/adk-python.md804manager = A2uiSchemaManager(...) # loads catalog(s) + few-shot examplesCODE
MEDIUM…gle-agents-cli-adk-code/references/adk-go-workflows.md296### (c) Dynamic nodes — orchestrate in GoCOMMENT
MEDIUMsrc/google/agents/cli/_click.py28# (root -> leaf, e.g. ``["scaffold", "create"]``). ``ctx.meta`` is shared acrossCOMMENT
MEDIUMsrc/google/agents/cli/infra/_terraform.py27# Where the scaffold puts the single-project Terraform root, relative to theCOMMENT
MEDIUMsrc/google/agents/cli/extension/_loader.py64 # to the built-in would silently do something else (an ADK scaffold in aCOMMENT
MEDIUMsrc/google/agents/cli/extension/_refs.py27# a template repo (scaffold/utils/remote_template.py), plus ssh://, which is howCOMMENT
MEDIUMsrc/google/agents/cli/deploy/_utils.py46# agent-specific, so 8 keeps a RAG/large-context agent inside 4Gi. Lighter agentsCOMMENT
MEDIUM…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md104agents-cli scaffold upgrade --force # Overwrite scaffolding files when smart-merge failsCODE
MEDIUM…ls/data/google-agents-cli-scaffold/references/flags.md3## `agents-cli scaffold create` FlagsCOMMENT
MEDIUM…ls/data/google-agents-cli-scaffold/references/flags.md30## `agents-cli scaffold enhance` FlagsCOMMENT
MEDIUM…skills/data/google-agents-cli-deploy/references/gke.md41> **ADK projects.** The session wiring below (`shared://session`, `app_utils/services.py`) is ADK scaffold behavior. TheCODE
MEDIUM…/data/google-agents-cli-deploy/references/cloud-run.md29> **ADK projects.** The session wiring below (`shared://session`, `app_utils/services.py`) is ADK scaffold behavior. TheCODE
MEDIUM…ta/google-agents-cli-adk-code/references/adk-python.md49 description="Provides weather information.", # Important for multi-agent delegationCODE
MEDIUM…ta/google-agents-cli-adk-code/references/adk-python.md779# Prefer scaffolding over manual code — scaffold a normal `adk` agent; A2A is built in (see /google-agents-cli-scaffold)COMMENT
MEDIUM…ta/google-agents-cli-adk-code/references/adk-python.md804manager = A2uiSchemaManager(...) # loads catalog(s) + few-shot examplesCODE
MEDIUM…gle-agents-cli-adk-code/references/adk-go-workflows.md296### (c) Dynamic nodes — orchestrate in GoCOMMENT
MEDIUM…agents/cli/scaffold/agents/adk_go/sessions/sessions.go37// sessionType is the backend selected at scaffold time.COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/upgrade.py78 # Everything else is "scaffolding" (3-way compare)COMMENT
MEDIUMsrc/google/agents/cli/scaffold/commands/create.py260 # `scaffold enhance` and `scaffold upgrade`, so nothing it says is addressedCOMMENT
MEDIUMsrc/google/agents/cli/scaffold/commands/enhance.py168 # `framework` is recorded by whoever owns `scaffold create`; it is not aCOMMENT
MEDIUMsrc/google/agents/cli/data/_recipe.py17# RAG moved out of the built-in templates into clone-and-study samples. DatastoreCOMMENT
Unused Imports63 hits · 63 pts
SeverityFileLineSnippetContext
LOWextensions/langchain/tests/test_extension.py21CODE
LOWextensions/langchain/tests/test_run.py17CODE
LOWextensions/langchain/tests/test_content.py21CODE
LOWextensions/langchain/tests/test_publish.py17CODE
LOWextensions/langchain/template/app/__init__.py3CODE
LOWextensions/langchain/template/app/fast_api_app.py28CODE
LOWextensions/langchain/template/app/app_utils/a2a.py20CODE
LOW…tensions/langchain/template/app/app_utils/telemetry.py9CODE
LOWextensions/langchain/template/app/app_utils/content.py17CODE
LOWextensions/langchain/template/scripts/run.py23CODE
LOWextensions/langchain/template/scripts/unsupported.py22CODE
LOWextensions/langchain/template/scripts/_content.py18CODE
LOWextensions/langchain/template/scripts/eval_generate.py21CODE
LOWextensions/langchain/template/scripts/publish.py22CODE
LOWsrc/google/agents/cli/_agent_platform_types.py27CODE
LOWsrc/google/agents/cli/_agent_platform_types.py29CODE
LOWsrc/google/agents/cli/_telemetry.py42CODE
LOWsrc/google/agents/cli/_adk_client.py17CODE
LOWsrc/google/agents/cli/_click.py17CODE
LOWsrc/google/agents/cli/_defaults.py17CODE
LOWsrc/google/agents/cli/_skills_check.py17CODE
LOWsrc/google/agents/cli/_remote.py21CODE
LOWsrc/google/agents/cli/_telemetry_worker.py21CODE
LOWsrc/google/agents/cli/main.py22CODE
LOWsrc/google/agents/cli/_project.py17CODE
LOWsrc/google/agents/cli/_agent_platform.py17CODE
LOWsrc/google/agents/cli/infra/_terraform.py17CODE
LOWsrc/google/agents/cli/infra/cmd_infra_show.py17CODE
LOWsrc/google/agents/cli/extension/_schema.py20CODE
LOWsrc/google/agents/cli/extension/_manifest.py23CODE
LOWsrc/google/agents/cli/extension/_overrides.py17CODE
LOWsrc/google/agents/cli/extension/_loader.py17CODE
LOWsrc/google/agents/cli/extension/_refs.py17CODE
LOWsrc/google/agents/cli/extension/_paths.py17CODE
LOWsrc/google/agents/cli/extension/cmd_extension_add.py17CODE
LOWsrc/google/agents/cli/extension/cmd_extension_remove.py17CODE
LOWsrc/google/agents/cli/extension/_spec.py17CODE
LOWsrc/google/agents/cli/extension/_resolver.py17CODE
LOWsrc/google/agents/cli/extension/cmd_extension_list.py17CODE
LOWsrc/google/agents/cli/extension/_trust.py17CODE
LOWsrc/google/agents/cli/extension/_compat.py21CODE
LOWsrc/google/agents/cli/extension/cmd_extension_update.py17CODE
LOWsrc/google/agents/cli/extension/_sync.py17CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py17CODE
LOWsrc/google/agents/cli/deploy/_operation.py32CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py21CODE
LOWsrc/google/agents/cli/deploy/_utils.py17CODE
LOWsrc/google/agents/cli/setup/_antigravity.py34CODE
LOWsrc/google/agents/cli/info/cmd_info.py17CODE
LOWsrc/google/agents/cli/skills/_bundle.py26CODE
LOWsrc/google/agents/cli/eval/_live.py19CODE
LOWsrc/google/agents/cli/eval/_paths.py47CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py17CODE
LOWsrc/google/agents/cli/eval/cmd_dataset.py17CODE
LOWsrc/google/agents/cli/eval/_events.py17CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py17CODE
LOWsrc/google/agents/cli/eval/cmd_run.py17CODE
LOWsrc/google/agents/cli/run/_local_server.py17CODE
LOWsrc/google/agents/cli/run/_a2a_pinning.py36CODE
LOWsrc/google/agents/cli/run/cmd_run.py17CODE
3 more matches not shown…
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHsrc/google/agents/cli/_runner.py253Wrapper around subprocess.run with optional executable resolution. Args: args: Command and arguments as a lSTRING
HIGHsrc/google/agents/cli/_runner.py286Wrapper around subprocess.Popen with optional executable resolution. Args: args: Command and arguments as aSTRING
HIGHsrc/google/agents/cli/_runner.py319Wrapper around subprocess.Popen for launching detached background processes. Handles cross-platform differences forSTRING
HIGHsrc/google/agents/cli/publish/cmd_publish.py64Get the appropriate Discovery Engine API endpoint for the given location. Args: location: The location/regiSTRING
HIGHsrc/google/agents/cli/publish/cmd_publish.py774Register an A2A agent to Gemini Enterprise, updating in place if it exists. Looks up an existing registration for tSTRING
HIGHsrc/google/agents/cli/publish/cmd_publish.py859Register an agent engine to Gemini Enterprise, updating in place if it exists. Looks up an existing registration foSTRING
HIGHsrc/google/agents/cli/scaffold/utils/backup.py37Create a backup of the project directory. Backs up to ~/.agents-cli/backups/<project-name>_<timestamp>/. Args:STRING
HIGHsrc/google/agents/cli/scaffold/utils/merge.py497Shared 3-way merge pipeline used by both *upgrade* and *enhance*. Generates old and new template snapshots, compareSTRING
HIGHsrc/google/agents/cli/scaffold/utils/symlinks.py58Resolve a template symlink and verify it is safe to materialize. A symlink is safe only when its fully-resolved tarSTRING
HIGHsrc/google/agents/cli/scaffold/utils/language.py126Return the handler for ``language``, or raise a clear error. A ``None`` entry (or a missing key) means the command STRING
HIGHsrc/google/agents/cli/scaffold/utils/gcp.py181Verify credentials and Vertex AI connection. Uses google.auth + requests for lightweight verification. Args: STRING
Deep Nesting62 hits · 54 pts
SeverityFileLineSnippetContext
LOWextensions/langchain/template/app/app_utils/a2a.py69CODE
LOWextensions/langchain/template/app/app_utils/content.py20CODE
LOWextensions/langchain/template/scripts/eval_generate.py71CODE
LOWsrc/google/agents/cli/_adk_client.py277CODE
LOWsrc/google/agents/cli/_runner.py55CODE
LOWsrc/google/agents/cli/_project.py244CODE
LOWsrc/google/agents/cli/_project.py278CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py72CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py482CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py105CODE
LOWsrc/google/agents/cli/extension/_resolver.py166CODE
LOWsrc/google/agents/cli/extension/cmd_extension_update.py59CODE
LOWsrc/google/agents/cli/extension/_sync.py49CODE
LOWsrc/google/agents/cli/deploy/_cloud_validation.py256CODE
LOWsrc/google/agents/cli/deploy/_operation.py382CODE
LOWsrc/google/agents/cli/deploy/_operation.py446CODE
LOWsrc/google/agents/cli/deploy/_operation.py239CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py257CODE
LOWsrc/google/agents/cli/setup/cmd_setup.py281CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py238CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py481CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py1165CODE
LOWsrc/google/agents/cli/eval/optimize_utils.py26CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py57CODE
LOWsrc/google/agents/cli/eval/cmd_optimize.py45CODE
LOWsrc/google/agents/cli/eval/cmd_optimize.py121CODE
LOWsrc/google/agents/cli/eval/cmd_submit.py157CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py133CODE
LOWsrc/google/agents/cli/eval/eval_utils.py296CODE
LOWsrc/google/agents/cli/run/_local_server.py67CODE
LOWsrc/google/agents/cli/run/_local_server.py419CODE
LOWsrc/google/agents/cli/run/_local_server.py554CODE
LOWsrc/google/agents/cli/run/_a2a_pinning.py110CODE
LOWsrc/google/agents/cli/run/cmd_run.py411CODE
LOWsrc/google/agents/cli/run/cmd_run.py1095CODE
LOWsrc/google/agents/cli/scaffold/utils/merge.py272CODE
LOWsrc/google/agents/cli/scaffold/utils/merge.py294CODE
LOWsrc/google/agents/cli/scaffold/utils/merge.py401CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py421CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py705CODE
LOWsrc/google/agents/cli/scaffold/utils/upgrade.py365CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py132CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py182CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py454CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py768CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py955CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py1001CODE
LOWsrc/google/agents/cli/scaffold/utils/gcp.py94CODE
LOWsrc/google/agents/cli/scaffold/utils/gcp.py177CODE
LOW…oyment_targets/gke/python/tests/load_test/load_test.py38CODE
LOW…gets/agent_runtime/python/tests/load_test/load_test.py55CODE
LOW…yment_targets/none/python/tests/load_test/load_test.py38CODE
LOW…_targets/cloud_run/python/tests/load_test/load_test.py38CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py938CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1049CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1287CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1337CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py89CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py467CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py582CODE
2 more matches not shown…
Structural Annotation Overuse27 hits · 43 pts
SeverityFileLineSnippetContext
LOWskills/google-agents-cli-scaffold/SKILL.md36## Step 1: Choose ArchitectureCOMMENT
LOWskills/google-agents-cli-scaffold/SKILL.md62## Step 2: Create or Enhance the ProjectCOMMENT
LOW⚡skills/google-agents-cli-scaffold/SKILL.md165# Step 1: Create a prototypeCOMMENT
LOW⚡skills/google-agents-cli-scaffold/SKILL.md168# Step 2: Iterate on the agent code...COMMENT
LOW⚡skills/google-agents-cli-scaffold/SKILL.md170# Step 3: Add deployment when readyCOMMENT
LOW⚡skills/google-agents-cli-scaffold/SKILL.md180## Step 3: Load Dev WorkflowCOMMENT
LOW…gents-cli-deploy/references/testing-deployed-agents.md84# Step 1: Create a session (required before sending messages)COMMENT
LOW…gents-cli-deploy/references/testing-deployed-agents.md91# Step 2: Send a message via SSE streamingCOMMENT
LOWsrc/google/agents/cli/deploy/gke.py117 # Step 1: Targeted Terraform (local dev only)COMMENT
LOWsrc/google/agents/cli/deploy/gke.py138 # Step 2: Get cluster credentialsCOMMENT
LOW⚡src/google/agents/cli/deploy/gke.py155 # Step 3: Build and push container image (local dev only)COMMENT
LOW⚡src/google/agents/cli/deploy/gke.py161 # Step 4: Update container imageCOMMENT
LOWsrc/google/agents/cli/deploy/gke.py176 # Step 5: Inject runtime env vars (AGENT_VERSION, --update-env-vars, APP_URL).COMMENT
LOWsrc/google/agents/cli/deploy/gke.py234 # Step 6: Wait for rolloutCOMMENT
LOWsrc/google/agents/cli/deploy/gke.py252 # Step 7: Print summaryCOMMENT
LOW⚡src/google/agents/cli/publish/cmd_publish.py1395 # Step 1: Get Agent Runtime IDSTRING
LOW⚡src/google/agents/cli/publish/cmd_publish.py1447 # Step 3: Get display name and descriptionSTRING
LOW⚡src/google/agents/cli/publish/cmd_publish.py1456 # Step 4: Register as ADK agentSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1426 # Step 2: Get Gemini Enterprise App IDSTRING
LOW…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md36## Step 1: Choose ArchitectureCOMMENT
LOW…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md62## Step 2: Create or Enhance the ProjectCOMMENT
LOW⚡…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md165# Step 1: Create a prototypeCOMMENT
LOW⚡…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md168# Step 2: Iterate on the agent code...COMMENT
LOW⚡…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md170# Step 3: Add deployment when readyCOMMENT
LOW⚡…ts/cli/skills/data/google-agents-cli-scaffold/SKILL.md180## Step 3: Load Dev WorkflowCOMMENT
LOW…gents-cli-deploy/references/testing-deployed-agents.md84# Step 1: Create a session (required before sending messages)COMMENT
LOW…gents-cli-deploy/references/testing-deployed-agents.md91# Step 2: Send a message via SSE streamingCOMMENT
Redundant / Tautological Comments22 hits · 29 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/auth.py123 # Check if gcloud is installedCOMMENT
LOWsrc/google/agents/cli/auth.py310 # Check if already authenticatedCOMMENT
LOWsrc/google/agents/cli/infra/cmd_cicd.py360 # Check if the secret exists firstSTRING
LOWsrc/google/agents/cli/infra/cmd_cicd.py559 # Check if Terraform structure exists (prototype projects may lack it)STRING
LOWsrc/google/agents/cli/infra/cmd_cicd.py607 # Check if GitHub CLI has required scopes for the CI/CD runnerSTRING
LOWsrc/google/agents/cli/infra/_cicd_utils.py328 # Check if API is enabledCOMMENT
LOWsrc/google/agents/cli/infra/_cicd_utils.py414 # Display output if capturedCOMMENT
LOWsrc/google/agents/cli/infra/_cicd_utils.py542 # Check if repo existsCOMMENT
LOWsrc/google/agents/cli/infra/_cicd_utils.py620 # Check if bucket exists globallyCOMMENT
LOWsrc/google/agents/cli/deploy/agent_runtime.py437 # Set it to true if an agent without Agent Identity is being re-deployedCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py116 # Check if this is the ADK samples repositoryCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py135 # Check if this is the ADK samples repositoryCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py237 # Check if the error is related to branch not found (indicates it's likely a tag)COMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py319 # Check if agent.py exists in rootCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/template.py902 # Check if agent.py already exists and has root_agent definedCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/template.py1458 # Check if this is a flat structure templateSTRING
LOWsrc/google/agents/cli/scaffold/commands/create.py374 # Check if directory already existsCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py510 # Check if project would exist in output directoryCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py608 # Check if it's a remote template specificationCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py1539 # Check if running in Cloud Shell with no projectCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/enhance.py522 # Check if this directory might contain agent codeCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/upgrade.py346 # Check if upgrade is neededCOMMENT
Magic Placeholder Names4 hits · 22 pts
SeverityFileLineSnippetContext
HIGHskills/google-agents-cli-deploy/SKILL.md257echo -n "YOUR_API_KEY" | gcloud secrets create MY_SECRET_NAME --data-file=-CODE
HIGHsrc/google/agents/cli/auth.py56 click.secho(f' export {var_name}="YOUR_API_KEY"', bold=True)CODE
HIGH…ents/cli/skills/data/google-agents-cli-deploy/SKILL.md257echo -n "YOUR_API_KEY" | gcloud secrets create MY_SECRET_NAME --data-file=-CODE
HIGHsrc/google/agents/cli/scaffold/agents/adk_ts/README.md60# GEMINI_API_KEY=your-api-keyCOMMENT
Modern Structural Boilerplate22 hits · 22 pts
SeverityFileLineSnippetContext
LOWextensions/langchain/template/app/__init__.py5__all__ = ["root_agent"]CODE
LOW…tensions/langchain/template/app/app_utils/telemetry.py63def _setup_cloud_exporters() -> None:CODE
LOW…nsions/langchain/template/tests/load_test/load_test.py33logger = logging.getLogger(__name__)CODE
LOW…angchain/template/tests/integration/test_server_e2e.py47logger = logging.getLogger(__name__)CODE
LOWsrc/google/agents/cli/_agent_platform_types.py31__all__ = ["types"]CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py240def update_build_triggers(tf_dir: Path) -> None:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py686 def update_terraform_vars(self, project_dir: Path, is_dev: bool = False) -> None:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py40logger = logging.getLogger(__name__)CODE
LOWsrc/google/agents/cli/run/_local_server.py520def _update_activity(project_root: Path) -> None:CODE
LOW…/google/agents/cli/scaffold/agents/adk/app/__init__.py17__all__ = ["app"]CODE
LOW…oyment_targets/gke/python/tests/load_test/load_test.py29logger = logging.getLogger(__name__)CODE
LOW…argets/gke/python/tests/integration/test_server_e2e.py43logger = logging.getLogger(__name__)CODE
LOW…gets/agent_runtime/python/tests/load_test/load_test.py45logger = logging.getLogger(__name__)CODE
LOW…nt_runtime/python/tests/integration/test_server_e2e.py43logger = logging.getLogger(__name__)CODE
LOW…yment_targets/none/python/tests/load_test/load_test.py29logger = logging.getLogger(__name__)CODE
LOW…rgets/none/python/tests/integration/test_server_e2e.py43logger = logging.getLogger(__name__)CODE
LOW…_targets/cloud_run/python/tests/load_test/load_test.py29logger = logging.getLogger(__name__)CODE
LOW…/cloud_run/python/tests/integration/test_server_e2e.py43logger = logging.getLogger(__name__)CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py42__all__ = ["create"]CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1592def set_gcp_project(project_id: str, set_quota_project: bool = True) -> None:CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py739 def _update_metadata(proj_dir: pathlib.Path, lang: str) -> None:CODE
LOWsrc/google/agents/cli/scaffold/commands/upgrade.py377 def _update_version(proj_dir: pathlib.Path, lang: str) -> None:CODE
Self-Referential Comments8 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUMsrc/google/agents/cli/_runner.py275 # Create a shallow copy to avoid modifying the original list passed by referenceCOMMENT
MEDIUMsrc/google/agents/cli/_runner.py308 # Create a shallow copy to avoid modifying the original list passed by referenceCOMMENT
MEDIUMsrc/google/agents/cli/infra/_cicd_utils.py153 # Create a CompletedProcess-like object for compatibilityCOMMENT
MEDIUMsrc/google/agents/cli/infra/_cicd_utils.py679 # Create a meaningful default project name based on agent and deployment targetCOMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py1143 # Create a new temporary directory and use it as our working directorySTRING
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py1158 # Create the cookiecutter template structureSTRING
MEDIUM…_templates/_shared/deployment/terraform/cicd/github.tf223# Create the GitHub connection (fallback for manual Terraform usage)COMMENT
MEDIUMsrc/google/agents/cli/scaffold/commands/enhance.py433 # Create a mapping of choices to agent namesCOMMENT
Verbosity Indicators11 hits · 13 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/deploy/gke.py117 # Step 1: Targeted Terraform (local dev only)COMMENT
LOWsrc/google/agents/cli/deploy/gke.py138 # Step 2: Get cluster credentialsCOMMENT
LOW⚡src/google/agents/cli/deploy/gke.py155 # Step 3: Build and push container image (local dev only)COMMENT
LOW⚡src/google/agents/cli/deploy/gke.py161 # Step 4: Update container imageCOMMENT
LOWsrc/google/agents/cli/deploy/gke.py176 # Step 5: Inject runtime env vars (AGENT_VERSION, --update-env-vars, APP_URL).COMMENT
LOWsrc/google/agents/cli/deploy/gke.py234 # Step 6: Wait for rolloutCOMMENT
LOWsrc/google/agents/cli/deploy/gke.py252 # Step 7: Print summaryCOMMENT
LOW⚡src/google/agents/cli/publish/cmd_publish.py1395 # Step 1: Get Agent Runtime IDSTRING
LOW⚡src/google/agents/cli/publish/cmd_publish.py1447 # Step 3: Get display name and descriptionSTRING
LOW⚡src/google/agents/cli/publish/cmd_publish.py1456 # Step 4: Register as ADK agentSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1426 # Step 2: Get Gemini Enterprise App IDSTRING
Cross-Language Confusion3 hits · 12 pts
SeverityFileLineSnippetContext
HIGHsrc/google/agents/cli/extension/_schema.py56 """Let any optional property be null, matching how the loader reads YAML.STRING
HIGHsrc/google/agents/cli/extension/_overrides.py101 return f"set {DISABLE_OVERRIDES_ENV}=1 && agents-cli {display_path}"CODE
HIGHsrc/google/agents/cli/scaffold/commands/create.py1837 f" [bold bright_green]cd {cd_path} && agents-cli install && agents-cli playground[/]"CODE
AI Structural Patterns4 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/_runner.py55CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py257CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py1001CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py199CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…oogle-agents-cli-eval/references/builtin-tools-eval.md144 if not api_key or api_key == "dummy_key":CODE
LOW…oogle-agents-cli-eval/references/builtin-tools-eval.md144 if not api_key or api_key == "dummy_key":CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/deploy/agent_runtime.py1168 # so we can just use object.__new__ to create a dummy instance.COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/infra/cmd_cicd.py176 "\n💡 Tip: Don't forget to commit and push your changes to the repository!"CODE