Repository navigation
Conversation
DABH
marked this pull request as ready for review
October 26, 2026 22:57
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.
Add native Java ADK samples for the published Public Preview
io.temporal:google-adk:0.1.0integration. Agent Chat is the introductory sample and the default starter command; remove the separate single-turnbasicsample.The nine scenarios cover conversation state and Continue-As-New, deterministic and Activity tools, stateless Java MCP over stdio, human approval, structured output, native parallel agents, long-running tool callbacks, buffered SSE output over Workflow Streams, and OpenTelemetry tracing of Temporal operations. Each has live Gemini and credential-free offline modes using the same plugin, Worker, Workflows, Activities, and message paths.
The streaming sample preserves ADK partial/final events and publishes them after the model Activity completes; it does not claim live token forwarding. Its subscriber acknowledges completion, and a run with no subscriber finishes after a bounded deadline. The tracing sample links model and tool Activity spans, shows failed/retried attempts, and filters replayed Workflow spans before export. It does not enable native ADK's global tracing provider.
All scenarios have CLI instructions and targeted tests. The documentation companion uses 19 snippets from tested commit
a4ef743and stays in draft until this PR merges. The module uses published Maven dependencies and an explicit Temporal SDK/testing constraint of[1.40.0,2.0), preferring 1.40.0.Validation:
git diff --checkpasses. Live Gemini was not exercised.