This directory contains minimal examples that each show one or a few ADK features. Each example is its own Maven module, and its README shows how to run it.
These examples differ from the google/adk-samples repository, which contains more complete end-to-end samples for customers to use or modify.
a2a_basic: an ADK agent that calls a remote agent over A2A.a2a_server: an ADK agent served over A2A with Quarkus.configagent: agents defined in YAML config files.contextcaching: Gemini context caching that reuses and refreshes a cache across turns.helloworld: a minimal agent with dice-rolling and prime-checking tools.mcpfilesystem: an agent that uses the MCP filesystem server as a toolset.mcpfullresult: MCP tools that return the whole tool result, reshaped by an after-tool callback.spring_chat: a Spring Boot chat page backed by an agent that calls its model through Spring AI.spring_chat_advanced: the Spring Boot chat with streamed replies, mixing ADK tools with Spring AI@Toolmethods.workflows: workflow graphs built with the ADK workflow API, most of them ports of adk-python's workflow samples.