DEV Community

Cover image for Building Real AI in 24 Hours: KrishiAI with GitHub Copilot
Manish Kumawat
Manish Kumawat

Posted on

Building Real AI in 24 Hours: KrishiAI with GitHub Copilot

πŸš€ I Built a Full AI Farming Platform in 24 Hours (TensorFlow.js + NLP + ML)

From idea to working product in a single day β€” here’s how I built KrishiAI, a multi-module AI system using TensorFlow.js, NLP, and ML algorithms with the help of GitHub Copilot.

πŸ”₯ Live Demo Preview

🧠 Architecture Diagram (Core of the System)


πŸ’‘ What is KrishiAI?

KrishiAI is an AI-powered farming assistant that provides:

🌿 Disease detection from plant images
πŸ’¬ Multi-language chatbot
🌾 Crop recommendations
πŸ“ˆ Price prediction
πŸ§ͺ Fertilizer optimization
πŸ–ΌοΈ Feature Screenshots
🌿 Disease Detection

πŸ’¬ AI Chatbot

🌾 Crop Recommendation

πŸ“ˆ Price Prediction

⚑ Tech Stack
Frontend: React.js
Backend: Express.js
AI/ML:
TensorFlow.js (CNN)
KNN Algorithm
ARIMA Model
NLP: Natural.js
APIs: Weather + agriculture datasets
🧩 How I Built It (Fast Breakdown)

  1. Setup (30 mins) Monorepo (React + Express) Modular AI architecture
  2. 🌿 Disease Detection (CNN) Image preprocessing β†’ Model inference Output: disease + confidence + treatment POST /api/disease/detect-image
  3. πŸ’¬ NLP Chatbot Multi-language understanding Intent + entity extraction POST /api/chat
  4. 🌾 Crop Recommendation (KNN) Soil + weather input Returns best crops
  5. πŸ“ˆ Price Prediction (ARIMA) Time-series forecasting 7-day prediction
  6. πŸ§ͺ Fertilizer Optimization Budget-based recommendation ⏱️ Built in Just 9 Hours Task Time Setup 30 mins AI Models 4 hrs Frontend 1.5 hrs Testing 1.5 hrs Deployment 1 hr Total ~9 hrs πŸ€– How AI Helped

Using GitHub Copilot:

Generated ML logic
Accelerated API development
Reduced development time drastically

πŸ‘‰ 1 week work β†’ done in 24 hours

πŸ”— GitHub Repo

πŸ‘‰ https://github.com/ManishKumawat450/KrishiAi

πŸš€ What’s Next?
Mobile app
Better datasets
Offline AI support
Improved UI/UX
πŸ’₯ Final Thought

One developer + AI tools = full product in a day.

Top comments (0)