π€ An AI-powered weather agent built on IBM watsonx.ai platform using LangGraph ReAct agent with real-time GoogleSearch tool.
- Fetches real-time weather for any city globally
- Uses GoogleSearch tool for live data
- Provides temperature, humidity, rain probability & expert suggestions
- Powered by Meta Llama 3.2 90B vision model
| Tool | Purpose |
|---|---|
| IBM watsonx.ai | AI Platform |
| LangGraph | ReAct Agent Framework |
| LangChain IBM | Watson Chat Model |
| Meta Llama 3.2 90B | Foundation Model |
| GoogleSearch Tool | Real-time weather data |
| Python 3.11 | Core programming |
π€ Weather Report β Nagpur, Maharashtra (7th August 2025)
π‘ Temperature : 31Β°C | Feels Like: 34Β°C
π§ Humidity : 66% | Wind: 14 km/h (West)
π§ Rain Chance : 60% | Evening 6 PM β 8 PM
π Today's Range: High 33Β°C β Low 25Β°C
π
Sunrise: 5:54 AM | π Sunset: 6:48 PM
π‘ Expert Suggestion:
β Carry umbrella in evening
π§ Stay hydrated β humidity is high
User Question
β
ReAct Agent (LangGraph)
β
GoogleSearch Tool β Real-time Weather Data
β
Llama 3.2 90B β Structured Weather Report
β
User Gets Answer
# Step 1 β Install dependencies
pip install langchain-ibm ibm-watsonx-ai langgraph
# Step 2 β Set IBM API Key
Enter your IBM Cloud API key when prompted
# Step 3 β Run notebook
jupyter notebook weather_AI.ipynb