Skip to main content
Process defines how agents work together - the order, flow, and coordination of tasks.

Quick Start


Process Types

Sequential

Agents work one after another:
Best for: Tasks with clear stages where each step depends on the previous one.

Parallel

Agents work at the same time:
Best for: Independent tasks that can run simultaneously.

Hierarchical

A manager coordinates workers:
Best for: Complex tasks requiring coordination and decision-making.

Complete Example


Choosing a Process


Best Practices

Start Sequential

Easiest to understand and debug

Clear Roles

Each agent has one specific job

Enable Verbose

Use verbose=True to see progress

Test Individually

Test each agent before combining

Next: Knowledge Bases

Learn how to give agents access to documents and data.