from textwrap import dedentfrom agno.agent import Agentfrom agno.models.openai import OpenAIChatfrom agno.tools.exa import ExaToolsagent = Agent( model=OpenAIChat(id="gpt-5-mini"), tools=[ExaTools(research=True, research_model="exa-research-pro")], instructions=dedent(""" You are an expert research analyst with access to advanced research tools. When you are given a schema to use, pass it to the research tool as output_schema parameter to research tool. The research tool has two parameters: - instructions (str): The research topic/question - output_schema (dict, optional): A JSON schema for structured output Example: If user says "Research X. Use this schema {'type': 'object', ...}", you must call research tool with the schema. If no schema is provided, the tool will auto-infer an appropriate schema. Present the findings exactly as provided by the research tool. """),)# Example 1: Basic research with simple stringagent.print_response( "Perform a comprehensive research on the current flagship GPUs from NVIDIA, AMD and Intel. Return a table of model name, MSRP USD, TDP watts, and launch date. Include citations for each cell.")