Agents
Agent Teams [Deprecated]
Agent Teams were an initial implementation of our multi-agent architecture (2023-2025) that use a transfer/handoff mechanism. After 2 years of experimentation, we’ve learned that this mechanism is not scalable and do NOT recommend it for complex multi-agent systems.
Please use the new Teams architecture instead.
We can combine multiple Agents to form a team and tackle tasks as a cohesive unit. Here’s a simple example that converts an agent into a team to write an article about the top stories on hackernews.
hackernews_team.py
Run the script to see the output.
How to build Agent Teams
- Add a
name
androle
parameter to the member Agents. - Create a Team Leader that can delegate tasks to team-members.
- Use your Agent team just like you would use a regular Agent.