--- title: Planthy emoji: 🌿 colorFrom: gray colorTo: pink sdk: gradio sdk_version: 5.33.0 app_file: app.py pinned: false license: apache-2.0 short_description: a plant health monitoring app tags: - agent-demo-track --- # Planthy -- Plant Health Monitor Agent ## Description A multimodal AI agent that diagnoses plant health issues by analyzing images and text queries, providing actionable recommendations. It leverages real-time web search and advanced reasoning to assist gardeners and farmers, deployed as a user-friendly web app on Hugging Face Spaces. ## Tech Stack * LlamaIndex: ReAct agent and tool orchestration. * Gemini: Multimodal image and text processing (`gemini-2.0-flash`). * DuckDuckGo Search: Real-time plant health information retrieval. * Gradio: Web interface for user interaction. ## Functionality * Image Analysis: Upload a plant image to identify type, condition, symptoms, and confidence. * Text Queries: Input queries (e.g., "What’s wrong with my plant?") to get tailored recommendations. * ReAct Reasoning: Combines image analysis and web search for intelligent, context-aware responses. * Web Interface: Gradio UI for easy image uploads, query input, and Markdown-formatted outputs (diagnosis, recommendations, reasoning). * Real-Time Data: Fetches plant care tips via DuckDuckGo search, eliminating the need for a local dataset. ## Demo [Video](https://drive.google.com/file/d/1swZV-Eua6dt0QTZB8uH6cq4evhd_1dHZ/view?usp=sharing)