SequentialAgent
Chains sub-agents in order. The final answer of each agent becomes the input to the next.actions.escalate=True.
ParallelAgent
Runs sub-agents concurrently. Events from all agents are merged into a single stream.LoopAgent
Repeats its sub-agents until a termination condition is met.LoopAgent stops when:
- An event has
actions.escalate=True(set byexit_loop_tool) max_iterationsis reached- Optional
should_continue(event) -> boolcallback returnsFalse