Skip to main content

Agents (Multi-Agent Orchestration)

AgentTeam is now the primary class name (v1.5.5+). Agents is a silent alias for backward compatibility. See AgentTeam for the latest documentation.
The Agents class enables multi-agent orchestration, allowing multiple agents to work together sequentially or in parallel.

Quick Start

1

Simple Usage

2

Install


Basic Usage

Config Object Syntax

Process Modes

Sequential (Default)

Agents run one after another, with each agent receiving the output of the previous:

Parallel

All agents run simultaneously:

Configuration Options

Custom Tasks

Override agent instructions with specific tasks:

Examples

Research Pipeline

Parallel Analysis

With Tools

Accessing Results

Legacy Compatibility

Agents is an alias for AgentTeam:

AgentTeam

Recommended team orchestration

Agent

Single agent API

Agents CLI

CLI commands