Repository Analysis

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.

19.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google/agents-cli, a Python project with 5,108 GitHub stars. SynthScan v2.0 examined 56,426 lines of code across 288 source files, recording 692 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 19.2 places this repository in the Moderate AI signal band.

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

19.2
Adjusted Score
19.2
Raw Score
100%
Time Factor
2026-07-10
Last Push
5.1K
Stars
Python
Language
56.4K
Lines of Code
288
Files
692
Pattern Hits
2026-07-14
Scan Date
0.15
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 43MEDIUM 98LOW 551

Directory Score Breakdown

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

Pattern Findings

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

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

Decorative Section Separators64 hits · 216 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
MEDIUMsrc/google/agents/cli/_project.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/_project.py262# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py54# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/_paths.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/cmd_generate.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/eval/cmd_generate.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/run/_local_server.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/run/_local_server.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py558 # ── Compare ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py568 # ── Dependency merging ───────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py580 # ── Display ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py594 # ── Confirm ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py611 # ── Pre-apply hook (e.g. backup) ─────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py616 # ── Apply ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py633 # ── Post-apply hook (e.g. metadata update) ───────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/merge.py637 # ── Summary ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/language.py27# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/language.py29# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py39# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py41# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py45# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py71# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py73# =============================================================================COMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py80# =============================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf53# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf55# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf104# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf106# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf153# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf155# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf185# ====================================================================COMMENT
MEDIUM…ython/deployment/terraform/single-project/telemetry.tf187# ====================================================================COMMENT
MEDIUM…emplates/python/deployment/terraform/cicd/telemetry.tf58# ====================================================================COMMENT
MEDIUM…emplates/python/deployment/terraform/cicd/telemetry.tf60# ====================================================================COMMENT
MEDIUM…emplates/python/deployment/terraform/cicd/telemetry.tf113# ====================================================================COMMENT
MEDIUM…emplates/python/deployment/terraform/cicd/telemetry.tf115# ====================================================================COMMENT
4 more matches not shown…
Over-Commented Block199 hits · 197 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
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/_tools.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_agent_runtime_a2a.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/_experiments.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_skills_check.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/_trust.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/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/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_single_project.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/deploy/_operation.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/deploy/agent_runtime.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/deploy/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/deploy/_utils.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/setup/cmd_setup.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/setup/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/setup/cmd_auth.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/setup/cmd_update.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/setup/_antigravity.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/info/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/info/cmd_info.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/publish/cmd_publish_group.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/publish/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/publish/cmd_publish.py1#!/usr/bin/env python3COMMENT
LOWsrc/google/agents/cli/dev/cmd_playground.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/dev/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/dev/cmd_lint.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/dev/cmd_install.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_metric.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/optimize_utils.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_grade.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_optimize.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/_paths.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/_paths.py61COMMENT
LOWsrc/google/agents/cli/eval/cmd_generate.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/__init__.py21# time, and in-process commands (e.g. `eval grade`) import the SDK at moduleCOMMENT
LOWsrc/google/agents/cli/eval/cmd_submit.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_dataset.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/_synthesize_runner.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_analyze.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_run.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/eval_utils.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/cmd_compare.py1# Copyright 2026 Google LLCCOMMENT
LOWsrc/google/agents/cli/eval/_inference_runner.py1# Copyright 2026 Google LLCCOMMENT
139 more matches not shown…
Cross-File Repetition30 hits · 150 pts
SeverityFileLineSnippetContext
HIGH…ython/{{cookiecutter.agent_directory}}/fast_api_app.py0collect and log feedback. args: feedback: the feedback data to log returns: success messageSTRING
HIGH…ython/{{cookiecutter.agent_directory}}/fast_api_app.py0collect and log feedback. args: feedback: the feedback data to log returns: success messageSTRING
HIGH…ython/{{cookiecutter.agent_directory}}/fast_api_app.py0collect and log feedback. args: feedback: the feedback data to log returns: success messageSTRING
HIGH…ython/{{cookiecutter.agent_directory}}/fast_api_app.py0collect and log feedback. args: feedback: the feedback data to log returns: success messageSTRING
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 Wrapping106 hits · 110 pts
SeverityFileLineSnippetContext
LOW…google-agents-cli-deploy/references/batch-inference.md49 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/_tools.py206 except Exception:CODE
MEDIUMsrc/google/agents/cli/_tools.py203def _drain_stderr() -> None:CODE
LOWsrc/google/agents/cli/_click.py88 except Exception:CODE
LOWsrc/google/agents/cli/_experiments.py48 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/main.py71 except Exception:CODE
LOWsrc/google/agents/cli/_project.py209 except Exception:CODE
LOWsrc/google/agents/cli/_project.py255 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py213 except Exception:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py241 except Exception:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py703 except Exception as e:STRING
LOWsrc/google/agents/cli/infra/_cicd_utils.py254 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py339 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py450 except Exception:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py503 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py549 except Exception as e:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py692 except Exception as e:CODE
LOWsrc/google/agents/cli/setup/cmd_setup.py125 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py209 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py356 except Exception as auth_err:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py382 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py514 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py582 except Exception:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py638 except Exception as e:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py1555 except Exception as e:STRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1647 except Exception as e:STRING
LOWsrc/google/agents/cli/dev/cmd_install.py65 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py58 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py135 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py197 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_submit.py104 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_submit.py130 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_submit.py217 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py85 except Exception:CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py100 except Exception:CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py314 except Exception as exc:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py113 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py132 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py145 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py159 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py166 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py173 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/eval_utils.py72 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/eval_utils.py165 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/eval_utils.py253 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/eval_utils.py313 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/eval_utils.py329 except Exception as dump_err:CODE
LOWsrc/google/agents/cli/eval/eval_utils.py347 except Exception as e:CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py114 except Exception:CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py129 except Exception:CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py382 except Exception as exc:CODE
46 more matches not shown…
Hyper-Verbose Identifiers103 hits · 101 pts
SeverityFileLineSnippetContext
LOW…ls/google-agents-cli-adk-code/references/adk-python.md623async def generate_memories_callback(callback_context: CallbackContext):CODE
LOWsrc/google/agents/cli/main.py41def _print_is_project_moved_tip() -> None:CODE
LOWsrc/google/agents/cli/_project.py199def _find_legacy_project_root(start_dir: Path) -> Path | None:CODE
LOWsrc/google/agents/cli/_project.py299def require_deployment_target(cfg: ProjectConfig) -> None:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py133def prompt_gh_cli_installation() -> None:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py203def get_project_name_from_config() -> str | None:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py218def detect_region_from_terraform_vars() -> str | None:CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py271def prompt_for_repository_details(CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py454def handle_github_authentication(interactive: bool = True) -> None:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py160def _get_resource_name_from_operation(operation_name: str) -> str:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py171def write_deployment_metadata(CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py271def _missing_dockerfile_error(cfg: ProjectConfig) -> str:CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py710def _start_and_record_operation(CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py734def check_agent_runtime_operation(CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py59def _cloud_run_service_exists(*, project: str, region: str, service: str) -> bool:CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py80def _build_psc_interface_config(CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py163def _resolve_deploy_service_name(CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py226def _run_cloud_run_deploy_with_retry(args: list[str], *, project: str | None) -> None:CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py855def _build_image_with_cloud_build(*, image: str, project: str) -> None:CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1122def _list_agent_runtime_deployments(project: str | None, location: str) -> None:CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1169def _list_cloud_run_deployments(project: str | None, region: str | None) -> None:CODE
LOWsrc/google/agents/cli/setup/_antigravity.py177def link_skills_for_antigravity(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py74def get_sdk_version_from_lock_file() -> tuple[str | None, bool]:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py108def _print_sdk_compatibility_warning(current_version: str) -> None:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py167def check_and_upgrade_sdk_for_agent_runtime() -> bool:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py215def get_discovery_engine_endpoint(location: str) -> str:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py264def parse_gemini_enterprise_app_id(app_id: str) -> dict[str, str] | None:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py328def fetch_agent_card_from_url(url: str) -> dict | None:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py390def construct_agent_card_url_from_metadata(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py430def prompt_for_agent_card_url_with_auto_construct(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py488def get_agent_runtime_metadata(agent_runtime_id: str) -> tuple[str | None, str | None]:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py519def prompt_for_agent_runtime_id(default_from_metadata: str | None) -> str:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py589def list_gemini_enterprise_apps(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py646def prompt_for_gemini_enterprise_components(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py812def get_gemini_enterprise_console_url(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py1113def _list_gemini_enterprise_apps(project_id: str | None, interactive: bool) -> None:CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py1183def default_registration_type(CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py1330def register_gemini_enterprise(CODE
LOWsrc/google/agents/cli/eval/cmd_optimize.py45def _load_configs_and_datasets(CODE
LOWsrc/google/agents/cli/eval/cmd_optimize.py121def _execute_optimization_run(CODE
LOWsrc/google/agents/cli/eval/_paths.py90def timestamped_artifact_path(directory: Path, prefix: str, ext: str = "json") -> Path:CODE
LOWsrc/google/agents/cli/eval/_paths.py166def default_grade_results_dir(project_root: Path) -> Path:CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py90def _patch_eval_tool_introspection():CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py107def _final_response_from_invocations(invocations):CODE
LOWsrc/google/agents/cli/eval/eval_utils.py85def _resolve_custom_function_file(CODE
LOWsrc/google/agents/cli/eval/eval_utils.py297def save_evaluation_artifacts(CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py119def _patch_eval_tool_introspection():CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py190def _strip_thought_signatures(events):CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py212def _extract_new_events_from_partial(partial):CODE
LOWsrc/google/agents/cli/eval/_inference_runner.py236def _final_response_content_from_events(events):CODE
LOWsrc/google/agents/cli/run/_multimodal.py73def build_agent_runtime_message(message: str, files: tuple[str, ...] = ()) -> str | dict:CODE
LOWsrc/google/agents/cli/run/cmd_run.py379def _validate_agent_runtime_url(url: str) -> None:CODE
LOWsrc/google/agents/cli/run/cmd_run.py399def _is_raw_agent_runtime_url(url: str) -> bool:CODE
LOWsrc/google/agents/cli/run/cmd_run.py410def _parse_agent_runtime_service_url(service_url: str) -> tuple[str, str]:CODE
LOWsrc/google/agents/cli/run/cmd_run.py637def _create_agent_runtime_session(CODE
LOWsrc/google/agents/cli/scaffold/utils/generate_locks.py216def generate_typescript_lock_file() -> None:CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py127def check_and_execute_with_version_lock(CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py317def _infer_agent_directory_for_adk(CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py364def load_remote_template_config(CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py603def display_adk_caveat_if_needed(agents: dict[int, dict[str, Any]]) -> None:CODE
43 more matches not shown…
Modern AI Meta-Vocabulary22 hits · 56 pts
SeverityFileLineSnippetContext
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.md202 2. Run `agents-cli scaffold create … --agent adk --deployment-target agent_runtime` (RAG is a clone-and-study recipeCODE
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/guide/templates.md13> **RAG is not a template** — it's a clone-and-study recipe. See [RAG](#rag-retrieval-augmented-generation) below.CODE
MEDIUMdocs/src/guide/templates.md25## RAG (Retrieval-Augmented Generation)COMMENT
MEDIUMdocs/src/guide/quickstart-tutorial.md168- RAG — *"Build an agent that answers questions from our docs"* (clone-and-study a RAG sample — see [Agent Templates](teSTRING
MEDIUMdocs/src/guide/development.md30Choose your agent template (`adk`) and deployment target during creation. (RAG is a clone-and-study recipe — see [TemplaCODE
MEDIUMdocs/src/guide/use-cases.md119RAG is a clone-and-study recipe — see [Agent Templates](templates.md#rag-retrieval-augmented-generation) for the samplesCODE
MEDIUMdocs/src/javascripts/lifecycle.js27 * #lifecycle-anim-scaffold Interactive scaffold wizardCOMMENT
MEDIUMdocs/src/reference/skills.md42## `google-agents-cli-scaffold`COMMENT
MEDIUMskills/google-agents-cli-scaffold/references/flags.md3## `agents-cli scaffold create` FlagsCOMMENT
MEDIUMskills/google-agents-cli-scaffold/references/flags.md26## `agents-cli scaffold enhance` FlagsCOMMENT
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.md770# 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.md795manager = A2uiSchemaManager(...) # loads catalog(s) + few-shot examplesCODE
MEDIUMskills/google-agents-cli-workflow/SKILL.md133### Provision a datastore (RAG, if the agent uses one)COMMENT
MEDIUMskills/google-agents-cli-workflow/references/samples.md12git sparse-checkout add core/python/<sample> # RAG samples (see below)CODE
MEDIUMskills/google-agents-cli-workflow/references/samples.md18## RAG samples (`core/python/`)COMMENT
MEDIUMsrc/google/agents/cli/deploy/_utils.py37# agent-specific, so 8 keeps a RAG/large-context agent inside 4Gi. Lighter agentsCOMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/upgrade.py64 # Everything else is "scaffolding" (3-way compare)COMMENT
MEDIUMsrc/google/agents/cli/data/_recipe.py17# RAG moved out of the built-in templates into clone-and-study samples. DatastoreCOMMENT
Docstring Block Structure9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHsrc/google/agents/cli/_runner.py179Wrapper around subprocess.run with optional executable resolution. Args: args: Command and arguments as a lSTRING
HIGHsrc/google/agents/cli/_runner.py208Wrapper around subprocess.Popen with optional executable resolution. Args: args: Command and arguments as aSTRING
HIGHsrc/google/agents/cli/_runner.py237Wrapper around subprocess.Popen for launching detached background processes. Handles cross-platform differences forSTRING
HIGHsrc/google/agents/cli/publish/cmd_publish.py216Get the appropriate Discovery Engine API endpoint for the given location. Args: location: The location/regiSTRING
HIGHsrc/google/agents/cli/publish/cmd_publish.py939Register 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.py1024Register 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.py66Create a backup of the project directory. Backs up to ~/.agents-cli/backups/<project-name>_<timestamp>/. Args:STRING
HIGHsrc/google/agents/cli/scaffold/utils/gcp.py200Verify credentials and Vertex AI connection. Uses google.auth + requests for lightweight verification. Args: STRING
HIGHsrc/google/agents/cli/scaffold/utils/gcp.py278Get project number from project ID using Resource Manager API. Args: project_id: GCP project ID ReturnSTRING
Deep Nesting51 hits · 43 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/_runner.py47CODE
LOWsrc/google/agents/cli/_project.py199CODE
LOWsrc/google/agents/cli/_project.py232CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py73CODE
LOWsrc/google/agents/cli/infra/cmd_cicd.py496CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py92CODE
LOWsrc/google/agents/cli/deploy/cmd_deploy.py428CODE
LOWsrc/google/agents/cli/setup/cmd_setup.py78CODE
LOWsrc/google/agents/cli/setup/cmd_setup.py179CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py390CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py646CODE
LOWsrc/google/agents/cli/publish/cmd_publish.py1330CODE
LOWsrc/google/agents/cli/eval/optimize_utils.py26CODE
LOWsrc/google/agents/cli/eval/cmd_grade.py41CODE
LOWsrc/google/agents/cli/eval/cmd_optimize.py45CODE
LOWsrc/google/agents/cli/eval/cmd_optimize.py121CODE
LOWsrc/google/agents/cli/eval/cmd_submit.py156CODE
LOWsrc/google/agents/cli/eval/_synthesize_runner.py135CODE
LOWsrc/google/agents/cli/eval/eval_utils.py171CODE
LOWsrc/google/agents/cli/run/_local_server.py60CODE
LOWsrc/google/agents/cli/run/_local_server.py256CODE
LOWsrc/google/agents/cli/run/_local_server.py389CODE
LOWsrc/google/agents/cli/run/cmd_run.py766CODE
LOWsrc/google/agents/cli/run/cmd_run.py842CODE
LOWsrc/google/agents/cli/scaffold/utils/merge.py210CODE
LOWsrc/google/agents/cli/scaffold/utils/merge.py282CODE
LOWsrc/google/agents/cli/scaffold/utils/merge.py389CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py364CODE
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py622CODE
LOWsrc/google/agents/cli/scaffold/utils/upgrade.py331CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py96CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py144CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py383CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py690CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py877CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py922CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py1550CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py1689CODE
LOWsrc/google/agents/cli/scaffold/utils/gcp.py111CODE
LOWsrc/google/agents/cli/scaffold/utils/gcp.py196CODE
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.py270CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1062CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1337CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py90CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py474CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py585CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py839CODE
Redundant / Tautological Comments22 hits · 30 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.py572 # Check if Terraform structure exists (prototype projects may lack it)STRING
LOWsrc/google/agents/cli/infra/cmd_cicd.py626 # Check if GitHub CLI has required scopes for the CI/CD runnerSTRING
LOWsrc/google/agents/cli/infra/_cicd_utils.py321 # Check if API is enabledCOMMENT
LOWsrc/google/agents/cli/infra/_cicd_utils.py397 # Display output if capturedCOMMENT
LOWsrc/google/agents/cli/infra/_cicd_utils.py516 # Check if repo existsCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py95 # Check if this is the ADK samples repositoryCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py114 # Check if this is the ADK samples repositoryCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/remote_template.py217 # 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.py296 # Check if agent.py exists in rootCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/template.py824 # Check if agent.py already exists and has root_agent definedCOMMENT
LOWsrc/google/agents/cli/scaffold/utils/template.py1328 # Check if this is a flat structure templateSTRING
LOWsrc/google/agents/cli/scaffold/commands/create.py969 # Check if the agent has a 'dev' command in its settingsCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py324 # Check if directory already existsCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py416 # Check if project would exist in output directoryCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py472 # Check if it's a remote template specificationCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py553 # Set agent to the returned spec for remote processingCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/create.py1284 # Check if running in Cloud Shell with no projectCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/enhance.py525 # Check if this directory might contain agent codeCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/upgrade.py137 # Check if upgrade is neededCOMMENT
LOWsrc/google/agents/cli/scaffold/commands/upgrade.py144 # Check if uvx is available for re-templating old versionCOMMENT
Structural Annotation Overuse19 hits · 28 pts
SeverityFileLineSnippetContext
LOWskills/google-agents-cli-scaffold/SKILL.md36## Step 1: Choose ArchitectureCOMMENT
LOWskills/google-agents-cli-scaffold/SKILL.md59## Step 2: Create or Enhance the ProjectCOMMENT
LOWskills/google-agents-cli-scaffold/SKILL.md147# Step 1: Create a prototypeCOMMENT
LOWskills/google-agents-cli-scaffold/SKILL.md150# Step 2: Iterate on the agent code...COMMENT
LOWskills/google-agents-cli-scaffold/SKILL.md152# Step 3: Add deployment when readyCOMMENT
LOWskills/google-agents-cli-scaffold/SKILL.md162## Step 3: Load Dev WorkflowCOMMENT
LOW…gents-cli-deploy/references/testing-deployed-agents.md66# Step 1: Create a session (required before sending messages)COMMENT
LOW…gents-cli-deploy/references/testing-deployed-agents.md73# Step 2: Send a message via SSE streamingCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1018 # Step 3: Build and push container image (local dev only)COMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1024 # Step 4: Update container imageCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py983 # Step 1: Targeted Terraform (local dev only)COMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1002 # Step 2: Get cluster credentialsCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1039 # Step 5: Inject runtime env vars (AGENT_VERSION, --update-env-vars, APP_URL).COMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1087 # Step 6: Wait for rolloutCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1101 # Step 7: Print summaryCOMMENT
LOWsrc/google/agents/cli/publish/cmd_publish.py1619 # Step 3: Get display name and descriptionSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1628 # Step 4: Register as ADK agentSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1567 # Step 1: Get Agent Runtime IDSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1598 # Step 2: Get Gemini Enterprise App IDSTRING
Self-Referential Comments10 hits · 25 pts
SeverityFileLineSnippetContext
MEDIUMsrc/google/agents/cli/_runner.py198 # Create a shallow copy to avoid modifying the original list passed by referenceCOMMENT
MEDIUMsrc/google/agents/cli/_runner.py227 # Create a shallow copy to avoid modifying the original list passed by referenceCOMMENT
MEDIUMsrc/google/agents/cli/infra/_cicd_utils.py140 # Create a CompletedProcess-like object for compatibilityCOMMENT
MEDIUMsrc/google/agents/cli/infra/_cicd_utils.py568 # Create a meaningful default project name based on agent and deployment targetCOMMENT
MEDIUMsrc/google/agents/cli/run/cmd_run.py582 # Create a new sessionCOMMENT
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py1047 # Create a new temporary directory and use it as our working directorySTRING
MEDIUMsrc/google/agents/cli/scaffold/utils/template.py1062 # Create the cookiecutter template structureSTRING
MEDIUM…_templates/_shared/deployment/terraform/cicd/github.tf219# Create the GitHub connection (fallback for manual Terraform usage)COMMENT
MEDIUMsrc/google/agents/cli/scaffold/commands/create.py444 # Create a temporary directory and copy the local template to itCOMMENT
MEDIUMsrc/google/agents/cli/scaffold/commands/enhance.py440 # Create a mapping of choices to agent namesCOMMENT
Unused Imports19 hits · 19 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/_agent_runtime_a2a.py23CODE
LOWsrc/google/agents/cli/_click.py17CODE
LOWsrc/google/agents/cli/_skills_check.py17CODE
LOWsrc/google/agents/cli/_project.py17CODE
LOWsrc/google/agents/cli/deploy/_operation.py22CODE
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/eval/_paths.py46CODE
LOWsrc/google/agents/cli/eval/cmd_generate.py17CODE
LOWsrc/google/agents/cli/eval/cmd_dataset.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/cmd_run.py17CODE
LOW…/google/agents/cli/scaffold/agents/adk/app/__init__.py15CODE
LOWsrc/google/agents/cli/scaffold/utils/command.py17CODE
LOWsrc/google/agents/cli/scaffold/utils/gcp.py15CODE
Magic Placeholder Names3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHskills/google-agents-cli-deploy/SKILL.md244echo -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…gents/cli/scaffold/base_templates/typescript/README.md59# GEMINI_API_KEY=your-api-keyCOMMENT
Modern Structural Boilerplate17 hits · 18 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/infra/cmd_cicd.py246def update_build_triggers(tf_dir: Path) -> None:CODE
LOWsrc/google/agents/cli/infra/_cicd_utils.py575 def update_terraform_vars(self, project_dir: Path, is_dev: bool = False) -> None:CODE
LOWsrc/google/agents/cli/eval/cmd_analyze.py39logger = logging.getLogger(__name__)CODE
LOWsrc/google/agents/cli/run/_local_server.py355def _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.py41logger = 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.py41logger = 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.py41logger = 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.py41logger = logging.getLogger(__name__)CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py1174def set_gcp_project(project_id: str, set_quota_project: bool = True) -> None:CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py49__all__ = ["create", "shared_template_options"]CODE
LOWsrc/google/agents/cli/scaffold/commands/enhance.py756 def _update_metadata(proj_dir: pathlib.Path, lang: str) -> None:CODE
LOWsrc/google/agents/cli/scaffold/commands/upgrade.py162 def _update_version(proj_dir: pathlib.Path, lang: str) -> None:CODE
Verbosity Indicators11 hits · 13 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1018 # Step 3: Build and push container image (local dev only)COMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1024 # Step 4: Update container imageCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py983 # Step 1: Targeted Terraform (local dev only)COMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1002 # Step 2: Get cluster credentialsCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1039 # Step 5: Inject runtime env vars (AGENT_VERSION, --update-env-vars, APP_URL).COMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1087 # Step 6: Wait for rolloutCOMMENT
LOWsrc/google/agents/cli/deploy/cmd_deploy.py1101 # Step 7: Print summaryCOMMENT
LOWsrc/google/agents/cli/publish/cmd_publish.py1619 # Step 3: Get display name and descriptionSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1628 # Step 4: Register as ADK agentSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1567 # Step 1: Get Agent Runtime IDSTRING
LOWsrc/google/agents/cli/publish/cmd_publish.py1598 # Step 2: Get Gemini Enterprise App IDSTRING
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/google/agents/cli/scaffold/commands/create.py973 f" [bold bright_green]cd {cd_path} && agents-cli install && agents-cli playground[/]"CODE
AI Structural Patterns4 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/_runner.py47CODE
LOWsrc/google/agents/cli/deploy/agent_runtime.py352CODE
LOWsrc/google/agents/cli/scaffold/utils/template.py922CODE
LOWsrc/google/agents/cli/scaffold/commands/create.py270CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…oogle-agents-cli-eval/references/builtin-tools-eval.md142 if not api_key or api_key == "dummy_key":CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/google/agents/cli/infra/cmd_cicd.py182 "\n💡 Tip: Don't forget to commit and push your changes to the repository!"CODE