adk-go
AGENTS.md8.8k starsChanged 3 months agoApache-2.0View on GitHub
Context for AI coding agents (Claude Code, Gemini CLI, Cursor, Copilot, etc.) working in the ADK Go repository. Human contributors should start with CONTRIBUTING.md. ADK Go (google.golang.org/adk/v2) is an open-source, code-first Go toolkit for building, evaluating, and deploying AI agents. It is model-agnostic but optimized for Gemini, and is one of several ADK implementations — Go, Python, Java, Kotlin, and TypeScript — that share a conceptual model but are independent codebases. Requires the Go version declared in go.mod. Development happens…
- Reads credentials
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about google/adk-go
- A Hacker News story“Adk-go: code-first Go toolkit for building, evaluating, and deploying AI agents”Hacker News · Nov 11, 2025 · 86 points
- A Hacker News story“Agent Development Kit (ADK-Go) v0.4.0”Hacker News · Feb 2, 2026 · 2 points
- A Hacker News story“Google ADK-Go”Hacker News · Nov 9, 2025 · 2 points
- google/adk-docs“docs(workflows): fix stale tool names in collaboration mode guide”GitHub · Jul 7, 2026 · 1 reactions
- @developers.google.com“ADK Go source code: github.com/google/adk-go/”Bluesky · Apr 1, 2026 · 1 likes
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on GitHub, Bluesky and Hacker News (54 times).
On GitHub · 45
- Jul 7, 2026docs(workflows): fix stale tool names in collaboration mode guide — google/adk-docs1 reaction · 2 comments
- Mar 26, 2026chore(deps): update module google.golang.org/adk to v1 — googleapis/mcp-toolbox1 reaction · 2 comments
- Mar 24, 2026chore(deps): update module google.golang.org/adk to v1 — googleapis/mcp-toolbox1 reaction · 16 comments
- Nov 22, 2025ADK Goを使用してモンハンAIエージェントを実装する — o-ga09/MH-API1 reaction
- Oct 5, 2026Chore(deps): bump google.golang.org/adk from 1.7.0 to 1.8.0 — elastic/elastic-package0 reactions · 1 comment
40 more on GitHub
- Oct 5, 2026chore(deps): bump google.golang.org/adk from 1.7.0 to 1.8.0 — golanglib/dependabot_botherer0 reactions · 2 comments
- Oct 5, 2026deps(deps): bump google.golang.org/adk from 1.7.0 to 1.8.0 — GoogleCloudPlatform/gke-mcp0 reactions · 2 comments
- Oct 5, 2026chore(deps): bump google.golang.org/adk from 1.7.0 to 1.8.0 — plexusone/agentkit0 reactions · 1 comment
- Oct 5, 2026deps(deps): bump the llmadk-minor-patch group across 1 directory with 3 updates — nocturnium/llm-go-sdk0 reactions · 1 comment
- Oct 5, 2026deps: Bump the go-dependencies group with 2 updates — shouni/adk-review0 reactions
- Oct 5, 2026build(deps): bump google.golang.org/adk/v2 from 2.4.0 to 2.5.0 — craigh33/adk-go-kronk0 reactions
- Sep 30, 2026Update output structure once adk has fix for sructured output — helmholtzcloud/gitgut0 reactions
- Sep 23, 2026[EPIC] OTel GenAI compliant telemetry contract — kagent-dev/kagent0 reactions
- Sep 18, 2026Bump google.golang.org/adk/v2 from 2.3.0 to 2.4.0 — khieron/khieron0 reactions
- Sep 15, 2026build(deps): bump google.golang.org/adk/v2 from 2.2.0 to 2.4.0 — RandomCodeSpace/kb0 reactions · 1 comment
- Sep 14, 2026Bump the gomod-minor-patch group across 1 directory with 7 updates — amammay/adk-go-agentcore0 reactions
- Jul 20, 2026Bump google.golang.org/adk from 1.4.0 to 1.5.0 — jiakailong/DrawPilot0 reactions
- Jul 17, 2026feat: Support skills like MAF or ADK-Go — 0xPlaygrounds/rig0 reactions · 1 comment
- Jul 6, 2026deps(deps): bump google.golang.org/adk from 1.1.0 to 1.5.0 — anozanami/gke-mcp0 reactions · 2 comments
- Jul 2, 2026build(deps): bump google.golang.org/adk from 1.3.0 to 1.5.0 — shinji62/hashicorp-cost-estimation-run-task0 reactions
- Jul 1, 2026build(deps): bump google.golang.org/adk from 1.3.0 to 1.5.0 — yongduck-jin/adk-go-bedrock0 reactions
- Jun 2, 2026feat: Add daily time partitioning to BigQuery event logging table — vasilyl/adk-go0 reactions
- Apr 27, 2026deps(deps): bump google.golang.org/adk from 1.1.0 to 1.2.0 — Crawbl-AI/crawbl-backend0 reactions · 1 comment
- Apr 19, 2026deps: bump google.golang.org/adk from 0.5.0 to 1.1.0 — ethanolivertroy/kevs-tui0 reactions · 1 comment
- Apr 14, 2026⬆️ Bump google.golang.org/adk from 1.0.0 to 1.1.0 — wuyyyyyou/yutu0 reactions
- Feb 23, 2026Build(deps): Bump google.golang.org/adk from 0.4.0 to 0.5.0 — H0llyW00dzZ/tls-cert-chain-resolver0 reactions
- Feb 4, 2026Add another suitable agent framework — agentic-layer/agent-runtime-operator0 reactions · 2 comments
- Nov 27, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 2 comments
- Nov 26, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 2 comments
- Nov 25, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 2 comments
- Nov 24, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 2 comments
- Nov 23, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 22, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 21, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 20, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 19, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 18, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 17, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 16, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 15, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 14, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 13, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 12, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 11, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
- Nov 10, 2025Check trending repo: google/adk-go — uibm/trending-watcher0 reactions · 1 comment
On Bluesky · 6
- Apr 1, 2026ADK Go source code: github.com/google/adk-go/ — @developers.google.com1 likes and repost · 1 reply
- Nov 30, 2025今日のGitHubトレンド google/adk-go Go言語向けAgent Development Kit (ADK) は、洗練されたAIエージェントを構築、評価、デプロイするためのオープンソースツールキットである。… — @dailygithubtrends.bsky.social1 likes and repost
- Nov 21, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 google / adk-go ⭐ 4,353 (+146) 🗒 Go An open-source, code-first Go toolkit for building, evaluating,… — @github-trending.bsky.social1 likes and repost
- Nov 15, 2025Knowing your criteria would be super interesting. Right now, I'm going lower level so I can design the agent DAG with… — @verdverm.com1 likes and repost · 1 reply
- Nov 12, 2025https://github.com/google/adk-go GoでAIエージェントを構築するためのAgent Development Kit (ADK)です。 柔軟性と制御を備えた高度なAIエージェントの構築、評価、デプロイを支援します。… — @topickapp.bsky.social1 likes and repost
1 more on Bluesky
- Nov 12, 2025Adk-go: code-first Go toolkit for building, evaluating, and deploying AI agents — @hackernewsrobot.bsky.social1 likes and repost
On Hacker News · 3
- Nov 11, 2025Adk-go: code-first Go toolkit for building, evaluating, and deploying AI agents86 points · 24 comments
- Feb 2, 2026Agent Development Kit (ADK-Go) v0.4.02 points
- Nov 9, 2025Google ADK-Go2 points · 1 comment
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adk-go-self-reviewSkill
- adk-sample-creatorSkill
- grocery-pricesSkill
- weatherSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
17 rules. About 1 is common, 10 are distinctive, and 6 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 85
Every new Go file starts with the Apache 2.0 license header (enforced by goheader).
- Distinctive: line 129
Prefer an existing helper over a new one.
- Common: line 133
Never put user or model data into a log line or an error message.
- Distinctive: line 160
Not worth the words, at any length:
- Distinctive: line 174
Check that a doc comment describes the function it sits on.
- Very specific: line 177
Every TODO carries a marker — TODO(username) as the style guide asks and most of this repo does, or TODO(#1234) when an issue tracks it.
- Very specific: line 188
Add an agent type: follow the agent/workflowagents/* packages.
- Very specific: line 245
Commit only that testdata/*.httprr.
- Very specific: line 251
Prefer table-driven tests.
- Very specific: line 262
Run build, tests, lint, and go mod tidy -diff before declaring done.
- Distinctive: line 263
Keep PRs small and focused — one concern per PR.
- Distinctive: line 264
Add or update tests for the code you change.
- Distinctive: line 279
Add tests that make live LLM or network calls.
- Distinctive: line 283
Run the module loop under Setup & core commands first.
- Distinctive: line 309
Read the change as if someone else wrote it, before you open the PR and again before any later push that changes code.
- Distinctive: line 315
Review in a fresh context: Start a new session, or hand the diff to a subagent that did not write the code.
- Distinctive: line 361
When the question is design rather than behavior, the other ports are worth a look — Java, Kotlin, TypeScript.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Context for AI coding agents (Claude Code, Gemini CLI, Cursor, Copilot, etc.) working in the ADK Go repository. Human contributors should start with CONTRIBUTING.md.
Project overview
ADK Go (google.golang.org/adk/v2) is an open-source, code-first Go toolkit for
building, evaluating, and deploying AI agents. It is model-agnostic but
optimized for Gemini, and is one of several ADK implementations — Go, Python,
Java, Kotlin, and TypeScript — that share a conceptual model but are independent
codebases. Requires the Go version declared in go.mod.
Development happens on main, the 2.x line. v1 is the maintenance branch for
1.x; target it only for fixes that must ship to 1.x. See
Branches.
Skills
See AI-assisted development in
CONTRIBUTING.md for what this repo ships. The rule for agents: task-specific
instructions live in .agents/skills/<name>/SKILL.md, and you read the matching
one before starting that kind of work.
Setup & core commands
This repo is multi-module: the root module google.golang.org/adk/v2 plus
plugin/agentanalytics. Set up a Go workspace first — go.work is local-only
and gitignored, and go work init fails if one already exists:
test -f go.work || go work init
go work use -r .Then run from the repo root. The work pattern spans every module in the
workspace, while ./... matches only the module you are standing in:
- Build:
go build -mod=readonly work - Test:
go test -race -mod=readonly -count=1 -shuffle=on work - Single pkg:
go test -race ./agent/... - Lint:
golangci-lint run(per module; v2, CI pins v2.3.1; config in.golangci.yml) - Tidy check:
go mod tidy -diff(per module; must print nothing) - Format:
golangci-lint fmt(per module; applies gofumpt + goimports)
Without a go.work, work silently falls back to the root module alone and
still exits 0, so confirm the workspace exists before trusting a green run.
Install the same golangci-lint CI uses. A newer release reports findings CI
does not, which reads as a failure you did not cause:
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.3.1golangci-lint and go mod tidy are per-module, so a run from the repo root
covers only the root module. This loop covers every module the way CI does:
for m in $(find . -name go.mod -not -path './.git/*' -exec dirname {} \;); do
( cd "$m" \
&& go mod tidy -diff \
&& go build -mod=readonly ./... \
&& go test -race -mod=readonly -count=1 -shuffle=on ./... \
&& golangci-lint run ) || echo "FAILED: $m"
donegolangci-lint run reports formatting problems too, as gofumpt and
goimports findings, but it does not fix them. golangci-lint fmt rewrites
the files in place, and golangci-lint fmt --diff shows what it would change
without writing anything.
Definition of done
A change is complete only when all of these pass locally:
go build(above) succeeds.go test(above) is green.golangci-lint runreports no findings, in every module.go mod tidy -diffprints nothing, in every module.- New/changed behavior has tests, and each one has been seen to fail with the source change reverted. See Before you open a PR.
- Every new Go file starts with the Apache 2.0 license header (enforced by
goheader). - The root
go.moddoes not require an in-repo submodule (enforced by theguardrailCI job).
Repository layout
agent/Agent interface + types (llmagent,remoteagent,workflowagent;workflowagents/holdsloopagent,parallelagent,sequentialagent)runner/Execution engine that drives the run loopworkflow/Node/graph-based workflow engine for multi-agent appsmodel/LLM abstraction (gemini,apigee,openaimodel)tool/Tool/Toolset interface + built-in tools (incl.skilltoolset/,mcptoolset/)session/Conversation state + eventsmemory/,artifact/Long-term memory and file/data servicesauth/Credentials and auth providers for outbound requestsagentregistry/Client for Google Cloud Agent Registry (A2A agents, MCP servers, models)plugin/Cross-cutting lifecycle hooks;plugin/agentanalyticsis a separate moduleserver/HTTP servers (adkrestis primary;adka2a,agentengine)cmd/CLI (adkgo) and server launcherstelemetry/,util/Public helper packagesplatform/Overridable seams for time & UUID generation (deterministic tests)internal/Private packages — NOT public API;internal/httprris vendoredexamples/Runnable example agents (quickstart, tools, a2a, skills, …)scripts/Repo tooling (ADK Web container build and asset refresh)
Conventions & idioms
- Streaming: agent runs return
iter.Seq2[*session.Event, error]; consume withfor event, err := range … {}. Don't collect events into a slice. - Interface-first: the core abstractions are interfaces —
agent.Agent,tool.Tool,tool.Toolset, and a separateServiceinterface in each ofsession,artifactandmemory. Concrete implementations live in sub-packages orinternal/, except the in-memory ones, which sit beside the interface they implement. - Callbacks over subclassing (
Before*/After*for Agent/Model/Tool). ABeforemodel or tool callback short-circuits the underlying call when it returns either a non-nil result or a non-nil error.BeforeAgentCallbackbehaves differently: only non-nil content short-circuits, and returning an error surfaces that error without stopping the agent from running. - Errors: wrap with
fmt.Errorf("…: %w", err). Use%vonly when deliberately not exposing the wrapped error's type. Don't convert existing%wto%v; it might break callers silently. Wrap sentinels first:fmt.Errorf("%w: …: %w", ErrX, err). Tool confirmation uses sentinel errors (e.g.tool.ErrConfirmationRequired). - Prefer an existing helper over a new one; keep packages small and focused.
Logging and error messages
Never put user or model data into a log line or an error message. Prompts, model output, tool arguments and results, session and event contents, request and response bodies, headers, credentials, tokens and API keys are customer content or security material, at every level including debug. Log the shape instead — a type, a count, a length, an ID you generated — so a failure stays diagnosable without recording what the user said.
The rule covers any error you construct or wrap, and any test assertion message that would echo a payload. URLs are not exempt: query parameters carry tokens and identifiers.
Comments
Doc comments are the public API documentation. pkg.go.dev renders them, so
write for a reader who cannot see the implementation, and follow
Go Doc Comments.
Length is not the measure — content is. Say what a caller cannot infer from the signature, and leave out what they can.
Worth the words, however many it takes: invariants, what the zero value means,
whether the type is safe for concurrent use, ownership and lifetime, error
conditions, special cases, and a short example when the shape of the call is
not obvious. agent.InvocationContext runs to several paragraphs and a diagram
because the invocation, agent-call and step hierarchy cannot be read off the
method set. That is the standard, not an exception.
Not worth the words, at any length:
- Restating the signature.
Parameters:,Returns:,Args:andUsage:headings, carried over from other languages' docstring conventions. Go has no equivalent, andgo docdoes not treat them as headings — it renders them as body text, and folds a loneUsage:into the paragraph beneath it. Name parameters and results inline in prose instead.- The algorithm the implementation happens to use. That belongs in the body, where it will be updated alongside the code.
Inline comments say why, not what. One restating the statement below it is noise, and reasoning too long to sit in the code belongs in the PR description.
Check that a doc comment describes the function it sits on. One copied from a neighbour and left unedited is a recurring defect here.
Every TODO carries a marker — TODO(username) as the style guide asks and
most of this repo does, or TODO(#1234) when an issue tracks it. A bare
TODO: belongs to nobody and gets forgotten.
Extending the framework
- Add a tool: wrap a Go function with
functiontool.New[Args, Results](cfg, handler)(Args/Results are structs), or implement thetool.Toolinterface for full control. - Add a toolset: implement
tool.Toolset; itsTools(ctx)may return different tools per invocation. - Add an agent type: follow the
agent/workflowagents/*packages; construct agents viallmagent.New/agent.New, not by implementingagent.Agentdirectly. - Add cross-cutting behavior: register a
plugin.New(plugin.Config{...})hook (Before*/After*for run/agent/model/tool) instead of editing the loop.
API shape
- Prefer a config struct to functional options for a new constructor —
New(cfg Config), as inrunner.New,llmagent.Newandagenttool.New. Both styles exist today (workflow.Newandtelemetry.Newtake options), so this is the direction for new code rather than a description of the repo. Match the package you are working in before reaching for the other style. - Export as little as you can. A new exported symbol is a permanent commitment,
and
apidiffholds you to it. - Error messages name what failed and give the context needed to place it —
parallel worker %s expects a slice input, got %T, notinvalid input type. Match the messages already in that package. - Sentinel errors are package-level vars, wrapped as
fmt.Errorf("%w: …", ErrX)and tested witherrors.Is, never by string match. - In new code, keep
fmt.Print*out of library and server packages, andcontext.Background()out of anything butmain, tests and examples — plumb the caller's context through, or usecontext.WithoutCancel(ctx)when a resource must outlive the request. Neither is linted, and existing code has exceptions, so fix one only in a PR that is already about that code.
Multi-module development
See Multi-Module Development in
CONTRIBUTING.md for policy, steps to add a new module, and release tagging.
Testing
- LLM traffic is replayed, not live. A package with
testdata/*.httprrreplays throughinternal/httprrwith no flags and no credentials. Each of those files is an HTTP recording: one request-and-response exchange, captured once against a real model and replayed on every run afterwards, so tests stay deterministic and need no API key.session/vertexaiuses a second, unrelated system for RPC recordings —rpcreplaywithtestdata/*.replayfiles, refreshed byUPDATE_REPLAYS=true. Never add a live model or network call to a test. -httprecordtakes a regexp matched against the recording's file path, not a-runtest-name filter. Keep it as narrow as the set of recordings you mean to replace: recording against a live model produces a different response every time, so a broad pattern rewrites unrelated recordings and buries the intended change.- To re-record one exchange — the normal case — supply real credentials
(e.g.
GOOGLE_API_KEY) and name the recording file, which is often not the name of a top-level test. Most recordings here are subtest-derived, so a pattern built from the top-level test name matches nothing, records nothing, and still exits 0. List the directory first, then name the file exactly:
Commit only thatls <pkg>/testdata/*.httprr go test ./<pkg>/ -run TestToolCallback \ -httprecord='TestToolCallback_before_callback_response_used\.httprr$'testdata/*.httprr. - To re-record a whole package, run
go generate ./<pkg>/...; each package's//go:generate go test -httprecord=…directives are scoped so that every recording is captured exactly once. The test that enforces this,TestHTTPRecordDirectivesPartitionCassettesininternal, keeps an older name for the same thing. - Prefer table-driven tests; shared helpers live in
internal/testutil. - A green suite does not prove the live path works. Recorded traffic is replayed, so nothing in CI exercises a real model or API. If your change touches request or response conversion, a model backend, or any outbound integration, run it once against the real thing and say so in the PR — which model or API, and what you asserted. If you cannot, say that instead. Both answers are useful. Silence reads as "tested".
Boundaries
Always
- Run build, tests, lint, and
go mod tidy -diffbefore declaring done. - Keep PRs small and focused — one concern per PR.
- Add or update tests for the code you change.
Ask first
- Adding or upgrading a dependency (
go.mod). - Changing a high-fan-in package (
session,agent,model,tool,runner) — prefer additive, backward-compatible changes. - Any change to the public API surface, and any breaking change.
Never
- Break the public API — keep changes backward-compatible. An
apidiffcheck compares every module against the merge base and fails on an incompatible change. Abreaking-changelabel downgrades that failure to a report, so applying it is a deliberate decision to make with a maintainer, not a way round a red check. - Edit vendored code (
internal/httprr) or commit secrets / API keys. - Add tests that make live LLM or network calls.
Before you open a PR
Run the module loop under Setup & core commands first. Then three things no command does for you, and the Self-review pass that follows them.
1. Prove your tests fail without your fix. Revert your source change, keep your tests, and run the package. If it stays green your test pins nothing, which is the most common defect found in review here. Restore the change, then do the same to each new guard, branch and error path in turn: delete or invert it, re-run, confirm the suite goes red, put it back. A test you have never seen fail is not yet a test.
2. Say what changes for someone already on the current release. If they upgrade to a build containing your change, what behaves differently? Write it in the PR description in plain terms. This includes bug fixes: a fix that alters an observable result is still a behavior change, and an undeclared one is the second most common defect found in review. If nothing changes for an existing user, say that instead.
3. Title the PR as a Conventional Commit. feat:, fix:, docs: and so
on, optionally scoped as fix(runner):. Release tooling reads the landed
subject to choose the next version and build the release notes, and it skips
anything with no recognized type without reporting an error. A mistitled PR
merges green and then goes missing from the changelog.
Self-review
Read the change as if someone else wrote it, before you open the PR and again before any later push that changes code. Small documentation and typo fixes are exempt, as they are from the linked-issue and testing requirements. Everything else gets the pass regardless of size, because most review rounds here go on defects the author's own agent could have found.
Review in a fresh context. Start a new session, or hand the diff to a
subagent that did not write the code. An agent reviewing work it produced in
the same session re-reads its own intent rather than the diff, and passes it.
Give the reviewer the whole diff (git diff origin/main...HEAD), never a
summary — the summary is the author's account of the change, which is the thing
being checked. If that command prints nothing, work out why before continuing.
Five things to check:
- Correctness and tests — edge cases (nil, empty, cancellation, concurrent use, partial streams), every caller of a function you changed, and whether the revert check reached each new guard rather than only the headline fix.
- Scope — one concern per PR, and nothing the issue did not ask for. A drive-by CI, formatting or refactor fix belongs in its own PR.
- Simplicity — duplicated logic, single-use indirection, dead code, defensive branches for cases that cannot happen, and comments that restate what the code does.
- Style — the Google Go Style Guide and the conventions in this file.
- Parity — what adk-python does, cited by file and line.
What comes back is a set of claims, not facts. Check each one against the code yourself, and drop the ones that do not hold.
.agents/skills/adk-go-self-review/SKILL.md carries the method and the
checklist behind each of the five.
PRs & commits
See CONTRIBUTING.md for the full process and CLA. Key points for agents:
- Code follows the Google Go Style Guide.
- Most PRs, beyond trivial docs and typo fixes, need a linked issue.
- Include a Testing Plan.
- Attach logs or screenshots for behavior changes (Runner output / ADK Web).
Alignment with adk-python
adk-python is the source of truth for feature behavior. Before you port or change behavior, read the Python implementation and cite the file and line you checked in the PR description. Diverging deliberately is fine and needs one sentence saying why, in the code comment where it will be read and in the PR.
When the question is design rather than behavior, the other ports are worth a look — Java, Kotlin, TypeScript. If one already solved this, match it instead of inventing a third answer.
Resources
- Docs: https://google.github.io/adk-docs/
- Examples:
./examples— start withexamples/quickstartfor a full runnable program - Other ADK implementations: Python, Java, Kotlin, TypeScript
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

