An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
This report presents the forensic synthetic code analysis of google/adk-go, a Go project with 8,563 GitHub stars. SynthScan v2.0 examined 129,312 lines of code across 647 source files, recording 684 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 5.9 places this repository in the Low 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 684 distinct pattern matches across 9 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 | cmd/launcher/launcher.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/prod/prod.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/full/full.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/universal/universal.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/web.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/triggers/eventarc/eventarc.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/web/triggers/pubsub/pubsub_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/web/triggers/pubsub/pubsub.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/web/a2a/a2a.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/a2a/a2a_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/api/api.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/webui/webui.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/agentengine/agentengine.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/internal/telemetry/telemetry.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/agentengine/agentengine.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/console/hitl.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/console/console.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/console/hitl_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/console/hitl_test.go | 361 | COMMENT | |
| LOW | cmd/launcher/console/hitl_test.go | 401 | // one more level for object keys. So keys land at | COMMENT |
| LOW | cmd/internal/adkcli/main.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/adkgo/adkgo.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/adkgo/internal/deploy/deploy.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/adkgo/internal/deploy/cloudrun/cloudrun.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/adkgo/internal/deploy/agentengine/agentengine.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/adkgo/internal/root/root.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | memory/service.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | memory/inmemory.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | memory/inmemory_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | memory/vertexai/vertexai.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | memory/vertexai/vertexai_client.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | util/aiplatform/aiplatform.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | util/instructionutil/instruction.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | util/instructionutil/instruction.go | 21 | "google.golang.org/adk/v2/agent" | COMMENT |
| LOW | util/vertexai/agent_engine.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | runner/find_active_task_isolation_scope_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | runner/agent_node.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | runner/runner.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | runner/run_node.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | runner/hitl_integration_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | runner/live_runner_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | runner/runner_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | runner/run_node_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/uuid_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/exec_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/time.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/time.go | 21 | COMMENT | |
| LOW | platform/exec.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/exec.go | 21 | COMMENT | |
| LOW | platform/exec.go | 41 | // WithTaskRunner returns a copy of ctx that carries runner. RunTasks called | COMMENT |
| LOW | platform/doc.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/doc.go | 21 | // current time and new IDs through Now and NewUUID, so an installed provider | COMMENT |
| LOW | platform/uuid.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | platform/time_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | plugin/plugin_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | plugin/plugin.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | plugin/plugin_manager_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | plugin/loggingplugin/logging_plugin.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | plugin/loggingplugin/logging_plugin.go | 21 | "google.golang.org/genai" | COMMENT |
| LOW | plugin/retryandreflect/plugin_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| 580 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plugin/loggingplugin/logging_plugin.go | 35 | // everyone to leverage when developing new plugins. | COMMENT |
| MEDIUM | …configurable/conformance/replayplugin/replay_plugin.go | 288 | // so we check for both int and float64 to be robust. | COMMENT |
| MEDIUM | server/adka2a/executor.go | 52 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | server/adka2a/executor.go | 57 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| MEDIUM | server/adka2a/executor.go | 115 | // Implementations should generally remember to leverage [adka2a.ToGenAiPart] for default conversions | COMMENT |
| MEDIUM | server/adka2a/executor.go | 120 | // Implementations should generally remember to leverage [adka2a.ToA2APart] for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 47 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 52 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 120 | // Implementations should generally remember to leverage [adka2a.ToGenAiPart] for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 125 | // Implementations should generally remember to leverage [adka2a.ToA2APart] for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/a2a_agent.go | 107 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/a2a_agent.go | 112 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/v2/a2a_agent.go | 133 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/v2/a2a_agent.go | 138 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | cmd/launcher/web/webui/distr/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 | cmd/launcher/web/webui/distr/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 |
|---|---|---|---|---|
| LOW⚡ | agent/llmagent/llm_agent_wrapper.go | 544 | // Step 1: pre-LLM scan for unresolved task FCs from prior turns. | COMMENT |
| LOW⚡ | agent/llmagent/llm_agent_wrapper.go | 552 | // Step 2: run Agent.Run; on every fresh task FC, dispatch and | COMMENT |
| LOW⚡ | examples/web/agents/llmauditor.go | 39 | ## Step 1: Identify the CLAIMS | COMMENT |
| LOW⚡ | examples/web/agents/llmauditor.go | 43 | ## Step 2: Verify each CLAIM | COMMENT |
| LOW | examples/web/agents/llmauditor.go | 57 | ## Step 3: Provide an overall assessment | COMMENT |
| LOW⚡ | workflow/validation.go | 405 | // Step 1: try JSON parse | COMMENT |
| LOW⚡ | workflow/validation.go | 412 | // Step 2: raw string may match an enum/literal schema | COMMENT |
| LOW⚡ | workflow/validation.go | 416 | // Step 3: fall through to standard validation (which will return an error) | COMMENT |
| LOW | session/database/service.go | 55 | // NOTE: This function relies on a type assertion to the concrete *databaseService | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | agent/llmagent/llm_agent_wrapper.go | 544 | // Step 1: pre-LLM scan for unresolved task FCs from prior turns. | COMMENT |
| LOW⚡ | agent/llmagent/llm_agent_wrapper.go | 552 | // Step 2: run Agent.Run; on every fresh task FC, dispatch and | COMMENT |
| LOW⚡ | examples/web/agents/llmauditor.go | 39 | ## Step 1: Identify the CLAIMS | COMMENT |
| LOW⚡ | examples/web/agents/llmauditor.go | 43 | ## Step 2: Verify each CLAIM | COMMENT |
| LOW | examples/web/agents/llmauditor.go | 57 | ## Step 3: Provide an overall assessment | COMMENT |
| LOW⚡ | workflow/validation.go | 405 | // Step 1: try JSON parse | COMMENT |
| LOW⚡ | workflow/validation.go | 412 | // Step 2: raw string may match an enum/literal schema | COMMENT |
| LOW⚡ | workflow/validation.go | 416 | // Step 3: fall through to standard validation (which will return an error) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/llminternal/contents_processor.go | 39 | // TODO: implement (adk-python src/google/adk/flows/llm_flows/contents.py) - extract function call results, etc. | COMMENT |
| LOW⚡ | internal/llminternal/other_processors.go | 26 | // TODO: implement (adk-python src/google/adk/flows/llm_flows/_nl_plnning.py) | COMMENT |
| LOW⚡ | internal/llminternal/other_processors.go | 31 | // TODO: implement (adk-python src/google/adk/flows/llm_flows/_code_execution.py) | COMMENT |
| LOW⚡ | internal/llminternal/other_processors.go | 36 | // TODO: implement (adk-python src/google/adk/auth/auth_preprocessor.py) | COMMENT |
| LOW⚡ | internal/llminternal/other_processors.go | 41 | // TODO: implement (adk-python src/google/adk/_nl_planning.py) | COMMENT |
| LOW⚡ | internal/llminternal/other_processors.go | 46 | // TODO: implement (adk-python src/google/adk_code_execution.py) | COMMENT |
| LOW | internal/llminternal/agent_transfer.go | 66 | // TODO: implement it in the runners package and update this doc. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/workflow/complex/main.go | 22 | // ├─> EVResearcher ──────────────┼─> gather ─> format ─> SynthesisAgent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/launcher/web/webui/distr/chunk-37QI3DOO.js | 1 | import{g as c,h as mr,i as D,j as xr}from"./chunk-JRNAXTJ7.js";import{a as I,b as j,j as Yt}from"./chunk-RMXJBC7V.js";va | CODE |
| LOW | cmd/launcher/web/webui/distr/chunk-P4MFJI72.js | 1 | import{$a as c,$b as M,Bb as l,Ca as m,Cb as d,Cc as r,Ib as p,Kb as g,Lb as h,Pa as o,Yb as x,Zb as a,_b as y,eb as b,f | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/bidi/static/js/audio-recorder.js | 7 | export async function startAudioRecorderWorklet(audioRecorderHandler) { | CODE |