An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
This report summarizes scanner evidence for google/adk-go, a Go project with 8,860 GitHub stars. SynthScan examined 244,185 lines of code across 983 source files, recording 1366 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 5.9 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1359 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 1366 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1366 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/launcher/launcher_validate_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/launcher.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/launcher.go | 81 | MemoryService memory.Service | COMMENT |
| LOW | cmd/launcher/launcher.go | 101 | BindHost string | COMMENT |
| LOW | cmd/launcher/launcher.go | 121 | // Origin get through. So do the rest, unless BindHost is a wildcard | COMMENT |
| LOW | cmd/launcher/launcher.go | 141 | // runners created here drive, replacing older events with summaries. Nil, | 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/full/full_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/universal/universal.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/router_body_limit_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/launcher/web/web.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/web.go | 341 | // sublauncher, so that a sublauncher added later is covered without having | COMMENT |
| LOW | cmd/launcher/web/web_test.go | 1 | // Copyright 2026 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/api/api.go | 221 | COMMENT | |
| LOW | cmd/launcher/web/api/api.go | 261 | // The mount matches on path only, never on method. Method matching here would | COMMENT |
| LOW | cmd/launcher/web/api/api_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/webui/webui.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | cmd/launcher/web/webui/webui_test.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/compaction_test.go | 1 | // Copyright 2026 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_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/adkgo/internal/deploy/cloudrun/cloudrun.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | …/adkgo/internal/deploy/agentengine/agentengine_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | …/adkgo/internal/deploy/agentengine/agentengine_test.go | 161 | flags.build.tempDir = t.TempDir() | COMMENT |
| LOW | …/adkgo/internal/deploy/agentengine/agentengine_test.go | 281 | t.Errorf("execFile = %q, want %q", flags.build.execFile, "agenté") | COMMENT |
| LOW | cmd/adkgo/internal/deploy/agentengine/agentengine.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/adkgo/internal/deploy/agentengine/agentengine.go | 201 | if err != nil { | 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/inmemory_search_test.go | 1 | // Copyright 2026 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 | auth/transport.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | auth/transport.go | 21 | COMMENT | |
| LOW | auth/store_test.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | auth/store.go | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | auth/store.go | 21 | "time" | COMMENT |
| 1260 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plugin/loggingplugin/logging_plugin.go | 38 | // 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 | 59 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | server/adka2a/executor.go | 64 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| MEDIUM | server/adka2a/executor.go | 122 | // Implementations should generally remember to leverage [adka2a.ToGenAiPart] for default conversions | COMMENT |
| MEDIUM | server/adka2a/executor.go | 127 | // Implementations should generally remember to leverage [adka2a.ToA2APart] for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 48 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 53 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 121 | // Implementations should generally remember to leverage [adka2a.ToGenAiPart] for default conversions | COMMENT |
| MEDIUM | server/adka2a/v2/executor.go | 126 | // Implementations should generally remember to leverage [adka2a.ToA2APart] for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/a2a_agent.go | 100 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/a2a_agent.go | 105 | // Implementations should generally remember to leverage adka2a.ToA2APart for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/v2/a2a_agent.go | 322 | // Implementations should generally remember to leverage adka2a.ToGenAiPart for default conversions | COMMENT |
| MEDIUM | agent/remoteagent/v2/a2a_agent.go | 327 | // 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 | 623 | // Step 1: pre-LLM scan for unresolved task FCs from prior turns. | COMMENT |
| LOW⚡ | agent/llmagent/llm_agent_wrapper.go | 631 | // 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 | 413 | // Step 1: try JSON parse | COMMENT |
| LOW⚡ | workflow/validation.go | 420 | // Step 2: raw string may match an enum/literal schema | COMMENT |
| LOW⚡ | workflow/validation.go | 424 | // Step 3: fall through to standard validation (which will return an error) | COMMENT |
| LOW | session/database/service.go | 81 | // 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 | 623 | // Step 1: pre-LLM scan for unresolved task FCs from prior turns. | COMMENT |
| LOW⚡ | agent/llmagent/llm_agent_wrapper.go | 631 | // 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 | 413 | // Step 1: try JSON parse | COMMENT |
| LOW⚡ | workflow/validation.go | 420 | // Step 2: raw string may match an enum/literal schema | COMMENT |
| LOW⚡ | workflow/validation.go | 424 | // Step 3: fall through to standard validation (which will return an error) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/llminternal/contents_processor.go | 41 | // 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 |
|---|---|---|---|---|
| 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 |
| LOW | internal/compactioninternal/apply_test.go | 191 | placeholder := responseEvent("placeholder", "inv1", 3, "c1") | CODE |
| LOW | internal/compactioninternal/apply_test.go | 346 | responseEvent("placeholder", "inv1", 3, "c1"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/workflow/complex/main.go | 22 | // ├─> EVResearcher ──────────────┼─> gather ─> format ─> SynthesisAgent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/bidi/static/js/audio-recorder.js | 7 | export async function startAudioRecorderWorklet(audioRecorderHandler) { | CODE |