github google/adk-go v2.0.0

7 hours ago

New major features

In ADK Go 2.0 we are adding our new graph-based workflow engine, built-in human-in-the-loop, dynamic orchestration and more:

  • Agent workflows — a new graph-based orchestration engine. Compose agents, tools, and functions as nodes in a directed graph executed by a concurrent scheduler: static and dynamic graphs, conditional routing, fan-out/fan-in (JoinNode), parallel workers, per-node retries/timeouts, input/output schema validation, and human-in-the-loop pause/resume. See examples/workflow/.
  • Collaboration agents — LlmAgent gains chat, task, and single_turn modes so a coordinator can delegate to specialist sub-agents that return control automatically, each with isolation-scoped conversation history. See examples/multiagent/collaboration/.
  • Context unification — the separate ToolContext, CallbackContext are merged into a single agent.Context. New agent.StrictContextMock keeps test fakes forward-compatible as the interface grows.

Note: v2 moves the module path to google.golang.org/adk/v2 and requires Go 1.25+.

Migration

To migrate from v1 please follow the migration guide.

What's Changed

Full Changelog: v1.4.0...v2.0.0

Don't miss a new adk-go release

NewReleases is sending notifications on new releases.