Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgriX

A smart farming assistant that helps farmers make better decisions using AI. Styled with a bold Bauhaus constructivist modernism design emphasizing clarity, high contrast, and primary colors.

Features

  • Dynamic Weather & Irrigation Advice: Real-time localized weather updates with tailored irrigation recommendations based on precipitation probability.
  • AI Crop Disease Detection: Farmers can upload photos of crop leaves, and the AI model instantly predicts potential diseases along with a confidence score and actionable advice.
  • Market Price Predictions: Forward-looking AI analysis of crop market prices to advise on whether to sell now or wait.
  • Field Inspection Checklist: AI-generated Routine Scout checklists tailored to the user's specific crop and weather conditions, with persistent task tracking.
  • Multi-lingual Voice Commands: Voice-to-text input supporting regional languages to easily update farm profiles or navigate the app without typing.
  • Real-time Web Search: Integrated live web search (via Exa/Groq) to provide the most up-to-date market analysis and disease treatment strategies.
  • Secure Authentication: Registration flow with email-based OTP verification using Resend. Sandbox login available for developers.

Tech Stack

Frontend

  • React + Vite: Fast, modern frontend framework.
  • Tailwind CSS: Used to implement the geometric, high-contrast Bauhaus design language.
  • Lucide React: Clean iconography.

Backend

  • FastAPI: High-performance Python backend.
  • MongoDB (Motor): Asynchronous database for storing user data securely.
  • Resend: Transactional email API used for reliable OTP delivery.

Local Setup

1. Environment Variables

Create a .env file in the root of the project with the following:

MONGODB_URI=your_mongodb_connection_string
RESEND_API_KEY=your_resend_api_key
RESEND_FROM_EMAIL="AgriX <onboarding@resend.dev>"
JWT_SECRET=your_secret_key
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=1440
GROQ_API_KEY=your_groq_api_key
EXA_API_KEY=your_exa_api_key
GEMINI_API_KEY=your_gemini_api_key

2. Backend Installation

cd server
pip install -r requirements.txt
python main.py

(The API will be available at http://localhost:8000)

3. Frontend Installation

cd client
npm install
npm run dev

(The frontend will be available at http://localhost:5173)

About

A smart farming assistant that helps farmers make better decisions using AI, styled with a bold Bauhaus constructivist modernism design.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages