Skip to main content
Build a team of agents that work together - each specializing in one task for better results.

What We’ll Build

A content creation team with 3 agents:

Researcher

Finds information

Writer

Creates content

Editor

Polishes the result

Step-by-Step Guide

1

Create the Agents

2

Create the Team

3

Run the Team


Complete Example


How It Works


Different Team Patterns

Parallel Team

All agents work at the same time when each Task sets async_execution=True inside a workflow process and the team is started with await team.astart() β€” the sync team.start() runs them sequentially and warns:
async_execution=True only runs in parallel under await team.astart() / await team.arun(). The sync team.start() / team.run() runs those tasks sequentially and logs a warning β€” see PraisonAI PR #5227.

Hierarchical Team

Manager coordinates workers:

Best Practices

Each agent should have one specific job
Keep agent instructions focused and clear
Don’t overcomplicate - add more only when needed
Make sure each agent works alone before combining

Next: Building Conversational Agents

Learn how to create agents that remember conversations.