Documentation Index
Fetch the complete documentation index at: https://spacesail.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This example shows how to create a content creation team with specialized researchers and writers using the coordinate mode.
Code
cookbook/examples/teams/coordinate_mode/content_team.py
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.team import Team
from agno.tools.duckduckgo import DuckDuckGoTools
# Create individual specialized agents
researcher = Agent(
name="Researcher",
role="Expert at finding information",
tools=[DuckDuckGoTools()],
model=OpenAIChat(id="gpt-5-mini"),
)
writer = Agent(
name="Writer",
role="Expert at writing clear, engaging content",
model=OpenAIChat(id="gpt-5-mini"),
)
# Create a team with these agents
content_team = Team(
name="Content Team",
members=[researcher, writer],
instructions="You are a team of researchers and writers that work together to create high-quality content.",
model=OpenAIChat(id="gpt-5-mini"),
show_members_responses=True,
)
# Run the team with a task
content_team.print_response("Create a short article about quantum computing")
Usage
Create a virtual environment
Open the Terminal and create a python virtual environment.python3 -m venv .venv
source .venv/bin/activate
Install required libraries
Set environment variables
export OPENAI_API_KEY=****
Run the agent
python cookbook/examples/teams/content_team.py