---
title: "Agent Development Kit (ADK) for Go"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "2"
url: "https://mindket.com/p/8261e496-dcb4-4a83-90c1-02831fa8ff41"
updated: "2026-11-09"
health: "Active"
---

# Agent Development Kit (ADK) for Go

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Google’s open-source Go toolkit for building AI agents in code, from one agent with tools to graph workflows and teams of agents. Setup notes cover the Quickstart, Gemini, Claude and OpenAI models, Cloud Run, Claude Code, Cursor and Antigravity.

Agent Development Kit (ADK) for Go is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on 2026-11-09. Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

Made by google

## About

### What it is

ADK Go is the Go version of Agent Development Kit, Google’s open-source framework for building AI agents in code. You write the agent, its model, its tools and the way several agents work together as ordinary Go, so they are tested and versioned like the rest of your service. The README says ADK is optimized for Gemini but model-agnostic, and the repository has samples for Claude and OpenAI too. Version 2.0, generally available since June 30, 2026, adds graph workflows that mix model steps with plain Go functions, and tool confirmation by a person. A launcher built into your program runs it as a terminal chat, a web chat page, a REST API or an A2A server.

You write an agent in Go: a model, instructions and tools → go get adds google.golang.org/adk/v2 to your module → go run agent.go starts a chat in your terminal → web api webui serves a chat page on port 8080 → adkgo deploys the same program to Cloud Run

### Who it suits

Go developers who want agents inside their own services, with the types, tests and single binary they already use. Teams on Google Cloud get the most help, since the README names Cloud Run and the deploy tool targets it. Python, Java, Kotlin and TypeScript teams have their own ADK versions.

Who uses it, and how

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Customer support | Developers of support tools | A graph sends each incoming message to the right handler | The graphs page’s sample routes a message that mentions a bug to the bug branch, and one asking for help to customer support. |
| Finance and data | Backend developers | Give an agent a Go function as a tool over their own data | The function tools page’s get\_stock\_price tool looks up a ticker symbol in a price list and returns the price. |
| Cloud and platform teams | Platform engineers | Ship the agent as one container on Cloud Run, closed to the public | adkgo compiles a Linux binary, writes the Dockerfile and deploys a service that needs sign-in by default. |
| Multi-agent products | Teams running several agent services | Let one agent call another over A2A | A root agent hands a dice roll to a local agent and the prime check to a remote agent on port 8001. |

Skip it if you want to build agents without writing code. The Visual Builder in the web interface is Python only, and so is the docs’ page on evaluating agents.

### Where to use it

The README calls ADK deployment-agnostic. The Quickstart gives steps for macOS and Linux, and for Windows in PowerShell or Command Prompt.

- macOS and Linux: the Quickstart’s shell lines, with a .env file for the key
- Windows: the same Go commands, with env.bat in place of .env
- Google Cloud Run: the adkgo tool builds and deploys the program, with no Dockerfile to write
- Claude Code, Cursor and Antigravity: an MCP server that lets them read the ADK docs while they write your code
- Any other coding agent: llms.txt and llms-full.txt, the docs as plain files

Models: Gemini with an API key or through Google Cloud, Claude on Vertex AI or the Anthropic API, and OpenAI or a compatible provider that serves its Responses or Chat Completions API.

### How to set it up

Get it saves a zip of Mindket’s setup notes in your downloads folder, with each platform’s steps from the ADK docs. The main route is the Go Quickstart: one folder, one Go file and a Gemini key.

What you need first

| Need | Detail |
| --- | --- |
| Go | 1.26.10 or newer, as the README and go.mod say. The Quickstart page still says 1.25 |
| A Gemini API key | From Google AI Studio’s API Keys page, for the Quickstart agent |
| Other models | Google Cloud access or an Anthropic key for Claude, an account with OpenAI or a compatible provider for OpenAI’s APIs |
| gcloud and a Google Cloud project | To deploy to Cloud Run, or to call Gemini or Claude through Vertex AI (after gcloud auth application-default login) |
| uv | Only for the ADK docs MCP server or the Agents CLI (uvx google-agents-cli setup) in a coding agent |

