adk-sample-creator
Skill22k starsChanged 4 months agoApache-2.0View on GitHub
Creates a new sample agent in the ADK Python repository — the sample directory, its `agent.py`, and its `README.md` — following the conventions the existing samples already use. Use when the user wants to add a sample or example demonstrating a feature or agent pattern (dynamic nodes, fan-out/fan-in, a standalone tool-using agent), asks where a new sample belongs under `contributing/samples/`, or wants an existing sample's README brought up to the standard structure. Don't use for building a real working agent for the user's own project (use `adk-agent-builder`), or for checking whether the Python blocks in a Markdown file run (use `adk-verify-snippets`).
2 other projects use a version of this, 1 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- google/adk-gotheir own version, first seen Sep 10, 2026
- danielvogler/ai-skills-libraryedited, first seen Jun 3, 2026
Who's talking about google/adk-python
- @tiangolo.com“Google's AI Agent Developer Toolkit uses @fastapi.tiangolo.com 😎 github.com/google/adk-p...”Bluesky · Apr 12, 2025 · 14 likes
- @stephanjanssen.be“Google just open sourced a Python Agent Development Kit @ github.com/google/adk-p... Native Streaming and …”Bluesky · Apr 9, 2025 · 12 likes
- googleapis/python-genai“Feature Request: Support user identity/credentials for VertexAISearch grounding”GitHub · Oct 28, 2025 · 10 reactions
- google/adk-go“When is the plan to support the Claude model?”GitHub · Nov 7, 2025 · 9 reactions
- google-gemini/computer-use-preview“ComputerUseToolset: safety_decision for click_at requires safety_acknowledgement even after user confirms …”GitHub · Dec 5, 2025 · 7 reactions
The biggest 5 of 63 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 63
Talked about on GitHub, Bluesky and Hacker News (63 times).
On GitHub · 50
- Oct 28, 2025Feature Request: Support user identity/credentials for VertexAISearch grounding — googleapis/python-genai10 reactions · 5 comments
- Nov 7, 2025When is the plan to support the Claude model? — google/adk-go9 reactions · 15 comments
- Dec 5, 2025ComputerUseToolset: safety_decision for click_at requires safety_acknowledgement even after user confirms in ADK UI — google-gemini/computer-use-preview7 reactions
- Jun 10, 2025Add an example of LongRunningFunctionTool — google/adk-recipes6 reactions · 4 comments
- Jun 6, 2025Add copy button in ADK Web UI chat response — google/adk-web6 reactions · 3 comments
45 more on GitHub
- Nov 18, 2025Gemini API rejects MCP tool schemas with $defs references — google-gemini/gemini-cli5 reactions · 8 comments
- May 21, 2025Documentation for using the MCP tool is partially outdated for v1.0.0 — google/adk-docs4 reactions · 1 comment
- Aug 14, 2026[Feature]: model/openaimodel: support image/file input (genai InlineData/FileData parts) — google/adk-go3 reactions · 7 comments
- Oct 23, 2025RFC: Context Caching Support for Java ADK — google/adk-java3 reactions · 3 comments
- May 26, 2025Documentation for MCPToolset use has not been updated after 1.0.0 release — google/adk-docs3 reactions · 8 comments
- Apr 10, 2025[feature request] Support Google Agent Development Kit (ADK) — Arize-ai/openinference3 reactions · 6 comments
- Jun 24, 2026chore(deps): bump the pip group across 2 directories with 6 updates — CaffeeLake/AP22 reactions
- May 17, 2026chore(deps): bump the pip group across 5 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- May 17, 2026chore(deps): bump the pip group across 6 directories with 1 update — billlzzz10/adk-samples2 reactions · 4 comments
- May 17, 2026chore(deps): bump the pip group across 6 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- May 13, 2026chore(deps): bump the pip group across 3 directories with 4 updates — HarleyCoops/adk-python2 reactions · 1 comment
- May 5, 2026chore(deps): bump the pip group across 7 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- May 4, 2026chore(deps): bump the pip group across 8 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 26, 2026chore(deps): bump the uv group across 46 directories with 2 updates — billlzzz10/adk-samples2 reactions · 5 comments
- Apr 26, 2026chore(deps): bump the uv group across 47 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 24, 2026chore(deps): bump the uv group across 38 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 24, 2026chore(deps): bump the uv group across 39 directories with 2 updates — billlzzz10/adk-samples2 reactions · 5 comments
- Apr 24, 2026chore(deps): bump the uv group across 36 directories with 2 updates — billlzzz10/adk-samples2 reactions · 5 comments
- Apr 24, 2026chore(deps): bump the pip group across 10 directories with 7 updates — billlzzz10/adk-samples2 reactions · 3 comments
- Apr 24, 2026chore(deps): bump the pip group across 10 directories with 1 update — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 24, 2026chore(deps): bump the pip group across 7 directories with 7 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 14, 2026Bump google-adk from 1.1.1 to 1.28.1 in /adk-gradio-example — cicero-im/adk-gradio2 reactions · 2 comments
- Apr 14, 2026Bump google-adk from 0.1.0 to 1.28.1 in /advanced_ai_agents/multi_agent_apps/ai_financial_coach_agent — cicero-im/awesome-llm-apps2 reactions · 2 comments
- Mar 13, 2026Feature request: Google ADK integration plugin similar to LangChain — livekit/agents2 reactions
- Jan 29, 2026ASGI shutdown error with active SSE connections - StreamableHTTPSessionManager cancels task group without graceful stream termination — PrefectHQ/fastmcp2 reactions
- Dec 27, 2025[Feature] Contribute to support bifrost in ADK — maximhq/bifrost2 reactions · 3 comments
- Nov 30, 2025Feature Request: Support dynamic per-request headers in MCPTools for multi-tenant applications — agno-agi/agno2 reactions · 9 comments
- Oct 20, 2025Expose max_llm_calls to ADK web — google/adk-web2 reactions
- Aug 20, 2025Claude in Vertex AI does not support URL-based image ingestion — langchain-ai/langchain-google2 reactions · 4 comments
- May 3, 2025Help with GKE deployment with istio enabled — google/adk-web2 reactions · 1 comment
- Oct 28, 2026docs: fix 5 broken internal anchor links and 1 dead external link — google-gemini/gemini-cli1 reaction · 3 comments
- Oct 16, 2026chore(deps): bump google-adk from 2.9.2 to 2.12.0 — cgj8702-org/hannibal-hub-agents1 reaction · 2 comments
- Oct 15, 2026fix(agenttool): preserve code output in sub-agent results — google/adk-go1 reaction · 1 comment
- Oct 15, 2026docs(agents): explain opt-in sharing of sibling final answers — google/adk-docs1 reaction · 1 comment
- Sep 11, 2026build(deps): bump google-adk from 2.4.0 to 2.8.0 — cgj8702-org/hannibal-hub-agents1 reaction
- Aug 25, 2026fix(google_adk): support google-adk 2.7.0+ tool dispatch changes [MLOS-864] — DataDog/dd-trace-py1 reaction · 6 comments
- Jul 17, 2026Update google-adk requirement from >=1.31.1 to >=2.5.0 — xenm/map-me-search1 reaction · 3 comments
- Jul 8, 2026Update google-adk requirement from >=1.31.1 to >=2.4.0 — xenm/map-me-search1 reaction · 4 comments
- Jun 18, 2026Update google-adk requirement from >=1.31.1 to >=2.3.0 — xenm/map-me-search1 reaction · 4 comments
- Jun 5, 2026Update google-adk requirement from >=1.31.1 to >=2.2.0 — xenm/map-me-search1 reaction · 4 comments
- May 22, 2026fix(ollama): remap tool role to tool_responses for Gemma models — BerriAI/litellm1 reaction · 5 comments
- Apr 14, 2026chore(deps): bump the pip group across 2 directories with 2 updates — Activ8-AI/compose-for-agents1 reaction · 1 comment
- Apr 9, 2026Update deployment docs to avoid relying on internal get_fast_api_app — google/adk-docs1 reaction · 1 comment
- Mar 17, 2026Add progressive SSE to streaming aggregator and parallel function call execution — google/adk-go1 reaction · 2 comments
- Jun 12, 2025Hackathon related `google-adk` issues and pull requests — pivlab/manufold1 reaction · 10 comments
On Bluesky · 11
- Apr 12, 2025Google's AI Agent Developer Toolkit uses @fastapi.tiangolo.com 😎 github.com/google/adk-p... — @tiangolo.com14 likes and reposts
- Apr 9, 2025Google just open sourced a Python Agent Development Kit @ github.com/google/adk-p... Native Streaming and #MCP support out of the box 👀… — @stephanjanssen.be12 likes and reposts
- Apr 16, 2025adk-python An open-source, code-first Python toolkit by Google for building, evaluating, and deploying sophisticated AI agents with… — @pythonhub.dev3 likes and reposts
- Oct 30, 2025🧠 Google Agent Development Kit (ADK) kini mendukung file llms.txt & llms-full.txt untuk meningkatkan “vibe coding” dengan AI agents! 🚀 🔗… — @its-me-rhk.bsky.social2 likes and reposts
- Feb 28, 2026https://github.com/google/adk-python — @tom-doerr.bsky.social1 likes and repost
6 more on Bluesky
- Aug 8, 2025📦 google / adk-python ⭐ 11,687 (+78) 🗒 Python An open-source, code-first Python toolkit for building, evaluating, and deploying… — @github-trending.bsky.social1 likes and repost
- Jun 2, 2025잠시 관심을 놓고있던 사이에 google adk 가 stable 이 됐었네 github.com/google/adk-p... — @oenomel.bsky.social1 likes and repost
- Apr 9, 2025github.com/google/adk-python — @php.2.hyzsui.com1 likes and repost
- May 10, 2026Repo → https://github.com/openai/openai-agents-python 3. google/adk-python Google's Agent Development Kit. The official toolkit for… — @adityamitra.bsky.social0 likes and reposts · 1 reply
- Jun 26, 2025Google ADK (agent developlemt toolkit) github.com/google/adk-p... — @ineumann.fr0 likes and reposts · 1 reply
- May 30, 2025🍦 Try the ice cream agent: goo.gle/ice-cream-agent 💻 Check out the code: goo.gle/ice-cream-agent-code ADK Docs:… — @alokpattani.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Apr 9, 2025Agent Development Kit (ADK) from Google6 points · 3 comments
- Apr 11, 2025Google ADK1 point · 1 comment
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- danielvogler/ai-skills-library★ 016% same
Wrote their own version · 1
- google/adk-go★ 8.8ksame 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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- adk-agent-builderSkill
- adk-architectureSkill
- adk-debugSkill
- adk-gitSkill
- adk-reviewSkill
- adk-setupSkill
- adk-styleSkill
- adk-unit-designSkill
- adk-unit-guideSkill
- adk-verify-snippetsSkill
- calc-skillSkill
- text-skillSkill
- weather-skillSkill
- calc-skillSkill
- text-skillSkill
- weather-skillSkill
- code-review-skillSkill
- weather-skillSkill
- bigquery-ai-mlSkill
- bigquery-graphSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Read the adk-style skill first for ADK 2.0 conventions if you have not already.
- Very specific: line 43
Do not add an _agent suffix, and do not repeat the category as a prefix — every sample is an agent, and the category is already in the path.
- Distinctive: line 58
Use absolute imports so the file can be run and imported directly.
- Very specific: line 60
Do not set model= on Agent instances.
- Distinctive: line 69
Use when the sample needs multiple nodes, routing, or parallel execution.
- Very specific: line 80
Import Workflow from google.adk, not from a private google.adk.workflow._* module.
- Distinctive: line 104
Use when there is no graph and the agent drives its own loop.
- Very specific: line 120
Follow readme-template.md — section order, prompt formatting, the Mermaid topology rules, and the relative link depth for docs/guides/.
- Distinctive: line 126
Read these two before writing a new Pattern A sample — one dynamic graph, one static one.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Sample Creator
Creates samples under contributing/samples/. These are deliberately minimal
agents that each exercise one or two features — distinct from the adk-samples
repository, which hosts full end-to-end applications.
Read the adk-style skill first for ADK 2.0 conventions if you have not
already.
1. Pick the category directory
Almost every sample lives at
contributing/samples/{category}/{sample_name}/. List the categories and
confirm with the user which one the sample belongs in before creating
anything — a workflow sample landing outside workflows/ is the usual mistake.
ls contributing/samples/Categories include workflows, patterns, core, multi_agent, tools,
models, live, mcp, a2a, evaluation, and plugins. A handful of
samples nest one level further when a single feature needs several variants, as
plugins/plugin_reflect_tool_retry/basic/ does.
Name the sample directory in snake_case after the feature it demonstrates:
dynamic_nodes, fan_out_fan_in, streaming_tool_events.
Do not add an _agent suffix, and do not repeat the category as a prefix —
every sample is an agent, and the category is already in the path. Many existing
directories still carry both; do not copy them.
2. Write agent.py
Contents of a sample directory:
| File | Required | Purpose |
agent.py | yes | The agent or workflow. Must expose root_agent. |
README.md | yes | See readme-template.md. |
__init__.py | sometimes | Present when the sample is imported as a package. |
tests/*.json | no | Recorded sessions used as eval sets. |
Use absolute imports so the file can be run and imported directly.
Do not set model= on Agent instances. Samples inherit the
system-configured model, which keeps them working when the default model
changes; hardcoding model="gemini-2.5-flash" pins the sample to a model that
will be retired. Set it only when the user explicitly asks for a specific model.
Then pick one of the two shapes.
Pattern A — Workflow, for multi-step graphs
Use when the sample needs multiple nodes, routing, or parallel execution.
from google.adk import Agent
from google.adk import Context
from google.adk import Event
from google.adk import Workflow
from google.adk.workflow import JoinNode
from google.adk.workflow import nodeImport Workflow from google.adk, not from a private
google.adk.workflow._* module.
my_agent = Agent(name="my_agent", instruction="...")
@node()
async def my_node(node_input: str) -> str:
return "result"
root_agent = Workflow(
name="root_agent",
edges=[("START", my_node)],
)A plain function can be used as a node directly in edges; reach for the
@node(...) decorator when you need one of its options, such as
rerun_on_resume=True for a node that calls ctx.run_node.
Pattern B — Standalone agent, for single-agent or simple tool use
Use when there is no graph and the agent drives its own loop.
from google.adk import Agent
from google.adk.tools import google_search
root_agent = Agent(
name="standalone_assistant",
instruction="You are a helpful assistant.",
description="An assistant that can help with queries.",
tools=[google_search],
)3. Write README.md
Follow readme-template.md — section order,
prompt formatting, the Mermaid topology rules, and the relative link depth for
docs/guides/.
Worked examples
Read these two before writing a new Pattern A sample — one dynamic graph, one static one.
contributing/samples/workflows/dynamic_nodes/agent.py— a Python node driving awhileloop withctx.run_node, so the number of agent calls is decided at runtime rather than by the edges.@node(rerun_on_resume=True) async def orchestrate(ctx: Context, node_input: str) -> str: yield Event(state={"topic": node_input}) while True: headline = await ctx.run_node(generate_headline) # ...contributing/samples/workflows/fan_out_fan_in/agent.py— three functions run in parallel fromSTART, collected by aJoinNode, then aggregated.join_node = JoinNode(name="join_for_results") root_agent = Workflow( name="root_agent", edges=[( "START", (make_uppercase, count_characters, reverse_string), join_node, aggregate, )], )
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.

