Mindket

Agent Development Kit (ADK) for Go

Newversion 2 · updated
Star8945

Overview

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 . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • 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
Start with
go mod init my-agent/main
go get google.golang.org/adk/v2
go mod tidy

Platform

macOSOperating system
LinuxOperating system
WindowsOperating system
Claude CodeCoding agent
CursorCode editor
AntigravityCode editor

And 2 more in Where to use it

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.

  1. You write an agent in Go: a model, instructions and tools
  2. go get adds google.golang.org/adk/v2 to your module
  3. go run agent.go starts a chat in your terminal
  4. web api webui serves a chat page on port 8080
  5. 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
IndustryWho uses itHow they use itExample
Customer supportDevelopers of support toolsA graph sends each incoming message to the right handlerThe 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 dataBackend developersGive an agent a Go function as a tool over their own dataThe function tools page’s get_stock_price tool looks up a ticker symbol in a price list and returns the price.
Cloud and platform teamsPlatform engineersShip the agent as one container on Cloud Run, closed to the publicadkgo compiles a Linux binary, writes the Dockerfile and deploys a service that needs sign-in by default.
Multi-agent productsTeams running several agent servicesLet one agent call another over A2AA 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
NeedDetail
Go1.26.10 or newer, as the README and go.mod say. The Quickstart page still says 1.25
A Gemini API keyFrom Google AI Studio’s API Keys page, for the Quickstart agent
Other modelsGoogle 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 projectTo deploy to Cloud Run, or to call Gemini or Claude through Vertex AI (after gcloud auth application-default login)
uvOnly 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.
go mod init my-agent/main
go get google.golang.org/adk/v2
go mod tidy
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
KeywordWhat it does
consoleA chat in the terminal, and the default
web api webuiThe REST API and a chat page at localhost:8080, for development only
web apiThe REST API alone, under /api on port 8080
web a2aThe 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.

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:

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 and files

README

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

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

Files
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

13 files, 39 KB, downloaded as a zip.

What’s new

  • Version 2 · 2026-11-09

    Updated by Mindket to the current version of this kit.

  • Version 1 · 2026-11-03

Compare with similar

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

ProductStarsActivityLanguageLicenseLast change
Agent Development Kit (ADK) for Go This page8,945ActiveGoApache-2.0
DifyShares genai · llm · ai160,579————
SimShares gemini · agents · ai30,071——Apache-2.0—
OllamaShares go · llm186,153——MIT—
Crawl4AIShares llm · mcp · ai87,016——Apache-2.0—
qwen-codeShares llm · mcp · ai29,845ActiveTypeScriptApache-2.0
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.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

maxlohAdk-go: code-first Go toolkit for building, evaluating, and deploying AI agents86 points · 24 repliesKubernetes霸榜 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 | Match1 like@aidevnewss1. 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/2orUySVWYkr/AIDeveloperNews5 fully open-source AI frameworks to build production-ready AI agents (Pydantic AI, Google ADK Go, Flue, etc.)chisleuGoogle ADK-Go2 points · 1 replyジェダイ・パンくず🍞ブログ書きました「Google ADK Go 2.x の Dynamic Workflow とその為のガードレール 」 jedipunkz.rocks/post/adk-go-...@RepoGemsAn open-source Go toolkit for AI agents. See link below 👇 https://t.co/IsFnta0n0jr/agentdevelopmentkitAnnouncing ADK Go 2.0!verdvermAgent Development Kit (ADK-Go) v0.4.02 points@genticnews.bsky.socialGoogle 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-graphverdvermGo 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…cloud-nativegoogle/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

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar projects

See all in Developer

Dify

langgenius · Kit

LangGenius’s open-source platform for building LLM apps: visual workflows, RAG, model management and agents with a sandbox. Its difyctl tool and skill let Clau…

New161k

Crawl4AI

unclecode · Kit

UncleCode’s open source web crawler and scraper for language models and AI agents. It loads a page in a browser and returns clean Markdown, or JSON in a shape…

New87k

Rohit Ghumare’s free, MIT-licensed course that builds AI from raw math up to agents and production, in twenty phases. Tutor skills for Claude Code, Codex and C…

New77.8k