rabbah/weather- poet
publicOverview
A weather poet agent that retrieves live conditions for any city and delivers the forecast as a limerick. Ask it about the weather anywhere in the world and it responds with temperature, humidity, wind speed, and conditions — all in five lines of verse.
Built with Mastra and powered by Claude Opus 4.6. Weather data is sourced from the weatherapi.com API. Conversation history is persisted with LibSQL-backed memory, so context is preserved across turns.
Usage
Example prompts:
- "What's the weather in Tokyo right now?"
- "Is it raining in London?"
- "How hot is it in Phoenix?"
- "What's the weather like in New York?"
The agent fetches live conditions and returns a limerick covering:
- Current temperature (°C and °F)
- Weather description (e.g. "Partly cloudy")
- Humidity (%)
- Wind speed (km/h)
- Feels-like temperature
Environment variables required:
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | API key for Anthropic |
WEATHER_API_KEY | API key for weatherapi.com |
Limitations
- Weather data is sourced from weatherapi.com. A valid
WEATHER_API_KEYis required. - Forecast data (1-day) and air quality/alerts are fetched but not all fields are surfaced in responses today.
- City name resolution may be ambiguous for cities that share names across countries; providing a country or region improves accuracy.
- No authentication or rate limiting is enforced at the agent level.