🚨 AIDE (Artificial Intelligence Disaster Emergency) - Project Story
💡 Inspiration
During Hurricane Katrina, thousands struggled to find basic necessities—not because resources didn't exist, but because information was scattered across Facebook groups, outdated websites, and word-of-mouth. Today, 200 million people face disasters annually with the same problem.
We saw Google's Gemini AI mastering natural language and thought: "What if AI could guide people to safety in seconds?"
AIDE is our answer—an intelligent crisis companion that connects disaster victims to verified resources instantly, speaks 100+ languages, and works when traditional systems fail.
🎯 What It Does
AIDE is an AI-powered emergency platform serving three user types:
For Disaster Victims:
- 💬 AI Chat Assistant: Ask "Where can I find shelter?" in natural language, get instant answers
- 🗺️ Smart Resource Map: Real-time map of verified shelters, food, medical aid, water points
- 🚨 Critical Alerts: Geo-targeted emergency warnings with AI-generated safety instructions
- 🌍 100+ Languages: Auto-translation for multilingual communities
For Volunteers:
- ✅ Resource Validation: AI analyzes submissions for fraud/completeness
- 📋 Submission Review: Smart recommendations (Approve/Review/Reject)
- 🔄 Real-time Updates: Manage resource status and availability
For Administrators:
- 📊 AI-Powered Dashboard: Predictive insights on resource gaps and trending needs
- 🎯 Smart Alert Creation: AI generates safety instructions for any emergency
- 👥 User Management: Role-based access with verification tracking
- 📈 Analytics: Track impact, resource distribution, and response efficiency
Key AI Features:
- Natural language emergency assistance
- Auto-translation to 100+ languages
- Intelligent resource validation
- Predictive gap analysis
- Automated safety instruction generation
- Smart resource categorization
- Context-aware responses using location data
🛠️ How We Built It
Tech Stack:
- Frontend: Next.js 14, TypeScript, Tailwind CSS, Leaflet Maps
- Backend: Python FastAPI, PostgreSQL + PostGIS
- AI: Google Gemini 2.0 Flash (gemini-2.0-flash-exp)
- Infrastructure: Vercel (frontend), Render (backend)
Development Approach:
- Architecture Planning: Designed geospatial database schema and API contracts
- Core Features: Built map, authentication, resource management, alert system
- AI Integration: Implemented 7 Gemini-powered features with prompt engineering
- Optimization: Lazy loading, map clustering, mobile-first design, offline support
- Testing & Deployment: Cross-browser testing, cloud deployment, production hardening
Key Technical Achievements:
- Sub-2-second AI responses using structured outputs
- PostGIS geospatial queries for accurate proximity search
- Marker clustering handles 10,000+ resources smoothly
- Mobile-optimized for 2G networks and low-end devices
- Offline-first architecture with intelligent caching
🚧 Challenges We Ran Into
Gemini Integration: Initially used wrong model name (
gemini-3-flash-preview), had edge runtime conflicts, and missing error handling. Fixed by standardizing togemini-2.0-flash-exp, switching to Node.js runtime, and implementing comprehensive validation.Geospatial Complexity: Naive distance calculations were inaccurate. Solved with PostGIS spatial extensions, Haversine formula, and database indexing.
Map Performance: 1000+ markers froze the UI. Implemented marker clustering, React.memo optimization, and lazy loading to achieve smooth 60fps.
AI Reliability: Gemini sometimes gave verbose or inconsistent responses. Fixed with emergency-specific prompts, structured JSON schemas, and temperature tuning (0.3-0.7).
Mobile-First Design: Creating touch-friendly UI for stressed users on slow networks required large tap targets, minimal text, offline support, and aggressive optimization.
🏆 Accomplishments That We're Proud Of
- ✅ Production-Ready Platform: 2,000+ resources mapped, working in 100+ languages
- ✅ 7 AI Features: Chat, validation, translation, categorization, insights, generation, search
- ✅ 5x Faster Resource Discovery: Compared to traditional methods
- ✅ Professional UX: Smooth animations, accessibility-first, mobile-optimized
- ✅ Scalable Architecture: Could handle 10,000 concurrent users tomorrow
- ✅ Sub-2-Second Performance: Loads in <2 seconds on 3G networks
- ✅ Ethical AI: Safety constraints, transparency, human oversight for critical decisions
- ✅ Comprehensive Documentation: API docs, user guides, debugging resources
Most Proud Of: We built something that could genuinely save lives—not just a demo, but a tool emergency responders could deploy tomorrow.
📚 What We Learned
Technical:
- AI integration is 80% prompt engineering, 20% API calls
- Geospatial data requires specialized tools (PostGIS)
- Performance is about doing less, not doing faster
- TypeScript catches bugs before users see them
- Error handling distinguishes demos from products
Product:
- Design for stressed users with shaking hands on cracked screens
- AI should be invisible when it works, transparent when it adds value
- Accessibility benefits everyone, not just disabled users
- Real-time doesn't always mean WebSockets—polling works fine
Process:
- Ship 12 polished features beats 50 half-baked ones
- Documentation 2x's productivity
- Testing in production is inevitable—plan for it
- Clear communication prevents integration hell
- Building for impact unlocks energy you didn't know you had
🚀 What's Next for AIDE
Immediate (3 Months)
- Advanced AI: Image analysis for damage assessment, predictive resource allocation
- Offline-First: PWA with full offline functionality, SMS fallback for basic phones
- Multi-Channel Alerts: SMS, WhatsApp, email, voice calls for critical emergencies
Scaling (6-12 Months)
- Partnerships: FEMA, Red Cross, UN OCHA integration
- Global Expansion: Multi-region deployment, 200+ languages, disaster-type specialization
- Advanced Features: AR navigation, volunteer gamification, resource reservation system
Ecosystem (12-24 Months)
- Developer Platform: Public API, SDKs, plugin marketplace
- Business Model: Freemium for users, SaaS for NGOs, enterprise for governments
- Research: Academic collaborations, AI ethics board, open data initiative
Long-Term Vision (2-5 Years)
- Predictive Prevention: Early warning systems, vulnerability mapping
- Global Impact: 100M users, every disaster-prone region, critical infrastructure for climate era
- Climate Resilience: Build community resilience as disasters intensify
log in details include:
ADMIN:
-email: admin@aide.com -password: password123
USER:
-email: user@aide.com -password: password123
Log in or sign up for Devpost to join the conversation.