🌾 AgriSathi Local

An offline agricultural intelligence system for commodity laptops

Local retrieval over stored crop, livestock, water and market guides — answers stay grounded in the documents on the machine, and every response names its source. No API call is required after installation.

Local inference · no cloud calls

16 indexed passages · lexical retrieval on CPU

Where do you need help?

Ask AgriSathi

Every answer below is composed from passages stored on this machine, and each one names the guide it came from. Nothing is invented, and nothing is fetched.

Local Farm Memory

Stored on this device. Used as context for every answer.

Crop
—
Location
—
Planted
—
Soil
—
Irrigation
—
Notes
—

No farm record yet. Add one so answers can use your soil and planting date.

Pipeline

question (text / voice)
      ↓
  query processor  ← farm memory
      ↓
  local retrieval over stored guides
      ↓
  top 3–5 grounded passages
      ↓
  small quantized LLM (4-bit, CPU)
      ↓
  answer + cited local sources

Keeping the facts in the knowledge base rather than in the weights is what makes a 1–4B model enough. The retrieval and composition layer shown in this build runs entirely on device; the same interface drives the quantized model in the desktop packaging.

Optimization story

Target: 8 GB RAM, no discrete GPU. Figures below are the measurement template — fill them from your own benchmark run.

StageRAMLatency
Baseline 3B model, fp16Swaps on 8 GB laptops6.8 GB18.2 s
Quantized to 4-bit (GGUF)Fits without swap3.2 GB10.4 s
+ CPU-optimized runtimeThreads pinned to physical cores2.7 GB7.1 s
+ Local RAG, shorter promptFewer generated tokens, grounded2.8 GB6.3 s

The no-internet check

  1. 01Start the application.
  2. 02Disconnect Wi-Fi — the badge above flips to OFFLINE MODE.
  3. 03Ask a real agriculture question.
  4. 04Read the answer, its checks and its cited local sources.
  5. 05Show retrieval time and passages scanned on each answer.
  6. 06Download the action plan — generated on device.

The internet is gone. The assistant isn't.

Local knowledge base (16 passages)

  • 🌱 Tomato — chlorosis (yellowing leaves)Tomato Field Guide, ch.4 — Nutrient & Root Disorders
  • 🌱 Maize — brown leaf spots and lesionsMaize Disease Guide, plate 7 — Foliar Lesions
  • 🐛 Late blight — tomato and potatoPest & Disease Compendium, entry 21
  • 🐛 Fall armyworm in maizePest & Disease Compendium, entry 4 — Lepidoptera
  • 💧 When to irrigate — no-instrument methodWater & Irrigation Handbook, ch.2
  • 🌦️ Managing a dry spell on rain-fed landLocal Advisory Bulletin — Seasonal Rainfall Notes
  • 🐄 Cattle off feed / low milk yieldLivestock Care Manual, ch.6 — Feeding & Early Signs
  • 🐄 Sudden poultry deaths in a small flockLivestock Care Manual, ch.9 — Poultry
  • 📚 Building soil fertility with low cash inputAgricultural Education Series, module 3 — Soil Health
  • 📚 Plant spacing and seed rate basicsAgricultural Education Series, module 1 — Establishment
  • 💰 Reading the stored market price sheetLocal Market Dataset — last sync recorded on device
  • 💰 Post-harvest storage lossesPost-Harvest Handling Notes, section 2
  • 🌦️ Deciding the planting date from local rainfallLocal Advisory Bulletin — Planting Window Notes
  • 🐛 Safe handling of any crop chemicalPest & Disease Compendium, safety annex
  • 🌱 Beans — poor pods and curling leavesLegume Field Guide, ch.3
  • 💧 Stretching a limited water sourceWater & Irrigation Handbook, ch.5 — Scarcity