CitySense is your smart AI-powered assistant that gives you real-time weather updates, location-based services, nearby places, and live weather alerts — all in one clean and beautiful UI.
- 🌍 Detects your location via IP
- 🌤️ Displays real-time weather
- 🏥 Shows nearby amenities like hospitals, cafes, schools
⚠️ Fetches real-time weather alerts- ✨ Clean UI with animations and dark mode styling
- Python 🐍
- Streamlit 📺
- OpenAI Agents + Gemini API
- OpenWeatherMap API
- Overpass (OSM)
CitySense uses agent-based reasoning and tool integration with Gemini API to dynamically:
- Detect the user's IP location
- Call OpenWeatherMap for real-time weather & alerts
- Use Overpass API to find nearby amenities
- "What's the weather like here?"
- "Nearby hospitals"
- "Any storm alerts?"
- Clone this repo
- Create
.envfile with:
GEMINI_API_KEY=your_google_gemini_api_key
OPENWEATHERMAP_API_KEY=your_openweathermap_api_key
- Install dependencies:
pip install -r requirements.txt- Run with:
streamlit run main.py- ⏱️ Runs in under 5 minutes
- 📦 Clean project structure
- 📄 Polished README
Built for the Boot.dev Hackathon 🎉
Made with 💙 by Tahira Rajput