Go ADK Complete Guide
Master Google Agent Development Kit for Go (ADK Go) — 45 in-depth tutorials covering tool usage, memory management, multi-agent collaboration, streaming, deployment, with complete runnable code and flowcharts.
Learning Roadmap
Organized by modules, each containing 2-6 articles. Follow sequentially or jump to specific topics as needed.
Module filter: [All] [Environment] [Quickstart] [Tools] [Memory] [Team] [Streaming] [Deployment] [A2A] [Advanced] [Realworld]
Module 0: Introduction
Series Introduction & Learning Path
Background, goals, target audience, learning path recommendations Reading time: 10 min | Status: 🚧 In Progress
Module 1: Environment & Installation
Go 1.24+ Installation & Verification
Go installation, version verification, environment variables Reading time: 15 min | Case:
adk-go-env-verify-go| Status: 🚧 In Progress
ADK Go Installation & Quick Verification
ADK Go installation, Hello World verification Reading time: 20 min | Case:
adk-go-env-install-adk| Status: 🚧 In Progress
Project Structure & .env Management
Directory structure, .env examples, gitignore best practices Reading time: 15 min | Case:
adk-go-env-project-template| Status: 🚧 In Progress
Module 2: Quick Start
Agent Core Concepts: Model, Tool, Instruction
Agent’s three elements: relationship of Model, Tool, Instruction Reading time: 20 min | Case:
adk-go-quickstart-concepts| Status: 🚧 In Progress
Hello World Agent
Minimal runnable Agent, CLI execution Reading time: 25 min | Case:
adk-go-quickstart-hello-world| Status: 🚧 In Progress
CLI vs Web: Execution Modes Comparison
Command-line vs web interface, each with suitable scenarios Reading time: 15 min | Case:
adk-go-quickstart-run-modes| Status: 🚧 In Progress
API Key & Model Selection
Gemini API Key acquisition, model selection (flash/lite/pro) Reading time: 15 min | Case:
adk-go-quickstart-api-key| Status: 🚧 In Progress
Module 3: Tool Usage
Function Tool Basics
Custom Go functions as Tools registered with Agent Reading time: 30 min | Case:
adk-go-tools-function-basics| Status: 🚧 In Progress
Function Tool Performance Optimization
Tool timeout, concurrency best practices Reading time: 25 min | Case:
adk-go-tools-function-performance| Status: 🚧 In Progress
MCP Server Integration
Connect to external servers via MCP Reading time: 30 min | Case:
adk-go-tools-mcp-client| Status: 🚧 In Progress
OpenAPI Tool: External APIs in Agent
Dynamic Tool generation from OpenAPI specs Reading time: 25 min | Case:
adk-go-tools-openapi| Status: 🚧 In Progress
Tool Confirmation & Security Authentication
User confirmation mechanism, API Key / OAuth authentication Reading time: 20 min | Case:
adk-go-tools-confirmation| Status: 🚧 In Progress
Module 4: Memory & Context
Session Management: Creation & Recovery
Session creation, persistence, recovery mechanism Reading time: 25 min | Case:
adk-go-memory-session| Status: 🚧 In Progress
State Read/Write: Agent Internal State
State read/write API, cross-turn state sharing Reading time: 20 min | Case:
adk-go-memory-state| Status: 🚧 In Progress
Event System: Understanding Agent Event Flow
Event types, EventHandler usage Reading time: 25 min | Case:
adk-go-memory-event| Status: 🚧 In Progress
Context Caching: Large Context Optimization
Cache context to reduce token consumption Reading time: 20 min | Case:
adk-go-memory-context-caching| Status: 🚧 In Progress
Context Compression: Context Compression
Compress historical messages, keep context lean Reading time: 20 min | Case:
adk-go-memory-context-compression| Status: 🚧 In Progress
Rewind Sessions: Session Rewind
Rewind Agent to historical state and re-execute Reading time: 25 min | Case:
adk-go-memory-rewind| Status: 🚧 In Progress
Module 5: Multi-Agent Collaboration
Agent Team Architecture
How multiple Agents collaborate, division of labor patterns Reading time: 20 min | Case:
adk-go-team-intro| Status: 🚧 In Progress
Sequential Workflow: Sequential Execution
Input → Agent A → Agent B → Output Reading time: 25 min | Case:
adk-go-team-sequential| Status: 🚧 In Progress
Parallel Workflow: Parallel Distribution
Input → [Agent A, Agent B] parallel → aggregated output Reading time: 25 min | Case:
adk-go-team-parallel| Status: 🚧 In Progress
Loop Workflow: Loop Execution
Loop calls until exit condition is met Reading time: 25 min | Case:
adk-go-team-loop| Status: 🚧 In Progress
Custom Workflow: Custom Workflow
Orchestrate Agent execution order per business logic Reading time: 30 min | Case:
adk-go-team-custom| Status: 🚧 In Progress
Agent Routing: Dynamic Next Agent Selection
Dynamic routing to appropriate Agent based on input Reading time: 25 min | Case:
adk-go-team-routing| Status: 🚧 In Progress
Module 6: Streaming Interaction
Streaming Principles & Event Model
Streaming output principles, Server-Sent Events mechanism Reading time: 20 min | Case:
adk-go-streaming-principles| Status: 🚧 In Progress
Event Handling: Real-time Agent Output Capture
Token-by-token output, incremental display Reading time: 25 min | Case:
adk-go-streaming-event-handling| Status: 🚧 In Progress
Multimodal: Audio, Image, Video Processing
Audio/video content input and processing Reading time: 25 min | Case:
adk-go-streaming-multimodal| Status: 🚧 In Progress
Streaming UI: Building Real-time Chat
Web frontend + Agent streaming interaction Reading time: 30 min | Case:
adk-go-streaming-chat-ui| Status: 🚧 In Progress
Module 7: Deployment & Operations
Agent Runtime Architecture
ADK Go runtime architecture, process model Reading time: 20 min | Case:
adk-go-deploy-runtime| Status: 🚧 In Progress
CLI Deployment: Production CLI Tool
Deploy and operate Agent via CLI Reading time: 25 min | Case:
adk-go-deploy-cli| Status: 🚧 In Progress
Web Interface Deployment & Maintenance
Web interface operations notes Reading time: 15 min | Case:
adk-go-deploy-web| Status: 🚧 In Progress
Docker Containerized Deployment
Write Dockerfile, image build and run Reading time: 30 min | Case:
adk-go-deploy-docker| Status: 🚧 In Progress
Cloud Run / GKE Deployment
Cloud deployment: logs, metrics, traces Reading time: 35 min | Case:
adk-go-deploy-cloud| Status: 🚧 In Progress
Module 8: A2A Protocol
A2A Protocol: Cross-Agent Communication
A2A protocol design, difference from MCP Reading time: 20 min | Case:
adk-go-a2a-intro| Status: 🚧 In Progress
Exposing: Expose Go Agent to External
Expose Go Agent via A2A Reading time: 30 min | Case:
adk-go-a2a-expose| Status: 🚧 In Progress
Consuming: Consume External Agent
Call agents exposed by other languages in Go Agent Reading time: 30 min | Case:
adk-go-a2a-consume| Status: 🚧 In Progress
Cross-Language Collaboration: Python + Go
Python ADK Agent + Go ADK Agent collaboration Reading time: 35 min | Case:
adk-go-a2a-cross-language| Status: 🚧 In Progress
Module 9: Advanced Topics
Grounding: Search-Enhanced Generation
Google Search Grounding integration Reading time: 25 min | Case:
adk-go-advanced-grounding| Status: 🚧 In Progress
Artifacts: Structured Content Generation
Generate code, Markdown and other structured content Reading time: 20 min | Case:
adk-go-advanced-artifacts| Status: 🚧 In Progress
Skills for Agents: Agent Skill Extension
Mount preset skills for Agent Reading time: 20 min | Case:
adk-go-advanced-skills| Status: 🚧 In Progress
Callbacks & Plugins: Lifecycle Hooks
Agent lifecycle callbacks, plugin mechanism Reading time: 25 min | Case:
adk-go-advanced-callbacks| Status: 🚧 In Progress
Module 10: Real-World Projects
End-to-End Project: Design to Deployment
Complete project: requirements → design → implementation → deployment Reading time: 60 min | Case:
adk-go-realworld-full-project| Status: 🚧 In Progress
Debugging Notes & Performance Tuning
Common issues and solutions, performance bottleneck troubleshooting Reading time: 30 min | Case:
adk-go-realworld-debugging| Status: 🚧 In Progress
Evaluation: Agent Effectiveness Evaluation
Evaluate Agent output quality, custom metrics Reading time: 25 min | Case:
adk-go-realworld-evaluation| Status: 🚧 In Progress
Resources
| Resource | Description |
|---|---|
| Code Repository | Runnable code per article (GitHub private repo) |
| Flowcharts | Draw.io / Mermaid format, complexity-tiered display |
| Review Questions | 3-5 questions per article for deeper understanding |
| Paid Collection | Available on WeChat Official Account |
Series continuously updated. Follow our WeChat Official Account for latest content.