Skip to content

sagar-shende/weather_AI1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌦️ Weather AI Agent β€” IBM watsonx.ai

IBM Watson LangChain Model Status Open in nbviewer

πŸ€– An AI-powered weather agent built on IBM watsonx.ai platform using LangGraph ReAct agent with real-time GoogleSearch tool.


🎯 What It Does

  • 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

πŸ›  Tech Stack

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

πŸ“Š Sample Output

🌀 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

βš™οΈ How It Works

User Question
     ↓
ReAct Agent (LangGraph)
     ↓
GoogleSearch Tool β†’ Real-time Weather Data
     ↓
Llama 3.2 90B β†’ Structured Weather Report
     ↓
User Gets Answer

πŸš€ How to Run

# 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

πŸ‘€ Author

Sagar Kishor Shende GitHub LinkedIn

About

AI Weather Agent using IBM watsonx.ai | LangGraph + LangChain | GoogleSearch Tool | Llama 3.2 90B

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors