from agentor import Agentor, function_tool
@function_tool
def get_weather(city: str) -> str:
"""Get the weather of a city"""
return f"Weather in {city} is sunny"
agent = Agentor(name="Weather Agent", tools=[get_weather])
result = agent.run("What is the weather in London?")
print(result)