The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/src/javascripts/lifecycle.js | 64 | // ── Lazy: only fire when the element scrolls into view ────────────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 115 | // ─────────────────────────────────────────── 1. TRANSCRIPT ────────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 207 | // ─────────────────────────────────────────── 2. LIFECYCLE LOOP ────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 287 | // ─────────────────────────────────────────── 5b. FAILURE MUSEUM ───────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 350 | // ─────────────────────────────────────────── 3. SCAFFOLD WIZARD ───────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 472 | // ─────────────────────────────────────────── 4. TEAM DIAGRAM ──────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 641 | // ─────────────────────────────────────────── 5. EVAL-FIX LOOP ─────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 835 | // ─────────────────────────────────────────── 6. TRACE WATERFALL ───────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 984 | // ─────────────────────────────────────────── 7. MODEL COMPARE ─────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 1050 | // ─────────────────────────────────────────── 8. INLINE PLAYGROUND ─────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 1129 | // ─────────────────────────────────────────── 9. DEPLOY TARGETS ────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 1224 | // ─────────────────────────────────────────── 10. PUBLISH CARD ─────────── | COMMENT |
| MEDIUM | docs/src/javascripts/lifecycle.js | 1254 | // ─────────────────────────────────────────── 11. ROLLING EVAL ─────────── | COMMENT |
| MEDIUM | src/google/agents/cli/auth.py | 76 | # ── Google Cloud (ADC) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/auth.py | 217 | # ── Gemini API Key ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/auth.py | 256 | # ── Express Mode ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/auth.py | 377 | # ── Shared Helpers ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/auth.py | 442 | # ── Token Helpers ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/_project.py | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/_project.py | 262 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 58 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 60 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 77 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/eval/_paths.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/google/agents/cli/eval/cmd_generate.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/google/agents/cli/eval/cmd_generate.py | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/google/agents/cli/run/_local_server.py | 145 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/google/agents/cli/run/_local_server.py | 147 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 558 | # ── Compare ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 568 | # ── Dependency merging ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 580 | # ── Display ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 594 | # ── Confirm ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 611 | # ── Pre-apply hook (e.g. backup) ───────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 616 | # ── Apply ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 633 | # ── Post-apply hook (e.g. metadata update) ─────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/merge.py | 637 | # ── Summary ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/language.py | 27 | # ============================================================================= | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/language.py | 29 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/scaffold/utils/template.py | 39 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/scaffold/utils/template.py | 41 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/scaffold/utils/template.py | 45 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/scaffold/utils/template.py | 71 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/scaffold/utils/template.py | 73 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | src/google/agents/cli/scaffold/utils/template.py | 80 | # ============================================================================= | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 53 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 55 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 104 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 106 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 153 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 155 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 185 | # ==================================================================== | COMMENT |
| MEDIUM | …ython/deployment/terraform/single-project/telemetry.tf | 187 | # ==================================================================== | COMMENT |
| MEDIUM | …emplates/python/deployment/terraform/cicd/telemetry.tf | 58 | # ==================================================================== | COMMENT |
| MEDIUM | …emplates/python/deployment/terraform/cicd/telemetry.tf | 60 | # ==================================================================== | COMMENT |
| MEDIUM | …emplates/python/deployment/terraform/cicd/telemetry.tf | 113 | # ==================================================================== | COMMENT |
| MEDIUM | …emplates/python/deployment/terraform/cicd/telemetry.tf | 115 | # ==================================================================== | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/mkdocs.yml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | docs/pyproject.toml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | docs/hooks/skills_reference.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | .github/workflows/docs.yml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/feature_request.yml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_output.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/auth.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_tools.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_agent_runtime_a2a.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_click.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_experiments.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_skills_check.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_trust.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/main.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_runner.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/_project.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/infra/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/infra/cmd_datastore.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/infra/cmd_infra.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/infra/cmd_infra_single_project.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/deploy/_operation.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/deploy/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/deploy/_utils.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/setup/cmd_setup.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/setup/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/setup/cmd_auth.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/setup/cmd_update.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/setup/_antigravity.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/info/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/info/cmd_info.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/publish/cmd_publish_group.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/publish/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | src/google/agents/cli/dev/cmd_playground.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/dev/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/dev/cmd_lint.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/dev/cmd_install.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_metric.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/optimize_utils.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_grade.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_optimize.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/_paths.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/_paths.py | 61 | COMMENT | |
| LOW | src/google/agents/cli/eval/cmd_generate.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/__init__.py | 21 | # time, and in-process commands (e.g. `eval grade`) import the SDK at module | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_submit.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_dataset.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/_synthesize_runner.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_analyze.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_run.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/eval_utils.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/cmd_compare.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | src/google/agents/cli/eval/_inference_runner.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ython/{{cookiecutter.agent_directory}}/fast_api_app.py | 0 | collect and log feedback. args: feedback: the feedback data to log returns: success message | STRING |
| HIGH | …ython/{{cookiecutter.agent_directory}}/fast_api_app.py | 0 | collect and log feedback. args: feedback: the feedback data to log returns: success message | STRING |
| HIGH | …ython/{{cookiecutter.agent_directory}}/fast_api_app.py | 0 | collect and log feedback. args: feedback: the feedback data to log returns: success message | STRING |
| HIGH | …ython/{{cookiecutter.agent_directory}}/fast_api_app.py | 0 | collect and log feedback. args: feedback: the feedback data to log returns: success message | STRING |
| HIGH | …oyment_targets/gke/python/tests/load_test/load_test.py | 0 | simulates a user interacting with the chat stream api. | STRING |
| HIGH | …yment_targets/none/python/tests/load_test/load_test.py | 0 | simulates a user interacting with the chat stream api. | STRING |
| HIGH | …_targets/cloud_run/python/tests/load_test/load_test.py | 0 | simulates a user interacting with the chat stream api. | STRING |
| HIGH | …argets/gke/python/tests/integration/test_server_e2e.py | 0 | start the fastapi server using subprocess and log its output. | STRING |
| HIGH | …nt_runtime/python/tests/integration/test_server_e2e.py | 0 | start the fastapi server using subprocess and log its output. | STRING |
| HIGH | …rgets/none/python/tests/integration/test_server_e2e.py | 0 | start the fastapi server using subprocess and log its output. | STRING |
| HIGH | …/cloud_run/python/tests/integration/test_server_e2e.py | 0 | start the fastapi server using subprocess and log its output. | STRING |
| HIGH | …argets/gke/python/tests/integration/test_server_e2e.py | 0 | wait for the server to be ready (agent card requires the lifespan to run). | STRING |
| HIGH | …nt_runtime/python/tests/integration/test_server_e2e.py | 0 | wait for the server to be ready (agent card requires the lifespan to run). | STRING |
| HIGH | …rgets/none/python/tests/integration/test_server_e2e.py | 0 | wait for the server to be ready (agent card requires the lifespan to run). | STRING |
| HIGH | …/cloud_run/python/tests/integration/test_server_e2e.py | 0 | wait for the server to be ready (agent card requires the lifespan to run). | STRING |
| HIGH | …argets/gke/python/tests/integration/test_server_e2e.py | 0 | pytest fixture to start and stop the server for testing. | STRING |
| HIGH | …nt_runtime/python/tests/integration/test_server_e2e.py | 0 | pytest fixture to start and stop the server for testing. | STRING |
| HIGH | …rgets/none/python/tests/integration/test_server_e2e.py | 0 | pytest fixture to start and stop the server for testing. | STRING |
| HIGH | …/cloud_run/python/tests/integration/test_server_e2e.py | 0 | pytest fixture to start and stop the server for testing. | STRING |
| HIGH | …argets/gke/python/tests/integration/test_server_e2e.py | 0 | test the a2a route using the json-rpc streaming protocol. | STRING |
| HIGH | …nt_runtime/python/tests/integration/test_server_e2e.py | 0 | test the a2a route using the json-rpc streaming protocol. | STRING |
| HIGH | …rgets/none/python/tests/integration/test_server_e2e.py | 0 | test the a2a route using the json-rpc streaming protocol. | STRING |
| HIGH | …/cloud_run/python/tests/integration/test_server_e2e.py | 0 | test the a2a route using the json-rpc streaming protocol. | STRING |
| HIGH | …argets/gke/python/tests/integration/test_server_e2e.py | 0 | test that the a2a agent card is served at the well-known uri. | STRING |
| HIGH | …nt_runtime/python/tests/integration/test_server_e2e.py | 0 | test that the a2a agent card is served at the well-known uri. | STRING |
| HIGH | …rgets/none/python/tests/integration/test_server_e2e.py | 0 | test that the a2a agent card is served at the well-known uri. | STRING |
| HIGH | …/cloud_run/python/tests/integration/test_server_e2e.py | 0 | test that the a2a agent card is served at the well-known uri. | STRING |
| HIGH | …argets/gke/python/tests/integration/test_server_e2e.py | 0 | cleanup agent engine sessions created during tests. | STRING |
| HIGH | …rgets/none/python/tests/integration/test_server_e2e.py | 0 | cleanup agent engine sessions created during tests. | STRING |
| HIGH | …/cloud_run/python/tests/integration/test_server_e2e.py | 0 | cleanup agent engine sessions created during tests. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …google-agents-cli-deploy/references/batch-inference.md | 49 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/auth.py | 186 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/auth.py | 212 | except Exception: | CODE |
| LOW | src/google/agents/cli/auth.py | 354 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/auth.py | 427 | except Exception: | CODE |
| LOW | src/google/agents/cli/auth.py | 438 | except Exception: | CODE |
| LOW | src/google/agents/cli/auth.py | 463 | except Exception: | CODE |
| LOW | src/google/agents/cli/auth.py | 473 | except Exception as exc: | CODE |
| LOW | src/google/agents/cli/_tools.py | 206 | except Exception: | CODE |
| MEDIUM | src/google/agents/cli/_tools.py | 203 | def _drain_stderr() -> None: | CODE |
| LOW | src/google/agents/cli/_click.py | 88 | except Exception: | CODE |
| LOW | src/google/agents/cli/_experiments.py | 48 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/_skills_check.py | 104 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/_skills_check.py | 155 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/main.py | 71 | except Exception: | CODE |
| LOW | src/google/agents/cli/_project.py | 209 | except Exception: | CODE |
| LOW⚡ | src/google/agents/cli/_project.py | 255 | except Exception as e: | CODE |
| LOW⚡ | src/google/agents/cli/infra/cmd_cicd.py | 213 | except Exception: | CODE |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 241 | except Exception: | CODE |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 703 | except Exception as e: | STRING |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 254 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 339 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 450 | except Exception: | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 503 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 549 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 692 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/setup/cmd_setup.py | 125 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 209 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 356 | except Exception as auth_err: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 382 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 514 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 582 | except Exception: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 638 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1555 | except Exception as e: | STRING |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1647 | except Exception as e: | STRING |
| LOW | src/google/agents/cli/dev/cmd_install.py | 65 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_grade.py | 58 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_grade.py | 135 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_grade.py | 197 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_submit.py | 104 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_submit.py | 130 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_submit.py | 217 | except Exception as e: | CODE |
| LOW⚡ | src/google/agents/cli/eval/_synthesize_runner.py | 85 | except Exception: | CODE |
| LOW⚡ | src/google/agents/cli/eval/_synthesize_runner.py | 100 | except Exception: | CODE |
| LOW | src/google/agents/cli/eval/_synthesize_runner.py | 314 | except Exception as exc: | CODE |
| LOW | src/google/agents/cli/eval/cmd_analyze.py | 113 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_analyze.py | 132 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/cmd_analyze.py | 145 | except Exception as e: | CODE |
| LOW⚡ | src/google/agents/cli/eval/cmd_analyze.py | 159 | except Exception as e: | CODE |
| LOW⚡ | src/google/agents/cli/eval/cmd_analyze.py | 166 | except Exception as e: | CODE |
| LOW⚡ | src/google/agents/cli/eval/cmd_analyze.py | 173 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 72 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 165 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 253 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 313 | except Exception as e: | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 329 | except Exception as dump_err: | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 347 | except Exception as e: | CODE |
| LOW⚡ | src/google/agents/cli/eval/_inference_runner.py | 114 | except Exception: | CODE |
| LOW⚡ | src/google/agents/cli/eval/_inference_runner.py | 129 | except Exception: | CODE |
| LOW | src/google/agents/cli/eval/_inference_runner.py | 382 | except Exception as exc: | CODE |
| 46 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ls/google-agents-cli-adk-code/references/adk-python.md | 623 | async def generate_memories_callback(callback_context: CallbackContext): | CODE |
| LOW | src/google/agents/cli/main.py | 41 | def _print_is_project_moved_tip() -> None: | CODE |
| LOW | src/google/agents/cli/_project.py | 199 | def _find_legacy_project_root(start_dir: Path) -> Path | None: | CODE |
| LOW | src/google/agents/cli/_project.py | 299 | def require_deployment_target(cfg: ProjectConfig) -> None: | CODE |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 133 | def prompt_gh_cli_installation() -> None: | CODE |
| LOW⚡ | src/google/agents/cli/infra/cmd_cicd.py | 203 | def get_project_name_from_config() -> str | None: | CODE |
| LOW⚡ | src/google/agents/cli/infra/cmd_cicd.py | 218 | def detect_region_from_terraform_vars() -> str | None: | CODE |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 271 | def prompt_for_repository_details( | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 454 | def handle_github_authentication(interactive: bool = True) -> None: | CODE |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 160 | def _get_resource_name_from_operation(operation_name: str) -> str: | CODE |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 171 | def write_deployment_metadata( | CODE |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 271 | def _missing_dockerfile_error(cfg: ProjectConfig) -> str: | CODE |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 710 | def _start_and_record_operation( | CODE |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 734 | def check_agent_runtime_operation( | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 59 | def _cloud_run_service_exists(*, project: str, region: str, service: str) -> bool: | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 80 | def _build_psc_interface_config( | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 163 | def _resolve_deploy_service_name( | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 226 | def _run_cloud_run_deploy_with_retry(args: list[str], *, project: str | None) -> None: | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 855 | def _build_image_with_cloud_build(*, image: str, project: str) -> None: | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1122 | def _list_agent_runtime_deployments(project: str | None, location: str) -> None: | CODE |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1169 | def _list_cloud_run_deployments(project: str | None, region: str | None) -> None: | CODE |
| LOW | src/google/agents/cli/setup/_antigravity.py | 177 | def link_skills_for_antigravity( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 74 | def get_sdk_version_from_lock_file() -> tuple[str | None, bool]: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 108 | def _print_sdk_compatibility_warning(current_version: str) -> None: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 167 | def check_and_upgrade_sdk_for_agent_runtime() -> bool: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 215 | def get_discovery_engine_endpoint(location: str) -> str: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 264 | def parse_gemini_enterprise_app_id(app_id: str) -> dict[str, str] | None: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 328 | def fetch_agent_card_from_url(url: str) -> dict | None: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 390 | def construct_agent_card_url_from_metadata( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 430 | def prompt_for_agent_card_url_with_auto_construct( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 488 | def get_agent_runtime_metadata(agent_runtime_id: str) -> tuple[str | None, str | None]: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 519 | def prompt_for_agent_runtime_id(default_from_metadata: str | None) -> str: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 589 | def list_gemini_enterprise_apps( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 646 | def prompt_for_gemini_enterprise_components( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 812 | def get_gemini_enterprise_console_url( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1113 | def _list_gemini_enterprise_apps(project_id: str | None, interactive: bool) -> None: | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1183 | def default_registration_type( | CODE |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1330 | def register_gemini_enterprise( | CODE |
| LOW | src/google/agents/cli/eval/cmd_optimize.py | 45 | def _load_configs_and_datasets( | CODE |
| LOW | src/google/agents/cli/eval/cmd_optimize.py | 121 | def _execute_optimization_run( | CODE |
| LOW | src/google/agents/cli/eval/_paths.py | 90 | def timestamped_artifact_path(directory: Path, prefix: str, ext: str = "json") -> Path: | CODE |
| LOW | src/google/agents/cli/eval/_paths.py | 166 | def default_grade_results_dir(project_root: Path) -> Path: | CODE |
| LOW⚡ | src/google/agents/cli/eval/_synthesize_runner.py | 90 | def _patch_eval_tool_introspection(): | CODE |
| LOW⚡ | src/google/agents/cli/eval/_synthesize_runner.py | 107 | def _final_response_from_invocations(invocations): | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 85 | def _resolve_custom_function_file( | CODE |
| LOW | src/google/agents/cli/eval/eval_utils.py | 297 | def save_evaluation_artifacts( | CODE |
| LOW⚡ | src/google/agents/cli/eval/_inference_runner.py | 119 | def _patch_eval_tool_introspection(): | CODE |
| LOW | src/google/agents/cli/eval/_inference_runner.py | 190 | def _strip_thought_signatures(events): | CODE |
| LOW | src/google/agents/cli/eval/_inference_runner.py | 212 | def _extract_new_events_from_partial(partial): | CODE |
| LOW | src/google/agents/cli/eval/_inference_runner.py | 236 | def _final_response_content_from_events(events): | CODE |
| LOW | src/google/agents/cli/run/_multimodal.py | 73 | def build_agent_runtime_message(message: str, files: tuple[str, ...] = ()) -> str | dict: | CODE |
| LOW | src/google/agents/cli/run/cmd_run.py | 379 | def _validate_agent_runtime_url(url: str) -> None: | CODE |
| LOW | src/google/agents/cli/run/cmd_run.py | 399 | def _is_raw_agent_runtime_url(url: str) -> bool: | CODE |
| LOW | src/google/agents/cli/run/cmd_run.py | 410 | def _parse_agent_runtime_service_url(service_url: str) -> tuple[str, str]: | CODE |
| LOW | src/google/agents/cli/run/cmd_run.py | 637 | def _create_agent_runtime_session( | CODE |
| LOW | src/google/agents/cli/scaffold/utils/generate_locks.py | 216 | def generate_typescript_lock_file() -> None: | CODE |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 127 | def check_and_execute_with_version_lock( | CODE |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 317 | def _infer_agent_directory_for_adk( | CODE |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 364 | def load_remote_template_config( | CODE |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 603 | def display_adk_caveat_if_needed(agents: dict[int, dict[str, Any]]) -> None: | CODE |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/src/guide/lifecycle.md | 129 | When the team needs to span processes — or call agents your team doesn't own — use the **[A2A protocol](https://a2a-prot | CODE |
| MEDIUM | docs/src/guide/lifecycle.md | 202 | 2. Run `agents-cli scaffold create … --agent adk --deployment-target agent_runtime` (RAG is a clone-and-study recipe | CODE |
| MEDIUM | docs/src/guide/lifecycle.md | 214 | # Phase 1: scaffold | COMMENT |
| MEDIUM | docs/src/guide/lifecycle.md | 222 | # Phase 2-3: build & orchestrate (edit app/agent.py) | COMMENT |
| MEDIUM | docs/src/guide/templates.md | 13 | > **RAG is not a template** — it's a clone-and-study recipe. See [RAG](#rag-retrieval-augmented-generation) below. | CODE |
| MEDIUM | docs/src/guide/templates.md | 25 | ## RAG (Retrieval-Augmented Generation) | COMMENT |
| MEDIUM | docs/src/guide/quickstart-tutorial.md | 168 | - RAG — *"Build an agent that answers questions from our docs"* (clone-and-study a RAG sample — see [Agent Templates](te | STRING |
| MEDIUM | docs/src/guide/development.md | 30 | Choose your agent template (`adk`) and deployment target during creation. (RAG is a clone-and-study recipe — see [Templa | CODE |
| MEDIUM | docs/src/guide/use-cases.md | 119 | RAG is a clone-and-study recipe — see [Agent Templates](templates.md#rag-retrieval-augmented-generation) for the samples | CODE |
| MEDIUM | docs/src/javascripts/lifecycle.js | 27 | * #lifecycle-anim-scaffold Interactive scaffold wizard | COMMENT |
| MEDIUM | docs/src/reference/skills.md | 42 | ## `google-agents-cli-scaffold` | COMMENT |
| MEDIUM | skills/google-agents-cli-scaffold/references/flags.md | 3 | ## `agents-cli scaffold create` Flags | COMMENT |
| MEDIUM | skills/google-agents-cli-scaffold/references/flags.md | 26 | ## `agents-cli scaffold enhance` Flags | COMMENT |
| MEDIUM | …ls/google-agents-cli-adk-code/references/adk-python.md | 49 | description="Provides weather information.", # Important for multi-agent delegation | CODE |
| MEDIUM | …ls/google-agents-cli-adk-code/references/adk-python.md | 770 | # 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.md | 795 | manager = A2uiSchemaManager(...) # loads catalog(s) + few-shot examples | CODE |
| MEDIUM | skills/google-agents-cli-workflow/SKILL.md | 133 | ### Provision a datastore (RAG, if the agent uses one) | COMMENT |
| MEDIUM | skills/google-agents-cli-workflow/references/samples.md | 12 | git sparse-checkout add core/python/<sample> # RAG samples (see below) | CODE |
| MEDIUM | skills/google-agents-cli-workflow/references/samples.md | 18 | ## RAG samples (`core/python/`) | COMMENT |
| MEDIUM | src/google/agents/cli/deploy/_utils.py | 37 | # agent-specific, so 8 keeps a RAG/large-context agent inside 4Gi. Lighter agents | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/upgrade.py | 64 | # Everything else is "scaffolding" (3-way compare) | COMMENT |
| MEDIUM | src/google/agents/cli/data/_recipe.py | 17 | # RAG moved out of the built-in templates into clone-and-study samples. Datastore | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/google/agents/cli/_runner.py | 179 | Wrapper around subprocess.run with optional executable resolution. Args: args: Command and arguments as a l | STRING |
| HIGH | src/google/agents/cli/_runner.py | 208 | Wrapper around subprocess.Popen with optional executable resolution. Args: args: Command and arguments as a | STRING |
| HIGH | src/google/agents/cli/_runner.py | 237 | Wrapper around subprocess.Popen for launching detached background processes. Handles cross-platform differences for | STRING |
| HIGH | src/google/agents/cli/publish/cmd_publish.py | 216 | Get the appropriate Discovery Engine API endpoint for the given location. Args: location: The location/regi | STRING |
| HIGH | src/google/agents/cli/publish/cmd_publish.py | 939 | Register an A2A agent to Gemini Enterprise, updating in place if it exists. Looks up an existing registration for t | STRING |
| HIGH | src/google/agents/cli/publish/cmd_publish.py | 1024 | Register an agent engine to Gemini Enterprise, updating in place if it exists. Looks up an existing registration fo | STRING |
| HIGH | src/google/agents/cli/scaffold/utils/backup.py | 66 | Create a backup of the project directory. Backs up to ~/.agents-cli/backups/<project-name>_<timestamp>/. Args: | STRING |
| HIGH | src/google/agents/cli/scaffold/utils/gcp.py | 200 | Verify credentials and Vertex AI connection. Uses google.auth + requests for lightweight verification. Args: | STRING |
| HIGH | src/google/agents/cli/scaffold/utils/gcp.py | 278 | Get project number from project ID using Resource Manager API. Args: project_id: GCP project ID Return | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/google/agents/cli/_runner.py | 47 | CODE | |
| LOW | src/google/agents/cli/_project.py | 199 | CODE | |
| LOW | src/google/agents/cli/_project.py | 232 | CODE | |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 73 | CODE | |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 496 | CODE | |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 92 | CODE | |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 428 | CODE | |
| LOW | src/google/agents/cli/setup/cmd_setup.py | 78 | CODE | |
| LOW | src/google/agents/cli/setup/cmd_setup.py | 179 | CODE | |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 390 | CODE | |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 646 | CODE | |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1330 | CODE | |
| LOW | src/google/agents/cli/eval/optimize_utils.py | 26 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_grade.py | 41 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_optimize.py | 45 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_optimize.py | 121 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_submit.py | 156 | CODE | |
| LOW | src/google/agents/cli/eval/_synthesize_runner.py | 135 | CODE | |
| LOW | src/google/agents/cli/eval/eval_utils.py | 171 | CODE | |
| LOW | src/google/agents/cli/run/_local_server.py | 60 | CODE | |
| LOW | src/google/agents/cli/run/_local_server.py | 256 | CODE | |
| LOW | src/google/agents/cli/run/_local_server.py | 389 | CODE | |
| LOW | src/google/agents/cli/run/cmd_run.py | 766 | CODE | |
| LOW | src/google/agents/cli/run/cmd_run.py | 842 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/merge.py | 210 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/merge.py | 282 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/merge.py | 389 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 364 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 622 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/upgrade.py | 331 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 96 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 144 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 383 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 690 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 877 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 922 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 1550 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 1689 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/gcp.py | 111 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/gcp.py | 196 | CODE | |
| LOW | …oyment_targets/gke/python/tests/load_test/load_test.py | 38 | CODE | |
| LOW | …gets/agent_runtime/python/tests/load_test/load_test.py | 55 | CODE | |
| LOW | …yment_targets/none/python/tests/load_test/load_test.py | 38 | CODE | |
| LOW | …_targets/cloud_run/python/tests/load_test/load_test.py | 38 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 270 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 1062 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 1337 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/enhance.py | 90 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/enhance.py | 474 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/enhance.py | 585 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/enhance.py | 839 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/google/agents/cli/auth.py | 123 | # Check if gcloud is installed | COMMENT |
| LOW | src/google/agents/cli/auth.py | 310 | # Check if already authenticated | COMMENT |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 572 | # Check if Terraform structure exists (prototype projects may lack it) | STRING |
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 626 | # Check if GitHub CLI has required scopes for the CI/CD runner | STRING |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 321 | # Check if API is enabled | COMMENT |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 397 | # Display output if captured | COMMENT |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 516 | # Check if repo exists | COMMENT |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 95 | # Check if this is the ADK samples repository | COMMENT |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 114 | # Check if this is the ADK samples repository | COMMENT |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 217 | # Check if the error is related to branch not found (indicates it's likely a tag) | COMMENT |
| LOW | src/google/agents/cli/scaffold/utils/remote_template.py | 296 | # Check if agent.py exists in root | COMMENT |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 824 | # Check if agent.py already exists and has root_agent defined | COMMENT |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 1328 | # Check if this is a flat structure template | STRING |
| LOW⚡ | src/google/agents/cli/scaffold/commands/create.py | 969 | # Check if the agent has a 'dev' command in its settings | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 324 | # Check if directory already exists | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 416 | # Check if project would exist in output directory | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 472 | # Check if it's a remote template specification | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 553 | # Set agent to the returned spec for remote processing | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 1284 | # Check if running in Cloud Shell with no project | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/enhance.py | 525 | # Check if this directory might contain agent code | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/upgrade.py | 137 | # Check if upgrade is needed | COMMENT |
| LOW | src/google/agents/cli/scaffold/commands/upgrade.py | 144 | # Check if uvx is available for re-templating old version | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/google-agents-cli-scaffold/SKILL.md | 36 | ## Step 1: Choose Architecture | COMMENT |
| LOW | skills/google-agents-cli-scaffold/SKILL.md | 59 | ## Step 2: Create or Enhance the Project | COMMENT |
| LOW⚡ | skills/google-agents-cli-scaffold/SKILL.md | 147 | # Step 1: Create a prototype | COMMENT |
| LOW⚡ | skills/google-agents-cli-scaffold/SKILL.md | 150 | # Step 2: Iterate on the agent code... | COMMENT |
| LOW⚡ | skills/google-agents-cli-scaffold/SKILL.md | 152 | # Step 3: Add deployment when ready | COMMENT |
| LOW⚡ | skills/google-agents-cli-scaffold/SKILL.md | 162 | ## Step 3: Load Dev Workflow | COMMENT |
| LOW | …gents-cli-deploy/references/testing-deployed-agents.md | 66 | # Step 1: Create a session (required before sending messages) | COMMENT |
| LOW | …gents-cli-deploy/references/testing-deployed-agents.md | 73 | # Step 2: Send a message via SSE streaming | COMMENT |
| LOW⚡ | src/google/agents/cli/deploy/cmd_deploy.py | 1018 | # Step 3: Build and push container image (local dev only) | COMMENT |
| LOW⚡ | src/google/agents/cli/deploy/cmd_deploy.py | 1024 | # Step 4: Update container image | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 983 | # Step 1: Targeted Terraform (local dev only) | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1002 | # Step 2: Get cluster credentials | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1039 | # Step 5: Inject runtime env vars (AGENT_VERSION, --update-env-vars, APP_URL). | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1087 | # Step 6: Wait for rollout | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1101 | # Step 7: Print summary | COMMENT |
| LOW⚡ | src/google/agents/cli/publish/cmd_publish.py | 1619 | # Step 3: Get display name and description | STRING |
| LOW⚡ | src/google/agents/cli/publish/cmd_publish.py | 1628 | # Step 4: Register as ADK agent | STRING |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1567 | # Step 1: Get Agent Runtime ID | STRING |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1598 | # Step 2: Get Gemini Enterprise App ID | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/google/agents/cli/_runner.py | 198 | # Create a shallow copy to avoid modifying the original list passed by reference | COMMENT |
| MEDIUM | src/google/agents/cli/_runner.py | 227 | # Create a shallow copy to avoid modifying the original list passed by reference | COMMENT |
| MEDIUM | src/google/agents/cli/infra/_cicd_utils.py | 140 | # Create a CompletedProcess-like object for compatibility | COMMENT |
| MEDIUM | src/google/agents/cli/infra/_cicd_utils.py | 568 | # Create a meaningful default project name based on agent and deployment target | COMMENT |
| MEDIUM | src/google/agents/cli/run/cmd_run.py | 582 | # Create a new session | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/utils/template.py | 1047 | # Create a new temporary directory and use it as our working directory | STRING |
| MEDIUM | src/google/agents/cli/scaffold/utils/template.py | 1062 | # Create the cookiecutter template structure | STRING |
| MEDIUM | …_templates/_shared/deployment/terraform/cicd/github.tf | 219 | # Create the GitHub connection (fallback for manual Terraform usage) | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/commands/create.py | 444 | # Create a temporary directory and copy the local template to it | COMMENT |
| MEDIUM | src/google/agents/cli/scaffold/commands/enhance.py | 440 | # Create a mapping of choices to agent names | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/google/agents/cli/_agent_runtime_a2a.py | 23 | CODE | |
| LOW | src/google/agents/cli/_click.py | 17 | CODE | |
| LOW | src/google/agents/cli/_skills_check.py | 17 | CODE | |
| LOW | src/google/agents/cli/_project.py | 17 | CODE | |
| LOW | src/google/agents/cli/deploy/_operation.py | 22 | CODE | |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 21 | CODE | |
| LOW | src/google/agents/cli/deploy/_utils.py | 17 | CODE | |
| LOW | src/google/agents/cli/setup/_antigravity.py | 34 | CODE | |
| LOW | src/google/agents/cli/info/cmd_info.py | 17 | CODE | |
| LOW | src/google/agents/cli/eval/_paths.py | 46 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_generate.py | 17 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_dataset.py | 17 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_analyze.py | 17 | CODE | |
| LOW | src/google/agents/cli/eval/cmd_run.py | 17 | CODE | |
| LOW | src/google/agents/cli/run/_local_server.py | 17 | CODE | |
| LOW | src/google/agents/cli/run/cmd_run.py | 17 | CODE | |
| LOW | …/google/agents/cli/scaffold/agents/adk/app/__init__.py | 15 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/command.py | 17 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/gcp.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills/google-agents-cli-deploy/SKILL.md | 244 | echo -n "YOUR_API_KEY" | gcloud secrets create MY_SECRET_NAME --data-file=- | CODE |
| HIGH | src/google/agents/cli/auth.py | 56 | click.secho(f' export {var_name}="YOUR_API_KEY"', bold=True) | CODE |
| HIGH | …gents/cli/scaffold/base_templates/typescript/README.md | 59 | # GEMINI_API_KEY=your-api-key | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 246 | def update_build_triggers(tf_dir: Path) -> None: | CODE |
| LOW | src/google/agents/cli/infra/_cicd_utils.py | 575 | def update_terraform_vars(self, project_dir: Path, is_dev: bool = False) -> None: | CODE |
| LOW | src/google/agents/cli/eval/cmd_analyze.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/google/agents/cli/run/_local_server.py | 355 | def _update_activity(project_root: Path) -> None: | CODE |
| LOW | …/google/agents/cli/scaffold/agents/adk/app/__init__.py | 17 | __all__ = ["app"] | CODE |
| LOW | …oyment_targets/gke/python/tests/load_test/load_test.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …argets/gke/python/tests/integration/test_server_e2e.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …gets/agent_runtime/python/tests/load_test/load_test.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nt_runtime/python/tests/integration/test_server_e2e.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …yment_targets/none/python/tests/load_test/load_test.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …rgets/none/python/tests/integration/test_server_e2e.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | …_targets/cloud_run/python/tests/load_test/load_test.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/cloud_run/python/tests/integration/test_server_e2e.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | src/google/agents/cli/scaffold/commands/create.py | 1174 | def set_gcp_project(project_id: str, set_quota_project: bool = True) -> None: | CODE |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 49 | __all__ = ["create", "shared_template_options"] | CODE |
| LOW | src/google/agents/cli/scaffold/commands/enhance.py | 756 | def _update_metadata(proj_dir: pathlib.Path, lang: str) -> None: | CODE |
| LOW | src/google/agents/cli/scaffold/commands/upgrade.py | 162 | def _update_version(proj_dir: pathlib.Path, lang: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/google/agents/cli/deploy/cmd_deploy.py | 1018 | # Step 3: Build and push container image (local dev only) | COMMENT |
| LOW⚡ | src/google/agents/cli/deploy/cmd_deploy.py | 1024 | # Step 4: Update container image | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 983 | # Step 1: Targeted Terraform (local dev only) | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1002 | # Step 2: Get cluster credentials | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1039 | # Step 5: Inject runtime env vars (AGENT_VERSION, --update-env-vars, APP_URL). | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1087 | # Step 6: Wait for rollout | COMMENT |
| LOW | src/google/agents/cli/deploy/cmd_deploy.py | 1101 | # Step 7: Print summary | COMMENT |
| LOW⚡ | src/google/agents/cli/publish/cmd_publish.py | 1619 | # Step 3: Get display name and description | STRING |
| LOW⚡ | src/google/agents/cli/publish/cmd_publish.py | 1628 | # Step 4: Register as ADK agent | STRING |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1567 | # Step 1: Get Agent Runtime ID | STRING |
| LOW | src/google/agents/cli/publish/cmd_publish.py | 1598 | # Step 2: Get Gemini Enterprise App ID | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | src/google/agents/cli/scaffold/commands/create.py | 973 | f" [bold bright_green]cd {cd_path} && agents-cli install && agents-cli playground[/]" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/google/agents/cli/_runner.py | 47 | CODE | |
| LOW | src/google/agents/cli/deploy/agent_runtime.py | 352 | CODE | |
| LOW | src/google/agents/cli/scaffold/utils/template.py | 922 | CODE | |
| LOW | src/google/agents/cli/scaffold/commands/create.py | 270 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …oogle-agents-cli-eval/references/builtin-tools-eval.md | 142 | if not api_key or api_key == "dummy_key": | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/google/agents/cli/infra/cmd_cicd.py | 182 | "\n💡 Tip: Don't forget to commit and push your changes to the repository!" | CODE |