Sajag Kishan: Building a Smart Agricultural Intelligence System | INNEX 2026 Winner


Every meaningful project starts with a problem worth solving. For us, it began with a simple but important question: How can we make agricultural monitoring more transparent, help farmers make better decisions, and give agricultural officers more reliable information about what's happening on the ground?

Before coming up with a technical solution, we wanted to understand the problem itself. We had initial discussions with agricultural and horticultural researchers at Nepal's Ministry of Agriculture and Livestock Development. These conversations helped us understand some of the practical challenges in agricultural monitoring, the information gaps faced by farmers, and the difficulties agriculture officers encounter when monitoring agricultural activities.

During our initial research, we also came across the Ministry's Farmer Registration Platform, which provides a system for registering farmers and maintaining their information. This caught our attention because we started exploring how the information collected through farmer registration could be made more useful beyond simply maintaining records.

We began researching the existing ecosystem and looking at ways to build additional capabilities around this foundation. We wanted to explore how farmer information could be connected with agricultural land monitoring, localized recommendations, and more informed decision-making.

As we explored possible approaches, the idea gradually evolved into combining satellite imagery, geospatial analysis, weather intelligence, and machine learning. This could help connect what farmers report about their land with observations of actual agricultural conditions.

That was how Sajag Kishan ( सजग किसान) - A Smart Agricultural Intelligence System began to take shape.

Sajag-Kishan-Lnading-Page


Agriculture remains one of Nepal's most important sectors, yet many farming decisions still depend on traditional practices, fragmented information, and limited access to reliable data. Farmers often struggle to access recommendations suited to their geographical location, soil, and climate. At the same time, agriculture officers face the challenge of monitoring vast areas of farmland, verifying cultivation, and distributing agricultural resources with limited ground-level information.

We wanted to approach this problem differently.

Instead of building another application that simply provides agricultural information, we envisioned a system that could connect farmers, agricultural data, and actual observations of farmland into one intelligent platform.

The idea was to bring together satellite imagery, geospatial analysis, weather intelligence, and machine learning to understand agricultural conditions at the field level. We also wanted to make that intelligence accessible through a simple mobile application for farmers and a comprehensive dashboard for agriculture officers.

We envisioned two connected sides of the same platform. One would help farmers understand their land, receive localized recommendations, and access agricultural guidance in Nepali. The other would help agriculture officers monitor registered parcels, observe cultivation patterns through satellite data, and make more informed decisions about agricultural resources.

I took on the core engineering of bringing this idea to life, from designing the backend architecture and building the data-processing pipeline to implementing the machine learning components and connecting everything into a unified platform.

What followed was an intensive engineering journey involving multiple technologies, architectural decisions, and the challenge of turning an ambitious concept into a working product.

And that journey led to a milestone we are incredibly proud of.

Sanchit-Pandey-With-Trophy

Event: INNEX 2026

  • Organizer: ICECFWU

  • Achievement: 1st Position

  • Category: Sudurpashchim's First National-Level Hackathon

  • Team: CSITABMC

  • Project: Sajag Kishan - Smart Agricultural Intelligence System

  • Date: November 23-25, 2026

Our team, CSITABMC, secured 1st position at INNEX 2026, Sudurpashchim's first national-level hackathon.

But the award is only one part of the story. Here's how Sajag Kishan was actually built.


The Idea: Connecting Farmers With Agricultural Intelligence

The initial concept revolved around one fundamental question:

Can we connect what farmers report about their land with what satellite imagery actually observes?

Imagine a farmer registering a piece of land and declaring that they are cultivating paddy on it.

How could an agriculture officer independently understand whether that land is actively cultivated, showing signs of vegetation stress, or potentially left fallow without physically visiting every registered parcel?

Satellite imagery offers a way to approach this challenge.

By processing multispectral satellite data, calculating vegetation indices, and combining the observations with geographical and seasonal information, we could create an additional layer of agricultural intelligence.

But I didn't want to stop there.

The same geographical, environmental, and agricultural information could also help farmers make better decisions about crop selection, sowing schedules, weather conditions, and disease risks.

That led to the two-sided approach that defines Sajag Kishan:

  • For farmers: Understand their land and receive actionable agricultural recommendations.

  • For agriculture officers: Monitor agricultural land, verify declarations, and make more informed decisions about agricultural resources.

The idea was no longer just an agricultural application. It was becoming an interconnected agricultural intelligence platform.

What We Built

Sajag Kishan consists of two primary applications powered by a shared backend and agricultural intelligence layer.

1. Farmer Application: Agricultural Intelligence in Nepali

The farmer-facing application is designed around accessibility and practical agricultural guidance.

KrishiCalender

Rather than presenting farmers with complicated datasets, it translates agricultural intelligence into understandable recommendations.

Its major features include:

  • Personalized crop calendar: Recommends sowing, fertilization, irrigation, and harvesting schedules based on location, altitude, and climate.

  • Weather intelligence: Provides warnings for heavy rainfall, heat, cold, and dry spells.

  • Disease risk alerts: Identifies environmental conditions that could increase the risk of crop diseases.

  • AI-powered agricultural assistant: Allows farmers to ask questions through text or voice in Nepali, with responses grounded in their own farm information.

  • Offline-first experience: Saves records locally and synchronizes them when internet connectivity becomes available.

  • Localized interface: Supports Nepali language, Bikram Sambat dates, and local land units.

The goal was to make agricultural intelligence accessible without requiring farmers to understand the technology operating behind it.

2. Agriculture Officer Dashboard: Monitoring Land Through Data

The second application is designed for agriculture officers and local authorities.

It provides a centralized view of registered agricultural land and its condition.

Satellite-Images


Its major capabilities include:

  • Geospatial field monitoring: Displays registered agricultural parcels on an interactive map.

  • Satellite-based land verification: Compares declared agricultural activities with satellite observations.

  • Vegetation analysis: Tracks NDVI, NDRE, NDWI, NDMI, EVI, and SAVI across registered fields.

  • Climate analytics: Compares current seasonal rainfall and temperature against historical climate patterns.

  • Land use accounting: Summarizes cultivated, weak, and fallow agricultural areas by ward and season.

  • Subsidy allocation: Calculates agricultural input requirements based on crop area and recommended fertilizer doses.

  • AI-powered reporting: Helps officers interact with agricultural data and generate understandable summaries.

The dashboard transforms scattered agricultural information into a more centralized and evidence-based monitoring system.

The Core Innovation: What Farmers Declare vs. What Satellites Observe

This is arguably the most important conceptual and technical decision behind Sajag Kishan.

KrishiMap

A farmer's declaration provides information. Satellite imagery provides an independent observation. The platform connects both.

Here's how the process works:

  1. A farmer registers their agricultural parcel and declares the crop being cultivated.

  2. The system retrieves satellite imagery covering the geographical boundary of that parcel.

  3. Vegetation and moisture indices are calculated from the imagery.

  4. Machine learning and rule-based analysis assess the condition of the land.

  5. The observed condition is compared against the farmer's declaration.

  6. The system generates a verification status or flags inconsistencies for an agriculture officer.

For this, I integrated satellite data sources through the Microsoft Planetary Computer STAC API.

The platform works with two important satellite data sources:

  • Sentinel-2: Provides multispectral imagery for vegetation and agricultural condition analysis.

  • Sentinel-1: Provides radar observations, which are particularly useful during the monsoon when optical imagery can be obstructed by clouds.

Understanding Vegetation Indices

Instead of treating satellite imagery as ordinary photographs, the platform extracts meaningful numerical information from different spectral bands.

IndexPurposeNDVIMeasures vegetation greenness and densityNDREHelps assess vegetation health and chlorophyll-related changesNDWIIdentifies water-related conditionsNDMIMeasures vegetation moisture conditionsEVIImproves vegetation analysis in dense vegetationSAVIReduces soil brightness effects in areas with sparse vegetation

These measurements are aggregated over registered field boundaries to build a historical picture of agricultural activity.

This is what makes Sajag Kishan more than a conventional agricultural management application. It connects field-level declarations with remotely observed environmental information.

Engineering Sajag Kishan: Architecture and Technology Stack

With the concept defined, the next challenge was translating it into a functional system.

I approached development by separating the platform into interconnected components, each responsible for a specific part of the agricultural intelligence workflow.

The goal wasn't just to make individual features work. It was to ensure that information could flow from a farmer's mobile application through the backend, into the processing and intelligence layers, and finally appear as meaningful insights on the officer dashboard.

High-Level Architecture

Code
                  Sajag Kishan
                        |
           +------------+------------+
           |                         |
      FARMER APP               OFFICER DASHBOARD
           |                         |
    Expo / React Native          Next.js / React
           |                         |
           +------------+------------+
                        |
                   HTTPS / REST
                        |
                   BACKEND API
                 Node.js + Hono
                        |
        +---------------+---------------+
        |               |               |
   RULES ENGINE      AI SERVICES     ML PIPELINE
        |               |               |
   Crop Calendar    Gemini API     Land Classification
   Weather Alerts   Voice / STT    Field Scoring
   Disease Risk     Chat Layer     Model Inference
   Subsidy Logic
        |               |               |
        +---------------+---------------+
                        |
                    DATA LAYER
                        |
                PostgreSQL + Prisma
                        |
                  Object Storage
                   (S3-compatible)
                        |
         +--------------+--------------+
         |              |              |
     Satellite       Weather       Terrain / Soil
      Sentinel       Open-Meteo     WorldCover
       1 / 2                       SoilGrids

1. Backend Architecture: Node.js, Hono, and PostgreSQL

I built the backend around Node.js and Hono using TypeScript.

The decision to use Hono was driven by its lightweight architecture and straightforward API development experience.

The backend handles:

  • Authentication and role-based access.

  • Farmer and officer-specific data access.

  • Agricultural parcel registration.

  • Crop and seasonal declarations.

  • Satellite observation records.

  • Weather and climate information.

  • Agricultural recommendation logic.

  • Subsidy planning and allocation.

  • AI assistant context and responses.

  • Scheduled processing and synchronization jobs.

I used Prisma as the ORM and PostgreSQL as the primary relational database.

The database follows Nepal's administrative hierarchy:

Province → District → Local Level → Ward

This allows agricultural information to be organized geographically rather than treating every registered farmer as an isolated record.

2. Satellite Processing: From GeoTIFF to Agricultural Intelligence

Satellite processing was one of the most technically interesting parts of the project.

Downloading entire satellite scenes for individual agricultural parcels would be unnecessarily expensive and inefficient.

Instead, I used the STAC API to discover relevant satellite scenes and accessed the required pixel windows from cloud-optimized GeoTIFF files.

The processing pipeline works as follows:

  1. Discovers relevant satellite scenes for a field and observation period.

  2. Retrieves the necessary raster data.

  3. Applies cloud masking using scene classification information.

  4. Extracts relevant spectral bands.

  5. Calculates vegetation and moisture indices.

  6. Aggregates the results within the registered parcel boundary.

  7. Stores the observations for historical comparison and subsequent analysis.

The result is a field-level agricultural observation rather than an entire satellite image that an officer would need to interpret manually.

3. Machine Learning: Training in Python, Inference in TypeScript

I wanted the land-use classification pipeline to remain independent of the main backend runtime.

The model development and training workflow uses Python, with libraries including Scikit-learn, NumPy, Pandas, LightGBM, and CatBoost.

I evaluated different model families, including logistic regression, random forests, LightGBM, and CatBoost.

An important consideration was avoiding data leakage.

Rather than randomly splitting individual fields, the validation process holds out entire wards. This helps prevent neighboring fields from appearing in both training and validation datasets.

After selecting a suitable model, the trained parameters are exported into JSON and evaluated directly in TypeScript.

This means the production backend does not need a separate Python inference service for every prediction.

It also makes the deployment architecture simpler.

4. AI Assistant: Context Before Generation

Adding a chatbot was relatively straightforward. Building one that provides relevant agricultural answers was the actual challenge.

AI Assistant for the Farmers

I did not want an assistant that simply generates generic agricultural information.

The assistant uses the farmer's own information as context.

The process follows this approach:

  1. Identify the user's intent, such as weather, crop suitability, fertilizer, disease, or land information.

  2. Retrieve relevant information from the farmer's registered agricultural data.

  3. Combine it with relevant agricultural knowledge.

  4. Generate an understandable response using Google Gemini.

  5. Return the response in Nepali.

The platform also supports voice-based interaction, including speech transcription and language processing.

The important architectural decision here is that the AI model explains and communicates information rather than independently deciding critical agricultural or subsidy outcomes.

5. A Deterministic Rules Engine

Not every problem needs machine learning or a language model.

Crop calendars, weather alerts, disease-risk calculations, and subsidy allocation are implemented using deterministic business logic.

For example, disease risk can be calculated using environmental conditions such as temperature, rainfall, and humidity duration.

Every generated alert retains its supporting evidence and rule version.