1. Make a folder with agent.go and .env. On Windows the Quickstart uses env.bat in place of .env.
2. Copy the Quickstart code into agent.go. Its agent runs on gemini-flash-latest with the built-in Google Search tool and reads your key from GOOGLE\_API\_KEY.
3. Run the three module lines. They create the module, add ADK Go 2.0 and fetch what the imports need.
4. Save your Gemini key in .env. The second block shows the macOS and Linux line, and the kit has both Windows forms.
5. Start the agent with go run agent.go. Load your .env first, as the Quickstart’s comment says.

```sh
go mod init my-agent/main
go get google.golang.org/adk/v2
go mod tidy
```

```sh
echo 'export GOOGLE_API_KEY="YOUR_API_KEY"' > .env
# Remember to load keys and settings: source .env OR env.bat
go run agent.go
```

### How to use it

The keywords after go run agent.go pick how the agent runs. With none, it chats in the terminal.

Launcher keywords

| Keyword | What it does |
| --- | --- |
| console | A chat in the terminal, and the default |
| web api webui | The REST API and a chat page at localhost:8080, for development only |
| web api | The REST API alone, under /api on port 8080 |
| web a2a | The agent served to other agents over A2A |

In the chat page, pick your agent at the upper left and type a request. The page lists your sessions, their state and every event behind an answer, so you can follow each step. To call the agent from your own code, start the API. The API Server page gives a Go line that moves it to port 8000 with no prefix, so the page’s curl examples work as written.

```sh
go run agent.go web -port 8000 api -path_prefix ""
```

From a second terminal, create a session with a POST to /apps/\<app\>/users/\<user\>/sessions/\<session\>. Then send each message as a POST to /run with the app, user and session IDs. /run returns the turn’s events as one list, and /run\_sse streams them.

### Example

You want one agent to use another that runs as its own service. The A2A quickstart’s a2a\_basic sample has a root agent with a local dice agent, and a prime checker served over A2A on port 8001. With both running, you type to the root agent:

```text
roll a die and check if it's a prime
```

The root agent hands the roll to roll\_agent, which calls roll\_die with six sides. Then transfer\_to\_agent hands the number to prime\_agent, the agent on the other server, which calls prime\_checking. In the docs’ run the die landed on 3, and the reply was “3 is a prime number.”

### For newcomers and experts

**If you are new.** An agent is a language model with instructions and tools it may call, such as a web search or one of your functions. In ADK Go you build one with llmagent.New, give it a name, a model and an instruction, and hand it to the launcher. Start with the Quickstart agent and its chat page, where the events show what the agent did for each answer. Then add a tool of your own with functiontool.New. If a coding agent writes the code with you, point it at llms-full.txt. The README says that file holds the Go API reference and samples.

**For experts.** The 2.0 graph engine treats agents, tools and functions as nodes. workflow.NewFunctionNode wraps a Go function, workflow.Chain wires nodes in order, and each node’s typed return value reaches the next through event.Output, with no session state writes. A router node sets event.Routes, and edges with StringRoute, IntRoute or BoolRoute pick the branch. NewJoinNode waits for parallel branches, and workflowagent.New turns the graph into a standard agent.Agent. The workflow samples add pauses for a person’s input and orchestration written as plain Go with NewDynamicNode.

State lives in code, not flags. The Go console has no save, resume or replay options, and the Go API server has no Swagger page or PATCH route for sessions. You pass a persistent session.Service such as session/database in launcher.Config. Upgrading from 1.x means the /v2 import path, a context as the first argument of session.NewEvent, and five new event fields. Versions before v2.2.0 stored three of them under their Go names, so fixed schemas must accept both forms.

### Good to know

ADK Go is a library, so it runs where you run it. What leaves your machine depends on the model and tools you give the agent.

- Model calls: your prompts and tool results go to the provider you configure, with your own key or Google Cloud account. The Quickstart agent also uses Gemini’s built-in Google Search tool
- Usage data: the web interface page says the ADK Web UI’s anonymous telemetry is off until you turn it on in User Settings. The choice is kept in \~/.adk/config.json
- Development only: the Quickstart says ADK Web is not meant for production. adkgo deploys to Cloud Run with --no-allow-unauthenticated by default and reaches the service through a local proxy
- Go version: the README and go.mod ask for Go 1.26.10 or newer, while the Quickstart and Installation pages still say 1.25
- Experimental: both A2A quickstarts mark A2A in ADK Go as experimental
- Safety: the safety page names prompt injection through tool results as a risk. It says to escape model output shown in a web page and to run model-written code in a sandbox. The MCP page says to expose only the tools an agent needs
- Removal: there is nothing to uninstall. ADK Go is a module in your go.mod, and the kit says how to take it out
- License: Apache-2.0. The README says internal/httprr has its own LICENSE file

## README

````markdown
# Agent Development Kit (ADK) for Go: setup notes

This kit holds setup notes only. Mindket wrote them. ADK Go is a Go module that you add to your own project, and its source is at https://github.com/google/adk-go

These notes are not made or endorsed by Google. The README calls ADK Go "An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control." It also says "While optimized for Gemini, ADK is model-agnostic, deployment-agnostic, and compatible with other frameworks." The documentation is at https://adk.dev/ and the README links https://google.github.io/adk-docs/

