Agent Development Kit for Go is a Go framework for building, evaluating, deploying, and coordinating AI agents through code. Developers use it to define agent logic, connect tools, compose multi-agent systems, and deploy applications in cloud environments, while retaining compatibility with models and frameworks beyond Gemini. The catalogue entries provide skills and instructions for working with ADK Go.
Borrowing it
Nothing to install: this file belongs to google/adk-go. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/google/adk-go/main/AGENTS.mdgit clone --depth 1 https://github.com/google/adk-goWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/google/adk-go/agents-md)<a href="https://agentmods.dev/instructions/google/adk-go/agents-md"><img src="https://agentmods.dev/badge/instructions/google/adk-go/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/google/adk-go/agents-md"><img src="https://agentmods.dev/badge/instructions/google/adk-go/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05510 | $0.05510 |
| Opus 5.5 | $0.02204 | $0.02204 |
| Sonnet 5.5 | $0.01102 | $0.01102 |
| Haiku 4.5 | $0.00551 | $0.00551 |
Grade A, and why
adk-go AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 428 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed · +5 tokens per session 081757b7611c
- 25d ago Changed · +5 lines · +101 tokens per session 8c152d17fa59
- 1mo ago Changed · +47 lines · +753 tokens per session b3b3ec68757a
- 1mo ago Changed · +122 lines · +1,491 tokens per session 3cf4df890e79
- 1mo ago Changed · +48 lines · +709 tokens per session 99150339598b
- 2mo ago Changed · +7 lines · +70 tokens per session c273def058d2
- 2mo ago First seen · 199 lines · 2,381 tokens per session scan A 2bc2a462bd5b
adk-go AGENTS.md is an instructions file published in the GitHub repository google/adk-go (8,943 stars, last pushed yesterday), licensed Apache-2.0. It adds 5,510 tokens to every session, about $0.0220 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
adk-go AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adk-go AGENTS.mdgoogle/adk-go | Instructions file | 8.9k | yesterday | Apache-2.0 | A | 5,510 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |