Opalina Technologies
All work
Case 19
Agri · Food Export

Thirty Million Kilos of Apples, Ranked by Time Left

For a Chilean fruit exporter: an AI inventory brain that predicts each lot's remaining shelf life and tells the plant which fruit to process first — before value quietly rots in storage.

ML Forecasting
A fruit exporter, Chile
Thirty Million Kilos of Apples, Ranked by Time Left

The problem

A fruit exporter's inventory is dying from the moment it arrives. Our client handles on the order of thirty million kilograms of apples a year from 150-plus growers, and every lot in cold storage is a countdown: process it in time and it becomes export product; wait too long and it becomes juice, or loss. Today that triage runs on experience and rules of thumb — and rules of thumb, at thirty million kilos, are expensive.

The solution

Our design replaces the thumb with a model. Machine-learning models — gradient-boosted, trained on the company's own history in its ERP — predict remaining shelf life per lot from variety, grower, harvest data, and storage conditions, and score supplier quality while they're at it.

A prioritisation engine turns predictions into the daily processing queue: which lots first, which can wait, which need quality inspection now. Alerts flag lots drifting toward the edge, and compliance checks match fruit against destination-market requirements before it is committed.

The design is deliberately modest to run — microservices beside the existing ERP, sub-second predictions, no rip-and-replace — and costed in the low tens of thousands of dollars, pocket change against a single season's spoilage at this scale.

Built for enterprise

ML ensemble shelf-life prediction
5-fold cross-validated model training
sub-second inference
MLOps retraining pipeline
supplier quality scoring across 150+ growers
ERP integration without rip-and-replace
destination-market compliance checks
containerised microservices
Every crate of apples is a ticking clock. The machine reads each clock and tells the plant which crates to use today — so good fruit stops becoming juice by accident.
In plain language

This story is relevant to

Fruit and vegetable exporters, cold-chain operators, food processors, and anyone whose inventory has a heartbeat.

Facing something like this?

The architecture, phasing, and commercials are already prepared. Most engagements begin with a proof-of-concept measured in weeks.

Book a call