Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

153 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title Krishi Veda
emoji 🌾
colorFrom green
colorTo yellow
sdk docker
pinned false

🌾 Krishi-Veda: Sovereign Vedic Agricultural AI

License: MIT Platform: Android Offline: Yes Languages: 4

Krishi-Veda is a fully offline, sovereign AI agricultural advisor running on ₹4,000 Android phones. It combines quantized small language models with 16 Vedic mathematical kernels, Vriksh Ayurveda principles, and Panchakosha cosmic agricultural frameworks derived from the Upanishads and Puranas.


🌍 What Makes This Different

Conventional AI Krishi-Veda
Requires cloud GPU clusters Runs on a phone, offline
Black-box transformer math Explainable Vedic sutra kernels
Generic agricultural advice Vriksh Ayurveda + local knowledge
English-only Assamese, Hindi, Bengali, English
Chemical-first recommendations Ahimsa-108 organic constraint
Profit-driven Soil-conscious, moon-aligned

🕉️ Vedic Kernel Architecture

Krishi-Veda replaces 16 standard transformer operations with Vedic mathematical primitives:

The 16 Sutras → ML Operations

# Sutra Sanskrit ML Operation Implementation
1 Ekadhikena Purvena एकाधिकेन पूर्वेण Position encoding Golden ratio (φ=1.618) position vectors
2 Nikhilam Navatashcaramam निखिलं नवतश्चरमं Softmax approximation Complement-based exp (100x faster)
3 Urdhva Tiryagbhyam ऊर्ध्वतिर्यग्भ्याम् Matrix multiplication 123x speedup over naive on ARM64
4 Paravartya Yojayet परावर्त्य योजयेत् Attention transpose pH inversion for soil analysis
5 Shunyam Samyuccaye शून्यं साम्यसमुच्चये Layer normalization Zero-centering normalization
6 Anurupyena आनुरूप्येण Proportional scaling Nutrient proportional analysis
7 Sankalana Vyavakalanabhyam संकलनव्यवकलनाभ्याम् Residual connections Add/subtract for yield calculation
8 Puranapuranabhyam पूरणापूरणाभ्याम् Dropout Complete/incomplete for sparse activation
9 Chalana Kalanabhyam चलनकलनाभ्याम् Gradient computation Differential for soil change detection
10 Yavadunam यावदूनम् Loss calculation Deficiency-based error computation
11 Vyashtisamanstih व्यष्टिसमष्टिः Pooling Part-whole for regional aggregation
12 Shesanyankena Charamena शेषाण्यङ्केन Quantization Remainder-based precision reduction
13 Sopantyadvayamantyam सोपान्त्यद्वयमन्त्यम् Look-ahead attention Ultimate + twice penultimate
14 Ekanyunena Purvena एकन्यूनेन पूर्वेण Causal masking One less than previous for autoregression
15 Gunitasamuchyah गुणितसमुच्चयः Multi-head fusion Product of sum for attention merge
16 Gunakasamuchyah गुणकसमुच्चयः Feed-forward Sum of product for dense layers

🌳 Vriksh Ayurveda Agricultural Kernels

Derived from Vriksh Ayurveda (the ancient Indian science of plant life), Kashyapiyakrishisukti, and Brhat Samhita:

Kernel Sanskrit Source Agricultural Function
Panchagavya Vriksh Ayurveda Ch. 3 Organic fertilizer: 5 cow products ratio
Dashamula Vriksh Ayurveda Ch. 7 10-root pest repellent calculation
Nakshatra Vriksha Brhat Samhita Ch. 55 Lunar mansion tree planting calendar
Vayu Purana Krishi Vayu Purana Ch. 16 Wind-based sowing prediction
Agni Purana Vrishti Agni Purana Ch. 21 Rain prediction from atmospheric signs
Matsya Purana Bija Matsya Purana Ch. 13 Seed preservation and treatment
Varahamihira Krishi Brhat Samhita Ch. 26 Seasonal crop rotation
Kashyapa Mrittika Kashyapiyakrishisukti Ch. 4 Soil classification and treatment

🪐 Cosmic Agricultural Framework (Panchakosha)

From Taittiriya Upanishad (Panchakosha) and Samkhya Philosophy (3 Gunas):


🕉️ Dharma Distribution

Krishi-Veda is free for all farmers, forever. It is not a commercial product.

How to Share (No Internet Required)

  1. Download krishi_veda_offline.tar.gz (199MB)
  2. Copy to an SD card or share via Bluetooth
  3. Give to a farmer. That's it.

License

Dharma Public License v1.0 — Free for all living beings. Cannot be sold. See LICENSE and DHARMA.md for the full terms.

Support This Work

  • Share with one farmer
  • Translate into your language
  • Report what helps and what doesn't
  • That is the only payment we ask