Module weather_agent

Module weather_agent 

Source
Expand description

Weather information agent.

WeatherAgent fetches current weather conditions on demand using the free wttr.in service — no API key required.

§Usage (via IO bar)

@weather-agent                  → weather for default location (WEATHER_DEFAULT_LOCATION or "London")
@weather-agent Tokyo            → weather for Tokyo
@weather-agent New York         → weather for New York
@weather-agent help             → show usage

The agent does not poll; it only fetches when it receives a message. It is stoppable and pausable — consumes no resources when idle.

Structs§

WeatherAgent