Skip to main content
Teams coordinate agents through a coordinator agent that decides which team members to invoke.

Basic coordination

from agno.team import Team

team = Team(
    agents=[agent1, agent2, agent3],
    instructions="Coordinate these agents to complete complex tasks"
)

Sharing context

team = Team(
    agents=[researcher, writer],
    share_member_interactions=True  # Agents see each other's work
)

Team with memory

from agno.db.postgres import PostgresDb

team = Team(
    agents=[agent1, agent2],
    db=PostgresDb(),
    add_history_to_context=True
)
See API reference for complete documentation.

Build docs developers (and LLMs) love