Runs sub-agents in sequence, passing state through the session.
Summary
Functions
Create a sequential agent with validation.
Clone this agent with optional updates. See ADK.Agent.Clone.
Create a sequential agent.
Types
@type t() :: %ADK.Agent.SequentialAgent{ description: String.t(), name: String.t(), parent_agent: term(), sub_agents: [ADK.Agent.t()] }
Functions
Create a sequential agent with validation.
Returns {:ok, agent} or {:error, reason}.
Clone this agent with optional updates. See ADK.Agent.Clone.
Create a sequential agent.
Examples
iex> agent = ADK.Agent.SequentialAgent.new(name: "pipeline", sub_agents: [])
iex> agent.name
"pipeline"