This makes the system more explainable and easier to test.

I consider this particularly important when software is being used to support decisions involving farmers and public resources.

6. Offline-First Synchronization

Connectivity is an important consideration when building applications for rural environments.

The farmer application uses a local outbox mechanism to queue changes when the device is offline.

When connectivity returns, the application synchronizes pending changes with the backend.

Cached reads, compressed API responses, and versioned data structures help reduce unnecessary network usage.

The objective was to make the application useful even when a stable internet connection cannot be assumed.

Making Agricultural Subsidy Distribution More Evidence-Based

Another important component of Sajag Kishan is its agricultural subsidy planning engine.

Subsidy distribution is not simply about calculating how much fertilizer a farmer needs. It also involves prioritization, fairness, and preventing incorrect claims.

The system calculates agricultural requirements using:

Required quantity = Cultivated area × Recommended fertilizer dose

It then uses a weighted priority model to distribute available resources.

The current prioritization considers:

  • Smallholder status: 35%

  • Tenant status: 25%

  • Verified cultivation: 20%

  • Not recently served: 20%

The system also identifies potential inconsistencies, such as declared cultivation exceeding registered land area or parcels without cultivation declarations.

When available stock is insufficient, allocation is prioritized rather than relying entirely on a first-come-first-served approach.

This creates a more transparent foundation for agricultural resource planning.

Building Under Hackathon Constraints

A hackathon comes with a different kind of engineering pressure.

There is limited time, multiple moving parts, and the expectation of demonstrating something that works rather than simply presenting an interesting concept.

I approached Sajag Kishan by focusing on the complete product experience.

My primary engineering responsibility was bringing the system's core technical components together: backend architecture, data processing, satellite intelligence, machine learning integration, and the underlying agricultural logic.

Alongside that, the team worked across the application experience, frontend, UI/UX, and visual design.

We divided responsibilities so that different parts of the product could progress in parallel while maintaining a shared direction.

The most important decision was to avoid building disconnected demonstrations.

The farmer application, officer dashboard, satellite pipeline, and backend were designed as parts of the same system.

That made the final demonstration more meaningful: instead of showing a collection of unrelated features, we could explain how information entered the platform, how it was processed, and how it eventually became useful to farmers and agriculture officers.

An Honest Note About the Machine Learning Model

I believe technical projects should be presented honestly, especially when they involve machine learning.

The current land-use model is bootstrapped using approximately 1,500 synthetic field records.

Its validation performance on synthetic data should not be interpreted as proof of equivalent accuracy on real agricultural land.

Synthetic datasets are useful for developing and testing the processing pipeline, but real-world performance requires properly verified field observations.

For that reason, the system is designed to fall back to transparent rule-based assessments when a sufficiently validated model is unavailable.

The next major step is collecting officer-verified agricultural field data across real wards and seasons.

I would rather build a system that communicates its limitations than one that presents unverified predictions as facts.

Scaling Sajag Kishan: From a Prototype to a Nationwide Platform

Winning a hackathon is a milestone. Turning the product into something that can operate reliably across Nepal is a much larger engineering challenge.

If I were to take Sajag Kishan from a prototype to a nationwide agricultural intelligence platform, these would be my priorities.

1. Distributed Satellite Processing

At a national scale, thousands or millions of agricultural parcels could require periodic satellite analysis.

Processing every field independently would create unnecessary computational and data-access overhead.

I would introduce a distributed processing architecture:

  • Move satellite synchronization into a dedicated job queue.

  • Introduce stateless processing workers that can scale horizontally.

  • Process satellite scenes by tile instead of repeatedly processing individual fields.

  • Cache derived raster data and vegetation indices in object storage.

  • Introduce retry mechanisms for failed satellite processing jobs.

This would make satellite processing more efficient and resilient as the number of registered fields grows.

2. Geospatial Database Optimization

As more agricultural parcels and historical observations are registered, geospatial queries will become increasingly important.

I would introduce PostGIS for spatial indexing and database-level geographical operations.

For example, agriculture officers should eventually be able to query:

  • All fields in a particular ward showing declining vegetation health.

  • Agricultural parcels affected by unusually low rainfall.

  • Cultivated land within a specific geographical region.

  • Fields with inconsistent declarations and satellite observations.

Large observation tables could also be partitioned by season or geographical region, with read replicas supporting analytical dashboard queries.

3. A Continuous Machine Learning Feedback Loop

The most valuable long-term asset of Sajag Kishan would not necessarily be its application or dashboard.

It would be its verified agricultural dataset.

I would make field verification a first-class workflow.

When officers inspect a parcel, they could confirm its actual land-use status. Those observations could then become verified training data.

Over time, the platform could develop better models for:

  • Crop-type classification.

  • Agricultural land-use detection.

  • Vegetation stress identification.

  • Seasonal crop monitoring.

  • Yield estimation.

  • Early detection of abnormal agricultural conditions.

Model updates would need to be evaluated against geographically separated validation datasets before being deployed.

4. Making the Platform More Accessible

Not every farmer has a modern smartphone or consistent internet access.

To address this, I would extend the existing offline-first approach with:

  • SMS-based agricultural alerts.

  • IVR-based voice assistance.

  • On-device Nepali speech recognition.

  • Support for additional local languages, including Tharu and Maithili.

  • Lightweight interfaces optimized for low-end Android devices.

The objective should be to make agricultural intelligence accessible regardless of the farmer's device or connectivity.

5. Reliability and Observability

A nationwide platform requires more than a working API.

I would introduce:

  • Centralized structured logging and distributed tracing.

  • Monitoring for scheduled jobs and satellite data freshness.

  • Dead-letter queues for repeatedly failing tasks.

  • Role-based API quotas, especially for AI-powered endpoints.

  • Redis for shared caching and distributed rate limiting.

  • Automated backups and disaster recovery procedures.

These improvements would help the system remain reliable as the workload increases.

6. Government and Institutional Integration

The real potential of Sajag Kishan becomes much greater when it can work alongside existing government and institutional systems.

Future integrations could include:

  • Local government agricultural databases.

  • Land registration systems.

  • Government subsidy distribution platforms.

  • Agricultural cooperatives.

  • Weather and climate monitoring networks.

  • Agricultural research institutions.

This would help transform Sajag Kishan from an independent platform into part of a broader agricultural information ecosystem.

What This Project Taught Me

Sajag Kishan was one of those projects where I had to think beyond writing code.

It pushed me to consider how different technical disciplines could work together to solve one real-world problem.

Some of my biggest takeaways:

1. Architecture matters when features depend on each other.

Building a mobile app, backend, satellite pipeline, and dashboard separately is one thing. Making them operate as one consistent system is a different challenge.

2. AI should not replace deterministic logic.

Not every decision needs a language model. Systems involving agricultural alerts, calculations, and public resource allocation need predictable and explainable behavior.

3. Real-world data is more valuable than impressive demonstrations.

A machine learning model is only as useful as the quality and relevance of the data behind it.

4. Localization is part of engineering.

Nepali language support, local land units, Bikram Sambat dates, and offline functionality are not cosmetic features. They directly affect whether the product can actually be used.

5. A good product connects multiple perspectives.

Sajag Kishan became much more meaningful when I connected the farmer's experience with the agriculture officer's need for reliable information.

What's Next for Sajag Kishan?

The first-place finish at INNEX 2026 is an exciting beginning, but I don't see it as the final destination.

The next logical step is a real-world pilot in a selected ward.

I want to register actual agricultural parcels, collect officer-verified field observations across a full growing season, and evaluate how closely satellite-based assessments match ground conditions.

That would help validate the platform's assumptions, improve its machine learning pipeline, and identify what needs to change before expanding to additional municipalities.

The longer-term vision is to make Sajag Kishan a platform that can help Nepal move towards more transparent, data-driven, and accessible agricultural decision-making.

Final Thoughts

Sajag-Kishan-Banner



From identifying an agricultural problem to engineering a multi-application platform involving satellite imagery, geospatial processing, machine learning, and AI, Sajag Kishan has been an incredibly rewarding project to work on.

Securing 1st position at INNEX 2026 makes the journey even more special.

Most importantly, this experience reinforced something I strongly believe in:

Technology becomes meaningful when it moves beyond the screen and starts solving problems that actually matter.

And for Sajag Kishan, this is only the beginning.


A special thanks to the INNEX 2026 organizing team and ICECFWU for providing a platform where ideas could be transformed into meaningful technological solutions.

Being recognized with first place at this event is a milestone I'll always value.


Explore the Project

Technical References and Documentation

The following are the primary technologies and data sources referenced throughout the implementation and scaling discussion.


Built and engineered by Sanchit Pandey.