The staircase down to the cellar of Osteria Brina is steep, cool and lit by a single row of brass lamps set into the brick. At the bottom, a corridor stretches away beneath the street for almost forty metres, lined on both sides with timber racks holding some twelve thousand bottles. It looks, at first glance, exactly as a great Italian wine cellar should look. Then you notice the small white sensors, no larger than a matchbox, fixed to every third shelf.

Giulia Ferrandi, the restaurant's head sommelier, installed the system three years ago after a hot summer caused one section of the cellar to drift two degrees above its ideal temperature for several days. Nobody noticed until a guest sent back a bottle of old Barolo. The loss, she says, was not only financial. Some of those wines had been laid down by the restaurant's founder decades earlier and could never be replaced.

The sensors, made by a small Turin startup called Sotterra, monitor temperature, humidity, light and vibration continuously, reporting to a dashboard Ferrandi checks on her phone each morning. More interestingly, the system keeps a detailed record of every bottle's life in the cellar, from the day it arrived to the conditions it has endured. Over time, that record has become the foundation for something rather more ambitious than an alarm.

Predicting the perfect moment

Working with Sotterra's engineers, Ferrandi has trained a model on her own tasting notes, thousands of them, written over fifteen years. Combined with the cellar data and the known character of each vintage, the model estimates when a given wine is likely to reach its peak. It does not taste anything, she is quick to point out. It simply remembers far more than she can, and notices patterns across decades that no single palate could hold in mind.

The machine does not tell me what to pour. It reminds me of what I already knew and had forgotten. — Giulia Ferrandi

In practice, the system produces a short weekly list of bottles that may be approaching their best. Ferrandi opens a handful, tastes, and decides whether to offer them to regular guests who trust her judgment. The rest of the time, she says, the technology is invisible. Diners in the room upstairs see no screens, no tablets, and certainly no algorithmic recommendations. The theatre of the sommelier remains entirely intact.

Some colleagues in the trade are sceptical, and a few are openly hostile. Wine, they argue, is a matter of memory, instinct and conversation, precisely the qualities that cannot be reduced to data. Ferrandi does not entirely disagree. But she points out that the great cellar masters of the past kept meticulous ledgers too, and that her notebooks have simply grown too heavy to carry. The model, in her view, is a diligent assistant with an excellent memory.

Before I left, she pulled a bottle from a rack near the far end of the corridor, a Nebbiolo from a small grower in the Roero that the model had flagged the week before. We tasted it standing beneath the lamps. It was remarkable, all dried roses and tar and a long, savoury finish. Ferrandi smiled, made a note in her small leather book, and then, a little sheepishly, typed the same note into her phone.