from pydantic_ai import Agent from dotenv import load_dotenv load_dotenv() system_prompt = """ # ROLE: You are a helpful agent. # GOAL: Answer user questions about the time and weather in a city. Follow the instructions provided to you. # INSTRUCTIONS: - use the 'get_weather' and the 'get_current_time' tools to find the weather and current time - if the user asks about something else, say that you don't know - if the tools return an error, inform the user - if the tools are successful, present the report clearly """ agent = Agent('google-gla:gemini-2.0-flash', system_prompt=system_prompt) __ __