Skip to content

sanjogbhalla16/Weather-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌤️ Weather AI Agent

🚀 Project Overview

The Weather AI Agent is a smart weather assistant that provides real-time weather updates based on the city name entered by the user. Built with modern web technologies, it fetches accurate weather data using multiple APIs and presents it in a user-friendly interface.

🔗 Live Demo

🔗 Weather AI Agent


🛠️ Tech Stack

  • Backend: FastAPI, Pydantic AI
  • Frontend: Next.js, TailwindCSS, Shadcn UI
  • Deployment: Vercel

📦 Features

✅ Fetches weather data based on city name
✅ Uses multiple weather APIs for accurate results
✅ Provides detailed weather insights (temperature, humidity, wind speed, etc.)
✅ Simple and elegant UI for ease of use
✅ Fast and efficient API calls


⚙️ Setup & Installation

1️⃣ Clone the Repository

git clone https://github.com/your-username/weather-ai-agent.git  
cd weather-ai-agent  

2️⃣ Install Dependencies

Backend (FastAPI)
pip install -r requirements.txt 

Frontend (Next.js)
cd frontend  
npm install  

3️⃣ Configure API Keys

Create a .env file and add the following API keys:
GEMINI_API_KEY=your_gemini_api_key  
GEO_API_KEY=your_geo_api_key  
WEATHER_API_KEY=your_weather_api_key  
OPENWEATHER_API_KEY=your_openweather_api_key  

4️⃣ Run the Project

Start Backend (FastAPI)
uvicorn main:app --reload  

Start Frontend (Next.js)
cd frontend  
npm run dev  

🏎️ Future Enhancements

🔧 Backend Improvements

  • Enhance AI-based weather insights using machine learning.
  • Integrate advanced weather models for better predictions.

🗣️ Voice-Based Features

  • Add text-to-speech functionality for voice-based weather updates.
  • Enable voice commands for hands-free weather queries.

🌍 Multi-Location Support

  • Allow users to check weather for multiple locations simultaneously.
  • Implement a favorites feature to save preferred locations.

📱 Mobile App Version

  • Develop a mobile-friendly version of the application.
  • Optimize UI/UX for seamless mobile experience.

📜 License This project is licensed under the MIT License. See the LICENSE file for more details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors