File size: 1,481 Bytes
bfdea17
 
0ef40b0
bfdea17
 
 
 
 
 
 
0ef40b0
 
 
 
bfdea17
 
0ef40b0
 
 
 
cea7591
0ef40b0
 
 
 
 
 
 
 
 
 
 
 
 
55c1389
0ef40b0
 
 
 
 
 
 
 
 
 
 
74cdf90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
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)