Skip to content

AgroTwin — evidence for crop-rotation decisions

I led NeuraX at NASA Space Apps Challenge 2026, building a crop-rotation prototype with regional climate context, cited evidence and visible uncertainty.

NASA Space Apps Challenge 2026 · Participant

Team lead · NeuraX

Source code & documentation
AgroTwin's public v4 dashboard: a study boundary, regional climate context and three reference rotations. Sensor readings are unavailable in this capture; this is not a field deployment.
AgroTwin's public v4 dashboard: a study boundary, regional climate context and three reference rotations. Sensor readings are unavailable in this capture; this is not a field deployment.
My role · NeuraX
Team lead
Space Apps participation
14–15 Nov 2026
Evidence-gated answers
Cited or declined

The question

Changing a crop after a rice harvest takes more than a rainfall estimate. Drainage, soil and water conditions, seasonal timing and the scope of the available evidence all matter. AgroTwin brings those questions into one interface so a farmer can compare reference rotations and see what still needs checking.

We built the project as NeuraX for the Field Shift challenge at NASA International Space Apps Challenge 2026. I participated on 14–15 November 2026 and served as team lead.

My contribution

I led the team and defined the product scope, rotation-comparison workflow, explanation requirements and acceptance criteria. I also contributed to the core data and AI integration with our technical lead, connecting regional climate context, agricultural evidence and the dashboard workflow.

The project was a team effort. The current credited team is Lê Nguyễn Gia Hưng (team lead), Huỳnh Quốc Việt, Nguyễn Thanh Hằng, Võ Thị Ngọc Bích and Nguyễn Hoàng Quang Luật. Our work combined product and technical integration, agricultural-source review, sensor integration and numerical QA.

How it works

The selected v4 system combines three layers:

  • Climate context: 514 monthly NASA POWER records, January 1984–October 2026, for one study coordinate. A historical same-month mean estimates rainfall, temperature and humidity at one- and three-month horizons, with pooled empirical uncertainty intervals.
  • Reference rotations: R0 keeps three rice crops; R1 replaces the middle crop with baby corn; R2 replaces it with mung bean. Constraint checks use the conditions supplied by the user. Unknown conditions stay unknown, and the prototype does not invent a suitability ranking or success probability.
  • Evidence-gated answers: BM25 and character TF-IDF search 17 bilingual, analyst-authored evidence cards. Query checks and source-byte verification support a cited extractive answer or a refusal when evidence is insufficient. The cards are summaries, not 17 official standards.

The React/TypeScript dashboard supports Vietnamese and English, climate plots, map context, saved runs and source inspection. FastAPI serves the selected Python engine. ESP32/Web Serial telemetry is optional; an unplugged device is shown as disconnected rather than replaced with purported live readings.

What was evaluated

The repository reports a small analyst-authored set of 16 questions: eight supported and eight unsupported. The selected gate matched the reference evidence for 8/8 supported questions and correctly declined 6/8 unsupported questions. Two unsupported questions still passed. These results do not establish general answer reliability or expert agronomic validation.

The climate diagnostic reused 2018–2025 historical data, with 96 months per task. Recorded rainfall MAE was 62.74 mm/month; empirical interval coverage was 67.71% against a nominal 80% target. The labels had already been exposed during project research, so this is a retrospective diagnostic rather than an untouched test. Complex candidates did not pass the promotion gate; the selected point model remains climatology.

See the validation record for the protocols and failure cases.

Limits and next steps

NASA grid values describe regional conditions, not measurements at an individual farm. The prototype uses one study area, has no geographic holdout and has not established crop suitability, yield gains, profit or water savings. Source hashes check file integrity; they do not establish that a source entails an answer or applies to a particular plot.

Further work needs independent agricultural review, verified local conditions and prospective evaluation. The public dashboard is a research demonstration, not a validated planting recommendation.

Open the live demo · Explore the code and documentation

  • Publications & manuscripts
  • Selected projects
  • Experience & team builds
  • About me
  • Research journey
  • Education & certifications
  • Toolkit
  • Writing
  • Contact
  • Research page/research
  • All writing/blog
  • Research CV (2 pages)↗
  • AI/ML résumé (1 page)↗
  • GitHub↗
  • SpeedyLabX on GitHub↗
  • LinkedIn↗
  • Google Scholar↗
  • ORCID↗
  • Scopus↗
  • Web of Science↗
  • Copy email addressheiontheway@gmail.com
  • Pause motion