FarmEase is a full-stack AI assistant platform designed to support farmers with practical, timely, and localized guidance. This repository contains the initial frontend and backend foundations for the project.
Many farmers do not have instant access to reliable agronomy guidance, weather-informed planning, and decision support in a simple conversational format. FarmEase aims to bridge that gap through an intelligent, multi-agent AI system tailored to real on-ground farming needs.
- Conversational AI chat interface for farming queries
- Multi-agent backend architecture (weather, crops, soil, market intelligence)
- Context-aware recommendations for farmer workflows
- API-first backend for future mobile and partner integrations
- Production-ready TypeScript codebase split into frontend and backend services
- Next.js (App Router)
- Tailwind CSS
- TypeScript
- Node.js
- Express
- TypeScript
root/
frontend/
backend/
src/
agents/
orchestrator/
services/
routes/
utils/
index.ts
README.md
- Clone the repository.
- Install frontend dependencies:
cd frontendnpm install
- Install backend dependencies:
cd ../backendnpm install
- Configure environment variables:
frontend/.env.example-> copy tofrontend/.env.localbackend/.env.example-> copy tobackend/.envand setGROQ_API_KEY
- Run backend:
cd backendnpm run dev
- Run frontend (in a new terminal):
cd frontendnpm run dev
GET /health-> returnsOKPOST /chat-> routes through orchestrator with placeholder weather/crop/market/finance agents
- Backend LLM provider uses Groq Chat Completions API (
llama3-70b-8192) - Service implementation is in
backend/src/services/groqService.ts - Run
cd backend && npm run test:groqto execute sample query:suggest crops for rainy season- returns structured JSON with
intentandmessage
This is the initial commit-ready baseline for FarmEase.