Skip to main content
Enable Agno agents to fetch real-time weather conditions, multi-day forecasts, and environmental data like air quality directly from the OpenWeather API to make context-aware decisions.

Prerequisites:

  1. Get an API key from https://openweathermap.org/api
  2. Set the OPENWEATHER_API_KEY environment variable or pass it directly to the tool

Run the Example

For details, see OpenWeather cookbook.