This example shows how to create a reasoning team that can handle complex queries involving web search and financial data using the coordinate mode with reasoning capabilities.
from agno.agent import Agentfrom agno.models.anthropic import Claudefrom agno.models.openai import OpenAIChatfrom agno.team import Teamfrom agno.tools.duckduckgo import DuckDuckGoToolsfrom agno.tools.reasoning import ReasoningToolsfrom agno.tools.exa import ExaToolsweb_agent = Agent( name="Web Search Agent", role="Handle web search requests", model=OpenAIChat(id="gpt-5-mini"), tools=[DuckDuckGoTools()], instructions=["Always include sources"],)finance_agent = Agent( name="Finance Agent", role="Handle financial data requests", model=OpenAIChat(id="gpt-5-mini"), tools=[ ExaTools( include_domains=["cnbc.com", "reuters.com", "bloomberg.com", "wsj.com"], show_results=True, text=False, highlights=False, ) ], instructions=["Use tables to display data"],)team_leader = Team( name="Reasoning Team Leader", model=Claude(id="claude-3-7-sonnet-latest"), members=[ web_agent, finance_agent, ], tools=[ReasoningTools(add_instructions=True)], markdown=True, show_members_responses=True,)team_leader.print_response( "Tell me 1 company in New York, 1 in San Francisco and 1 in Chicago and the stock price of each", stream=True, stream_intermediate_steps=True, show_full_reasoning=True,)