Quick Start
Process Types
| Process | Description | Best For |
|---|---|---|
sequential | Tasks execute one after another | Dependent tasks, pipelines |
parallel | Tasks execute simultaneously | Independent analysis |
hierarchical | Manager coordinates agents | Complex delegation |
Configuration Options
| Parameter | Type | Default | Description |
|---|---|---|---|
agents | List[Agent] | Required | List of Agent instances |
tasks | List[Task] | Auto-generated | Tasks to execute |
process | str | "sequential" | Execution pattern |
manager_llm | str | "gpt-4o-mini" | Manager model (hierarchical) |
memory | bool/Config | False | Shared memory system |
planning | bool/Config | False | Collaborative planning |
context | bool/Config | False | Context management |
output | str/Config | None | Output configuration |
execution | str/Config | None | Execution limits |
hooks | Config | None | Lifecycle callbacks |
State Management
AgentTeam provides shared state across all agents:Best Practices
Task Dependencies
Task Dependencies
For sequential tasks, AgentTeam automatically passes context from previous tasks:
Agent Specialization
Agent Specialization
Create agents with distinct roles for better task delegation:
Memory Sharing
Memory Sharing
Enable memory for teams that need to share information:
Key Methods
| Method | Description |
|---|---|
start() | Execute the team workflow |
run() | Alias for start() |
astart() | Async execution |
set_state() | Set shared state value |
get_state() | Get shared state value |
add_task() | Add task dynamically |
get_task_status() | Check task status |

