An open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
This report presents the forensic synthetic code analysis of google/adk-python, a Python project with 21,317 GitHub stars. SynthScan v2.0 examined 649,300 lines of code across 2553 source files, recording 17916 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 31.4 places this repository in the Strong AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 17916 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 199 | 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 | 27 | 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 | 306 | def _replay_history_to_find_state( | STRING |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 510 | def add_stale_label_and_comment(item_number: int) -> dict[str, Any]: | STRING |
| LOW | …tributing/samples/adk_team/adk_triaging_agent/agent.py | 176 | def assign_gtech_owner_to_issue(issue_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 | …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⚡ | …ve/live_agent_api_server_example/live_agent_example.py | 320 | def _play_audio_pyaudio_handler( | CODE |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 180 | def create_text_request_payload(text: str) -> str: | CODE |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 188 | def create_audio_request_payload(audio_bytes: bytes, mime_type: str) -> str: | CODE |
| 10700 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 | # via | 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 | # llama-index-core | COMMENT |
| LOW | constraints-3.14.txt | 141 | # via | COMMENT |
| LOW | constraints-3.14.txt | 161 | charset-normalizer==3.4.9 | COMMENT |
| LOW | constraints-3.14.txt | 181 | cloudpickle==3.1.2 | COMMENT |
| LOW | constraints-3.14.txt | 201 | # authlib | COMMENT |
| LOW | constraints-3.14.txt | 221 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 241 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 261 | # via | COMMENT |
| LOW | constraints-3.14.txt | 281 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 301 | # via | COMMENT |
| LOW | constraints-3.14.txt | 321 | # python-discovery | COMMENT |
| LOW | constraints-3.14.txt | 341 | # aiosignal | COMMENT |
| LOW | constraints-3.14.txt | 361 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 381 | # google-cloud-logging | COMMENT |
| LOW | constraints-3.14.txt | 401 | # google-adk | COMMENT |
| LOW | constraints-3.14.txt | 421 | # google-cloud-monitoring | COMMENT |
| LOW | constraints-3.14.txt | 441 | # toolbox-adk | COMMENT |
| LOW | constraints-3.14.txt | 461 | # google-cloud-logging | COMMENT |
| LOW | constraints-3.14.txt | 481 | # google-cloud-logging | COMMENT |
| LOW | constraints-3.14.txt | 501 | # via | COMMENT |
| LOW | constraints-3.14.txt | 521 | # opentelemetry-exporter-gcp-monitoring | COMMENT |
| LOW | constraints-3.14.txt | 541 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 561 | # opentelemetry-exporter-gcp-trace | COMMENT |
| LOW | constraints-3.14.txt | 581 | googleapis-common-protos==1.75.0 | COMMENT |
| LOW | constraints-3.14.txt | 601 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 621 | # google-cloud-resource-manager | COMMENT |
| LOW | constraints-3.14.txt | 641 | # google-cloud-logging | COMMENT |
| LOW | constraints-3.14.txt | 661 | h11==0.16.0 | COMMENT |
| LOW | constraints-3.14.txt | 681 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 701 | # httpx-ws | COMMENT |
| LOW | constraints-3.14.txt | 721 | # tokenizers | COMMENT |
| LOW | constraints-3.14.txt | 741 | imagesize==2.0.0 | COMMENT |
| LOW | constraints-3.14.txt | 761 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 781 | # via | COMMENT |
| LOW | constraints-3.14.txt | 801 | # via | COMMENT |
| LOW | constraints-3.14.txt | 821 | langchain-core==1.4.9 | COMMENT |
| LOW | constraints-3.14.txt | 841 | # via | COMMENT |
| LOW | constraints-3.14.txt | 861 | # langchain-classic | COMMENT |
| LOW | constraints-3.14.txt | 881 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 901 | # alembic | COMMENT |
| LOW | constraints-3.14.txt | 921 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 941 | # myst-parser | COMMENT |
| LOW | constraints-3.14.txt | 961 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 981 | # llama-index-core | COMMENT |
| LOW | constraints-3.14.txt | 1001 | oauthlib==3.3.1 | COMMENT |
| LOW | constraints-3.14.txt | 1021 | # google-adk (pyproject.toml) | COMMENT |
| LOW | constraints-3.14.txt | 1041 | # opentelemetry-sdk | COMMENT |
| LOW | constraints-3.14.txt | 1061 | # opentelemetry-exporter-otlp-proto-http | COMMENT |
| LOW | constraints-3.14.txt | 1081 | # via | COMMENT |
| LOW | constraints-3.14.txt | 1101 | # google-cloud-spanner | COMMENT |
| LOW | constraints-3.14.txt | 1121 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 1141 | # -c constraints-3.14.txt.stable.tmp | COMMENT |
| LOW | constraints-3.14.txt | 1161 | # langsmith | COMMENT |
| 2410 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 | tests/unittests/test_optional_dependencies.py | 63 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unittests/test_optional_dependencies.py | 65 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unittests/test_optional_dependencies.py | 182 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unittests/test_optional_dependencies.py | 184 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unittests/artifacts/test_artifact_service.py | 2049 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/artifacts/test_artifact_service.py | 2051 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/tools/test_agent_tool.py | 1879 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unittests/tools/test_agent_tool.py | 1881 | # --------------------------------------------------------------------------- | 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 | 6990 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6992 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 8736 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 8738 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 8806 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 8808 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 9076 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 9078 | # ================================================================ | COMMENT |
| MEDIUM⚡ | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 10057 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6109 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6111 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6220 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6222 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6444 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6446 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6692 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 6694 | # ============================================================================== | COMMENT |
| MEDIUM | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 8502 | # ============================================================== | COMMENT |
| 494 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 | …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 | |
| LOW | …les/a2a/a2a_auth/remote_a2a/bigquery_agent/__init__.py | 15 | CODE | |
| LOW | contributing/samples/a2a/a2a_human_in_loop/__init__.py | 15 | CODE | |
| 1557 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 | …/samples/live/live_bidi_streaming_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 | …/samples/live/live_bidi_streaming_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_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 | …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 | …samples/live/live_bidi_streaming_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_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/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 | …samples/live/live_bidi_streaming_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 |
| HIGH | …samples/context_management/migrate_session_db/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_nvidia/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_gemma/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 | …ting/samples/models/hello_world_gemma3_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 | …samples/live/live_bidi_streaming_single_agent/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 | …s/integration/fixture/hello_world_agent_async/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 |
| 123 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 | 23 | # Create an MCP server with a name | COMMENT |
| MEDIUM | …ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py | 22 | # Create an MCP server with a name | COMMENT |
| MEDIUM | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 27 | # 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 | …ing/samples/live/live_non_blocking_tool_agent/agent.py | 44 | # Create a FunctionTool wrapping the long-running async function | COMMENT |
| MEDIUM | …/samples/live/live_bidi_streaming_tools_agent/agent.py | 97 | # Create an image part using the blob's data and mime type | COMMENT |
| MEDIUM | …buting/samples/live/live_tool_callbacks_agent/agent.py | 224 | # Create the agent with tool callbacks | 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 | 241 | # Create a function call from sub_agent1 | COMMENT |
| MEDIUM | tests/unittests/test_runners.py | 384 | # Create a function call from sub_agent2 | COMMENT |
| MEDIUM | tests/unittests/test_runners.py | 1684 | # 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 | 48 | # Define a fixed datetime object to be returned by datetime.now() | COMMENT |
| MEDIUM | tests/unittests/tools/test_load_artifacts_tool.py | 161 | # Create a minimal valid docx in memory | COMMENT |
| 236 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 | 125 | 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 | 92 | \ 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 | 191 | \ 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 | 428 | \ 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 | 1048 | 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 | 1092 | Runs the agent. NOTE: This sync interface is only for local testing and convenience purpose. Consider u | STRING |
| HIGH | src/google/adk/runners.py | 1185 | 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 | 2049 | Debug helper for quick agent experimentation and testing. This convenience method is designed for developers gettin | STRING |
| HIGH | src/google/adk/runners.py | 2266 | 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/file_artifact_service.py | 186 | 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/_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 | 47 | 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 | 336 | Lists accessible data agents in a project. Args: project_id: The project to list agents in. credentials: | STRING |
| HIGH | src/google/adk/tools/data_agent/data_agent_tool.py | 516 | 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 | 571 | 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 | 711 | 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 | 847 | 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 | 954 | 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/spanner/search_tool.py | 91 | 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 | 124 | 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 | 407 | 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 | 779 | 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 | 241 | 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 | 1154 | 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 |
| HIGH | src/google/adk/tools/mcp_tool/mcp_tool.py | 79 | Reads the first attribute in ``names`` that ``model`` defines. MCP SDK 1.x names its wire fields in camelCase. 2.x re | STRING |
| HIGH | src/google/adk/tools/mcp_tool/mcp_tool.py | 632 | Extracts authentication headers from credentials. Args: tool_context: The tool context of the current invoc | STRING |
| HIGH | …ools/openapi_tool/openapi_spec_parser/rest_api_tool.py | 346 | Prepares the request parameters for the API call. Args: parameters: A list of ApiParameter objects represen | STRING |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 82 | Creates a AuthScheme and AuthCredential for API key or bearer token. Examples: ``` # API Key in header auth_sch | STRING |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 240 | Constructs OpenID scheme and credential from configuration and credential dictionaries. Args: config_dict: Dict | STRING |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 304 | Constructs OpenID scheme and credential from OpenID URL, scopes, and credential dictionary. Fetches OpenID configurat | STRING |
| HIGH | src/google/adk/tools/openapi_tool/auth/auth_helpers.py | 459 | Converts a dictionary to a FastAPI AuthScheme object. Args: data: The dictionary representing the security sche | STRING |
| 101 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 | 97 | except Exception as e: | CODE |
| LOW | contributing/samples/adk_team/adk_stale_agent/agent.py | 452 | 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 | 96 | except Exception as e: | CODE |
| LOW | …ibuting/samples/mcp/mcp_sse_agent/filesystem_server.py | 84 | except Exception as e: | CODE |
| MEDIUM | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 82 | print(f"Error: mTLS cert files not found in {cert_dir}") | CODE |
| LOW | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 110 | except Exception as e: | CODE |
| LOW | …ng/samples/mcp/mcp_sse_mtls_agent/filesystem_server.py | 141 | 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 |
| 507 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 | 46 | 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 | …/samples/live/live_bidi_streaming_tools_agent/agent.py | 59 | CODE | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 398 | CODE | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 441 | CODE | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 210 | CODE | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 320 | CODE | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 497 | CODE | |
| LOW | …ve/live_agent_api_server_example/live_agent_example.py | 583 | 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 | 143 | CODE | |
| LOW | tests/unittests/test_release_dependencies.py | 200 | CODE | |
| LOW | …sts/unittests/tools/test_function_tool_declarations.py | 119 | CODE | |
| LOW | …s/unittests/tools/bigtable/test_bigtable_query_tool.py | 133 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 628 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 687 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 750 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 907 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 995 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1064 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1275 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1394 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1741 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 1883 | CODE | |
| LOW | …s/unittests/tools/mcp_tool/test_mcp_session_manager.py | 770 | CODE | |
| LOW | …sts/unittests/plugins/test_context_filtering_plugin.py | 222 | CODE | |
| 448 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 | 724 | item.status_update.status.message.parts.add().text = text | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 134 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 166 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 207 | self.manager.genai_client.aio.caches.create.assert_called_once() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 233 | self.manager.genai_client.aio.caches.delete.assert_awaited_once_with( | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 304 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 366 | self.manager.genai_client.aio.caches.create.assert_awaited_once() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 383 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 407 | self.manager.genai_client.aio.caches.create.assert_awaited_once() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 442 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 525 | self.manager.genai_client.aio.caches.delete.assert_called_once_with( | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 936 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 960 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 976 | self.manager.genai_client.aio.caches.create.assert_not_called() | CODE |
| CRITICAL | …/unittests/agents/test_gemini_context_cache_manager.py | 1302 | 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-TULSIPRQ.js | 10 | }`,s=$e(E,{schema:Ze})}r=s?.type??r,s?.alias&&(!a||a.text===t)&&(a={text:s.alias,wrap:a?.wrap,type:r});let c=this.state. | CODE |
| CRITICAL | src/google/adk/cli/browser/chunk-4V3PIBXT.js | 40 | `+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):r.push(t);continue}if(e){let i="Infinite loop on byt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/unittests/labs/antigravity/test_antigravity_agent.py | 1117 | # None would put `{"result": null}` in front of the parent's model. | COMMENT |
| HIGH | …ttests/plugins/test_bigquery_agent_analytics_plugin.py | 310 | 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_schema_utils.py | 128 | json_text = '{"name": "test", "optional_field": null}' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 693 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 702 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 716 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_completions_http_client.py | 730 | ' "Hello"}, "finish_reason": null}]}\n' | CODE |
| HIGH | tests/unittests/models/test_apigee_llm.py | 920 | f' "{index}"}}, "finish_reason": null}}]}}\n\n' | CODE |
| HIGH | tests/unittests/sessions/test_session_service.py | 842 | # Another session for the same user should see the null, not a dropped key. | COMMENT |
| HIGH | tests/unittests/sessions/test_session_service.py | 968 | # Another session for the same user should see the null, not a dropped key. | COMMENT |
| HIGH | tests/unittests/sessions/test_session_service.py | 1094 | # Another session for the same user should see the null, not a dropped key. | COMMENT |
| HIGH | tests/unittests/sessions/test_session_service.py | 682 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 752 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 827 | """A None-valued delta to user: state stores null, it does not delete it.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 878 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 953 | """A None-valued delta to user: state stores null, it does not delete it.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 1004 | """A None-valued delta stores null, it does not delete the key.""" | STRING |
| HIGH | tests/unittests/sessions/test_session_service.py | 1079 | """A None-valued delta to user: state stores null, it does not delete it.""" | STRING |
| HIGH | tests/unittests/evaluation/test_eval_config.py | 300 | ' "userSimulatorConfig": {"type": null, "model": "explicit-null"}}' | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 1832 | ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description' | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 1834 | ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","desc | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 1841 | ' tool.","parameters":null,"type":"function"},{"name":"mock_tool","description":"Description' | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 1843 | ' tool.","parameters":null,"type":"function"},{"name":"google_maps","type":"google_maps"},{"name":"mcp_tool","desc | CODE |
| HIGH⚡ | tests/unittests/telemetry/test_spans.py | 1844 | ' standalone mcp tool","parameters":null,"type":"function"}]' | CODE |
| HIGH | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 4085 | # null (the {agent_state: null, end_of_agent: true} shape), | COMMENT |
| HIGH | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 154 | Order is fixed: (1) None → null; (2) node-shape (``name@run_id`` or | STRING |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 107 | ts = timestamp_pb2.Timestamp() # type: ignore[possibly-undefined] | CODE |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 114 | v = Value() # type: ignore[possibly-undefined] | CODE |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 115 | s = Struct() # type: ignore[possibly-undefined] | CODE |
| HIGH⚡ | src/google/adk/a2a/_compat.py | 262 | p.metadata.CopyFrom(ParseDict(metadata, Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/a2a/_compat.py | 772 | smr.metadata.CopyFrom(ParseDict(request_metadata, Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/a2a/_compat.py | 1140 | event.metadata.CopyFrom(ParseDict(metadata, Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/a2a/_compat.py | 1191 | obj.metadata.CopyFrom(ParseDict(dict(metadata), Struct())) # type: ignore[possibly-undefined] | CODE |
| HIGH | src/google/adk/sessions/sqlite_session_service.py | 52 | # always win with their delta value (including SQL NULL / JSON null), unlike | COMMENT |
| 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/agents/test_context.py | 1034 | # Step 1: Root runs (child of root_ctx) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1043 | # Step 2: Child runs (child of root_run_ctx) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1052 | # Step 3: Grandchild runs (child of child_run_ctx) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1061 | # Step 4: Child runs again (sibling of child_run_ctx, parent is root_run_ctx!) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1070 | # Step 5: Root runs again (sibling of root_run_ctx, parent is root_ctx!) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1142 | # Step 1: Root runs, transfers to child | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1151 | # Step 2: Child runs, transfers back to root | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1160 | # Step 3: Root runs again, completes | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 3115 | # Step 1: Incoming litellm message with thought_signature | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 3132 | # Step 2: Convert to ADK internal format (types.Content) | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 3137 | # 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⚡ | src/google/adk/runners.py | 1675 | # Step 2: Otherwise continue with normal execution | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1681 | # Step 3: Run the on_event callbacks before persisting so callback | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1715 | # Step 4: Run the after_run callbacks to perform global cleanup tasks or | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2230 | # Step 1: Create invocation context in memory. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2237 | # Step 2: Handle new message, by running callbacks and appending to | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2246 | # Step 3: Set agent to run for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2285 | # Step 1: Maybe retrieve a previous user message for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2293 | # Step 2: Create invocation context. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2300 | # Step 3: Maybe handle new message. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2309 | # Step 4: Populate agent states for the current invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2311 | # Step 5: Set agent to run for the invocation. | COMMENT |
| LOW | src/google/adk/runners.py | 1655 | # Step 1: Run the before_run callbacks to see if we should early exit. | 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 |
| LOW⚡ | …ph/references/graph_schema/graph_schema_ddl_advisor.md | 79 | ### Step 5: Validate Graph Topology Limitations | COMMENT |
| LOW⚡ | …ph/references/graph_schema/graph_schema_ddl_advisor.md | 88 | ### Step 6: Output Refined DDL | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 230 | # Step 1: Validate credential configuration | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 233 | # Step 2: Check if credential is already ready (no processing needed) | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 240 | # Step 3: Try to load existing processed credential | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 248 | # Step 4: If no existing credential, load from auth response | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 256 | # Step 5: If still no credential available, check if client credentials | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 267 | # Step 6: Exchange credential if needed (e.g., service account to access token) | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 270 | # Step 7: Refresh credential if expired | COMMENT |
| 28 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/agents/test_context.py | 1034 | # Step 1: Root runs (child of root_ctx) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1043 | # Step 2: Child runs (child of root_run_ctx) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1052 | # Step 3: Grandchild runs (child of child_run_ctx) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1061 | # Step 4: Child runs again (sibling of child_run_ctx, parent is root_run_ctx!) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1070 | # Step 5: Root runs again (sibling of root_run_ctx, parent is root_ctx!) | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1142 | # Step 1: Root runs, transfers to child | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1151 | # Step 2: Child runs, transfers back to root | COMMENT |
| LOW⚡ | tests/unittests/agents/test_context.py | 1160 | # Step 3: Root runs again, completes | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 3115 | # Step 1: Incoming litellm message with thought_signature | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 3132 | # Step 2: Convert to ADK internal format (types.Content) | COMMENT |
| LOW⚡ | tests/unittests/models/test_litellm.py | 3137 | # 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 | 660 | # Step 1: | COMMENT |
| LOW | tests/unittests/runners/test_run_tool_confirmation.py | 715 | # Step 2: | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1675 | # Step 2: Otherwise continue with normal execution | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1681 | # Step 3: Run the on_event callbacks before persisting so callback | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 1715 | # Step 4: Run the after_run callbacks to perform global cleanup tasks or | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2230 | # Step 1: Create invocation context in memory. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2237 | # Step 2: Handle new message, by running callbacks and appending to | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2246 | # Step 3: Set agent to run for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2285 | # Step 1: Maybe retrieve a previous user message for the invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2293 | # Step 2: Create invocation context. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2300 | # Step 3: Maybe handle new message. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2309 | # Step 4: Populate agent states for the current invocation. | COMMENT |
| LOW⚡ | src/google/adk/runners.py | 2311 | # Step 5: Set agent to run for the invocation. | COMMENT |
| LOW | src/google/adk/runners.py | 1655 | # Step 1: Run the before_run callbacks to see if we should early exit. | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 230 | # Step 1: Validate credential configuration | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 233 | # Step 2: Check if credential is already ready (no processing needed) | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 240 | # Step 3: Try to load existing processed credential | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 248 | # Step 4: If no existing credential, load from auth response | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 256 | # Step 5: If still no credential available, check if client credentials | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 267 | # Step 6: Exchange credential if needed (e.g., service account to access token) | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 270 | # Step 7: Refresh credential if expired | COMMENT |
| LOW⚡ | src/google/adk/auth/credential_manager.py | 275 | # Step 8: Save credential if it was modified | COMMENT |
| LOW | src/google/adk/auth/credential_manager.py | 185 | # Step 0: Handle CustomAuthScheme if present | COMMENT |
| LOW | src/google/adk/auth/auth_preprocessor.py | 110 | # Step 1: Scan events for matching adk_request_credential function calls | COMMENT |
| LOW | src/google/adk/auth/auth_preprocessor.py | 128 | # Step 2: Store credentials. The client's response supplies the result of the | COMMENT |
| LOW | src/google/adk/auth/auth_preprocessor.py | 168 | # Step 3: Collect original function call IDs to resume, skipping | COMMENT |
| LOW⚡ | …le/adk/cli/built_in_agents/tools/write_config_files.py | 179 | # Step 1: Validate all configs before writing any files | COMMENT |
| 22 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 | 121 | # 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⚡ | …ve/live_agent_api_server_example/live_agent_example.py | 299 | if pya_output_stream_instance.is_active(): # Check if stream is active | CODE |
| LOW | tests/unittests/test_optional_dependencies.py | 33 | # 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 | 234 | # Set exchanged_auth_credential to None | COMMENT |
| LOW⚡ | …ntial_service/test_session_state_credential_service.py | 251 | # Set credential_key to empty string | COMMENT |
| LOW⚡ | tests/unittests/a2a/converters/test_event_converter.py | 238 | # 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 | 579 | # Check if it's an LlmAgent before accessing model and instruction | STRING |
| LOW | tests/unittests/cli/utils/test_agent_loader.py | 886 | # Check if it's an LlmAgent before accessing model and instruction | STRING |
| LOW | tests/unittests/cli/utils/test_cli_tools_click.py | 2091 | # 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 | 552 | # Check if received_input contains Section objects | COMMENT |
| LOW | tests/unittests/workflow/test_function_node.py | 591 | # Check if received_input contains Section objects | COMMENT |
| LOW | tests/unittests/evaluation/test_local_eval_service.py | 756 | # 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 | …sts/unittests/flows/llm_flows/test_functions_simple.py | 569 | # 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/function_tool.py | 223 | # Check if the target type is a Pydantic model | COMMENT |
| LOW | src/google/adk/tools/_google_credentials.py | 206 | # Check if we have valid credentials | COMMENT |
| LOW | src/google/adk/tools/_google_credentials.py | 262 | # Check if OAuth response is available | COMMENT |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 194 | # Check if it's a method defined in BaseComputer class | COMMENT |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 272 | # Check if it's a method defined in Computer class | COMMENT |
| LOW | …/google/adk/tools/computer_use/computer_use_toolset.py | 320 | # Check if computer use is already configured | COMMENT |
| LOW | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 1252 | # Check if we have an existing session | COMMENT |
| LOW | src/google/adk/tools/mcp_tool/mcp_session_manager.py | 1256 | # 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 | 174 | # Check if raw_auth_credential exists | COMMENT |
| LOW | src/google/adk/auth/auth_handler.py | 181 | # Check if oauth2 exists in raw_auth_credential | COMMENT |
| LOW | …/google/adk/plugins/bigquery_agent_analytics_plugin.py | 2402 | # 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 | 551 | # 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/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 | 232 | # Check if function call is complete | COMMENT |
| LOW⚡ | src/google/adk/utils/streaming_utils.py | 248 | # Check if this is a streaming FC (has partialArgs or will_continue=True) | COMMENT |
| LOW | src/google/adk/utils/streaming_utils.py | 314 | # Check if we need to flush the current buffer first | COMMENT |
| LOW | src/google/adk/utils/cache_performance_analyzer.py | 66 | # Check if event has cache metadata and optionally filter by agent | COMMENT |
| LOW | src/google/adk/utils/feature_decorator.py | 99 | # Check if usage should be bypassed via environment variable at call time | COMMENT |
| LOW | src/google/adk/utils/feature_decorator.py | 121 | # Check if usage should be bypassed via environment variable at call time | COMMENT |
| LOW | src/google/adk/models/lite_llm.py | 1239 | # Check if thought signature is embedded in the tool call ID | COMMENT |
| LOW | src/google/adk/models/lite_llm.py | 2935 | # 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 | 636 | # Check if computer use is configured | COMMENT |
| LOW | src/google/adk/models/apigee_llm.py | 272 | # Check if computer use is configured | COMMENT |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unittests/test_runners.py | 791 | CODE | |
| MEDIUM | tests/unittests/test_runners.py | 863 | CODE | |
| MEDIUM | …sts/unittests/labs/antigravity/test_sub_agent_tools.py | 207 | CODE | |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 477 | CODE | |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 501 | CODE | |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 523 | 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/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/agents/test_remote_a2a_agent.py | 6414 | CODE | |
| MEDIUM | tests/unittests/models/test_fallback_model.py | 369 | CODE | |
| MEDIUM | tests/unittests/cli/test_fast_api.py | 1991 | CODE | |
| MEDIUM | tests/unittests/cli/test_fast_api.py | 3497 | CODE | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 106 | CODE | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 145 | CODE | |
| MEDIUM | tests/unittests/cli/test_trigger_routes.py | 1388 | CODE | |
| MEDIUM | tests/unittests/streaming/test_multi_agent_streaming.py | 175 | CODE | |
| MEDIUM | tests/unittests/integrations/slack/test_slack_runner.py | 135 | CODE | |
| MEDIUM | tests/unittests/workflow/test_workflow_failures.py | 1049 | 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 | 1403 | CODE | |
| MEDIUM | tests/unittests/workflow/test_dynamic_use_as_output.py | 155 | CODE | |
| MEDIUM | tests/unittests/live/test__runner_utils.py | 207 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1216 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1306 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1558 | CODE | |
| MEDIUM | tests/unittests/evaluation/test_evaluation_generator.py | 1588 | 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 | 350 | CODE | |
| MEDIUM | tests/unittests/runners/test_runner_node.py | 184 | CODE | |
| MEDIUM | tests/unittests/runners/test_runner_node.py | 761 | CODE | |
| MEDIUM | tests/unittests/telemetry/test_node_tracing.py | 54 | CODE | |
| MEDIUM | …sts/unittests/flows/llm_flows/test_functions_simple.py | 2444 | CODE | |
| MEDIUM | src/google/adk/agents/remote_a2a_agent.py | 1752 | CODE | |
| MEDIUM | src/google/adk/agents/base_agent.py | 415 | CODE | |
| MEDIUM | src/google/adk/agents/base_agent.py | 431 | CODE | |
| MEDIUM | src/google/adk/agents/parallel_agent.py | 321 | CODE | |
| MEDIUM | src/google/adk/agents/loop_agent.py | 167 | CODE | |
| MEDIUM | src/google/adk/models/base_llm.py | 232 | CODE | |
| MEDIUM | src/google/adk/workflow/_node.py | 247 | CODE | |
| MEDIUM | src/google/adk/workflow/_base_node.py | 200 | CODE | |
| MEDIUM | src/google/adk/workflow/_workflow.py | 276 | CODE | |
| MEDIUM | src/google/adk/flows/llm_flows/instructions.py | 135 | CODE | |
| MEDIUM | …google/adk/flows/llm_flows/_output_schema_processor.py | 68 | CODE | |
| MEDIUM | src/google/adk/flows/llm_flows/_base_llm_processor.py | 41 | CODE | |
| MEDIUM | src/google/adk/flows/llm_flows/_base_llm_processor.py | 53 | CODE | |
| MEDIUM | …c/google/adk/flows/llm_flows/interactions_processor.py | 127 | CODE | |
| MEDIUM | src/google/adk/flows/llm_flows/basic.py | 203 | CODE | |
| 3 more matches not shown… | ||||
| 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 | 967 | def set_state_return_none(ctx: Context) -> None: | CODE |
| LOW | tests/unittests/telemetry/test_telemetry_context.py | 62 | def _set_env(monkeypatch: pytest.MonkeyPatch, **env: Optional[str]) -> 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/_openai_responses_llm.py | 76 | __all__ = [ | CODE |
| LOW | src/google/adk/labs/openai/_openai_responses_llm.py | 212 | def _update_type_string(value: object) -> None: | CODE |
| LOW | src/google/adk/labs/openai/_openai_llm.py | 53 | __all__ = ["OpenAILlm"] | CODE |
| LOW | src/google/adk/labs/openai/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/artifacts/__init__.py | 27 | __all__ = [ | CODE |
| LOW | src/google/adk/tools/bash_tool.py | 80 | 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 | 203 | 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/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 | 77 | 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 | 25 | __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/exchanger/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/auth/refresher/__init__.py | 19 | __all__ = [ | CODE |
| LOW | src/google/adk/plugins/__init__.py | 29 | __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 | 259 | def set_part_metadata(p: Part, metadata: dict[str, Any]) -> None: | CODE |
| LOW | src/google/adk/a2a/_compat.py | 1131 | def set_event_metadata(event: Any, metadata: dict[str, Any]) -> None: | CODE |
| LOW | src/google/adk/a2a/_compat.py | 1179 | def set_struct_metadata(obj: Any, metadata: dict[str, Any]) -> None: | 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 |
| LOW | src/google/adk/platform/uuid.py | 29 | def set_id_provider(provider: Callable[[], str]) -> None: | CODE |
| LOW | src/google/adk/features/__init__.py | 22 | __all__ = [ | CODE |
| LOW | src/google/adk/agents/remote_a2a_agent.py | 95 | __all__ = [ | CODE |
| 59 more matches not shown… | ||||
| 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 | …tributing/samples/workflows/auth_api_key/tests/go.json | 35 | "apiKey": "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 | tests/integration/test_system_instruction.py | 93 | "customerJson": {"name": "John Doe", "age": 30, "count": 11.1}, | STRING |
| LOW⚡ | tests/unittests/test_samples.py | 167 | "GOOGLE_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 168 | "GEMINI_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 171 | "OPENAI_API_KEY": "dummy-key", | CODE |
| LOW⚡ | tests/unittests/test_samples.py | 172 | "ANTHROPIC_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 | tests/unittests/labs/openai/test_openai_llm.py | 91 | inline_data=types.Blob(data=b"fake_data", mime_type="image/png") | 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 | 188 | ("fake_app", "fake_user", "test.txt", "fake_session_id") | CODE |
| LOW | …ts/unittests/tools/test_forwarding_artifact_service.py | 218 | ("fake_app", "fake_user", "test.txt", "fake_session_id") | CODE |
| LOW | …ts/unittests/tools/test_forwarding_artifact_service.py | 250 | ("fake_app", "fake_user", "test.txt", "fake_session_id") | CODE |
| 37 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 | …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 | 152 | # `BaseAgent.validate_sub_agents_unique_names` only warns, and the harness's | COMMENT |
| MEDIUM⚡ | …s/unittests/labs/antigravity/test_antigravity_agent.py | 817 | # Mirrors external report PR #6765 case 2: the harness dies mid-turn, once a | COMMENT |
| MEDIUM⚡ | …s/unittests/labs/antigravity/test_antigravity_agent.py | 825 | # The harness raises before the turn yields its first event. | COMMENT |
| MEDIUM | …s/unittests/labs/antigravity/test_antigravity_agent.py | 165 | # `_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 | 1289 | # 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 | 475 | # For testing, we'll just return the mock runner | COMMENT |
| MEDIUM | …sts/unittests/utils/test_cache_performance_analyzer.py | 191 | """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 | 1493 | # -- 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 | 726 | # 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 | 210 | # The harness hands back a client tool's value as the JSON string | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 373 | # a cancelled connect would otherwise orphan the harness subprocess. | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 423 | # A harness error mid-turn leaves a resumable conversation behind, so | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_antigravity_agent.py | 472 | # the loop. The hook is a blocking round trip the harness completes before | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_tool_result_capture.py | 202 | # Returning None is what leaves the harness's own error message in place: | COMMENT |
| MEDIUM | src/google/adk/labs/antigravity/_tool_result_capture.py | 208 | # 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 | …le/adk/cli/built_in_agents/tools/write_config_files.py | 62 | """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 |
| MEDIUM | src/google/adk/workflow/_function_node.py | 98 | """Cached version of typing.get_type_hints with robust unwrapping.""" | STRING |
| 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 |
|---|---|---|---|---|
| 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 | …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 | 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 164 | # 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 | 434 | # 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 | tests/unittests/telemetry/functional/_scenarios.py | 355 | # The agent a multi-agent turn is handed on to, mid-turn, by transfer_to_agent. | COMMENT |
| MEDIUM⚡ | …unittests/flows/llm_flows/test_contents_other_agent.py | 438 | # Create a multi-agent conversation | COMMENT |
| MEDIUM | tests/unittests/flows/llm_flows/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/managed_agent/index.md | 183 | ### Tool encapsulation for orchestration | 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 | 171 | # Cap rows to avoid exceeding context window limits | COMMENT |
| MEDIUM | src/google/adk/tools/skill_toolset.py | 448 | # paths so the guard fires even when the LLM hallucinates a different path | COMMENT |
| MEDIUM | src/google/adk/tools/skill_toolset.py | 1081 | # paths so the guard fires even when the LLM hallucinates a different | COMMENT |
| MEDIUM | …/google/adk/tools/retrieval/vertex_ai_rag_retrieval.py | 74 | # Use Gemini built-in Vertex AI RAG tool for Gemini models. | COMMENT |
| MEDIUM | src/google/adk/tools/spanner/search_tool.py | 157 | # to inferencing with Vertex AI embedding model endpoint. | COMMENT |
| MEDIUM | src/google/adk/tools/spanner/search_tool.py | 825 | # Get the embedding model settings. The output dimensionality is an | STRING |
| MEDIUM | src/google/adk/memory/vertex_ai_rag_memory_service.py | 270 | # Fails fast: the RAG API cannot roll back corpora already written. | COMMENT |
| MEDIUM | src/google/adk/cli/api_server.py | 753 | # Set up HTTPX and gRPC instrumentation for A2A multi-agent observability. | COMMENT |
| MEDIUM | src/google/adk/cli/utils/_nested_agent_loader.py | 88 | # It is a multi-agent directory containing sub-directories with agents. | COMMENT |
| MEDIUM | src/google/adk/workflow/_workflow.py | 214 | # --- _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 | 48 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | contributing/samples/integrations/gcs/agent.py | 48 | # If this flow is enabled, make sure to replace the file path with your own | COMMENT |
| LOW | src/google/adk/tools/__init__.py | 49 | # 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 | 741 | # Currently the instrumentation lib is in extras dependencies, make sure to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …sts/unittests/tools/test_function_tool_declarations.py | 328 | 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 | 549 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 569 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 592 | def test_function(param: str) -> MyModel: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 625 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW | …sts/unittests/tools/test_from_function_with_options.py | 640 | def test_function(param: str) -> _UnserializableReturn: | CODE |
| LOW⚡ | tests/unittests/tools/test_base_toolset.py | 264 | def test_function(param1: str, param2: int) -> str: | CODE |
| LOW | tests/unittests/tools/test_base_toolset.py | 293 | 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 | 721 | def process_data(data: dict[str, str]) -> str: | CODE |
| LOW | …sts/unittests/tools/test_build_function_declaration.py | 739 | def process_data(data: dict[str, Any]) -> str: | CODE |
| LOW | …sts/unittests/tools/test_build_function_declaration.py | 757 | 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 | 239 | 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 | contributing/samples/integrations/gepa/experiment.py | 263 | CODE | |
| LOW | src/google/adk/runners.py | 236 | CODE | |
| LOW | src/google/adk/tools/skill_toolset.py | 1252 | 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 | …on_integration_tool/application_integration_toolset.py | 84 | CODE | |
| LOW | src/google/adk/tools/mcp_tool/mcp_toolset.py | 144 | CODE | |
| LOW | …ls/openapi_tool/openapi_spec_parser/openapi_toolset.py | 67 | CODE | |
| LOW | src/google/adk/a2a/_compat.py | 482 | CODE | |
| LOW | src/google/adk/a2a/converters/to_adk_event.py | 186 | CODE | |
| LOW | src/google/adk/a2a/utils/agent_to_a2a.py | 79 | CODE | |
| LOW | …e/adk/optimization/gepa_root_agent_prompt_optimizer.py | 199 | CODE | |
| LOW | src/google/adk/agents/remote_a2a_agent.py | 595 | CODE | |
| LOW | src/google/adk/agents/context.py | 126 | CODE | |
| LOW | src/google/adk/agents/context.py | 483 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 783 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 1023 | CODE | |
| LOW | src/google/adk/cli/cli_deploy.py | 1517 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 909 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2024 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2178 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2446 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 2812 | CODE | |
| LOW | src/google/adk/cli/cli_tools_click.py | 3051 | CODE | |
| LOW | src/google/adk/cli/fast_api.py | 95 | CODE | |
| LOW | src/google/adk/cli/api_server.py | 825 | CODE | |
| LOW | src/google/adk/cli/api_server.py | 1122 | CODE | |
| LOW | src/google/adk/cli/cli.py | 400 | CODE | |
| LOW | src/google/adk/cli/cli.py | 549 | CODE | |
| LOW | src/google/adk/integrations/vmaas/sandbox_computer.py | 86 | CODE | |
| LOW | src/google/adk/integrations/eventarc/_message_tool.py | 47 | CODE | |
| LOW | src/google/adk/workflow/_node.py | 48 | CODE | |
| LOW | src/google/adk/workflow/_node.py | 65 | CODE | |
| LOW | src/google/adk/workflow/_node.py | 80 | CODE | |
| LOW | src/google/adk/evaluation/agent_evaluator.py | 129 | CODE | |
| LOW | src/google/adk/evaluation/agent_evaluator.py | 292 | CODE | |
| LOW | src/google/adk/evaluation/local_eval_service.py | 116 | CODE | |
| LOW | src/google/adk/evaluation/evaluation_generator.py | 738 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/db_migration.sh | 21 | # Usage: | COMMENT |
| LOW | scripts/update_constraints.sh | 18 | # Usage: | COMMENT |