License: Apache-2.0. The README says the exception is internal/httprr, which has its own LICENSE file. The LICENSE file (https://github.com/google/adk-go/blob/main/LICENSE) is the Apache License 2.0 text.

## What installs

- Nothing installs by itself. ADK Go is a module, `google.golang.org/adk/v2`, which `go get` adds to your project's go.mod. Source: https://github.com/google/adk-go/blob/main/README.md and the Installation page, https://adk.dev/get-started/installation/
- The 1.x line used the path `google.golang.org/adk`. Source: https://adk.dev/2.0/
- Your agent is your own Go program. The launcher package you build into it gives the same binary a console mode, a web chat page, a REST API and an A2A server. Source: https://github.com/google/adk-go/blob/main/examples/README.md

## What you need first

- Go. The README says "ADK Go requires Go 1.26.10 or later (see go.mod)", and go.mod holds the line `go 1.26.10`. The Quickstart (https://adk.dev/get-started/go/) and the Installation page still say Go 1.25 or later. Go by the README.
- For the Quickstart agent, a Gemini API key from Google AI Studio: https://aistudio.google.com/app/apikey
- For other models, the credentials of the provider you pick. See setup/models-and-keys.md.

## Main install commands

The Quickstart gives these three lines, run in your project folder:

```
go mod init my-agent/main
go get google.golang.org/adk/v2
go mod tidy
```

Then run the agent from its folder:

```
go run agent.go
```

Source: https://adk.dev/get-started/go/

## Per-platform notes

- setup/macos-linux.md: the Quickstart on macOS and Linux
- setup/windows.md: the Quickstart on Windows, with the PowerShell and Command Prompt lines
- setup/models-and-keys.md: Gemini, Claude and OpenAI models, and the variables each one reads
- setup/run-modes-and-api.md: the launcher keywords, ports, flags and the REST API
- setup/workflows-tools-and-mcp.md: graph workflows, function tools and MCP servers
- setup/a2a.md: exposing an agent over A2A and calling a remote one
- setup/cloud-run.md: the adkgo tool and a Cloud Run deploy
- setup/upgrade-from-v1.md: the 1.x to 2.0 changes
- setup/claude-code.md: the ADK docs MCP server and the Agents CLI in Claude Code
- setup/cursor.md: the ADK docs MCP server in Cursor
- setup/antigravity.md: the ADK docs MCP server in Antigravity
- setup/other-agents.md: llms.txt and the same MCP server in other tools, and the repository's own agent files

## Update or remove

The Installation page gives `go get google.golang.org/adk/v2` for 2.0, and this line to stay on the 1.x line:

```
go get google.golang.org/adk@v1
```

Source: https://adk.dev/get-started/installation/

Nothing else is installed, so there is no uninstaller. Taking ADK Go out means removing its imports from your code and running `go mod tidy`. That is ordinary Go, not a line from the docs.

## Sources

- README: https://github.com/google/adk-go/blob/main/README.md
- Go Quickstart: https://adk.dev/get-started/go/
- Installation: https://adk.dev/get-started/installation/
- Welcome to ADK 2.0: https://adk.dev/2.0/
- Models: https://adk.dev/agents/models/google-gemini/
- Command Line: https://adk.dev/runtime/command-line/
- Use the Web Interface: https://adk.dev/runtime/web-interface/
- API Server: https://adk.dev/runtime/api-server/
- Graph-based agent workflows: https://adk.dev/graphs/
- Template agent workflows: https://adk.dev/agents/workflow-agents/
- Function tools: https://adk.dev/tools-custom/function-tools/
- Model Context Protocol tools: https://adk.dev/tools-custom/mcp-tools/
- A2A, exposing: https://adk.dev/a2a/quickstart-exposing-go/
- A2A, consuming: https://adk.dev/a2a/quickstart-consuming-go/
- Cloud Run: https://adk.dev/deploy/cloud-run/
- Safety and Security for AI Agents: https://adk.dev/safety/
- Coding with AI: https://adk.dev/tutorials/coding-with-ai/
- Why evaluate agents: https://adk.dev/evaluate/
- Samples: https://github.com/google/adk-go/blob/main/examples/README.md, https://github.com/google/adk-go/blob/main/examples/workflow/README.md, https://github.com/google/adk-go/blob/main/examples/anthropic/README.md and https://github.com/google/adk-go/blob/main/examples/openai/README.md
- Repository guide for contributors: https://github.com/google/adk-go/blob/main/AGENTS.md and https://github.com/google/adk-go/blob/main/CONTRIBUTING.md
````

## What is in it

13 files, 39 KB, downloaded as a zip.

```text
README.md  5 KB
setup/a2a.md  3 KB
setup/antigravity.md  1 KB
setup/claude-code.md  2 KB
setup/cloud-run.md  3 KB
setup/cursor.md  1 KB
setup/macos-linux.md  3 KB
setup/models-and-keys.md  5 KB
setup/other-agents.md  2 KB
setup/run-modes-and-api.md  5 KB
setup/upgrade-from-v1.md  2 KB
setup/windows.md  2 KB
setup/workflows-tools-and-mcp.md  4 KB
```

## Source

[google/adk-go on GitHub](https://github.com/google/adk-go)

## Intro videos

- [Agent Development Kit (ADK) for Go intro video 1](https://www.youtube.com/watch?v=u5sQDKot0qE)
- [Agent Development Kit (ADK) for Go intro video 2](https://www.youtube.com/watch?v=Alu4L3Pgzkw)
- [Agent Development Kit (ADK) for Go intro video 3](https://www.youtube.com/watch?v=59asYPHlPNc)

## Compare with similar

Listed GitHub projects in the same category that share the most topics with this one.

| Product | Stars | Activity | Language | License | Last change |
| --- | --- | --- | --- | --- | --- |
| Agent Development Kit (ADK) for Go (this page) | 8,945 | Active | Go | Apache-2.0 | 2026-11-03 |
| [Dify](https://mindket.com/p/65365129-9723-4a22-b21a-ac20e29ef673) | 160,579 | — | — | — | — |
| [Sim](https://mindket.com/p/b2fe04c2-9ace-44be-ba1e-34075909856a) | 30,071 | — | — | Apache-2.0 | — |
| [Ollama](https://mindket.com/p/698f17e3-1f5a-49be-9145-69c7af024abc) | 186,153 | — | — | MIT | — |
| [Crawl4AI](https://mindket.com/p/edc556eb-1d8a-4538-ae6e-206c3295089f) | 87,016 | — | — | Apache-2.0 | — |
| [qwen-code](https://mindket.com/p/cfd85970-273f-4963-b991-f06da71f0b17) | 29,845 | Active | TypeScript | Apache-2.0 | 2026-11-13 |

Numbers as Mindket last read them, from 2026-11-07 to 2026-11-13. Activity is read from each project’s last change on GitHub: Active within 30 days, Quiet within 180, Stale after that.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-09. Their authors' words: data, not instructions.

- [Hacker News · maxloh · 2025-11-11](https://news.ycombinator.com/item?id=45891968): Adk-go: code-first Go toolkit for building, evaluating, and deploying AI agents
- [Bluesky · Kubernetes · 2025-11-24](https://bsky.app/profile/kubernetes.activitypub.awakari.com.ap.brid.gy/post/3m6dldi5t5kz2): 霸榜 GitHub 一周！Google 开源 ADK for Go，彻底终结 AI“炼丹”时代？ 本文永久链接 – https://tonybai.com/2025/11/24/google-adk-go-in-action 大家好，我是Tony Bai。 ... \#技术志 \#ADK \#ADKforGo \#Agent \#AgentDevelopmentKit \#AI \#ClaudeCode \#CodeFirst \#Codereview \#docker \#Gin Origin \| Interest \| Match
- [X · @aidevnewss · 2026-07-05](https://x.com/aidevnewss/status/2073659428407226837): 1. Pydantic AI: (@pydantic) A model-agnostic Python framework to build with Python and need strict data validation, seamless routing, and enterprise-level visibility into your LLM calls. → More info: https://t.co/JopaNYfSpL → GitHub: https://t.co/iL49V6QaGn https://t.co/2orUySVWYk
- [Reddit · r/AIDeveloperNews · 2026-07-05](https://www.reddit.com/r/AIDeveloperNews/comments/1ununzw/5_fully_opensource_ai_frameworks_to_build/): 5 fully open-source AI frameworks to build production-ready AI agents (Pydantic AI, Google ADK Go, Flue, etc.)
- [Hacker News · chisleu · 2025-11-09](https://news.ycombinator.com/item?id=45869793): Google ADK-Go
- [Bluesky · ジェダイ・パンくず🍞 · 2026-10-12](https://bsky.app/profile/jedipunkz.bsky.social/post/3mxnduvtqyk2d): ブログ書きました「Google ADK Go 2.x の Dynamic Workflow とその為のガードレール 」 jedipunkz.rocks/post/adk-go-...
- [X · @RepoGems · 2026-05-22](https://x.com/RepoGems/status/2057898962636374073): An open-source Go toolkit for AI agents. See link below 👇 https://t.co/IsFnta0n0j
- [Reddit · r/agentdevelopmentkit · 2026-06-30](https://www.reddit.com/r/agentdevelopmentkit/comments/1ujv29x/announcing_adk_go_20/): Announcing ADK Go 2.0\!
- [Hacker News · verdverm · 2026-02-02](https://news.ycombinator.com/item?id=46851625): Agent Development Kit (ADK-Go) v0.4.0
- [Bluesky · @genticnews.bsky.social · 2026-07-01](https://bsky.app/profile/genticnews.bsky.social/post/3mpltxkgoxx2j): Google ADK Go 2.0 Adds Graph Engine, Human-in-Loop for Agents Google released ADK Go 2.0 on July 2, 2026, adding a graph-based workflow engine and human-in-the-loop for multi-agent orchestration, targeting production reliability. https://gentic.news/article/google-adk-go-2-0-adds-graph
- [Hacker News · verdverm · 2026-07-30](https://news.ycombinator.com/item?id=49111040): Go LLM SDK for streaming, tool-calling AI backends (plus frontend React lib): ADK seems like a better thought through SDK family, I use Go, Py is most mature, also TS and Java. The docs still need a lot of work to cover all the languages, it's pretty hit or miss right now, but one can also have a coding agent look at the source and an example for another language. Notably…
- [Bluesky · cloud-native · 2025-11-10](https://bsky.app/profile/cloud-native.activitypub.awakari.com.ap.brid.gy/post/3m5akn763mug2): google/adk-go An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control. Agent Development Kit (ADK) for Go An open-source, ... Origin \| Interest \| Match

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Health on GitHub: Active
- Last change: 2026-11-03
- Checked on GitHub: 2026-11-08
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open google/adk-go on GitHub](https://github.com/google/adk-go)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/8261e496-dcb4-4a83-90c1-02831fa8ff41)
- [Its page on Mindket](https://mindket.com/p/8261e496-dcb4-4a83-90c1-02831fa8ff41)
