Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

Agent Teams ·Advanced

AQI Analysis Agent

About this app

The AQI Analysis Agent is a powerful air quality monitoring and health recommendation tool powered by Firecrawl and Agno's AI Agent framework. This app helps users make informed decisions about outdoor activities by analyzing real-time air quality data and providing personalized health recommendations.

  • Complete open-source code
  • Step-by-step tutorial

Technical sheet

Category
Agent Teams
Difficulty
Advanced
Models
OpenAI
Frameworks
Agno
Runs locally?
Needs cloud APIs
Required keys
None

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

🎓 FREE Step-by-Step Tutorial

👉 Click here to follow our complete step-by-step tutorial and learn how to build this from scratch with detailed code walkthroughs, explanations, and best practices.

The AQI Analysis Agent is a powerful air quality monitoring and health recommendation tool powered by Firecrawl and Agno's AI Agent framework. This app helps users make informed decisions about outdoor activities by analyzing real-time air quality data and providing personalized health recommendations.

Features

  • Multi-Agent System
  • AQI Analyzer: Fetches and processes real-time air quality data
  • Health Recommendation Agent: Generates personalized health advice
  • Air Quality Metrics:
  • Overall Air Quality Index (AQI)
  • Particulate Matter (PM2.5 and PM10)
  • Carbon Monoxide (CO) levels
  • Temperature
  • Humidity
  • Wind Speed
  • Comprehensive Analysis:
  • Real-time data visualization
  • Health impact assessment
  • Activity safety recommendations
  • Best time suggestions for outdoor activities
  • Weather condition correlations
  • Interactive Features:
  • Location-based analysis
  • Medical condition considerations
  • Activity-specific recommendations
  • Downloadable reports
  • Example queries for quick testing

How to Run

Follow these steps to set up and run the application:

  1. Clone the Repository:
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd advanced_ai_agents/multi_agent_apps/ai_aqi_analysis_agent
  1. Install the dependencies:

```bash

pip install -r requirements.txt

```

  1. Set up your API keys:
  • Get an OpenAI API key from: https://platform.openai.com/api-keys
  • Get a Firecrawl API key from: Firecrawl website
  1. Run the Gradio app:

```bash

python ai_aqi_analysis_agent_gradio.py

```

  1. Access the Web Interface:
  • The terminal will display two URLs:
  • Local URL: http://127.0.0.1:7860 (for local access)
  • Public URL: https://xxx-xxx-xxx.gradio.live (for temporary public access)
  • Click on either URL to open the web interface in your browser

Usage

  1. Enter your API keys in the API Configuration section
  2. Input location details:
  • City name
  • State (optional for Union Territories/US cities)
  • Country
  1. Provide personal information:
  • Medical conditions (optional)
  • Planned outdoor activity
  1. Click "Analyze & Get Recommendations" to receive:
  • Current air quality data
  • Health impact analysis
  • Activity safety recommendations
  1. Try the example queries for quick testing

Note

The air quality data is fetched using Firecrawl's web scraping capabilities. Due to caching and rate limiting, the data might not always match real-time values on the website. For the most accurate real-time data, consider checking the source website directly.

From the same category

Agent TeamsAdvanced

Codebase Migration & Refactor Planner (LangGraph)

An AI-powered multi-agent codebase migration assistant built with LangGraph and Streamlit that plans file-by-file refactoring tasks, performs human-in…

  • OpenAI
  • Llama
  • DeepSeek
  • local
Agent TeamsAdvanced

AI Domain Deep Research Agent

An advanced AI research agent built using the Agno Agent framework, Together AI's Qwen model, and Composio tools. This agent helps users conduct compr…

  • Qwen
Agent TeamsAdvanced

AI Email GTM Outreach Agent

An end-to-end, multi-agent Streamlit app that automates B2B outreach using GPT-5 and Exa. It discovers relevant companies, finds the right contacts (F…

  • OpenAI

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans