Sequential Agent
Configure agents that execute sub-agents in ordered sequence for structured processes
Overview
The Sequential Agent is a type of workflow agent that executes sub-agents in a predefined and ordered sequence. Each sub-agent is executed only after the previous one has successfully completed its task, creating a structured processing pipeline.
This type of agent is ideal for processes that need to follow specific steps, where each step depends on the result of the previous one, such as approval pipelines, multi-step data processing, or validation workflows.
Based on Google ADK: Implementation following the standards of the Google Agent Development Kit for sequential agents.
Key Features
Ordered Execution
Sub-agents execute in specific order, one after another
Sequential Dependencies
Each step depends on the success of the previous step
Shared Context
Data passes from one sub-agent to the next automatically
Failure Control
Pipeline stops if a step fails, avoiding unnecessary processing
When to Use Sequential Agent
Creating a Sequential Agent
Step by Step on the Platform
Practical Examples
1. Order Processing Pipeline
2. Lead Analysis Pipeline
3. Document Approval Pipeline
Monitoring and Debugging
Tracking Execution
Advanced Configurations
Flow Control
Best Practices
Common Use Cases
E-commerce
Order Pipeline:
- Validation → Inventory → Pricing → Payment → Delivery
- Guarantees order and dependencies
Approvals
Approval Workflow:
- Analysis → Review → Approval → Notification
- Structured quality control
Onboarding
User Integration:
- Registration → Verification → Setup → Training
- Guided step-by-step experience
Data Analysis
ETL Pipeline:
- Extract → Transform → Validate → Load
- Structured data processing
Next Steps
Parallel Agent
Learn about parallel execution of sub-agents
Loop Agent
Explore agents that execute in iterative loops
LLM Agent
Return to the fundamentals of intelligent agents
Configurations
Explore advanced agent configurations
The Sequential Agent is fundamental for creating structured and reliable workflows. Use it when you need to ensure steps are executed in specific order, with each step depending on the success of the previous one.