AI-283: Add @temporalio/google-adk-agents sample suite - #486
Draft
xumaple wants to merge 1 commit into
Draft
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
force-pushed
the
maplexu/AI-283-google-adk-samples
branch
from
August 20, 2026 17:10
0e60fac to
4199b3f
Compare
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.
Six samples demonstrating how to run Google ADK (
@google/adk) agents as durable Temporal Workflows with the@temporalio/google-adk-agentsintegration: a basic single-agent model call, Activity-backed tools, a multi-agent coordinator, MCP toolsets, token streaming, and human-in-the-loop via Signals and Updates. Each scenario has a fake-model/mock-MCP Worker test that runs without an API key.@temporalio/google-adk-agentsisn't published to npm yet, so CI (pnpm install) will fail until it ships.