AI-283: Add Google ADK samples - #512
Open
xumaple wants to merge 2 commits into
Open
Conversation
Seven scenarios under google-adk-agents/src/, each with its own README, all against @temporalio/google-adk-agents: basic (an LlmAgent whose model is a TemporalModel), tools (a Temporal Activity exposed to the agent with activityAsTool), agent-patterns (a transfer_to_agent relay across three agents), mcp (a TemporalMCPToolset backed by a filesystem MCP server the Worker opens over stdio), streaming (token streaming over a Workflow Stream from a direct TemporalModel call), human-approval (a LongRunningFunctionTool gated by a Signal or Update), and observability (agent-loop token usage and latency, by composing OpenTelemetryPlugin onto the Worker alongside GoogleAdkPlugin). One package.json and one set of configs at google-adk-agents/ rather than a project per scenario: one dependency set and one toolchain cover all seven, and the handful of packages only one or two scenarios import don't earn a project boundary. Registered in CI and CODEOWNERS, and excluded from the shared .post-create copy since the suite has its own. Every scenario is tested against a real Worker on TestWorkflowEnvironment, six of them driving a BaseLlm double and human-approval needing no model at all, so the suite runs in CI without a GEMINI_API_KEY.
xumaple
marked this pull request as ready for review
August 24, 2026 17:09
brianstrauch
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Eight samples demonstrating how to run Google ADK (
@google/adk) agents as durable Temporal Workflows with@temporalio/google-adk-agents: multi-turn agent chat, deterministic and Activity-backed tools, multi-agent orchestration, stateless MCP, token streaming, human-in-the-loop, structured output, and observability. Each model-dependent scenario has an API-key-free local mode, and all scenarios have Worker tests that run without an API key.Note:
@temporalio/google-adk-agentsis not published yet, so CI installation will fail until it ships.