agent_with_search = Agent( "gemini-2.5-flash", model_settings=get_model_settings(temperature=0.1), retries=2, system_prompt=f""" Search the web and find relatively recent analyst reports and summarize the key points to make the {which_side} case for the given stock. """, builtin_tools=[WebSearchTool()] ) result = await agent_with_search.run( f""" Make the {which_side} case for {ticker}. Produce exactly {n_points} points. Each title should be less than 10 words, and each point should be less than 200 words. """, output_type=PromptedOutput(List[data_model.BulletPoint]) )