Skip to main content
Process types define how agents execute tasks in a team - sequentially, in parallel, or hierarchically.

Quick Start

1

Sequential Pipeline

2

Parallel Execution


User Interaction Flow


Process Enum

Process Types


AgentTeam

Builder Methods

Runtime Methods


Sequential Process

Each agent runs in order, receiving the previous agent’s output as context:

Parallel Process

All agents work simultaneously on the same input, results are combined:

Best Practices

When each agent needs the previous agent’s output - research → write → edit.
When agents can work simultaneously - multiple perspectives, speed optimization.
Use .verbose(true) to see workflow execution details.
3-5 agents typically works well. Split larger workflows into multiple teams.

Agent-Team

Team orchestration

Workflows

Workflow patterns