adk-sample-creator
Skill8.8k starsChanged 3 months agoApache-2.0View on GitHub
Author or rework a runnable example under `examples/` in the ADK Go repository — the directory, `main.go`, the README with its Mermaid diagram and real transcript, and the index row. Use when adding a sample for a feature (workflow graph, tool, registry client, model backend, server), when asked to "add an example" for something, or when bringing an existing example up to the repo's standard.
2 other projects use a version of this.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- google/adk-pythontheir own version, first seen Aug 13, 2026
- danielvogler/ai-skills-librarytheir own version, first seen Jun 3, 2026
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
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- google/adk-python★ 22ksame name
- danielvogler/ai-skills-library★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adk-go-self-reviewSkill
- grocery-pricesSkill
- weatherSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 104
When the sample is deterministic, say so: *"No model runs here, so the output is exactly this."* That is the answer to "is this …
- Distinctive: line 112
Write so a reviewer never has to read a sentence twice.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
ADK Go sample creator
An example earns its place by teaching one thing faster than the package docs can. It must run. Two families set the standard, and which one you are writing decides several of the choices below:
- Engine samples —
examples/workflow/*. They exercise ADK itself, need nothing beyond the binary and sometimes a model, and their subject is the shape of a graph. - Integration samples —
examples/agentregistry/*. They talk to a live external service, so they carry cloud prerequisites, credentials, failures worth unwrapping, and output that depends on the reader's own project.
Copy the shape of the nearer family rather than inventing one.
examples/README.md documents an older launcher API (ParseAndRun,
FormatSyntax). Follow the templates here, not that file.
Layout
examples/<area>/<name>/
├── main.go
└── README.mdlower_snake directory names (hitl_simple), nested by theme once a family
grows (routing/llm, dynamic/hitl). When the area keeps an index table —
examples/workflow/README.md and examples/agentregistry/README.md do — add a
row with the same columns as its neighbours, including LLM?. Most areas keep
none, and none is needed.
main.go
Copy templates/main.go.tmpl: it carries the Apache
2.0 header the goheader linter demands, the package doc line, and the launcher
wiring. context.Background() is correct there — main is an entrypoint, and
it stays banned in library code.
full.NewLauncher() serves console, which is the default, plus web and its
api, a2a, webui, pubsub and eventarc sublaunchers. When anything is
deferred, move the body into run(ctx) error and let main do the log.Fatal.
Each of these has cost a review round:
- Pick a versioned model, not a
-latestalias, in any sample whose README documents the Vertex AI path: Vertex does not serve the aliases, so the documented instructions would fail at model construction.gemini-3.5-flashanswers on both backends. - A required variable is read plainly and checked for empty, failing with a
message that names it;
cmp.Or(os.Getenv("X"), "default")is for the optional ones, and hides a missing value if you reach for it first. Watch for a variable a neighbouring library also reads:GOOGLE_CLOUD_LOCATIONsteers genai and the Agent Registry client, so a region meant for the model silently moves the catalog lookup. log.SetFlags(0)when the output is a transcript. Otherwise every line carries a timestamp, and a README that omits it is showing output the code cannot produce.log.Fatalonly frommain. Inside a body that defers a close, it skips the defer.- Render API failures as something actionable — unwrap the typed error and
keep the part that identifies the fix (see
explainin theagentregistrysamples), rather than printing the service's whole JSON envelope. - Comments say WHY. Never narrate the next line.
README
Copy templates/README.md.tmpl and fill the
placeholders in; it spells out what each section is for. The order is fixed —
title and the Concept / Needs LLM? block, Goal, Requirements, How it
works, Running the sample, Example session, What it shows, Notes — but
Requirements, What it shows and Notes come out when they have nothing to
say.
Older examples call the third section Authentication and the fourth
Workflow; leave those alone. Use the template's names for anything new, with
one exception: an engine sample really is built on a workflow graph, so
Workflow stays the truer heading there, over a node-graph diagram rather than
a sequence. An integration sample is the case the template is cut for —
Requirements earns its place because an enabled API and an IAM role are not
credentials, and the diagram is a sequence because the interesting part is what
happens once, at startup, versus what happens on every turn.
Mermaid
Mermaid is the repo default; no ASCII art. Reach for sequenceDiagram first: a
sample is a sequence of calls, and the ordering is usually the point — a flow
chart that mixes startup with the first user turn hides that resolution happened
once, before the agent existed. Use graph LR/graph TD when the subject
really is a topology, such as an engine sample's node graph.
The transcript is evidence
- Paste output you actually got. Never invent it, never tidy it up.
- Say where it came from and which part generalizes: "Real output from a project with the Cloud Logging API enabled, abridged in the middle. Your logs will differ."
- Abridge with
..., and say that you did. - When the sample is deterministic, say so: "No model runs here, so the output is exactly this." That is the answer to "is this reproducible?" — a question reviewers do ask.
- Anonymize project IDs to
my-project; leave generated resource IDs structurally intact.
Prose
Write so a reviewer never has to read a sentence twice. Do not build an antithesis whose second half points back at a noun two clauses ago — state the rule, then the exception, in separate sentences. And state each fact once: the same explanation in a doc comment, the How it works section and the Notes is two copies too many.
Before you call it done
From the repo root, with a workspace (test -f go.work || go work init && go
work use -r .):
go build -mod=readonly work
go vet ./examples/...
golangci-lint run
go mod tidy -diffThen run the sample and paste what it printed into the README. Examples are part of the root module, so one that does not compile breaks CI for everyone.
Final check:
- row added to the area's index table, if it keeps one
- every environment variable the code reads is in the table
- the transcript is real output, and says what about it generalizes
- license header present,
golangci-lint runclean - it runs
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.

