DEV Community

Kai Chew
Kai Chew Subscriber

Posted on

kheAI: Reclaiming Health Sovereignty with AI-Powered Urban Bio-Factories

DEV's Worldwide Show and Tell Challenge Submission 🎥

This is a submission for the DEV's Worldwide Show and Tell Challenge Presented by Mux.

What I Built

kheAI dAquaponics

kheAI /CareAI/ is a decentralized "Bio-Factory" system designed to reclaim health sovereignty. It converts underutilized urban spaces into self-sustaining ecosystems that produce high-value medicinal botanicals and clean protein. By integrating Aquaponics, Edge-AI, and the Nostr protocol, kheAI provides a cryptographically signed "Truth Stream" for every gram of medicine, ensuring consumers never have to guess about the purity of their natural remedies.

My Mux Pitch Video

GitHub Repository

MooptOS

What I built

An open Internet-of-Things (IoT) platform, consists of modular software and hardware, for decentralized urban farming.

Category Submission

  1. Interesting IoT: Manage and monitor IoT devices, including tasks like managing configurations, updating firmware, and collecting and analyzing data.
  2. DIY Deployments: An automation workflows for application deployment, i.e. setup environment, testing and running at localhost:3000 (nodejs, meteorjs, blazejs, PWA ready, ... etc), using Github Codespaces.
  3. Phone Friendly: The deployment is automatically and immediatelly ready for Progressive Web App (PWA), that are also available as mobile applications that work on both iOS and Android devices.

App Link

https://os.moopt.com

Screenshots

Step-by-step to Click & Launch a Real-time Water Temperature Monitoring system based on Arduino & MeteorJS at Github Codespaces

Description

  1. Go to moopt-codespace-action repo
  2. Click to launch a Codespace
  3. Wait for codespace setting up
  4. Ready for fun!

Link to Source Code

moopt-codespace-action repo

Permissive License

MooptOS is distributed under the MIT License — you can find the license here.

Background

Once upon a time, basil and fish came from…

Technical SOPs:

Step-by-step to Click & Launch a Real-time Water Temperature Monitoring system based on Arduino & MeteorJS at Github Codespaces

Step 1: Go to moopt-codespace-action repo

go to moopt-codespace-action repo

Step 2: Click to launch a Codespace

Click to launch a Codespace

Step 3: Wait

launching Codespace 1

launching Codespace 2

Meteorjs environment auto setup 1

Step 4: Awesome!

MooptOS App

Github Codespace status

Github Actions Test

Github Actions test running

The Story Behind It

This project is a rigorous evolution of my previous work on decentralized urban farming (MooptOS). While my earlier work built the basic IoT infrastructure, kheAI addresses a specific crisis: 4.2 million Malaysians suffer from stress and insomnia, yet 90% of medicinal herbs are imported, carrying high risks of heavy metal contamination and adulteration.

I built kheAI to replace the "Black Box" of industrial herbal supply chains with "Biological Truth". By moving production to decentralized urban units, we turn buildings from resource sinks into regenerative infrastructures.

Technical Highlights

1. The Triple-Tech Stack

  • Biology (DFT Aquaponics): We use Deep Flow Technique grow beds where Tilapia provide the nitrogen source. We supplement with Chelated Iron (DTPA) and Potassium Silicate to ensure optimal flowering for our pilot crop, Blue Skullcap.
  • Intelligence (Edge-AI): Local compute nodes (Arduino/Jetson Nano) run models to optimize light spectra for targeted flavonoid synthesis (Baicalin/Lateriflorin) and predict the perfect harvest time based on 10% anthesis detection.
  • Trust (Nostr): Every batch is backed by a signed Nostr Event Schema. Scanning a bottle’s QR code allows users to query a relay for real-time sensor snapshots (pH, EC, DO, PAR) and lab-verified heavy metal panels.

2. Mux Implementation: Visual Auditing

The core differentiator for this project is the "Visual Proof of Purity" enabled by Mux: Programmatic Assembly with Bruno: I used the Mux Video API via Bruno to assemble the pitch. This demonstrates how production-grade video infrastructure can be composed programmatically rather than through manual editing.

3. Future / Potential Use of Mux

My project utilizes Mux to provide the ultimate "Visual Audit" for the bio-factory:

  • Asset Compositing: I stitched together AI-triggered events into a final composite asset with Smart Chapters for easy technical auditing.
  • Analytics-Driven Iteration: I used Mux Analytics to identify drop-off points in my technical explanation, allowing me to tighten the first 5 seconds to focus immediately on the medical problem and technical solution.
  • Real-time Observability: I use Mux to host a low-latency live stream of the balcony modules, allowing users to watch their medicine grow.
  • Visual Proof of Harvest: Every harvest event is recorded and processed via Mux, with the video hash linked to the Nostr event. This ensures that the physical product in the bottle can be visually traced back to a specific growth cycle and batch.
  • AI Overlays: By integrating Mux with my Edge-AI, I overlay real-time biological metrics (like Dissolved Oxygen and PAR levels) directly onto the video feed.

More Demos & Behind-scene Media

MooptOS

MooptOS Dashboard Drag & Drop UI

Arduino with DFRobot IO Expansion Shield and Sensors

DS18B20 Temperature Sensor

Testing with Arduino IDE

JohnyFive

mongo method

Webix UI

MooptOS Dashboard Drag & Drop UI

Conclusion

kheAI / CareAI demonstrates how video, biology, and cryptographic traceability can work together to rebuild trust in small-scale, decentralized production systems. Rather than treating video as a marketing artifact, this project uses Mux-powered video as verifiable evidence, tightly linked to sensor data and signed trace events.

This submission focuses on a single, reproducible prototype: one growth cycle, one node, and one auditable pipeline from cultivation to harvest. While many components are experimental, the core idea is concrete and testable — that visual proof, when programmatically assembled, hashed, and signed, can become part of a trustworthy data supply chain.

Mux makes this possible by enabling programmatic video composition, analytics-driven iteration, and a foundation for real-time observability. Together, these tools turn video into an inspectable, replayable audit layer rather than a static clip.

kheAI is an early step toward transparent, community-scale bio-production — where anyone can verify not just what they consume, but how it was grown.

Top comments (0)