Skip to main content
NG AIPlatform

Platform

A unified architecture for agricultural data

Five layers, 23 services, one shared data and event layer. Data from the assistant, sensors, drones and cameras converges automatically into a single season record.

System architecture

Every module goes through one API gateway and shares one data layer

  1. Layer 1

    Users & channels

    • Farmer app
    • Co-op & enterprise web
    • Expert console
    • QR trace portal
    • Partner API
  2. Layer 2

    API gateway & identity

    • Authentication
    • Multi-tenant authorization
    • Rate limiting
    • Audit logs
  3. Layer 3

    Business & AI services

    • Core platform
    • AI layer
    • IoT & drones
    • Traceability
    • Business
  4. Layer 4

    Shared data & events

    • Kafka
    • PostgreSQL · PostGIS · pgvector
    • Time series
    • S3 object storage
    • Data lake
  5. Layer 5

    Edge & on-farm devices

    • LoRaWAN sensors
    • Edge gateway
    • Pumps, valves
    • Cameras
    • Drones

Service catalog

23 services in 6 domains

Each service owns its data and talks over APIs and the shared event stream, so it can be built and sold independently.

A

Core platform

5
  • A1Identity & tenantsPhase 1
  • A2Farm & plot registryPhase 1
  • A3Crop season & logPhase 1
  • A4Event bus & data platformPhase 1–2
  • A5NotificationsPhase 1
B

Artificial intelligence

7
  • B1AI Agent (NG Assistant)Phase 1
  • B2Vision diagnosisPhase 1
  • B3Vietnamese speechPhase 2
  • B4Knowledge & RAGPhase 1
  • B5Agro-advisory & treatmentPhase 1–2
  • B6Crop planning & forecastPhase 2
  • B7Weather & geoPhase 1
C

IoT & automation

5
  • C1IoT hub & device managementPhase 2
  • C2Automation & irrigation rulesPhase 2
  • C3Drone missionsPhase 3
  • C4Camera & video AIPhase 2–3
  • C5Outbreak alerts & zoningPhase 2–3
D

Traceability & compliance

3
  • D1EPCIS traceabilityPhase 1
  • D2Public trace portalPhase 1
  • D3Compliance & certificationPhase 3–4
E

Business

2
  • E1Billing & subscriptionsPhase 2
  • E2Marketplace & partner APIPhase 4
F

User applications

1
  • F1Farmer app, admin web, trace portalPhase 1–4

AI layer

A controlled AI agent, not a Q&A bot

A controlled AI agent, not a Q&A bot

MLOps loop: every expert correction or farmer-confirmed outcome becomes new labeled data; models are evaluated per crop before release and can be rolled back.

  • Orchestrating language model

    Leading LLMs via an LLM gateway with failover

    Open models can be fine-tuned later to cut cost

  • Image diagnosis

    YOLO / RT-DETR with EfficientNet, ViT

    Fine-tuned on expert-labeled field data

  • Speech

    Whisper fine-tuned for Vietnamese, natural TTS

    Essential for older farmers

  • Forecasting

    Gradient boosting, LSTM, Transformer

    Per-plot outbreak risk, harvest timing

  • Drone & satellite imagery

    Segmentation, NDVI, NDRE

    Spots stressed plants before the eye can

IoT, drones & cameras

Edge first, cloud second

Sensors & auto irrigation

  • Long-range LoRaWAN, long battery life, solar
  • Edge gateway runs irrigation rules offline
  • MQTT over TLS, per-device certificates
  • Signed over-the-air firmware updates

Drone disease monitoring

  • Multispectral and RGB cameras
  • Orthomosaic stitching, NDVI
  • AI maps disease hotspots to the app
  • Complies with Vietnam's Decree 288/2025 on flights

Smart cameras

  • Security AI: intrusion, strangers, smoke and fire
  • Periodic shots as growth evidence
  • Transparent livestream for buyers
  • Automatic face blurring for workers

Technology

Open source, no vendor lock-in

Web
Next.js, TypeScript, MapLibre
Mobile
Flutter, offline local database
Backend
Node.js (NestJS), Python FastAPI for AI
Messaging
REST, GraphQL, gRPC, Kafka, MQTT
Data
PostgreSQL, PostGIS, pgvector, TimescaleDB, S3
Infrastructure
AWS Singapore, Kubernetes (EKS), Terraform, Argo CD
Observability
OpenTelemetry, Prometheus, Grafana, Sentry
Security
WAF, KMS, Secrets Manager, CI vulnerability scanning

Ready to put real data behind every shipment?

We're looking for co-ops and exporters to join our pilot program for durian, coffee and fresh produce.