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.
- Backend: FastAPI, Pydantic AI
- Frontend: Next.js, TailwindCSS, Shadcn UI
- Deployment: Vercel
✅ 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
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
- Enhance AI-based weather insights using machine learning.
- Integrate advanced weather models for better predictions.
- Add text-to-speech functionality for voice-based weather updates.
- Enable voice commands for hands-free weather queries.
- Allow users to check weather for multiple locations simultaneously.
- Implement a favorites feature to save preferred locations.
- 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.