adk-kotlin-agent-builder
Installation
SKILL.md
ADK Kotlin Agent Builder
Checked against main after release 1.1.0 (September 2026).
The references teach patterns and the rules behind most failures; they are not an API listing. The API is close to adk-python but not identical. If a symbol does not resolve, read core/src/*/kotlin/com/google/adk/kt/ (JVM- and Android-only APIs such as MCP and the persistent session services live outside commonMain) rather than guessing a neighbouring name. When a reference and the code disagree, the code is right.
References
| Task | Reference |
|---|---|
| First agent, running it, reading events, streaming | getting-started.md |
| The rules that cause most runtime failures | best-practices.md |
@Tool, hand-written tools, agent-as-tool, MCP, long-running and confirmation-gated tools |
tools.md |
| Sequential, parallel and loop agents, LLM transfer | workflow-agents.md |
| Callbacks and plugins | callbacks-and-plugins.md |
| State, sessions, artifacts, memory | state-sessions-artifacts.md |
| Tests with a fake model | testing.md |
For Java callers, copy the patterns in examples/java/, a javac-only module that keeps the Java surface working.