ADK.Agent.SequentialAgent (adk_ex v1.1.0)

Copy Markdown View Source

An agent that runs its sub-agents once in sequence.

Implemented as a LoopAgent with max_iterations: 1, matching the Go ADK pattern where SequentialAgent delegates to LoopAgent.

State changes propagate from one sub-agent to the next. If any sub-agent sets escalate: true or transfer_to_agent, subsequent sub-agents are skipped.

Summary

Types

t()

@type t() :: %ADK.Agent.SequentialAgent{
  description: String.t(),
  name: String.t(),
  sub_agents: [struct()]
}