An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
This report summarizes scanner evidence for google/adk-python, a Python project with 21,770 GitHub stars. SynthScan examined 809,161 lines of code across 2887 source files, recording 22630 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 31.1 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 18488 finding(s).
Are imports declared and package/API names verified? 2277 finding(s).
Are wrappers, guards, and repeated structures necessary? 16229 finding(s).
Which changes need focused human review? 22630 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 22630 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contributing/samples/core/runner_debug_example/main.py | 37 | async def example_multiple_messages(): | CODE |
| LOW | contributing/samples/core/runner_debug_example/main.py | 54 | async def example_conversation_persistence(): | CODE |
| LOW | contributing/samples/core/runner_debug_example/main.py | 75 | async def example_separate_sessions(): | CODE |
| LOW | contributing/samples/core/logprobs/README.md | 51 | async def append_logprobs_to_response( | CODE |
| LOW | contributing/samples/core/logprobs/agent.py | 30 | async def append_logprobs_to_response( | CODE |
| LOW | …buting/samples/adk_team/adk_pr_triaging_agent/agent.py | 198 | def list_unassigned_pull_requests(pr_count: int) -> dict[str, Any]: | STRING |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 39 | def _increment_api_call_count() -> None: | CODE |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 77 | def get_repository_maintainers(owner: str, repo: str) -> list[str]: | CODE |
| LOW | …ributing/samples/adk_team/adk_answering_agent/tools.py | 27 | def get_discussion_and_comments(discussion_number: int) -> dict[str, Any]: | CODE |
| LOW | …ributing/samples/adk_team/adk_answering_agent/tools.py | 101 | def add_comment_to_discussion( | STRING |
| LOW | …ributing/samples/adk_team/adk_answering_agent/tools.py | 218 | def convert_gcs_links_to_https(gcs_uris: list[str]) -> Dict[str, Optional[str]]: | STRING |
| LOW | …adk_answering_agent/upload_docs_to_vertex_ai_search.py | 135 | def import_from_gcs_to_vertex_ai( | CODE |
| LOW | …tributing/samples/adk_team/adk_answering_agent/main.py | 41 | async def list_most_recent_discussions( | CODE |
| LOW | …ributing/samples/adk_team/adk_knowledge_agent/agent.py | 34 | def citation_retrieval_after_model_callback( | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 34 | def _resolve_within_repos_dir(path: str) -> Optional[str]: | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 112 | def get_changed_files_between_releases( | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 218 | def read_local_git_repo_file_content(file_path: str) -> Dict[str, Any]: | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 363 | def create_pull_request_from_changes( | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 622 | def get_file_diff_for_release( | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 671 | def get_changed_files_summary( | CODE |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 759 | def _get_changed_files_from_local_git( | CODE |
| LOW⚡ | …uting/samples/adk_team/adk_documentation/test_tools.py | 56 | def test_read_inside_sandbox_succeeds(self): | CODE |
| LOW⚡ | …uting/samples/adk_team/adk_documentation/test_tools.py | 60 | def test_read_outside_sandbox_is_denied(self): | CODE |
| LOW⚡ | …uting/samples/adk_team/adk_documentation/test_tools.py | 66 | def test_read_symlink_escape_is_denied(self): | CODE |
| LOW⚡ | …uting/samples/adk_team/adk_documentation/test_tools.py | 74 | def test_list_and_search_outside_sandbox_are_denied(self): | CODE |
| LOW⚡ | …uting/samples/adk_team/adk_documentation/test_tools.py | 80 | def test_clone_or_pull_outside_sandbox_is_denied(self): | CODE |
| LOW⚡ | …uting/samples/adk_team/adk_documentation/test_tools.py | 89 | def test_create_pr_rejects_path_traversal_in_changes(self): | CODE |
| LOW | …k_team/adk_documentation/adk_release_analyzer/agent.py | 142 | def save_group_recommendations( | CODE |
| LOW⚡ | …k_team/adk_documentation/adk_release_analyzer/agent.py | 376 | def file_analyzer_instruction(readonly_context: ReadonlyContext) -> str: | STRING |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 57 | def _increment_api_call_count() -> None: | CODE |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 200 | def get_old_open_issue_numbers( | CODE |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 308 | def _replay_history_to_find_state( | STRING |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 512 | def add_stale_label_and_comment(item_number: int) -> dict[str, Any]: | STRING |
| LOW | …ng/samples/patterns/workflow_triage/execution_agent.py | 27 | def before_agent_callback_check_relevance( | CODE |
| LOW | …ng/samples/patterns/workflow_triage/execution_agent.py | 81 | def instruction_provider_for_execution_summary_agent( | STRING |
| LOW | …les/patterns/context_offloading_with_artifact/agent.py | 53 | async def _append_artifacts_to_llm_request( | CODE |
| LOW | …mples/plugins/plugin_reflect_tool_retry/basic/agent.py | 53 | async def extract_error_from_result( | CODE |
| LOW | …a/a2a_state_forwarding/remote_a2a/greet_agent/agent.py | 19 | def _inject_metadata_into_state(callback_context: CallbackContext) -> None: | CODE |
| LOW | …es/environment_and_skills/skills_inject_state/agent.py | 35 | def remember_developer_profile( | CODE |
| LOW | contributing/samples/mcp/mcp_sse_agent/agent.py | 46 | def after_tool_debug_callback( | CODE |
| LOW | …uting/samples/mcp/mcp_progress_callback_agent/agent.py | 82 | def progress_callback_factory( | CODE |
| LOW | contributing/samples/models/interactions_api/main.py | 131 | async def test_basic_text_generation(runner: Runner, session_id: str): | CODE |
| LOW | contributing/samples/models/interactions_api/main.py | 165 | async def test_multi_turn_conversation(runner: Runner, session_id: str): | CODE |
| LOW | contributing/samples/models/interactions_api/main.py | 236 | async def test_custom_function_tool(runner: Runner, session_id: str): | CODE |
| LOW⚡ | contributing/samples/models/interactions_api/main.py | 298 | def check_interactions_api_available() -> bool: | CODE |
| LOW | …uting/samples/integrations/spanner_rag_agent/README.md | 329 | def wrapped_spanner_similarity_search( | STRING |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 125 | def handle_adk_request_credential(auth_config): | CODE |
| LOW | contributing/samples/integrations/bigtable/agent.py | 70 | def search_hotels_by_location( | CODE |
| LOW | …ntributing/samples/integrations/gepa/rater_lib_test.py | 34 | def test_rater_escapes_html_inputs_to_prevent_xss(): | CODE |
| LOW | …ntributing/samples/integrations/gepa/adk_agent_test.py | 163 | def test_intermediary_step_is_done(): | CODE |
| LOW | …ntributing/samples/integrations/gepa/adk_agent_test.py | 199 | def test_intermediary_tool_step_is_done(): | CODE |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 30 | def parse_rubric_validation_response( | CODE |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 90 | def format_user_agent_conversation(conv: list[dict[str, Any]]) -> str: | CODE |
| LOW | …ations/oauth2_client_credentials/oauth2_test_server.py | 179 | async def handle_client_credentials( | CODE |
| LOW | …ations/oauth2_client_credentials/oauth2_test_server.py | 204 | async def handle_authorization_code( | CODE |
| LOW | …ng/samples/multimodal/static_non_text_content/agent.py | 55 | def create_static_instruction_with_file_upload(): | STRING |
| LOW | …ributing/samples/multimodal/computer_use/playwright.py | 205 | async def _horizontal_document_scroll( | CODE |
| LOW | contributing/samples/live/tool_callbacks_agent/agent.py | 98 | def before_tool_audit_callback( | CODE |
| LOW | contributing/samples/live/tool_callbacks_agent/agent.py | 119 | def before_tool_security_callback( | CODE |
| LOW | contributing/samples/live/tool_callbacks_agent/agent.py | 142 | async def before_tool_async_callback( | CODE |
| 14252 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | constraints-3.14.txt | 1 | # This file was autogenerated by uv via the following command: | COMMENT |
| LOW | constraints-3.14.txt | 21 | aiohappyeyeballs==2.7.1 | COMMENT |
| LOW | constraints-3.14.txt | 41 | aiohttp-retry==2.9.1 | COMMENT |
| LOW | constraints-3.14.txt | 61 | alembic==1.18.5 | COMMENT |
| LOW | constraints-3.14.txt | 81 | # anthropic | COMMENT |
| LOW | constraints-3.14.txt | 101 | # aiohttp | COMMENT |
| LOW | constraints-3.14.txt | 121 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 141 | cachetools==7.1.4 | COMMENT |
| LOW | constraints-3.14.txt | 161 | # pre-commit | COMMENT |
| LOW | constraints-3.14.txt | 181 | # uvicorn | COMMENT |
| LOW | constraints-3.14.txt | 201 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 221 | daytona-analytics-api-client-async==0.199.0 | COMMENT |
| LOW | constraints-3.14.txt | 241 | defusedxml==0.7.1 | COMMENT |
| LOW | constraints-3.14.txt | 261 | # llama-index-core | COMMENT |
| LOW | constraints-3.14.txt | 281 | dockerfile-parse==2.0.1 | COMMENT |
| LOW | constraints-3.14.txt | 301 | # kubernetes | COMMENT |
| LOW | constraints-3.14.txt | 321 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 341 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 361 | gepa==0.1.4 | COMMENT |
| LOW | constraints-3.14.txt | 381 | # google-cloud-appengine-logging | COMMENT |
| LOW | constraints-3.14.txt | 401 | # google-cloud-storage | COMMENT |
| LOW | constraints-3.14.txt | 421 | # google-cloud-bigquery | COMMENT |
| LOW | constraints-3.14.txt | 441 | # google-cloud-texttospeech | COMMENT |
| LOW | constraints-3.14.txt | 461 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 481 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 501 | # via | COMMENT |
| LOW | constraints-3.14.txt | 521 | # via | COMMENT |
| LOW | constraints-3.14.txt | 541 | google-cloud-pubsub==2.39.0 | COMMENT |
| LOW | constraints-3.14.txt | 561 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 581 | # google-cloud-storage | COMMENT |
| LOW | constraints-3.14.txt | 601 | # google-api-core | COMMENT |
| LOW | constraints-3.14.txt | 621 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 641 | # via | COMMENT |
| LOW | constraints-3.14.txt | 661 | # google-cloud-pubsub | COMMENT |
| LOW | constraints-3.14.txt | 681 | # uvicorn | COMMENT |
| LOW | constraints-3.14.txt | 701 | httplib2==0.32.0 | COMMENT |
| LOW | constraints-3.14.txt | 721 | # langsmith | COMMENT |
| LOW | constraints-3.14.txt | 741 | hyperframe==6.1.0 | COMMENT |
| LOW | constraints-3.14.txt | 761 | # via | COMMENT |
| LOW | constraints-3.14.txt | 781 | # banks | COMMENT |
| LOW | constraints-3.14.txt | 801 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 821 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 841 | # via | COMMENT |
| LOW | constraints-3.14.txt | 861 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 881 | # langchain-community | COMMENT |
| LOW | constraints-3.14.txt | 901 | # via | COMMENT |
| LOW | constraints-3.14.txt | 921 | llama-index-workflows==2.22.2 | COMMENT |
| LOW | constraints-3.14.txt | 941 | markupsafe==3.0.3 | COMMENT |
| LOW | constraints-3.14.txt | 961 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 981 | multidict==6.7.1 | COMMENT |
| LOW | constraints-3.14.txt | 1001 | narwhals==2.24.0 | COMMENT |
| LOW | constraints-3.14.txt | 1021 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 1041 | oci==2.182.1 | COMMENT |
| LOW | constraints-3.14.txt | 1061 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 1081 | # via | COMMENT |
| LOW | constraints-3.14.txt | 1101 | # daytona | COMMENT |
| LOW | constraints-3.14.txt | 1121 | # via | COMMENT |
| LOW | constraints-3.14.txt | 1141 | opentelemetry-sdk==1.42.1 | COMMENT |
| LOW | constraints-3.14.txt | 1161 | # opentelemetry-instrumentation-google-genai | COMMENT |
| 2593 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 96 | # ============================================================================= | COMMENT |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 98 | # ============================================================================= | COMMENT |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 291 | # ============================================================================= | COMMENT |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 293 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …k_team/adk_documentation/adk_release_analyzer/agent.py | 371 | # ============================================================================= | STRING |
| MEDIUM⚡ | …k_team/adk_documentation/adk_release_analyzer/agent.py | 373 | # ============================================================================= | STRING |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 501 | # ============================================================================= | STRING |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 503 | # ============================================================================= | STRING |
| MEDIUM⚡ | …k_team/adk_documentation/adk_release_analyzer/agent.py | 571 | # ============================================================================= | STRING |
| MEDIUM⚡ | …k_team/adk_documentation/adk_release_analyzer/agent.py | 573 | # ============================================================================= | STRING |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 609 | # ============================================================================= | STRING |
| MEDIUM | …k_team/adk_documentation/adk_release_analyzer/agent.py | 611 | # ============================================================================= | STRING |
| MEDIUM | …s/integrations/eventarc/domain_specific_agent/agent.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/integrations/eventarc/domain_specific_agent/agent.py | 67 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 149 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 151 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 480 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 482 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 614 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 616 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 652 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/oci/test_oci_genai_llm.py | 654 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 325 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 331 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 414 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 420 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 553 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/oci/test_oci_genai_llm.py | 558 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/openai/test_openai_llm.py | 380 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/openai/test_openai_llm.py | 382 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/openai/test_openai_llm.py | 778 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/integration/integrations/openai/test_openai_llm.py | 780 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 96 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 120 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 122 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 137 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 139 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 297 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 299 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 589 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sts/integration/integrations/openai/test_openai_llm.py | 591 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/test_optional_dependencies.py | 305 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unittests/test_optional_dependencies.py | 307 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 83 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 85 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unittests/artifacts/test_artifact_service.py | 2671 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/artifacts/test_artifact_service.py | 2673 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/tools/test_agent_tool.py | 1998 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/tools/test_agent_tool.py | 2000 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/unittests/tools/data_agent/test_data_agent_tool.py | 661 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | …sts/unittests/tools/data_agent/test_data_agent_tool.py | 663 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 11675 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 11677 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 11745 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 11747 | # ================================================================ | COMMENT |
| 547 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contributing/samples/services.py | 16 | CODE | |
| LOW | contributing/samples/dummy_services.py | 16 | CODE | |
| LOW | …ntributing/samples/multi_agent/task_sub_agent/agent.py | 15 | CODE | |
| LOW | …ibuting/samples/multi_agent/hello_world_ma/__init__.py | 15 | CODE | |
| LOW | …g/samples/multi_agent/three_layer_transfer/__init__.py | 15 | CODE | |
| LOW | contributing/samples/multi_agent/sub_agents/__init__.py | 15 | CODE | |
| LOW | contributing/samples/multi_agent/sub_agents/agent.py | 15 | CODE | |
| LOW | …ibuting/samples/tools/built_in_multi_tools/__init__.py | 15 | CODE | |
| LOW | …uting/samples/tools/long_running_functions/__init__.py | 15 | CODE | |
| LOW | …tributing/samples/tools/parallel_functions/__init__.py | 15 | CODE | |
| LOW | contributing/samples/tools/parallel_functions/agent.py | 18 | CODE | |
| LOW | …g/samples/tools/hello_world_stream_fc_args/__init__.py | 15 | CODE | |
| LOW | …s/tools/agent_tool_with_grounding_metadata/__init__.py | 15 | CODE | |
| LOW | contributing/samples/tools/model_consult/__init__.py | 15 | CODE | |
| LOW | contributing/samples/tools/model_consult/agent.py | 17 | CODE | |
| LOW | …ing/samples/tools/output_schema_with_tools/__init__.py | 15 | CODE | |
| LOW | contributing/samples/tools/function_tools/__init__.py | 15 | CODE | |
| LOW | contributing/samples/tools/function_tools/agent.py | 15 | CODE | |
| LOW | …ntributing/samples/tools/pydantic_argument/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/abort/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/artifacts/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/artifacts/agent.py | 15 | CODE | |
| LOW | …ributing/samples/core/runner_debug_example/__init__.py | 17 | CODE | |
| LOW | contributing/samples/core/hello_world/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/app/agent.py | 15 | CODE | |
| LOW | contributing/samples/core/empty_agent/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/empty_agent/__init__.py | 17 | CODE | |
| LOW | contributing/samples/core/empty_agent/agent.py | 15 | CODE | |
| LOW | contributing/samples/core/callbacks/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/callbacks/agent.py | 15 | CODE | |
| LOW | contributing/samples/core/input_output_schema/agent.py | 15 | CODE | |
| LOW | contributing/samples/core/quickstart/__init__.py | 15 | CODE | |
| LOW | contributing/samples/core/logprobs/__init__.py | 15 | CODE | |
| LOW | …ing/samples/adk_team/adk_pr_triaging_agent/__init__.py | 15 | CODE | |
| LOW | …amples/adk_team/adk_issue_monitoring_agent/__init__.py | 15 | CODE | |
| LOW | …uting/samples/adk_team/adk_answering_agent/__init__.py | 15 | CODE | |
| LOW | …_team/adk_answering_agent/gemini_assistant/__init__.py | 15 | CODE | |
| LOW | …amples/adk_team/adk_issue_formatting_agent/__init__.py | 15 | CODE | |
| LOW | …uting/samples/adk_team/adk_knowledge_agent/__init__.py | 15 | CODE | |
| LOW | …eam/adk_documentation/adk_release_analyzer/__init__.py | 15 | CODE | |
| LOW | …dk_team/adk_documentation/adk_docs_updater/__init__.py | 15 | CODE | |
| LOW | …tributing/samples/adk_team/adk_stale_agent/__init__.py | 15 | CODE | |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 27 | CODE | |
| LOW | contributing/samples/adk_team/adk_pr_agent/__init__.py | 15 | CODE | |
| LOW | …tributing/samples/patterns/workflow_triage/__init__.py | 15 | CODE | |
| LOW | …/patterns/context_offloading_with_artifact/__init__.py | 15 | CODE | |
| LOW | …ntributing/samples/patterns/fields_planner/__init__.py | 15 | CODE | |
| LOW | contributing/samples/patterns/fields_planner/agent.py | 19 | CODE | |
| LOW | …buting/samples/patterns/json_passing_agent/__init__.py | 15 | CODE | |
| LOW | …g/samples/config/core_custom_agent_config/my_agents.py | 15 | CODE | |
| LOW | …g/samples/config/core_custom_agent_config/my_agents.py | 17 | CODE | |
| LOW | …uting/samples/plugins/plugin_debug_logging/__init__.py | 15 | CODE | |
| LOW | contributing/samples/plugins/plugin_basic/__init__.py | 15 | CODE | |
| LOW | …es/plugins/plugin_reflect_tool_retry/basic/__init__.py | 15 | CODE | |
| LOW | …reflect_tool_retry/hallucinating_func_name/__init__.py | 15 | CODE | |
| LOW | contributing/samples/a2a/a2a_basic/__init__.py | 15 | CODE | |
| LOW | …a2a/a2a_basic/remote_a2a/check_prime_agent/__init__.py | 15 | CODE | |
| LOW | …es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py | 15 | CODE | |
| LOW | …es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py | 18 | CODE | |
| LOW | contributing/samples/a2a/a2a_auth/__init__.py | 15 | CODE | |
| 2019 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ntributing/samples/multi_agent/hello_world_ma/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t | STRING |
| HIGH | contributing/samples/a2a/a2a_basic/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t | STRING |
| HIGH | …ples/legacy_workflows/simple_sequential_agent/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t | STRING |
| HIGH | contributing/samples/live/multi_agent/agent.py | 0 | you are responsible for rolling dice based on the user's request. when asked to roll a die, you must call the roll_die t | STRING |
| HIGH | …ntributing/samples/multi_agent/hello_world_ma/agent.py | 0 | you are a helpful assistant that can check time, roll dice and check if numbers are prime. you can check time on your ow | STRING |
| HIGH | contributing/samples/a2a/a2a_basic/agent.py | 0 | you are a helpful assistant that can check time, roll dice and check if numbers are prime. you can check time on your ow | STRING |
| HIGH | contributing/samples/live/multi_agent/agent.py | 0 | you are a helpful assistant that can check time, roll dice and check if numbers are prime. you can check time on your ow | STRING |
| HIGH | …ntributing/samples/tools/built_in_multi_tools/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …ples/tools/agent_tool_with_grounding_metadata/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …tributing/samples/tools/tool_functions_config/tools.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/core/hello_world/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/patterns/fields_planner/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …tributing/samples/config/core_callback_config/tools.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …in_reflect_tool_retry/hallucinating_func_name/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/models/hello_world_openai/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/models/hello_world_ollama/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/models/hello_world_nvidia/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/models/grok/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …ls/hello_world_litellm_add_function_to_prompt/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/models/hello_world_gemma/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …ributing/samples/models/hello_world_anthropic/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …ributing/samples/models/hello_world_apigeellm/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …ting/samples/models/hello_world_gemma3_ollama/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …ntributing/samples/models/hello_world_litellm/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/integrations/livekit/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | contributing/samples/live/single_agent/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …samples/context_management/history_management/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …samples/context_management/migrate_session_db/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …s/integration/fixture/hello_world_agent_async/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | tests/integration/fixture/hello_world_agent/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py | 0 | roll a die and return the rolled result. args: sides: the integer number of sides the die has. tool_context: the tool co | STRING |
| HIGH | …tributing/samples/tools/tool_functions_config/tools.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/core/hello_world/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/patterns/fields_planner/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …tributing/samples/config/core_callback_config/tools.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …es/a2a/a2a_basic/remote_a2a/check_prime_agent/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/models/hello_world_openai/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/models/hello_world_nvidia/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/models/grok/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/models/hello_world_gemma/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …ributing/samples/models/hello_world_anthropic/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …ributing/samples/models/hello_world_apigeellm/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …ting/samples/models/hello_world_gemma3_ollama/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …ntributing/samples/models/hello_world_litellm/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/integrations/livekit/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/live/single_agent/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …samples/context_management/history_management/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …samples/context_management/migrate_session_db/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | …s/integration/fixture/hello_world_agent_async/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | tests/integration/fixture/hello_world_agent/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/models/hello_world_ollama/agent.py | 0 | check if a given list of numbers are prime. args: numbers: the list of numbers to check. returns: a str indicating which | STRING |
| HIGH | contributing/samples/core/hello_world/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | contributing/samples/patterns/fields_planner/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | …g/samples/a2a/a2a_root/remote_a2a/hello_world/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | contributing/samples/models/hello_world_ollama/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | …ributing/samples/models/hello_world_anthropic/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | …ributing/samples/models/hello_world_apigeellm/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | …ntributing/samples/models/hello_world_litellm/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| HIGH | …samples/context_management/history_management/agent.py | 0 | you roll dice and answer questions about the outcome of the dice rolls. you can roll dice of different sizes. you can us | STRING |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | contributing/samples/adk_team/adk_stale_agent/utils.py | 100 | Sends a GET request to the GitHub API with automatic retries. Args: url (str): The URL endpoint. param | STRING |
| HIGH | contributing/samples/adk_team/adk_stale_agent/utils.py | 203 | Finds open issues older than the specified threshold using server-side filtering. OPTIMIZATION: Instead of fetch | STRING |
| HIGH | contributing/samples/adk_team/adk_stale_agent/agent.py | 127 | Executes the GraphQL query to fetch raw issue data, including comments, edits, and timeline events. Args: | STRING |
| HIGH | contributing/samples/integrations/gepa/adk_agent.py | 219 | Defines and runs an ADK LLM Agent in the provided simulation environment. Args: instruction: The instruction for | STRING |
| HIGH | …tributing/samples/integrations/gepa/tau_bench_agent.py | 99 | Solves the task using ADK agent. Args: env: The environment to solve the task in. task_index: The index | STRING |
| HIGH | …sts/unittests/tools/spanner/test_spanner_query_tool.py | 59 | \ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): | STRING |
| HIGH | …sts/unittests/tools/spanner/test_spanner_query_tool.py | 110 | \ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): | STRING |
| HIGH | …ests/integrations/bigquery/test_bigquery_query_tool.py | 93 | \ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str): | STRING |
| HIGH | …ests/integrations/bigquery/test_bigquery_query_tool.py | 192 | \ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str): | STRING |
| HIGH | …ests/integrations/bigquery/test_bigquery_query_tool.py | 429 | \ Run a BigQuery or BigQuery ML SQL query in the project and return the result. Args: project_id (str): | STRING |
| HIGH | scripts/verify_release_artifact.py | 440 | Runs both sweeps and compares them. Args: args: Parsed command line arguments. Returns: The rendered repor | STRING |
| HIGH | src/google/adk/runners.py | 986 | Gets the session or creates it if auto-creation is enabled. This helper first attempts to retrieve the session. If | STRING |
| HIGH | src/google/adk/runners.py | 1030 | Runs the agent. NOTE: This sync interface is only for local testing and convenience purpose. Consider u | STRING |
| HIGH | src/google/adk/runners.py | 1154 | Main entry method to run the agent in this runner. If event compaction is enabled in the App configuration, it will | STRING |
| HIGH | src/google/adk/runners.py | 1885 | Debug helper for quick agent experimentation and testing. This convenience method is designed for developers gettin | STRING |
| HIGH | src/google/adk/runners.py | 2074 | Sets up the context for a resumed invocation. Args: session: The session to set up the invocation context for | STRING |
| HIGH | src/google/adk/labs/antigravity/_sub_agent_tools.py | 51 | Wraps ``child`` as a client tool answering with its final text. Args: child: The ADK agent to run. Each call runs | STRING |
| HIGH | src/google/adk/artifacts/artifact_util.py | 167 | Validates an artifact reference URI before following it. An artifact whose payload is an `artifact://` URI points at | STRING |
| HIGH | src/google/adk/artifacts/file_artifact_service.py | 195 | Returns the absolute artifact directory and its relative path. The caller is expected to pass the scope root director | STRING |
| HIGH | src/google/adk/tools/_confirmation_utils.py | 30 | Answers a call whose tool is waiting on a human, instead of running it. A call that still needs confirmation records | STRING |
| HIGH | src/google/adk/tools/skill_toolset.py | 2355 | Activates a skill for `ctx`'s agent without going through the model. Activation is what registers the skill's `adk_ | STRING |
| HIGH | src/google/adk/tools/_gemini_schema_util.py | 39 | Converts a string into snake_case. Handles lowerCamelCase, UpperCamelCase, or space-separated case, acronyms (e.g., | STRING |
| HIGH | src/google/adk/tools/bigtable/query_tool.py | 48 | Execute a GoogleSQL query from a Bigtable table. Args: project_id (str): The GCP project id in which the query | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 680 | Lists accessible data agents in a project. Every page is fetched automatically by default, so a single call returns a | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 904 | Gets a data agent by name. Args: data_agent_name: The name of the agent to get, in format projects/{pro | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 959 | Asks a question to a data agent. Args: data_agent_name: The resource name of an existing data agent to ask, in | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 1099 | Creates a new data agent. Args: project_id: The project in which to create the agent. data_agent_id: The | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 1235 | Updates an existing data agent. Args: data_agent_name: The name of the data agent to update, in format | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 1342 | Deletes an existing data agent. Args: data_agent_name: The name of the data agent to delete, in format | STRING |
| HIGH | …/google/adk/tools/apihub_tool/clients/apihub_client.py | 246 | Extracts the resource names of an API, API Version, and API Spec from a given URL or path. Args: url_or_pat | STRING |
| HIGH | src/google/adk/tools/model_consult/_advisor.py | 150 | Maps a user-supplied thinking level to `types.ThinkingLevel`. Args: level: One of `'minimal'`, `'low'`, `'medium' | STRING |
| HIGH | src/google/adk/tools/model_consult/_advisor.py | 186 | Resolves a model name or `BaseLlm` instance into a `BaseLlm`. Args: model: Either an already-constructed `BaseLlm | STRING |
| HIGH | src/google/adk/tools/model_consult/_advisor.py | 370 | Executes one non-streaming advisor call and returns its guidance text. If `thinking_level` (or `generate_content_conf | STRING |
| HIGH | …/google/adk/tools/model_consult/_model_consult_tool.py | 622 | Consults the advisor and returns its guidance. Args: args: Tool call arguments (`question` and optional `cont | STRING |
| HIGH | src/google/adk/tools/spanner/search_tool.py | 92 | Validate that a value is a safe SQL identifier. Args: value: The identifier string to validate. param_name: N | STRING |
| HIGH | src/google/adk/tools/spanner/search_tool.py | 125 | Validate that an additional_filter does not contain injection patterns. This is a defense-in-depth measure. The addit | STRING |
| HIGH | src/google/adk/tools/spanner/search_tool.py | 408 | Similarity search in Spanner using a text query. The function will use embedding service (provided from options) to e | STRING |
| HIGH | src/google/adk/tools/spanner/search_tool.py | 780 | Performs a semantic similarity search to retrieve relevant context from the Spanner vector store. This function perfo | STRING |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 39 | List tables within the database. Args: project_id (str): The Google Cloud project id. instance_id (str): | STRING |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 95 | Get schema and metadata information about a Spanner table. Args: project_id (str): The Google Cloud project id. | STRING |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 314 | Get index information about a Spanner table. Args: project_id (str): The Google Cloud project id. instanc | STRING |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 418 | Get the columns in each index of a Spanner table. Args: project_id (str): The Google Cloud project id. in | STRING |
| HIGH | src/google/adk/tools/spanner/metadata_tool.py | 525 | Get the named schemas in the Spanner database. Args: project_id (str): The Google Cloud project id. insta | STRING |
| HIGH | src/google/adk/tools/spanner/query_tool.py | 41 | Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): The GCP pr | STRING |
| HIGH | src/google/adk/tools/spanner/query_tool.py | 99 | \ Run a Spanner Read-Only query in the spanner database and return the result. Args: project_id (str): The GCP proj | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 44 | List Spanner instances within a project. Args: project_id: The Google Cloud project id. credentials: The | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 87 | Get details of a Spanner instance. Args: project_id: The Google Cloud project id. instance_id: The Spanne | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 141 | List Spanner instance configs available for a project. Args: project_id: The Google Cloud project id. cre | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 183 | Get details of a Spanner instance config. Args: project_id: The Google Cloud project id. config_id: The S | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 256 | Create a Spanner instance. Args: project_id: The Google Cloud project id. instance_id: The Spanner instan | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 315 | List Spanner databases within an instance. Args: project_id: The Google Cloud project id. instance_id: Th | STRING |
| HIGH | src/google/adk/tools/spanner/admin_tool.py | 362 | Create a Spanner database. Args: project_id: The Google Cloud project id. instance_id: The Spanner instan | STRING |
| HIGH | …ication_integration_tool/clients/connections_client.py | 122 | Retrieves the JSON schema for a given entity in a connection. Args: entity (str): The entity name. Ret | STRING |
| HIGH | …ication_integration_tool/clients/connections_client.py | 152 | Retrieves the input and output JSON schema for a given action in a connection. Args: action (str): The acti | STRING |
| HIGH | …ication_integration_tool/clients/connections_client.py | 900 | Executes an API call to the given URL. Args: url (str): The URL to call. Returns: requests.Res | STRING |
| HIGH | …ication_integration_tool/clients/connections_client.py | 955 | Polls an operation until it is done. Args: operation_id: The ID of the operation to poll. Returns: | STRING |
| HIGH | src/google/adk/tools/mcp_tool/session_context.py | 318 | Run a coroutine while monitoring the background session task. Races the given coroutine against the background task | STRING |
| HIGH | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 1330 | Creates an MCP client based on the connection parameters. Args: session_key: Optional session key for this | STRING |
| HIGH | src/google/adk/tools/mcp_tool/conversion_utils.py | 28 | Convert a Tool in ADK into MCP tool type. This function transforms an ADK tool definition into its equivalent repre | STRING |
| HIGH | src/google/adk/tools/mcp_tool/conversion_utils.py | 64 | Converts a Gemini Schema object into a JSON Schema dictionary. Args: gemini_schema: An instance of the Gemini S | STRING |
| 133 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …buting/samples/tools/output_schema_with_tools/agent.py | 83 | # Create the knowledge agent that uses google_search tool. | COMMENT |
| MEDIUM | …buting/samples/tools/output_schema_with_tools/agent.py | 98 | # Create the agent with both output_schema and tools | STRING |
| MEDIUM | contributing/samples/tools/pydantic_argument/agent.py | 161 | # Create the agent with all Pydantic tools | COMMENT |
| MEDIUM | contributing/samples/tools/pydantic_argument/main.py | 62 | # Create a session | COMMENT |
| MEDIUM | contributing/samples/core/logprobs/agent.py | 99 | # Create a simple agent that demonstrates logprobs usage | COMMENT |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 203 | # Create a new session for each discussion to avoid interference. | COMMENT |
| MEDIUM | …es/adk_team/adk_documentation/adk_docs_updater/main.py | 96 | # Create a new session for each suggestion to avoid context interference | COMMENT |
| MEDIUM | contributing/samples/adk_team/adk_stale_agent/utils.py | 88 | # Create a single, reusable Session object for connection pooling | COMMENT |
| MEDIUM | …ributing/samples/plugins/plugin_debug_logging/agent.py | 106 | # Create the app with DebugLoggingPlugin | COMMENT |
| MEDIUM | …mples/environment_and_skills/skills_agent_gcs/agent.py | 39 | # Define the GCS bucket and skills prefix | COMMENT |
| MEDIUM⚡ | …mples/environment_and_skills/skills_agent_gcs/agent.py | 63 | # Create the SkillToolset | COMMENT |
| MEDIUM⚡ | …mples/environment_and_skills/skills_agent_gcs/agent.py | 66 | # Create the Agent | COMMENT |
| MEDIUM | …mples/environment_and_skills/skills_agent_gcs/agent.py | 87 | # Create a Runner | COMMENT |
| MEDIUM | …ributing/samples/mcp/mcp_server_side_sampling/agent.py | 41 | # Create the ADK McpToolset, which connects to the FastMCP server. | COMMENT |
| MEDIUM | …ributing/samples/mcp/mcp_server_side_sampling/agent.py | 51 | # Define the ADK agent that uses the MCP toolset. | COMMENT |
| MEDIUM | …ing/samples/mcp/mcp_server_side_sampling/mcp_server.py | 36 | # Create the FastMCP Server instance. | COMMENT |
| MEDIUM | …tributing/samples/mcp/mcp_in_agent_tool_stdio/agent.py | 61 | # Create main agent | COMMENT |
| MEDIUM | …ples/mcp/mcp_streamablehttp_agent/filesystem_server.py | 39 | # Create an MCP server with a name | COMMENT |
| MEDIUM | …ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py | 38 | # Create an MCP server with a name | COMMENT |
| MEDIUM | contributing/samples/mcp/mcp_toolset_auth/agent.py | 55 | # Create the MCP toolset with OAuth authentication | COMMENT |
| MEDIUM | contributing/samples/mcp/mcp_toolset_auth/agent.py | 64 | # Define the agent that uses the OAuth-protected MCP toolset | COMMENT |
| MEDIUM | contributing/samples/mcp/mcp_toolset_auth/main.py | 64 | # Create a session | COMMENT |
| MEDIUM | …ributing/samples/mcp/mcp_in_agent_tool_remote/agent.py | 54 | # Create main agent | COMMENT |
| MEDIUM | contributing/samples/models/interactions_api/main.py | 331 | # Create a new session | COMMENT |
| MEDIUM | …buting/samples/integrations/spanner_rag_agent/agent.py | 26 | # Define an appropriate credential type | COMMENT |
| MEDIUM | contributing/samples/integrations/bigtable/agent.py | 27 | # Define an appropriate credential type. | COMMENT |
| MEDIUM | contributing/samples/integrations/data_agent/agent.py | 32 | # Define the desired credential type. | COMMENT |
| MEDIUM | contributing/samples/integrations/bigquery/agent.py | 26 | # Define the desired credential type. | COMMENT |
| MEDIUM | contributing/samples/integrations/bigquery/agent.py | 32 | # Define an appropriate application name | COMMENT |
| MEDIUM | …amples/integrations/oauth2_client_credentials/agent.py | 112 | # Create the weather assistant agent | COMMENT |
| MEDIUM | contributing/samples/integrations/gcs_admin/agent.py | 25 | # Define an appropriate credential type. | COMMENT |
| MEDIUM | …s/integrations/eventarc/domain_specific_agent/agent.py | 34 | # Define the desired credential type. | COMMENT |
| MEDIUM | …s/integrations/eventarc/domain_specific_agent/agent.py | 40 | # Define an appropriate application name | COMMENT |
| MEDIUM | …g/samples/integrations/eventarc/generic_agent/agent.py | 25 | # Define the desired credential type. | COMMENT |
| MEDIUM | …g/samples/integrations/eventarc/generic_agent/agent.py | 31 | # Define an appropriate application name | COMMENT |
| MEDIUM | contributing/samples/integrations/pubsub/agent.py | 25 | # Define the desired credential type. | COMMENT |
| MEDIUM | contributing/samples/integrations/pubsub/agent.py | 31 | # Define an appropriate application name | COMMENT |
| MEDIUM | contributing/samples/integrations/spanner/agent.py | 31 | # Define an appropriate credential type | COMMENT |
| MEDIUM | …ing/samples/integrations/sandbox_computer_use/agent.py | 62 | # Create the sandbox computer | COMMENT |
| MEDIUM | …ntributing/samples/integrations/spanner_admin/agent.py | 23 | # Define an appropriate credential type | COMMENT |
| MEDIUM | contributing/samples/integrations/gcs/agent.py | 25 | # Define an appropriate credential type. | COMMENT |
| MEDIUM | …ng/samples/multimodal/static_non_text_content/agent.py | 127 | # Create a temporary file with the sample document | STRING |
| MEDIUM | …ng/samples/multimodal/static_non_text_content/agent.py | 213 | # Create the root agent with Files API integration | COMMENT |
| MEDIUM | …ributing/samples/multimodal/computer_use/playwright.py | 26 | # Define a mapping from the user-friendly key names to Playwright's expected key names. | COMMENT |
| MEDIUM | contributing/samples/live/tool_callbacks_agent/agent.py | 224 | # Create the agent with tool callbacks | COMMENT |
| MEDIUM | …ributing/samples/live/non_blocking_tool_agent/agent.py | 44 | # Create a FunctionTool wrapping the long-running async function | COMMENT |
| MEDIUM | contributing/samples/live/tools_agent/agent.py | 97 | # Create an image part using the blob's data and mime type | COMMENT |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 640 | # Create the cache analysis research assistant agent | COMMENT |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 837 | # Create the app with context caching configuration | STRING |
| MEDIUM | …ing/samples/context_management/rewind_session/agent.py | 52 | # Create the agent | COMMENT |
| MEDIUM | …ting/samples/context_management/rewind_session/main.py | 98 | # Create a session | COMMENT |
| MEDIUM | …ontext_management/postgres_session_service/compose.yml | 17 | # This file defines a PostgreSQL service used to demonstrate ADK's | COMMENT |
| MEDIUM | tests/integration/fixture/bigquery_agent/agent.py | 32 | # Define an appropriate application name | COMMENT |
| MEDIUM | tests/unittests/test_runners.py | 2019 | # Create a mock session | COMMENT |
| MEDIUM | tests/unittests/test_verify_snippets.py | 127 | # Create a dummy module to test discovery | STRING |
| MEDIUM | tests/unittests/artifacts/test_artifact_service.py | 52 | # Define a fixed datetime object to be returned by datetime.now() | COMMENT |
| MEDIUM | tests/unittests/tools/test_load_artifacts_tool.py | 213 | # Create a minimal valid docx in memory | COMMENT |
| MEDIUM | tests/unittests/tools/test_load_artifacts_tool.py | 262 | # Create a minimal valid docx in memory | COMMENT |
| MEDIUM | tests/unittests/tools/test_load_artifacts_tool.py | 350 | # Create a minimal valid docx in memory with custom namespace prefix 'ns0' | COMMENT |
| MEDIUM | tests/unittests/tools/test_load_artifacts_tool.py | 1122 | # Create a DataFrame with 101 rows | COMMENT |
| 232 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 159 | except OSError: | CODE |
| HIGH | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 332 | except (IndexError, ValueError): | CODE |
| HIGH | …uting/samples/live/api_server_example/agent_example.py | 798 | except Exception: | CODE |
| HIGH | …uting/samples/live/api_server_example/agent_example.py | 171 | except: | CODE |
| HIGH | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 914 | except asyncio.CancelledError: | CODE |
| HIGH | tests/unittests/tools/mcp_tool/test_session_context.py | 1078 | except asyncio.CancelledError: | CODE |
| HIGH | tests/unittests/tools/mcp_tool/test_session_context.py | 1210 | except asyncio.CancelledError: | CODE |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 2900 | except RuntimeError: | CODE |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 2943 | except RuntimeError: | CODE |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 2972 | except ValueError: | CODE |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 3050 | except RuntimeError: | CODE |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 14677 | except Exception: | CODE |
| HIGH | tests/unittests/utils/test_feature_decorator.py | 227 | except FileNotFoundError: | CODE |
| HIGH | tests/unittests/models/test_gemma_llm.py | 601 | except ImportError: | CODE |
| HIGH | tests/unittests/cli/test_adk_web_server_tests.py | 526 | except ProcessLookupError: | CODE |
| HIGH | …sts/unittests/cli/_telemetry/test_metrics_collector.py | 79 | except OSError: | CODE |
| HIGH | tests/unittests/cli/_telemetry/test_metrics_reporter.py | 72 | except OSError: | CODE |
| HIGH | tests/unittests/cli/utils/test_cli_create.py | 650 | except click.Abort: | CODE |
| HIGH | tests/unittests/cli/utils/test_cli_deploy.py | 1011 | except Exception: | CODE |
| HIGH | tests/unittests/streaming/test_multi_agent_streaming.py | 108 | except (asyncio.TimeoutError, asyncio.CancelledError): | CODE |
| HIGH | tests/unittests/streaming/test_live_tool_shutdown.py | 116 | except asyncio.TimeoutError: | CODE |
| HIGH | tests/unittests/streaming/test_live_tool_shutdown.py | 267 | except asyncio.TimeoutError: | CODE |
| HIGH | tests/unittests/streaming/test_live_tool_shutdown.py | 364 | except asyncio.TimeoutError: | CODE |
| HIGH | tests/unittests/streaming/test_live_tool_shutdown.py | 613 | except asyncio.TimeoutError: | CODE |
| HIGH | tests/unittests/streaming/test_live_tool_shutdown.py | 725 | except asyncio.CancelledError: | CODE |
| HIGH | tests/unittests/streaming/test_live_tool_shutdown.py | 687 | except asyncio.CancelledError: | CODE |
| HIGH | tests/unittests/streaming/test_streaming.py | 56 | except (asyncio.TimeoutError, asyncio.CancelledError): | CODE |
| HIGH | tests/unittests/streaming/test_streaming.py | 907 | except (asyncio.TimeoutError, asyncio.CancelledError): | CODE |
| HIGH | tests/unittests/streaming/test_streaming.py | 68 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | tests/unittests/streaming/test_streaming.py | 919 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | tests/unittests/streaming/test_streaming_tool_events.py | 155 | except (asyncio.TimeoutError, asyncio.CancelledError): | CODE |
| HIGH | tests/unittests/workflow/test_workflow_failures.py | 115 | except CustomError: | CODE |
| HIGH | …ests/workflow/test_workflow_llm_agent_interruptions.py | 731 | except StopAsyncIteration: | CODE |
| HIGH | …ests/workflow/test_workflow_llm_agent_interruptions.py | 861 | except StopAsyncIteration: | CODE |
| HIGH | tests/unittests/live/test_live_llm_flow.py | 371 | except asyncio.CancelledError: | CODE |
| HIGH | tests/unittests/live/test_live_llm_flow.py | 345 | except asyncio.CancelledError: | CODE |
| HIGH | tests/unittests/telemetry/test_spans.py | 211 | except Exception: | CODE |
| HIGH | …ittests/code_executors/test_container_code_executor.py | 291 | except OSError: | CODE |
| HIGH | …ests/code_executors/test_unsafe_local_code_executor.py | 510 | except OSError: | CODE |
| HIGH | …unittests/flows/llm_flows/test_live_model_callbacks.py | 152 | except _StopReceive: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1759 | except StopTest: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1844 | except StopTest: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 699 | except NonRetryableError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 767 | except NonRetryableError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 852 | except NonRetryableError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1141 | except NonRetryableError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1262 | except NonRetryableError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1458 | except StopError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 917 | except StopError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 992 | except StopError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1052 | except StopError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1393 | except StopError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 2172 | except StopTestError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 2244 | except StopTestError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 2379 | except StopTestError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 1200 | except StopError: | CODE |
| HIGH | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 2314 | except StopTestError: | CODE |
| HIGH | …ts/unittests/flows/llm_flows/tools/test_thread_pool.py | 58 | except RuntimeError: | CODE |
| HIGH | tests/remote/triggers/conftest.py | 163 | except requests.RequestException: | CODE |
| HIGH | src/google/adk/runners.py | 1838 | except ImportError: | CODE |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …buting/samples/tools/output_schema_with_tools/agent.py | 68 | except Exception as e: | CODE |
| MEDIUM | …buting/samples/adk_team/adk_pr_triaging_agent/utils.py | 92 | print(f"Error: File not found: {file_path}.") | CODE |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 157 | except Exception as e: | CODE |
| LOW⚡ | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 175 | except Exception as e: | CODE |
| LOW⚡ | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 182 | except Exception as e: | CODE |
| MEDIUM | …ributing/samples/adk_team/adk_answering_agent/utils.py | 96 | print(f"Error: Invalid GCS link format: {gcs_uri}") | CODE |
| MEDIUM | …ributing/samples/adk_team/adk_answering_agent/utils.py | 110 | print(f"Error: Failed to parse GCS link '{gcs_uri}': {e}") | CODE |
| MEDIUM | …tributing/samples/adk_team/adk_answering_agent/main.py | 82 | print(f"Error from GitHub API: {response['errors']}", file=sys.stderr) | STRING |
| MEDIUM⚡ | …tributing/samples/adk_team/adk_answering_agent/main.py | 179 | print("Error: Discussion JSON missing 'number' field.", file=sys.stderr) | CODE |
| MEDIUM⚡ | …tributing/samples/adk_team/adk_answering_agent/main.py | 186 | print(f"Error: File not found: {args.discussion_file}", file=sys.stderr) | CODE |
| MEDIUM⚡ | …tributing/samples/adk_team/adk_answering_agent/main.py | 189 | print(f"Error: Invalid JSON in {source_desc}: {e}", file=sys.stderr) | CODE |
| MEDIUM | …g/samples/adk_team/adk_issue_formatting_agent/utils.py | 53 | print(f"Error: File not found: {file_path}.") | CODE |
| LOW | …es/adk_team/adk_documentation/adk_docs_updater/main.py | 126 | except Exception as e: | STRING |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 99 | except Exception as e: | CODE |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 454 | except Exception as e: | STRING |
| LOW | contributing/samples/adk_team/adk_stale_agent/main.py | 91 | except Exception as e: | CODE |
| LOW | contributing/samples/adk_team/adk_stale_agent/main.py | 129 | except Exception as e: | CODE |
| LOW | contributing/samples/adk_team/adk_stale_agent/main.py | 211 | except Exception as e: | CODE |
| LOW | contributing/samples/adk_team/adk_pr_agent/agent.py | 66 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …ributing/samples/plugins/plugin_debug_logging/agent.py | 84 | except Exception as e: | CODE |
| LOW⚡ | …mples/environment_and_skills/skills_agent_gcs/agent.py | 60 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | contributing/samples/workflows/auth_oauth/agent.py | 111 | except Exception as e: | CODE |
| LOW | …ing/samples/mcp/mcp_server_side_sampling/mcp_server.py | 61 | except Exception as e: | CODE |
| LOW | …ples/mcp/mcp_streamablehttp_agent/filesystem_server.py | 112 | except Exception as e: | CODE |
| LOW | …ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py | 100 | except Exception as e: | CODE |
| MEDIUM | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 95 | print(f"Error: mTLS cert files not found in {cert_dir}") | CODE |
| LOW | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 123 | except Exception as e: | CODE |
| LOW | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 151 | except Exception as e: | CODE |
| LOW | contributing/samples/mcp/mcp_toolset_auth/main.py | 105 | except Exception as e: | CODE |
| LOW⚡ | contributing/samples/models/interactions_api/main.py | 306 | except Exception: | CODE |
| LOW | contributing/samples/models/interactions_api/main.py | 355 | except Exception as e: | CODE |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 498 | except Exception as e: | CODE |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 528 | except Exception as e: | CODE |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 562 | except Exception as e: | CODE |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 484 | def admin_update_config(): | CODE |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 503 | def admin_add_user(): | CODE |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 533 | def admin_add_client(): | CODE |
| LOW | …grations/authn-adk-all-in-one/hotel_booker_app/main.py | 145 | except Exception as e: | CODE |
| MEDIUM⚡ | …tributing/samples/integrations/gcp_auth/client/main.py | 63 | print(f"Error mounting /static: {e}") | CODE |
| MEDIUM⚡ | …tributing/samples/integrations/gcp_auth/client/main.py | 72 | print(f"Error serving static/index.html: {e}") | CODE |
| MEDIUM | …tributing/samples/integrations/gcp_auth/client/main.py | 300 | print(f"Error processing auth wrapper: {e}") | CODE |
| MEDIUM | …tributing/samples/integrations/gcp_auth/client/main.py | 68 | def get_index(): | CODE |
| MEDIUM | …tributing/samples/integrations/gcp_auth/client/main.py | 89 | def list_local_agents(): | CODE |
| LOW⚡ | …tributing/samples/integrations/gcp_auth/client/main.py | 62 | except Exception as e: | CODE |
| LOW⚡ | …tributing/samples/integrations/gcp_auth/client/main.py | 71 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 101 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 120 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 137 | except Exception: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 191 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 206 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 229 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 254 | except Exception: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 299 | except Exception as e: | CODE |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 351 | except Exception as e: | CODE |
| MEDIUM | …tributing/samples/integrations/gcp_auth/client/main.py | 453 | print(f"Error finalizing credentials: {e}") | STRING |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 452 | except Exception as e: | STRING |
| LOW | contributing/samples/integrations/data_agent/agent.py | 124 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | contributing/samples/integrations/gepa/experiment.py | 182 | except Exception as e: | CODE |
| LOW | …ibuting/samples/integrations/gepa/voter_agent/tools.py | 221 | except Exception as e: | CODE |
| LOW | …ibuting/samples/integrations/gepa/voter_agent/tools.py | 303 | except Exception as e: | STRING |
| 579 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contributing/samples/core/artifacts/agent.py | 158 | CODE | |
| LOW | contributing/samples/core/runner_debug_example/main.py | 132 | CODE | |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/utils.py | 114 | CODE | |
| LOW | …g/samples/adk_team/adk_issue_monitoring_agent/agent.py | 48 | CODE | |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 167 | CODE | |
| LOW | …adk_answering_agent/upload_docs_to_vertex_ai_search.py | 54 | CODE | |
| LOW | …tributing/samples/adk_team/adk_answering_agent/main.py | 145 | CODE | |
| LOW | …adk_team/adk_answering_agent/gemini_assistant/agent.py | 30 | CODE | |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 157 | CODE | |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 304 | CODE | |
| LOW | …ntributing/samples/adk_team/adk_documentation/tools.py | 759 | CODE | |
| LOW | contributing/samples/adk_team/adk_stale_agent/utils.py | 200 | CODE | |
| LOW | contributing/samples/adk_team/adk_pr_agent/agent.py | 30 | CODE | |
| LOW | …les/patterns/context_offloading_with_artifact/agent.py | 53 | CODE | |
| LOW | …les/patterns/context_offloading_with_artifact/agent.py | 192 | CODE | |
| LOW | contributing/samples/hitl/human_in_loop/main.py | 42 | CODE | |
| LOW | contributing/samples/hitl/human_in_loop/main.py | 52 | CODE | |
| LOW | …cp/mcp_progress_callback_agent/mock_progress_server.py | 84 | CODE | |
| LOW | contributing/samples/mcp/mcp_toolset_auth/main.py | 48 | CODE | |
| LOW | …uting/samples/models/litellm_inline_tool_call/agent.py | 96 | CODE | |
| LOW | contributing/samples/models/interactions_api/main.py | 57 | CODE | |
| LOW | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 319 | CODE | |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 159 | CODE | |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 238 | CODE | |
| LOW | contributing/samples/integrations/gepa/experiment.py | 50 | CODE | |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 30 | CODE | |
| LOW | contributing/samples/integrations/gepa/rater_lib.py | 90 | CODE | |
| LOW | …ting/samples/integrations/sandbox_computer_use/main.py | 51 | CODE | |
| LOW | …ng/samples/multimodal/static_non_text_content/agent.py | 55 | CODE | |
| LOW | …ributing/samples/multimodal/computer_use/playwright.py | 232 | CODE | |
| LOW | …uting/samples/live/api_server_example/agent_example.py | 398 | CODE | |
| LOW | …uting/samples/live/api_server_example/agent_example.py | 441 | CODE | |
| LOW | …uting/samples/live/api_server_example/agent_example.py | 210 | CODE | |
| LOW | …uting/samples/live/api_server_example/agent_example.py | 320 | CODE | |
| LOW | …uting/samples/live/api_server_example/agent_example.py | 497 | CODE | |
| LOW | …uting/samples/live/api_server_example/agent_example.py | 583 | CODE | |
| LOW | contributing/samples/live/tools_agent/agent.py | 59 | CODE | |
| LOW | …ext_management/cache_analysis/run_cache_experiments.py | 541 | CODE | |
| LOW | …ting/samples/context_management/rewind_session/main.py | 55 | CODE | |
| LOW | …samples/context_management/static_instruction/agent.py | 142 | CODE | |
| LOW | tests/integration/conftest.py | 95 | CODE | |
| LOW | …tion/fixture/ecommerce_customer_service_agent/agent.py | 250 | CODE | |
| LOW | …tegration/integrations/agent_identity/test_3lo_flow.py | 141 | CODE | |
| LOW | …rations/agent_identity/test_agent_identity_3lo_flow.py | 132 | CODE | |
| LOW | tests/unittests/testing_utils.py | 148 | CODE | |
| LOW | tests/unittests/test_release_dependencies.py | 202 | CODE | |
| LOW | tests/unittests/_invariants.py | 408 | CODE | |
| LOW | tests/unittests/_invariants.py | 529 | CODE | |
| LOW | …sts/unittests/tools/test_function_tool_declarations.py | 140 | CODE | |
| LOW | …s/unittests/tools/bigtable/test_bigtable_query_tool.py | 189 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 859 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 918 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 981 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1138 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1226 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1295 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1506 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1625 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1699 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1728 | CODE | |
| 545 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …on_integration_tool/clients/test_connections_client.py | 628 | google.oauth2.service_account.Credentials.from_service_account_info.assert_called_once_with( | CODE |
| CRITICAL | …sts/unittests/a2a/integration/test_client_server_v1.py | 764 | item.status_update.status.message.parts.add().text = text | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 136 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 168 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 209 | self.manager.genai_client.aio.caches.create.assert_called_once() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 235 | self.manager.genai_client.aio.caches.delete.assert_awaited_once_with( | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 306 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 417 | self.manager.genai_client.aio.caches.create.assert_awaited_once() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 434 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 458 | self.manager.genai_client.aio.caches.create.assert_awaited_once() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 493 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 576 | self.manager.genai_client.aio.caches.delete.assert_called_once_with( | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 987 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 1011 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 1027 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 1353 | self.manager.genai_client.aio.caches.create.assert_called_once() | CODE |
| CRITICAL⚡ | …s/unittests/integrations/eventarc/test_message_tool.py | 497 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL⚡ | …s/unittests/integrations/eventarc/test_message_tool.py | 511 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL⚡ | …s/unittests/integrations/eventarc/test_message_tool.py | 514 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 220 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 266 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 336 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 358 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 380 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 401 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 433 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 449 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 465 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 481 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 559 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 598 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | …s/unittests/integrations/eventarc/test_message_tool.py | 622 | self.mock_eventarc_v1.types.CloudEvent.CloudEventAttributeValue.assert_any_call( | CODE |
| CRITICAL | src/google/adk/cli/browser/chunk-ORABBJZL.js | 40 | `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):n.push(r);continue}if(e){let i="Infinite loop on byt | CODE |
| CRITICAL | src/google/adk/cli/browser/chunk-62TVWKO3.js | 10 | }`,s=je(u,{schema:$e})}r=s?.type??r,s?.alias&&(!a||a.text===t)&&(a={text:s.alias,wrap:a?.wrap,type:r});let c=this.state. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/unittests/labs/antigravity/test_antigravity_agent.py | 1120 | # None would put `{"result": null}` in front of the parent's model. | COMMENT |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 345 | assert table.schema.equals( | CODE |
| HIGH | tests/unittests/utils/test_json_utils.py | 32 | result = safe_json_loads('{"a": {"b": [1, null, true]}}') | CODE |
| HIGH | tests/unittests/utils/test_streaming_utils.py | 2061 | '{"int": 1, "float": 1.5, "bool": true, "null": null}' | CODE |
| HIGH⚡ | tests/unittests/utils/test_schema_utils.py | 177 | json_text = '{"name": "test", "optional_field": null}' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 950 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 959 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 973 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 987 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_apigee_llm.py | 921 | f' "{index}"}}, "finish_reason": null}}]}}\n\n' | CODE |
| HIGH | tests/unittests/models/test_litellm.py | 2345 | ' {"enum":["a",null,"b"],"type":["string","null"]}' | CODE |
| HIGH | tests/unittests/sessions/test_session_service.py | 1012 | # Another session for the same user should see the null, not a dropped key. | COMMENT |
| HIGH | tests/unittests/sessions/test_session_service.py | 1138 | # Another session for the same user should see the null, not a dropped key. | COMMENT |
| HIGH | tests/unittests/sessions/test_session_service.py | 1264 | # Another session for the same user should see the null, not a dropped key. | COMMENT |
| HIGH | tests/unittests/sessions/test_session_service.py | 852 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 922 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 997 | """A None-valued delta to user: state stores null, it does not delete it.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 1048 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 1123 | """A None-valued delta to user: state stores null, it does not delete it.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 1174 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 1249 | """A None-valued delta to user: state stores null, it does not delete it.""" | STRING |
| HIGH | tests/unittests/evaluation/test_eval_config.py | 407 | ' "userSimulatorConfig": {"type": null, "model": "explicit-null"}}' | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 2071 | ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description' | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 2073 | ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","desc | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 2080 | ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description' | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 2082 | ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","desc | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 2083 | ' standalone mcp tool","parameters":null,"type":"function"}]' | CODE |
| HIGH | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 4907 | # null (the {agent_state: null, end_of_agent: true} shape), | COMMENT |
| HIGH | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 162 | Order is fixed: (1) None → null; (2) node-shape (``name@run_id`` or | STRING |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 108 | ts = timestamp_pb2.Timestamp() # type: ignore[possibly-undefined] | CODE |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 115 | v = Value() # type: ignore[possibly-undefined] | CODE |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 116 | s = Struct() # type: ignore[possibly-undefined] | CODE |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 267 | p.metadata.CopyFrom(ParseDict(metadata, Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/a2a/_compat.py | 851 | smr.metadata.CopyFrom(ParseDict(request_metadata, Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/a2a/_compat.py | 1220 | event.metadata.CopyFrom(ParseDict(metadata, Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/a2a/_compat.py | 1271 | obj.metadata.CopyFrom(ParseDict(dict(metadata), Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/utils/streaming_utils.py | 885 | PartialArg only supports scalar values (string, number, bool, null) and | STRING |
| HIGH | src/google/adk/sessions/sqlite_session_service.py | 53 | # always win with their delta value (including SQL NULL / JSON null), unlike | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/samples/context_management/cache_analysis/__init__.py | 17 | __all__ = ['agent'] | CODE |
| LOW | …ples/context_management/static_instruction/__init__.py | 29 | __all__ = ['agent'] | CODE |
| LOW | tests/unittests/plugins/test_auto_tracing_helpers.py | 42 | def set_attribute(self, key: str, value: Any) -> None: | CODE |
| LOW | tests/unittests/workflow/test_function_node.py | 1012 | def set_state_return_none(ctx: Context) -> None: | CODE |
| LOW | tests/unittests/telemetry/test_telemetry_context.py | 66 | def _set_env(monkeypatch: pytest.MonkeyPatch, **env: Optional[str]) -> None: | CODE |
| LOW | …s/unittests/telemetry/functional/scenarios/__init__.py | 52 | __all__ = ["Scenario"] | CODE |
| LOW | …tests/flows/llm_flows/tools/test_functions_parallel.py | 210 | async def set_items(item: str, tool_context: ToolContext) -> None: | CODE |
| LOW | …tests/flows/llm_flows/tools/test_functions_parallel.py | 224 | async def set_done(done: str, tool_context: ToolContext) -> None: | CODE |
| LOW | src/google/adk/__init__.py | 37 | __all__ = ['Agent', 'Context', 'Event', 'Runner', 'Workflow'] | CODE |
| LOW | src/google/adk/labs/antigravity/__init__.py | 30 | __all__ = [ | CODE |
| LOW | src/google/adk/labs/openai/__init__.py | 27 | __all__ = [ | CODE |
| LOW | src/google/adk/artifacts/__init__.py | 27 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/bash_tool.py | 134 | def _set_resource_limits(policy: BashToolPolicy) -> None: | CODE |
| LOW | src/google/adk/tools/langchain_tool.py | 29 | __all__ = [ | CODE |
| LOW⚡ | src/google/adk/tools/_function_parameter_parse_util.py | 223 | def _update_for_default_if_mldev(schema: types.Schema) -> None: | CODE |
| LOW | src/google/adk/tools/crewai_tool.py | 28 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/google_api_tool/__init__.py | 31 | __all__ = [ | CODE |
| LOW | …google/adk/tools/google_api_tool/google_api_toolset.py | 123 | def set_tool_filter(self, tool_filter: ToolPredicate | List[str]) -> None: | CODE |
| LOW | src/google/adk/tools/bigtable/__init__.py | 31 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/data_agent/__init__.py | 23 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/bigquery/__init__.py | 48 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/apihub_tool/__init__.py | 17 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/retrieval/__init__.py | 24 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/model_consult/__init__.py | 20 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/environment/__init__.py | 21 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/pubsub/__init__.py | 30 | __all__ = ["PubSubCredentialsConfig", "PubSubToolConfig", "PubSubToolset"] | CODE |
| LOW | src/google/adk/tools/spanner/__init__.py | 38 | __all__ = [ | CODE |
| LOW | …gle/adk/tools/application_integration_tool/__init__.py | 18 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/environment_simulation/__init__.py | 17 | __all__ = ["EnvironmentSimulationFactory"] | CODE |
| LOW | …/adk/tools/agent_simulator/tool_connection_analyzer.py | 28 | __all__ = ["ToolConnectionAnalyzer"] | CODE |
| LOW | …le/adk/tools/agent_simulator/agent_simulator_engine.py | 28 | __all__ = ["AgentSimulatorEngine"] | CODE |
| LOW | src/google/adk/tools/agent_simulator/__init__.py | 26 | __all__ = ["AgentSimulatorFactory"] | CODE |
| LOW | …le/adk/tools/agent_simulator/agent_simulator_plugin.py | 28 | __all__ = ["AgentSimulatorPlugin"] | CODE |
| LOW | …e/adk/tools/agent_simulator/agent_simulator_factory.py | 28 | __all__ = ["AgentSimulatorFactory"] | CODE |
| LOW | …le/adk/tools/agent_simulator/agent_simulator_config.py | 58 | __all__ = [ | CODE |
| LOW | …oogle/adk/tools/agent_simulator/tool_connection_map.py | 29 | __all__ = ["StatefulParameter", "ToolConnectionMap"] | CODE |
| LOW | …/agent_simulator/strategies/tool_spec_mock_strategy.py | 29 | __all__ = ["ToolSpecMockStrategy"] | CODE |
| LOW | src/google/adk/tools/agent_simulator/strategies/base.py | 28 | __all__ = ["MockStrategy"] | CODE |
| LOW | src/google/adk/tools/mcp_tool/__init__.py | 15 | __all__ = [] | CODE |
| LOW | src/google/adk/tools/mcp_tool/mcp_toolset.py | 79 | def _set_allow_config_stdio_servers(value: Optional[bool]) -> None: | CODE |
| LOW | src/google/adk/tools/openapi_tool/__init__.py | 18 | __all__ = [ | CODE |
| LOW | …adk/tools/openapi_tool/openapi_spec_parser/__init__.py | 26 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/openapi_tool/auth/__init__.py | 17 | __all__ = [ | CODE |
| LOW | …ls/openapi_tool/auth/credential_exchangers/__init__.py | 20 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/openapi_tool/common/__init__.py | 17 | __all__ = [ | CODE |
| LOW | src/google/adk/memory/__init__.py | 28 | __all__ = [ | CODE |
| LOW | src/google/adk/auth/__init__.py | 43 | __all__ = [ | CODE |
| LOW | src/google/adk/auth/exchanger/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/auth/refresher/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/plugins/__init__.py | 31 | __all__ = [ | CODE |
| LOW | src/google/adk/plugins/plugin_manager.py | 95 | def set_skip_closing_plugins(self, value: bool) -> None: | CODE |
| LOW⚡ | src/google/adk/a2a/_compat.py | 264 | def set_part_metadata(p: Part, metadata: dict[str, Any]) -> None: | CODE |
| LOW | src/google/adk/a2a/_compat.py | 1211 | def set_event_metadata(event: Any, metadata: dict[str, Any]) -> None: | CODE |
| LOW | src/google/adk/a2a/_compat.py | 1259 | def set_struct_metadata(obj: Any, metadata: dict[str, Any]) -> None: | CODE |
| LOW | src/google/adk/a2a/agent/_remote_a2a_agent.py | 97 | __all__ = [ | CODE |
| LOW | src/google/adk/a2a/agent/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/a2a/executor/interceptors/__init__.py | 17 | __all__ = [ | CODE |
| LOW | src/google/adk/platform/time.py | 29 | def set_time_provider(provider: Callable[[], float]) -> None: | CODE |
| LOW | src/google/adk/platform/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/platform/_random.py | 30 | def set_random_provider(provider: Callable[[], random.Random]) -> None: | CODE |
| 99 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unittests/test_runners.py | 578 | CODE | |
| MEDIUM | tests/unittests/test_runners.py | 650 | CODE | |
| MEDIUM | …sts/unittests/labs/antigravity/test_sub_agent_tools.py | 207 | CODE | |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 480 | CODE | |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 504 | CODE | |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 526 | CODE | |
| MEDIUM | …unittests/plugins/test_notification_error_callbacks.py | 55 | CODE | |
| MEDIUM | …unittests/plugins/test_notification_error_callbacks.py | 68 | CODE | |
| MEDIUM | …unittests/plugins/test_notification_error_callbacks.py | 75 | CODE | |
| MEDIUM | …unittests/plugins/test_notification_error_callbacks.py | 289 | CODE | |
| MEDIUM | …unittests/plugins/test_notification_error_callbacks.py | 294 | CODE | |
| MEDIUM | tests/unittests/a2a/agent/test_remote_a2a_agent.py | 7379 | CODE | |
| MEDIUM | tests/unittests/agents/test_managed_agent.py | 540 | CODE | |
| MEDIUM | tests/unittests/agents/test_managed_agent.py | 571 | CODE | |
| MEDIUM | tests/unittests/agents/test_managed_agent.py | 799 | CODE | |
| MEDIUM | tests/unittests/agents/test_parallel_agent.py | 406 | CODE | |
| MEDIUM | tests/unittests/agents/test_parallel_agent.py | 432 | CODE | |
| MEDIUM | tests/unittests/models/test_fallback_model.py | 369 | CODE | |
| MEDIUM | tests/unittests/cli/test_fast_api.py | 3752 | CODE | |
| MEDIUM | tests/unittests/cli/test_fast_api.py | 5687 | CODE | |
| MEDIUM | tests/unittests/cli/test_fast_api.py | 6014 | CODE | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 107 | CODE | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 146 | CODE | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 1725 | CODE | |
| MEDIUM | tests/unittests/streaming/test_multi_agent_streaming.py | 175 | CODE | |
| MEDIUM | tests/unittests/integrations/slack/test_slack_runner.py | 93 | CODE | |
| MEDIUM | tests/unittests/integrations/slack/test_slack_runner.py | 168 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow_failures.py | 1061 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow_failures.py | 1147 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow_failures.py | 1246 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow_failures.py | 1253 | CODE | |
| MEDIUM | tests/unittests/workflow/test_node_runner_ctx.py | 119 | CODE | |
| MEDIUM | tests/unittests/workflow/test_node_runner_ctx.py | 440 | CODE | |
| MEDIUM | tests/unittests/workflow/test_node_runner_ctx.py | 460 | CODE | |
| MEDIUM | …sts/unittests/workflow/test_node_runner_integration.py | 55 | CODE | |
| MEDIUM | …sts/unittests/workflow/test_node_runner_integration.py | 114 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow.py | 1410 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow.py | 2621 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow.py | 2688 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow.py | 2697 | CODE | |
| MEDIUM | tests/unittests/workflow/test_node_runner_utils.py | 95 | CODE | |
| MEDIUM | tests/unittests/workflow/test_dynamic_use_as_output.py | 155 | CODE | |
| MEDIUM | tests/unittests/live/test__runner_utils.py | 306 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1296 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1386 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1638 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1668 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_agent_evaluator.py | 67 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_agent_evaluator.py | 131 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_agent_evaluator.py | 435 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_llm_as_judge.py | 518 | CODE | |
| MEDIUM | tests/unittests/runners/test_runner_node.py | 184 | CODE | |
| MEDIUM | tests/unittests/runners/test_runner_node.py | 768 | CODE | |
| MEDIUM | tests/unittests/telemetry/test_node_tracing.py | 54 | CODE | |
| MEDIUM | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 3098 | CODE | |
| MEDIUM | tests/unittests/flows/llm_flows/test_base_llm_flow.py | 3588 | CODE | |
| MEDIUM | …ittests/flows/llm_flows/tools/test_functions_simple.py | 2664 | CODE | |
| MEDIUM | src/google/adk/a2a/agent/_remote_a2a_agent.py | 2088 | CODE | |
| MEDIUM | src/google/adk/agents/base_agent.py | 475 | CODE | |
| MEDIUM | src/google/adk/agents/base_agent.py | 491 | CODE | |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ributing/samples/adk_team/adk_answering_agent/utils.py | 141 | # Check if the generated link exists | COMMENT |
| LOW | …ributing/samples/hitl/human_tool_confirmation/agent.py | 87 | # Set require_confirmation to True or a callable to require user | STRING |
| LOW | …uting/samples/mcp/mcp_toolset_auth/oauth_mcp_server.py | 133 | # Check if this is an MCP request | COMMENT |
| LOW⚡ | contributing/samples/models/interactions_api/main.py | 304 | # Check if interactions attribute exists | COMMENT |
| LOW⚡ | contributing/samples/models/interactions_api/main.py | 316 | # Check if interactions API is available | COMMENT |
| LOW | contributing/samples/models/interactions_api/main.py | 365 | # Check if interactions API is available | COMMENT |
| LOW | …ng/samples/multimodal/static_non_text_content/agent.py | 113 | # Check if file already exists | STRING |
| LOW⚡ | …uting/samples/live/api_server_example/agent_example.py | 299 | if pya_output_stream_instance.is_active(): # Check if stream is active | CODE |
| LOW | tests/unittests/test_optional_dependencies.py | 34 | # Check if we should run integration tests that require network/install | COMMENT |
| LOW⚡ | …i_tool/openapi_spec_parser/test_openapi_spec_parser.py | 74 | # Check if operationId is auto generated based on path and method. | COMMENT |
| LOW | …ntial_service/test_session_state_credential_service.py | 240 | # Set exchanged_auth_credential to None | COMMENT |
| LOW⚡ | …ntial_service/test_session_state_credential_service.py | 257 | # Set credential_key to empty string | COMMENT |
| LOW | tests/unittests/a2a/converters/test_event_converter.py | 242 | # Check if error_code is in the result - it should be there since we set it | COMMENT |
| LOW | tests/unittests/cli/utils/test_agent_loader.py | 578 | # Check if it's an LlmAgent before accessing model and instruction | STRING |
| LOW | tests/unittests/cli/utils/test_agent_loader.py | 916 | # Check if it's an LlmAgent before accessing model and instruction | STRING |
| LOW | tests/unittests/cli/utils/test_cli_tools_click.py | 2438 | # Check if log_to_tmp_folder was called with the correct log level object from `logging` module | COMMENT |
| LOW | …ts/unittests/streaming/test_streaming_audio_storage.py | 90 | # # Check if artifacts were created | COMMENT |
| LOW | tests/unittests/workflow/test_function_node.py | 558 | # Check if received_input contains Section objects | COMMENT |
| LOW | tests/unittests/workflow/test_function_node.py | 597 | # Check if received_input contains Section objects | COMMENT |
| LOW | tests/unittests/evaluation/test_local_eval_service.py | 861 | # Check if this is the specific cancel scope error we're testing for | COMMENT |
| LOW | …ests/flows/llm_flows/test_progressive_sse_streaming.py | 773 | # Check if this is a follow-up call (after function response) | COMMENT |
| LOW | …ittests/flows/llm_flows/tools/test_functions_simple.py | 637 | # Check if the response has the expected structure | COMMENT |
| LOW | scripts/db_migration.sh | 132 | # Check if the first line is already the import statement | COMMENT |
| LOW | scripts/update_constraints.sh | 142 | # Check if files are completely identical (including header) | COMMENT |
| LOW | scripts/update_constraints.sh | 146 | # Check if package versions are identical (ignoring header) when --force is NOT specified | COMMENT |
| LOW | .github/workflows/release-publish.yml | 49 | # Check if this version matches the one in the v1 manifest to determine if it's a v1 release | COMMENT |
| LOW | src/google/adk/tools/_google_credentials.py | 280 | # Check if we have valid credentials | COMMENT |
| LOW | src/google/adk/tools/_google_credentials.py | 353 | # Check if OAuth response is available | COMMENT |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 236 | # Check if it's a method defined in BaseComputer class | COMMENT |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 317 | # Check if it's a method defined in Computer class | COMMENT |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 373 | # Check if computer use is already configured | COMMENT |
| LOW | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 1428 | # Check if we have an existing session | COMMENT |
| LOW | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 1432 | # Check if the existing session is still connected and bound to | COMMENT |
| LOW | …penapi_tool/openapi_spec_parser/openapi_spec_parser.py | 309 | # Check if we have a cached resolved value | COMMENT |
| LOW | src/google/adk/auth/auth_handler.py | 262 | # Check if raw_auth_credential exists | COMMENT |
| LOW | src/google/adk/auth/auth_handler.py | 269 | # Check if oauth2 exists in raw_auth_credential | COMMENT |
| LOW | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 295 | # Check if credentials object defines an explicit identifier | COMMENT |
| LOW | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 3207 | # Check if it's already a valid JSON object or array to avoid double-encoding | COMMENT |
| LOW | …c/google/adk/plugins/save_files_as_artifacts_plugin.py | 116 | # Check if file exceeds inline_data limit (20MB) | COMMENT |
| LOW | src/google/adk/a2a/executor/a2a_agent_executor_impl.py | 126 | # Check if the user input is responding to the agent's | COMMENT |
| LOW | src/google/adk/agents/invocation_context.py | 691 | # Check if there is a newer user event in the session that belongs to a sub-branch of this tool call. | COMMENT |
| LOW | src/google/adk/agents/_streaming_mode.py | 83 | # Check if it's text (not function call) | STRING |
| LOW | src/google/adk/agents/_streaming_mode.py | 117 | # Check if this is text (not a function call) | STRING |
| LOW | src/google/adk/agents/config_agent_utils.py | 370 | # Check if it's a function reference or module reference | COMMENT |
| LOW | src/google/adk/utils/context_utils.py | 63 | # Check if it's exactly the Context type (or an alias like ToolContext) | COMMENT |
| LOW⚡ | src/google/adk/utils/streaming_utils.py | 362 | # Check if function call is complete. | COMMENT |
| LOW⚡ | src/google/adk/utils/streaming_utils.py | 380 | # Check if this is a streaming FC (has partial_args or will_continue is not | COMMENT |
| LOW | src/google/adk/utils/streaming_utils.py | 466 | # Check if we need to flush the current buffer first | COMMENT |
| LOW | src/google/adk/utils/cache_performance_analyzer.py | 68 | # Check if event has cache metadata and optionally filter by agent | COMMENT |
| LOW | src/google/adk/utils/feature_decorator.py | 112 | # Check if usage should be bypassed via environment variable at call time | COMMENT |
| LOW | src/google/adk/utils/feature_decorator.py | 134 | # Check if usage should be bypassed via environment variable at call time | COMMENT |
| LOW | src/google/adk/models/lite_llm.py | 1546 | # Check if thought signature is embedded in the tool call ID | COMMENT |
| LOW | src/google/adk/models/lite_llm.py | 3597 | # Check if warning should be suppressed via environment variable | STRING |
| LOW | src/google/adk/models/registry.py | 196 | # Check if it matches known patterns that require optional dependencies | COMMENT |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 119 | # Check if we have existing cache metadata and if it's valid | COMMENT |
| LOW⚡ | src/google/adk/models/gemini_context_cache_manager.py | 285 | # Check if cache has expired | COMMENT |
| LOW⚡ | src/google/adk/models/gemini_context_cache_manager.py | 290 | # Check if cache has been used for too many invocations | COMMENT |
| LOW⚡ | src/google/adk/models/gemini_context_cache_manager.py | 300 | # Check if fingerprint matches using cached contents count | COMMENT |
| LOW | src/google/adk/models/gemini_context_cache_manager.py | 400 | # Check if we have token count from previous response for cache size validation | COMMENT |
| LOW | src/google/adk/models/google_llm.py | 680 | # Check if computer use is configured | COMMENT |
| 34 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 171 | # Step 1: Fetch Maintainers | COMMENT |
| LOW⚡ | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 179 | # Step 2: Fetch target issues | COMMENT |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 200 | # Step 3: Iterate through issues async 'CONCURRENCY_LIMIT' at a time | COMMENT |
| LOW⚡ | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 163 | ## Step 1: Identify Issue Type & Applicability | COMMENT |
| LOW⚡ | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 173 | ## Step 2: Analyze the Issue Content | COMMENT |
| LOW | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 192 | ## Step 3: Formulate and Post a Comment (If Necessary) | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 392 | # Step 0: Ensure we are on the base branch and it's up to date. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 396 | # Step 1: Create a new, unique branch from the base branch. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 402 | # Step 2: Apply the file changes. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 423 | # Step 3: Stage the changes. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 427 | # Step 4: Commit the changes. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 431 | # Step 5: Push the new branch to the remote repository. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 435 | # Step 6: Create the pull request via GitHub API. | COMMENT |
| LOW | contributing/samples/mcp/mcp_sse_mtls_agent/README.md | 40 | ### Step 1: Start the MCP Server | COMMENT |
| LOW | contributing/samples/mcp/mcp_sse_mtls_agent/README.md | 57 | ### Step 2: Run the ADK Agent (Client) | COMMENT |
| LOW | tests/unittests/tools/test_function_tool.py | 1837 | # Step 1: First call ("sales") pauses for input. | COMMENT |
| LOW | tests/unittests/tools/test_function_tool.py | 1851 | # Step 2: Resume first call ("APAC"); model then calls ask_and_analyze("marketing"), | COMMENT |
| LOW | tests/unittests/tools/test_function_tool.py | 1870 | # Step 3: Resume second call ("EMEA") and complete. | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 4524 | # Step 1: Incoming litellm message with thought_signature | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 4541 | # Step 2: Convert to ADK internal format (types.Content) | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 4546 | # Step 3: Convert back to litellm format | COMMENT |
| LOW⚡ | tests/unittests/runners/test_resume_invocation.py | 71 | # Step 1: Setup | COMMENT |
| LOW⚡ | tests/unittests/runners/test_resume_invocation.py | 211 | # Step 1: Setup | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 99 | # Step 2: Run the first invocation | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 132 | # Step 3: Run the second invocation | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 163 | # Step 4: Resume the second invocation with function response. | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 235 | # Step 2: Run the first invocation, which pauses on the long running function. | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 264 | # Step 3: Run the second invocation, expect it to finish normally. | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 283 | # Step 4: Run the third invocation, which also pauses on the long running | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 302 | # Step 5: Resume the first invocation with long running function response. | COMMENT |
| LOW | docs/guides/plugins/tool_call_integrity_plugin/index.md | 112 | ### Step 1: Allow unstamped calls | COMMENT |
| LOW | docs/guides/plugins/tool_call_integrity_plugin/index.md | 129 | ### Step 2: Reject unstamped calls | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1667 | # Step 4: Run after_run callbacks on successful completion or early exit. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2037 | # Step 2: Handle new message, by running callbacks and appending to | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2045 | # Step 3: Set agent to run for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2094 | # Step 1: Maybe retrieve a previous user message for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2102 | # Step 2: Create invocation context. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2126 | # Step 4: Populate agent states for the current invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2128 | # Step 5: Set agent to run for the invocation. | COMMENT |
| LOW | src/google/adk/runners.py | 1595 | # Step 1: Run the before_run callbacks to see if we should early exit. | COMMENT |
| LOW | src/google/adk/runners.py | 1617 | # Step 2: Otherwise continue with normal execution | COMMENT |
| LOW | src/google/adk/runners.py | 2025 | # Step 1: Create invocation context in memory. | COMMENT |
| LOW | src/google/adk/runners.py | 2113 | # Step 3: Maybe handle new message. | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 260 | # Step 1: Validate credential configuration | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 263 | # Step 2: Check if credential is already ready (no processing needed) | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 270 | # Step 3: Try to load existing processed credential | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 281 | # Step 4: If no existing credential, load from auth response | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 289 | # Step 5: If still no credential available, check if client credentials | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 304 | # Step 6: Exchange credential if needed (e.g., service account to access | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 308 | # Step 7: Refresh credential if expired | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 313 | # Step 8: Save credential if it was modified | COMMENT |
| LOW | src/google/adk/auth/credential_manager.py | 212 | # Step 0: Handle CustomAuthScheme if present | COMMENT |
| LOW⚡ | …le/adk/cli/built_in_agents/tools/write_config_files.py | 182 | # Step 1: Validate all configs before writing any files | COMMENT |
| LOW | …le/adk/cli/built_in_agents/tools/write_config_files.py | 395 | # Step 1: Parse YAML content | COMMENT |
| LOW | …le/adk/cli/built_in_agents/tools/write_config_files.py | 416 | # Step 2: Validate against AgentConfig schema | COMMENT |
| LOW | …le/adk/cli/built_in_agents/tools/write_config_files.py | 455 | # Step 3: Additional structural validation | COMMENT |
| LOW⚡ | …ph/references/graph_schema/graph_schema_ddl_advisor.md | 40 | ### Step 1: Analyze User Requirements | COMMENT |
| LOW⚡ | …ph/references/graph_schema/graph_schema_ddl_advisor.md | 48 | ### Step 2: Build and Correct DDL Syntax | COMMENT |
| LOW⚡ | …ph/references/graph_schema/graph_schema_ddl_advisor.md | 56 | ### Step 3: Apply Schema Best Practices | COMMENT |
| LOW⚡ | …ph/references/graph_schema/graph_schema_ddl_advisor.md | 71 | ### Step 4: Integrate Semantic Features (If applicable) | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 171 | # Step 1: Fetch Maintainers | COMMENT |
| LOW⚡ | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 179 | # Step 2: Fetch target issues | COMMENT |
| LOW | …ng/samples/adk_team/adk_issue_monitoring_agent/main.py | 200 | # Step 3: Iterate through issues async 'CONCURRENCY_LIMIT' at a time | COMMENT |
| LOW⚡ | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 163 | ## Step 1: Identify Issue Type & Applicability | COMMENT |
| LOW⚡ | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 173 | ## Step 2: Analyze the Issue Content | COMMENT |
| LOW | …g/samples/adk_team/adk_issue_formatting_agent/agent.py | 192 | ## Step 3: Formulate and Post a Comment (If Necessary) | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 392 | # Step 0: Ensure we are on the base branch and it's up to date. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 396 | # Step 1: Create a new, unique branch from the base branch. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 402 | # Step 2: Apply the file changes. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 423 | # Step 3: Stage the changes. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 427 | # Step 4: Commit the changes. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 431 | # Step 5: Push the new branch to the remote repository. | COMMENT |
| LOW⚡ | …ntributing/samples/adk_team/adk_documentation/tools.py | 435 | # Step 6: Create the pull request via GitHub API. | COMMENT |
| LOW | tests/unittests/tools/test_function_tool.py | 1837 | # Step 1: First call ("sales") pauses for input. | COMMENT |
| LOW | tests/unittests/tools/test_function_tool.py | 1851 | # Step 2: Resume first call ("APAC"); model then calls ask_and_analyze("marketing"), | COMMENT |
| LOW | tests/unittests/tools/test_function_tool.py | 1870 | # Step 3: Resume second call ("EMEA") and complete. | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 4524 | # Step 1: Incoming litellm message with thought_signature | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 4541 | # Step 2: Convert to ADK internal format (types.Content) | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 4546 | # Step 3: Convert back to litellm format | COMMENT |
| LOW⚡ | tests/unittests/runners/test_resume_invocation.py | 71 | # Step 1: Setup | COMMENT |
| LOW⚡ | tests/unittests/runners/test_resume_invocation.py | 211 | # Step 1: Setup | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 99 | # Step 2: Run the first invocation | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 132 | # Step 3: Run the second invocation | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 163 | # Step 4: Resume the second invocation with function response. | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 235 | # Step 2: Run the first invocation, which pauses on the long running function. | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 264 | # Step 3: Run the second invocation, expect it to finish normally. | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 283 | # Step 4: Run the third invocation, which also pauses on the long running | COMMENT |
| LOW | tests/unittests/runners/test_resume_invocation.py | 302 | # Step 5: Resume the first invocation with long running function response. | COMMENT |
| LOW | tests/unittests/runners/test_run_tool_confirmation.py | 668 | # Step 1: | COMMENT |
| LOW | tests/unittests/runners/test_run_tool_confirmation.py | 723 | # Step 2: | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1667 | # Step 4: Run after_run callbacks on successful completion or early exit. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2037 | # Step 2: Handle new message, by running callbacks and appending to | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2045 | # Step 3: Set agent to run for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2094 | # Step 1: Maybe retrieve a previous user message for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2102 | # Step 2: Create invocation context. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2126 | # Step 4: Populate agent states for the current invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2128 | # Step 5: Set agent to run for the invocation. | COMMENT |
| LOW | src/google/adk/runners.py | 1595 | # Step 1: Run the before_run callbacks to see if we should early exit. | COMMENT |
| LOW | src/google/adk/runners.py | 1617 | # Step 2: Otherwise continue with normal execution | COMMENT |
| LOW | src/google/adk/runners.py | 2025 | # Step 1: Create invocation context in memory. | COMMENT |
| LOW | src/google/adk/runners.py | 2113 | # Step 3: Maybe handle new message. | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 260 | # Step 1: Validate credential configuration | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 263 | # Step 2: Check if credential is already ready (no processing needed) | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 270 | # Step 3: Try to load existing processed credential | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 281 | # Step 4: If no existing credential, load from auth response | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 289 | # Step 5: If still no credential available, check if client credentials | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 304 | # Step 6: Exchange credential if needed (e.g., service account to access | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 308 | # Step 7: Refresh credential if expired | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 313 | # Step 8: Save credential if it was modified | COMMENT |
| LOW | src/google/adk/auth/credential_manager.py | 212 | # Step 0: Handle CustomAuthScheme if present | COMMENT |
| LOW⚡ | …le/adk/cli/built_in_agents/tools/write_config_files.py | 182 | # Step 1: Validate all configs before writing any files | COMMENT |
| LOW | …le/adk/cli/built_in_agents/tools/write_config_files.py | 395 | # Step 1: Parse YAML content | COMMENT |
| LOW | …le/adk/cli/built_in_agents/tools/write_config_files.py | 416 | # Step 2: Validate against AgentConfig schema | COMMENT |
| LOW | …le/adk/cli/built_in_agents/tools/write_config_files.py | 455 | # Step 3: Additional structural validation | COMMENT |
| LOW | src/google/adk/workflow/_llm_agent_wrapper.py | 499 | # Step 2: run parent.run_async; on every fresh task FC, dispatch | COMMENT |
| LOW | src/google/adk/evaluation/agent_evaluator.py | 232 | # Step 1: Perform evals, basically inferencing and evaluation of metrics | COMMENT |
| LOW | src/google/adk/evaluation/agent_evaluator.py | 247 | # Step 2: Post-process the results! | COMMENT |
| LOW | src/google/adk/flows/llm_flows/tools/_confirmation.py | 276 | # Step 1: Find the last user-authored event and parse confirmation | COMMENT |
| LOW | src/google/adk/flows/llm_flows/tools/_confirmation.py | 302 | # Step 2: Drop confirmations that have already been consumed. | COMMENT |
| LOW | src/google/adk/flows/llm_flows/tools/_confirmation.py | 377 | # Step 3: Resolve confirmation targets using extracted helper. | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ributing/samples/tools/long_running_functions/agent.py | 29 | # Here we just return a status. | COMMENT |
| LOW | …tributing/samples/integrations/gcp_auth/client/main.py | 386 | # For this example, we'll just return an error message to the user and 200 OK. | COMMENT |
| MEDIUM | …s/integrations/antigravity_agent_as_sub_agent/agent.py | 49 | # local harness fails closed on any tool that no policy approves. | COMMENT |
| MEDIUM | …buting/samples/integrations/antigravity_agent/agent.py | 29 | # Antigravity harness fails closed: any tool that no policy explicitly | COMMENT |
| MEDIUM | …ing/samples/integrations/antigravity_workflow/agent.py | 71 | # local harness fails closed on any tool that no policy approves. | COMMENT |
| MEDIUM | …ntegrations/antigravity_agent_with_sub_agents/agent.py | 41 | # harness as a client-side tool taking a single `request` string, so its | COMMENT |
| MEDIUM | …ntegrations/antigravity_agent_with_sub_agents/agent.py | 81 | # A local harness fails closed on any tool that no policy approves, and | COMMENT |
| MEDIUM | …ntegrations/antigravity_agent_with_sub_agents/agent.py | 99 | # the LlmAgent as a sub-agent. The child is bridged to the harness as a | COMMENT |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 178 | """Generate comprehensive test scenarios for system validation. | STRING |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 339 | # Simulate comprehensive performance optimization analysis | COMMENT |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 372 | """Perform comprehensive security vulnerability analysis and risk assessment. | STRING |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 461 | """Design comprehensive scalability architecture for anticipated growth. | STRING |
| MEDIUM | …ing/samples/context_management/cache_analysis/agent.py | 565 | """Perform comprehensive performance benchmarking and analysis. | STRING |
| LOW | tests/integration/test_tools.py | 169 | # For non relevant query, the agent should still be running fine, just return | COMMENT |
| MEDIUM | …gration/fixture/flow_complex_spark/sample.session.json | 124 | "text": "## Flooding in Florida: A Comprehensive Analysis of Causes, Impacts, and Mitigation Strategies\n\n* | CODE |
| MEDIUM | …gration/fixture/flow_complex_spark/sample.session.json | 124 | "text": "## Flooding in Florida: A Comprehensive Analysis of Causes, Impacts, and Mitigation Strategies\n\n* | CODE |
| MEDIUM⚡ | tests/unittests/test_verify_release_artifact.py | 264 | # Fail closed: a harness failure must never be reported as a pass. | COMMENT |
| MEDIUM | …sts/unittests/labs/antigravity/test_sub_agent_tools.py | 149 | # Explicit, not `assert not result`: the harness needs a str, and None -- | COMMENT |
| MEDIUM⚡ | …s/unittests/labs/antigravity/test_antigravity_agent.py | 153 | # `BaseAgent.validate_sub_agents_unique_names` only warns, and the harness's | COMMENT |
| MEDIUM⚡ | …s/unittests/labs/antigravity/test_antigravity_agent.py | 820 | # Mirrors external report PR #6765 case 2: the harness dies mid-turn, once a | COMMENT |
| MEDIUM⚡ | …s/unittests/labs/antigravity/test_antigravity_agent.py | 828 | # The harness raises before the turn yields its first event. | COMMENT |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 166 | # `_user_tool`), so the two would collide in the harness's one-tool-per-name | COMMENT |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 1292 | # Both halves: the harness routes a tool to exactly one of them, a success to | COMMENT |
| MEDIUM | tests/unittests/tools/test_google_tool.py | 298 | # as the expected config. Comparing the __dict__ is a robust | COMMENT |
| LOW⚡ | tests/unittests/a2a/executor/test_a2a_agent_executor.py | 473 | # For testing, we'll just return the mock runner | COMMENT |
| MEDIUM | …sts/unittests/utils/test_cache_performance_analyzer.py | 268 | """Test comprehensive analysis with cache data and token metrics.""" | STRING |
| MEDIUM | tests/unittests/streaming/test_streaming.py | 40 | """A robust runner for streaming tests that avoids resource leaks.""" | STRING |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1573 | # -- otherwise the harness hangs. | COMMENT |
| MEDIUM | …ittests/telemetry/test_agent_engine_metric_exporter.py | 119 | # --- Scenario builders (each returns a driven harness). -------------------- | COMMENT |
| MEDIUM | …emetry/test_agent_engine_metric_exporter_properties.py | 71 | # Reuses the fake-clock harness from test_agent_engine_metric_exporter. | COMMENT |
| MEDIUM | tests/unittests/telemetry/test_telemetry_context.py | 1063 | # implementation-detail span attributes) gives a robust signal: either the | COMMENT |
| MEDIUM | .agents/skills/adk-verify-snippets/scripts/run.py | 76 | # when run.py is imported in-process (e.g. from a test harness) rather | COMMENT |
| MEDIUM | .agents/skills/adk-verify-snippets/scripts/verify_md.py | 35 | # Using exit codes (not string/emoji matching) makes classification robust to | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_event_converter.py | 644 | # The harness hands back a client tool's value as the JSON string | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 303 | # arguments before the harness sends the empty `ActionInvokeSubagent` step. | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 395 | # a cancelled connect would otherwise orphan the harness subprocess. | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 445 | # A harness error mid-turn leaves a resumable conversation behind, so | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 753 | # the loop. The hook is a blocking round trip the harness completes before | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_tool_result_capture.py | 243 | # Returning None is what leaves the harness's own error message in place: | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_tool_result_capture.py | 249 | # harness routes here is a `ToolExecutionError`, but only that shape | COMMENT |
| MEDIUM | src/google/adk/utils/yaml_utils.py | 107 | width=1000000, # Essentially disable text wraps | CODE |
| MEDIUM | src/google/adk/utils/_callable_utils.py | 88 | """Cached version of typing.get_type_hints with robust callable unwrapping. | STRING |
| MEDIUM | …le/adk/cli/built_in_agents/tools/write_config_files.py | 65 | """Write multiple YAML configurations with comprehensive validation-before-write. | STRING |
| MEDIUM | src/google/adk/cli/conformance/_replay_validators.py | 105 | # Compare events using model dumps with comprehensive exclude dict | COMMENT |
| MEDIUM | src/google/adk/cli/conformance/_replay_validators.py | 147 | """Compare actual session with recorded session using comprehensive exclude list. | STRING |
| MEDIUM | src/google/adk/cli/conformance/_replay_validators.py | 166 | # Compare sessions using model dumps with comprehensive exclude dict | COMMENT |
| LOW | src/google/adk/evaluation/final_response_match_v2.py | 220 | # If no results were successfully evaluated, just return the first sample. | STRING |
| LOW | src/google/adk/evaluation/response_evaluator.py | 87 | # If the metric is response_match_score, just use the RougeEvaluator. | COMMENT |
| MEDIUM | src/google/adk/events/event_actions.py | 102 | # `exclude`/`include` directives, e.g. the conformance harness excluding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tools/pydantic_argument/tests/test_create_company.json | 27 | "company_name": "Acme Corp", | CODE |
| LOW | …tools/pydantic_argument/tests/test_create_company.json | 59 | "company_name": "Acme Corp", | CODE |
| LOW | contributing/samples/workflows/auth_api_key/README.md | 49 | api_key='placeholder', | CODE |
| LOW | contributing/samples/workflows/auth_api_key/agent.py | 45 | api_key='placeholder', | CODE |
| LOW | …ributing/samples/workflows/agent_in_workflow/README.md | 11 | - If the name is anything other than "Jane Doe", it yields a `retry` route, sending the user back to the `intake_agen | CODE |
| LOW | …ributing/samples/workflows/agent_in_workflow/README.md | 12 | - If the name is "Jane Doe", it routes to the `generate_instruction` agent. | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 38 | "text": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 55 | "name": "John Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 56 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 87 | "name": "John Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 88 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 151 | "name": "Jane Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 152 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 183 | "name": "Jane Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/wrong_name.json | 184 | "phone_number": "555-1234" | CODE |
| LOW | …es/workflows/agent_in_workflow/tests/phone_number.json | 38 | "text": "Jane Doe" | CODE |
| LOW | …es/workflows/agent_in_workflow/tests/phone_number.json | 55 | "name": "Jane Doe", | CODE |
| LOW | …es/workflows/agent_in_workflow/tests/phone_number.json | 56 | "phone_number": "555-1234" | CODE |
| LOW | …es/workflows/agent_in_workflow/tests/phone_number.json | 87 | "name": "Jane Doe", | CODE |
| LOW | …es/workflows/agent_in_workflow/tests/phone_number.json | 88 | "phone_number": "555-1234" | CODE |
| LOW | …amples/workflows/agent_in_workflow/tests/jane_doe.json | 38 | "text": "555-1234" | CODE |
| LOW | …amples/workflows/agent_in_workflow/tests/jane_doe.json | 55 | "name": "Jane Doe", | CODE |
| LOW | …amples/workflows/agent_in_workflow/tests/jane_doe.json | 56 | "phone_number": "555-1234" | CODE |
| LOW | …amples/workflows/agent_in_workflow/tests/jane_doe.json | 87 | "name": "Jane Doe", | CODE |
| LOW | …amples/workflows/agent_in_workflow/tests/jane_doe.json | 88 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_approve.json | 38 | "text": "Jane Doe" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_approve.json | 67 | "text": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_approve.json | 84 | "name": "Jane Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_approve.json | 85 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_approve.json | 116 | "name": "Jane Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_approve.json | 117 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_decline.json | 38 | "text": "Jane Doe" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_decline.json | 67 | "text": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_decline.json | 84 | "name": "Jane Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_decline.json | 85 | "phone_number": "555-1234" | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_decline.json | 116 | "name": "Jane Doe", | CODE |
| LOW | …ples/workflows/agent_in_workflow/tests/go_decline.json | 117 | "phone_number": "555-1234" | CODE |
| LOW | …agent_in_workflow/tests/jane_doe_and_phone_number.json | 26 | "name": "Jane Doe", | CODE |
| LOW | …agent_in_workflow/tests/jane_doe_and_phone_number.json | 27 | "phone_number": "555-1234" | CODE |
| LOW | …agent_in_workflow/tests/jane_doe_and_phone_number.json | 58 | "name": "Jane Doe", | CODE |
| LOW | …agent_in_workflow/tests/jane_doe_and_phone_number.json | 59 | "phone_number": "555-1234" | CODE |
| LOW | …ons/authn-adk-all-in-one/hotel_booker_app/openapi.yaml | 145 | example: "John Doe" | CODE |
| LOW | …ons/authn-adk-all-in-one/hotel_booker_app/openapi.yaml | 226 | example: "John Doe" | CODE |
| LOW | …all-in-one/adk_agents/agent_openapi_tools/openapi.yaml | 145 | example: "John Doe" | CODE |
| LOW | …all-in-one/adk_agents/agent_openapi_tools/openapi.yaml | 226 | example: "John Doe" | CODE |
| LOW | …ntributing/samples/integrations/gepa/adk_agent_test.py | 328 | mock.user_id = "fake-user=id" | CODE |
| LOW | …/samples/integrations/livekit/client/static/index.html | 45 | <p class="placeholder"> | CODE |
| LOW | tests/integration/test_system_instruction.py | 93 | "customerJson": {"name": "John Doe", "age": 30, "count": 11.1}, | STRING |
| LOW⚡ | tests/unittests/test_samples.py | 164 | "GOOGLE_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 165 | "GEMINI_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 169 | "OPENAI_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 170 | "ANTHROPIC_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 171 | "AZURE_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 173 | "GITHUB_TOKEN": "dummy-token", | CODE |
| LOW | tests/unittests/test_samples.py | 251 | self.token: str | None = "dummy-token" | CODE |
| LOW | tests/unittests/test_samples.py | 254 | self.token = "dummy-token" | CODE |
| LOW | …ts/unittests/tools/test_forwarding_artifact_service.py | 127 | self.user_id = "fake_user" | CODE |
| LOW | …ts/unittests/tools/test_forwarding_artifact_service.py | 207 | ("fake_app", "fake_user", "test.txt", "fake_session_id") | CODE |
| LOW | …ts/unittests/tools/test_forwarding_artifact_service.py | 237 | ("fake_app", "fake_user", "test.txt", "fake_session_id") | CODE |
| LOW | …ts/unittests/tools/test_forwarding_artifact_service.py | 269 | ("fake_app", "fake_user", "test.txt", "fake_session_id") | CODE |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | contributing/samples/tools/pydantic_argument/README.md | 83 | export GOOGLE_GENAI_API_KEY="your-api-key" | CODE |
| HIGH | …ntributing/samples/core/runner_debug_example/README.md | 28 | export GOOGLE_API_KEY="your-api-key" | CODE |
| HIGH | …ntributing/samples/core/runner_debug_example/README.md | 212 | export GOOGLE_API_KEY="your-api-key" | CODE |
| HIGH | …s/environment_and_skills/daytona_environment/README.md | 31 | export DAYTONA_API_KEY="your-api-key" | CODE |
| HIGH | …mples/environment_and_skills/e2b_environment/README.md | 34 | export E2B_API_KEY="your-api-key" | CODE |
| HIGH | contributing/samples/models/interactions_api/README.md | 46 | export GOOGLE_API_KEY=your-api-key | CODE |
| HIGH | …tributing/samples/models/hello_world_apigeellm/main.py | 106 | # GOOGLE_API_KEY="your-api-key" | COMMENT |
| HIGH | …g/samples/integrations/files_retrieval_agent/README.md | 34 | export GOOGLE_API_KEY="your-api-key" | CODE |
| HIGH | contributing/samples/integrations/gcp_auth/README.md | 55 | --api-key=YOUR_API_KEY | CODE |
| HIGH | …/integrations/antigravity_agent_as_sub_agent/README.md | 23 | - Set a Gemini API key: `export GEMINI_API_KEY="your-api-key"` | CODE |
| HIGH | …uting/samples/integrations/antigravity_agent/README.md | 22 | - Set a Gemini API key: `export GEMINI_API_KEY="your-api-key"` | CODE |
| HIGH | …ting/samples/integrations/crewai_tool_kwargs/README.md | 43 | export GOOGLE_API_KEY="your-api-key-here" | CODE |
| HIGH | …ting/samples/integrations/crewai_tool_kwargs/README.md | 45 | export GEMINI_API_KEY="your-api-key-here" | CODE |
| HIGH | …ng/samples/integrations/antigravity_workflow/README.md | 27 | - Set a Gemini API key: `export GEMINI_API_KEY="your-api-key"` | CODE |
| HIGH | …tegrations/antigravity_agent_with_sub_agents/README.md | 26 | - Set a Gemini API key: `export GEMINI_API_KEY="your-api-key"` | CODE |
| HIGH | tests/integration/fixture/bigquery_agent/README.md | 9 | export GOOGLE_API_KEY=<your_api_key> | CODE |
| HIGH | tests/integration/fixture/bigquery_agent/README.md | 38 | export GOOGLE_API_KEY=<your_api_key> | CODE |
| HIGH | …skills/adk-agent-builder/references/getting-started.md | 35 | GOOGLE_API_KEY=YOUR_API_KEY | CODE |
| HIGH | src/google/adk/integrations/eleven_labs/_client.py | 47 | f"Export it via `export {API_KEY_ENV}='your-api-key'`." | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 154 | # Web UI (supports multi-agent directories or pointing directly to a single agent folder) | COMMENT |
| MEDIUM | …g/samples/multi_agent/multi_agent_llm_config/README.md | 1 | # Config-based Agent Sample - LLM multi-agent | COMMENT |
| MEDIUM⚡ | …k_team/adk_documentation/adk_release_analyzer/agent.py | 572 | # Pipeline Agent: Sequential orchestration of the analysis | STRING |
| MEDIUM | …uting/samples/integrations/spanner_rag_agent/README.md | 1 | # Spanner Tools RAG Agent Sample | COMMENT |
| MEDIUM | …uting/samples/integrations/spanner_rag_agent/README.md | 114 | ## 🤖 How to use the sample RAG agent built on Spanner | COMMENT |
| MEDIUM | contributing/samples/integrations/gepa/adk_agent.py | 244 | # We use an agent loop to orchestrate the llm-agent and the environment | COMMENT |
| MEDIUM | …g/samples/legacy_workflows/workflow_agent_seq/agent.py | 97 | # This agent orchestrates the pipeline by running the sub_agents in order. | STRING |
| MEDIUM⚡ | tests/unittests/a2a/utils/test_agent_card_builder.py | 449 | # Only the primary skill, no orchestration skill since no child nodes. | COMMENT |
| MEDIUM | …sts/unittests/streaming/test_live_streaming_configs.py | 607 | # Create run config with context window compression | COMMENT |
| MEDIUM | …ittests/telemetry/functional/scenarios/conversation.py | 46 | # The agent a multi-agent turn is handed on to, mid-turn, by transfer_to_agent. | COMMENT |
| MEDIUM⚡ | …s/flows/llm_flows/context/test_contents_other_agent.py | 438 | # Create a multi-agent conversation | COMMENT |
| MEDIUM | …sts/unittests/flows/llm_flows/context/test_contents.py | 195 | # Create multi-agent conversation where current turn starts from user | COMMENT |
| MEDIUM | .agents/skills/adk-agent-builder/SKILL.md | 46 | ## Graph orchestration | COMMENT |
| MEDIUM | …e/references/architecture-llm-context-orchestration.md | 1 | # LLM context orchestration from events | COMMENT |
| MEDIUM | docs/guides/agents/context/index.md | 174 | ### Workflow orchestration | COMMENT |
| MEDIUM | docs/guides/agents/managed_agent/index.md | 183 | ### Tool encapsulation for orchestration | COMMENT |
| MEDIUM | docs/guides/live/cascade_live/index.md | 91 | ### Text guardrails and pre-synthesis filtering | COMMENT |
| MEDIUM | scripts/curate_changelog.py | 82 | # scaffold to fill in by hand. Mirrors the format the model is asked to produce. | COMMENT |
| MEDIUM | src/google/adk/tools/load_artifacts_tool.py | 174 | # Cap rows to avoid exceeding context window limits | COMMENT |
| MEDIUM | src/google/adk/tools/skill_toolset.py | 1096 | # paths so the guard fires even when the LLM hallucinates a different path | COMMENT |
| MEDIUM | src/google/adk/tools/skill_toolset.py | 1893 | # paths so the guard fires even when the LLM hallucinates a different | COMMENT |
| MEDIUM | …/google/adk/tools/retrieval/vertex_ai_rag_retrieval.py | 151 | # Use Gemini built-in Vertex AI RAG tool for Gemini models. | COMMENT |
| MEDIUM | src/google/adk/tools/spanner/search_tool.py | 158 | # to inferencing with Vertex AI embedding model endpoint. | COMMENT |
| MEDIUM | src/google/adk/tools/spanner/search_tool.py | 826 | # Get the embedding model settings. The output dimensionality is an | STRING |
| MEDIUM | src/google/adk/memory/vertex_ai_rag_memory_service.py | 272 | # Fails fast: the RAG API cannot roll back corpora already written. | COMMENT |
| MEDIUM | src/google/adk/cli/api_server.py | 878 | # Set up HTTPX and gRPC instrumentation for A2A multi-agent observability. | COMMENT |
| MEDIUM | src/google/adk/cli/utils/_nested_agent_loader.py | 89 | # It is a multi-agent directory containing sub-directories with agents. | COMMENT |
| MEDIUM | src/google/adk/workflow/_workflow.py | 219 | # --- _run_impl: the orchestration loop --- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ls/hello_world_litellm_add_function_to_prompt/agent.py | 64 | # enable function calling, you can add functions to the models, and the | COMMENT |
| MEDIUM | …g/samples/integrations/authn-adk-all-in-one/idp/app.py | 66 | # A simple user registry for demonstration purposes | COMMENT |
| LOW | …buting/samples/integrations/spanner_rag_agent/agent.py | 46 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | …buting/samples/integrations/spanner_rag_agent/agent.py | 46 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/bigtable/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/bigtable/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/data_agent/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/data_agent/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/bigquery/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/bigquery/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/gcs_admin/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/gcs_admin/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | …g/samples/integrations/eventarc/generic_agent/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | …g/samples/integrations/eventarc/generic_agent/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/pubsub/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/pubsub/agent.py | 49 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/spanner/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/spanner/agent.py | 57 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | …ntributing/samples/integrations/spanner_admin/agent.py | 42 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | …ntributing/samples/integrations/spanner_admin/agent.py | 42 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| MEDIUM | …ing/samples/integrations/oauth_calendar_agent/agent.py | 45 | # you can also replace below customized `list_calendar_events` with built-in | COMMENT |
| LOW | contributing/samples/integrations/gcs/agent.py | 54 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/gcs/agent.py | 54 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | src/google/adk/tools/__init__.py | 51 | # If you are adding a new tool to this file, please make sure you add it to the | COMMENT |
| LOW⚡ | src/google/adk/cli/api_server.py | 866 | # Currently the instrumentation lib is in extras dependencies, make sure to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contributing/samples/integrations/gepa/experiment.py | 263 | CODE | |
| LOW | tests/unittests/test_invariants.py | 41 | CODE | |
| LOW | src/google/adk/runners.py | 276 | CODE | |
| LOW | src/google/adk/runners.py | 575 | CODE | |
| LOW | src/google/adk/tools/skill_toolset.py | 2027 | CODE | |
| LOW | …google/adk/tools/google_api_tool/google_api_toolset.py | 60 | CODE | |
| LOW | src/google/adk/tools/apihub_tool/apihub_toolset.py | 61 | CODE | |
| LOW | …/google/adk/tools/model_consult/_model_consult_tool.py | 157 | CODE | |
| LOW | …on_integration_tool/application_integration_toolset.py | 84 | CODE | |
| LOW | src/google/adk/tools/mcp_tool/mcp_toolset.py | 146 | CODE | |
| LOW | …ls/openapi_tool/openapi_spec_parser/openapi_toolset.py | 67 | CODE | |
| LOW | src/google/adk/auth/_kms_encryptor.py | 234 | CODE | |
| LOW | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 2975 | CODE | |
| LOW | src/google/adk/a2a/_compat.py | 487 | CODE | |
| LOW | src/google/adk/a2a/converters/to_adk_event.py | 198 | CODE | |
| LOW | src/google/adk/a2a/utils/agent_to_a2a.py | 80 | CODE | |
| LOW | src/google/adk/a2a/agent/_remote_a2a_agent.py | 660 | CODE | |
| LOW | …e/adk/optimization/gepa_root_agent_prompt_optimizer.py | 211 | CODE | |
| LOW | src/google/adk/agents/context.py | 123 | CODE | |
| LOW | src/google/adk/agents/context.py | 492 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 1115 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 1301 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 1392 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 1918 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 1073 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2230 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2388 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2578 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2668 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 3026 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 3292 | CODE | |
| LOW | src/google/adk/cli/fast_api.py | 97 | CODE | |
| LOW | src/google/adk/cli/api_server.py | 955 | CODE | |
| LOW | src/google/adk/cli/api_server.py | 1276 | CODE | |
| LOW | src/google/adk/cli/cli.py | 408 | CODE | |
| LOW | src/google/adk/cli/cli.py | 559 | CODE | |
| LOW | src/google/adk/cli/deployers/_cloud_run_deployer.py | 29 | CODE | |
| LOW | src/google/adk/cli/deployers/_base_deployer.py | 23 | CODE | |
| LOW | src/google/adk/cli/deployers/_docker_deployer.py | 26 | CODE | |
| LOW | src/google/adk/integrations/eleven_labs/_stt.py | 89 | CODE | |
| LOW | src/google/adk/integrations/mongodb/_search_tool.py | 332 | CODE | |
| LOW | src/google/adk/integrations/vmaas/sandbox_computer.py | 89 | CODE | |
| LOW | src/google/adk/integrations/eventarc/_message_tool.py | 47 | CODE | |
| LOW | src/google/adk/workflow/_node.py | 50 | CODE | |
| LOW | src/google/adk/workflow/_node.py | 67 | CODE | |
| LOW | src/google/adk/workflow/_node.py | 82 | CODE | |
| LOW | src/google/adk/workflow/_node_runner_utils.py | 51 | CODE | |
| LOW | src/google/adk/workflow/_dynamic_node_scheduler.py | 659 | CODE | |
| LOW | src/google/adk/evaluation/agent_evaluator.py | 129 | CODE | |
| LOW | src/google/adk/evaluation/agent_evaluator.py | 302 | CODE | |
| LOW | src/google/adk/evaluation/local_eval_service.py | 134 | CODE | |
| LOW | src/google/adk/evaluation/evaluation_generator.py | 744 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sts/unittests/tools/test_function_tool_declarations.py | 349 | def process_data(data: dict[str, Any]) -> str: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 32 | def test_function(param: str): | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 50 | def test_function(param: str): | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 70 | def test_function(param: str) -> None: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 89 | def test_function(param: str) -> None: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 107 | def test_function(param: str) -> str: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 126 | def test_function(param: str) -> Dict[str, str]: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 145 | def test_function(param: str) -> int: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 164 | def test_function(param: Any) -> Any: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 184 | def test_function() -> None: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 206 | def test_function( | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 237 | def test_function( | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 262 | def test_function( | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 283 | def test_function( | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 301 | async def test_function(param: str) -> AsyncGenerator[str, None]: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 320 | async def test_function(param: str) -> AsyncGenerator[str, None]: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 338 | def test_function(param: str) -> Generator[int, None, None]: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 357 | async def test_function(param: str) -> AsyncGenerator[Dict[str, str], None]: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 558 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 578 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 601 | def test_function(param: str) -> MyModel: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 634 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 649 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW⚡ | tests/unittests/tools/test_base_toolset.py | 265 | def test_function(param1: str, param2: int) -> str: | CODE |
| LOW | tests/unittests/tools/test_base_toolset.py | 294 | def test_function(param: str) -> str: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 31 | def test_function(_param: str) -> None: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 50 | def test_function(_param: str) -> None: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 68 | def test_function(_param: str) -> str: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 87 | def test_function(_param: str) -> int: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 106 | def test_function(_param: str) -> Dict[str, str]: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 125 | def test_function(_param: Any) -> Any: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 145 | def test_function(str_param: str, int_param: int, any_param: Any) -> str: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 166 | def test_function(file_patterns: list[str] | None = None) -> None: | CODE |
| LOW | …ts/tools/test_function_tool_with_import_annotations.py | 186 | def test_function() -> str: | CODE |
| LOW | …sts/unittests/tools/test_build_function_declaration.py | 892 | def process_data(data: dict[str, str]) -> str: | CODE |
| LOW | …sts/unittests/tools/test_build_function_declaration.py | 910 | def process_data(data: dict[str, Any]) -> str: | CODE |
| LOW | …sts/unittests/tools/test_build_function_declaration.py | 928 | def process_data(data: dict) -> str: | CODE |
| LOW⚡ | tests/unittests/tools/test_long_running_tool.py | 148 | def test_function(): | CODE |
| LOW⚡ | tests/unittests/plugins/test_auto_tracing_plugin.py | 276 | def helper(): | CODE |
| LOW | …ests/code_executors/test_unsafe_local_code_executor.py | 160 | def helper(name): | CODE |
| LOW | src/google/adk/tools/tool_configs.py | 100 | def my_function(args: ToolArgsConfig) -> BaseTool: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/db_migration.sh | 21 | # Usage: | COMMENT |
| LOW | scripts/update_constraints.sh | 18 | # Usage: | COMMENT |