Skip to content

docs: clarify LlmAgent composition for workflow agents#1232

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_922007532
May 27, 2026
Merged

docs: clarify LlmAgent composition for workflow agents#1232
copybara-service[bot] merged 1 commit into
mainfrom
test_922007532

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented May 27, 2026

docs: clarify LlmAgent composition for workflow agents

Document on ParallelAgent, SequentialAgent, and LoopAgent that they do
not transfer control back to an LlmAgent orchestrator after they
complete, and that placing the workflow agent and any follow-up agent
as siblings inside a SequentialAgent (used as the root or transferred-to
agent) is the recommended pattern.

This matches the behavior of adk-python v1.x, which is
the line that Java ADK currently tracks. A more robust orchestration
will be available once Java reaches the Graph Workflows milestone aligned
with adk-python v2.0.

Document on ParallelAgent, SequentialAgent, and LoopAgent that they do
not transfer control back to an LlmAgent orchestrator after they
complete, and that placing the workflow agent and any follow-up agent
as siblings inside a SequentialAgent (used as the root or transferred-to
agent) is the recommended pattern.

This matches the behavior of adk-python v1.x, which is
the line that Java ADK currently tracks. A more robust orchestration
will be available once Java reaches the Graph Workflows milestone aligned
with adk-python v2.0.

PiperOrigin-RevId: 922080205
@copybara-service copybara-service Bot merged commit 49ff63b into main May 27, 2026
@copybara-service copybara-service Bot deleted the test_922007532 branch May 27, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant