Mark Johnes

What can we learn about automation from the coffee industry?

In the early 2000s high quality coffee was rare. Most coffee shops sold cheap bland coffee. The few good coffee shops had staff who were experts at the coffee craft.

In the early 2000s high quality coffee was rare. Most coffee shops sold cheap bland coffee. The few good coffee shops had staff who were experts at the coffee craft.

Three engineers experimented with creating a fully automated machine that any coffee cafe could use with little expertise in the craft.

The fully automated machine made a really high quality cup of coffee but it was inconsistent and unreliable. The process was riddled with product failures as different parts of the automation process would break down.

During a user testing session they unlocked an insight that would change the trajectory of their product development. At this time barrista’s making quality coffee was such a novelty, people enjoyed the theatrics and artistry of a barista taking part in the process. So they went semi-automatic.

Rather than spend more development time trying to fix the issues preventing full automation, they automated the stages that were simple to automate and got the human to do the more difficult tasks that required a level of dexterity and precision like cleaning and stirring.

Imagine they went full automatic in 2004, I dread to think of the amount of times customers would have turned up to a store only to hear, "The machine is not working, an engineer has been called out."🍦

The semi automated product was much more reliable and consistent. It was adopted by coffee shops and went on to revolutionise the craft coffee industry. The industry eventually solved the full automation problem with machines leaving the barista to focus on creating different recipes for the machine and at home tools that don’t require machinery at all like a V60 or Aeropress but they did not get there in the first step.

When we talk of Ai we think of fully automated processes and the risks that come with it and bury our heads. We read the headlines of companies fully handing off their customer service to an agent and we shudder.

While experimenting with my own design system I noticed that the ai would not follow design directions from the design system, so I built a design system harness to stop code being shipped that doesn't meet certain rules set out in the design system. This means you are making design decisions, not ai.

Another example, I have a B2B tool that allows a mechanic to check the Ai's analysis and make corrections before sending reports to customers. This prevents hallucinations with a real human expert in the loop. This has saved me 100s of hours perfecting prompts.

This approach to working with Ai is called Human-in-the-loop (HITL) . You will need to decide what is the best use of your user's time. Automate the areas that the ai can reliably handle while keeping the human in charge of the sensitive tasks. In some cases the value is not productivity but culture preservation, that's a call your team will have to make.

HITL makes it possible to leverage the power with Ai while you remain as a decision maker.

All writing