Inspiration

Air pollution affects millions daily, and people often don’t know where to go to breathe safely. We wanted to create a tool that not only gives real-time air quality updates but also acts as a personal health guide, helping users find safe spots and make decisions based on their symptoms.

What it does

AirGuard lets users: Check air quality in real-time across their city using live data. Describe symptoms to a smart AI doctor (LLM), which can assess and advise. Get safe routes and spots mapped via Google Maps to avoid polluted areas. Essentially, you type your symptoms, and AirGuard guides you to cleaner, safer environments.

How we built it

Backend: FastAPI serves air quality data and interfaces with the AI doctor model. Frontend: Next.js + React renders an interactive map and chat interface. Data integration: Google Maps API for geolocation and routes, air quality APIs for live pollution levels. AI integration: OpenAI LLM analyzes symptoms and suggests the safest nearby locations.

Challenges we ran into

Syncing live air quality data with user location in real-time. Handling AI routing logic, ensuring symptom input reliably translates to safe spot recommendations. Frontend-backend communication between Next.js and FastAPI while maintaining fast updates.

Accomplishments that we're proud of

Built a fully integrated system connecting AI symptom analysis, live air quality, and mapping. Created a smooth user experience: users can just type symptoms and get actionable guidance. Implemented real-time alerts and mapping, giving practical value beyond just data visualization.

What we learned

How to integrate multiple APIs and real-time data streams into a cohesive app. Techniques for LLM-assisted decision-making for health-related user queries. The importance of UI/UX design when displaying live maps and AI chat in one interface.

What's next for AirGuard

Add personalized notifications for recurring pollution spikes. Expand AI to predict risk levels for specific symptoms based on environmental trends. Optimize the app for mobile usage so users can navigate safely on-the-go.

Built With

Share this project:

Updates