The trick that turned seven bags of cocoa into 25
Digital technology is helping to transform the lives - and profits - of farmers. From apps to the blockchain technology behind bitcoin, farmers and smallholders are discovering new ways of doing business.
Take Muhammed Adams, a cocoa farmer from Sefwi Madina in the remote western region of Ghana, who has been growing cocoa in the same way for 25 years.
Over the last couple of years, however, the Olam Farmer Information System (OFIS) run by commodities giant Olam, has helped him more than triple output - and reduce reliance on pesticides.
"Before I received my OFIS farm development plan I was harvesting seven bags of cocoa," Mr Adams says. "But last year I managed 25 bags thanks to the changes I've made."
The Olam technology puts him in direct contact with advisers. When, for example, Mr Adams has an outbreak of disease, he's learning that resorting to chemicals is not the only answer.
"The training I have received has showed me I don't need to spray my cocoa so much with pesticides, saving me a lot of money and helping me grow more cocoa," he says.
"The technology has really helped to bring the world closer to me."
It's a heartening tale, given the World Economic Forum's prediction that food production must rise by 50-100% by 2050 to keep pace with population growth.
But with farming in crisis in many parts of the world, can technology really help the agricultural sector meet this seemingly unfeasible target?
Simon Brayn-Smith, head of cocoa sustainability at Olam, thinks so: "We have really been focusing on digital initiatives over the last 18 months."
The OFIS app collects farm data, and uses algorithms to make personalised recommendations to farmers about how to increase their yields.
Olam apps allow products to be tracked when leaving the farm, and farmers can check cocoa prices and trade online, achieving a better price for their crops.
Says Mr Brayn-Smith: "Olam Traceability is digital-payment enabled, so we can pay farmers direct into their mobile money wallets.
"And Olam Direct, currently being piloted in Indonesia, allows us to offer farmers a much better daily price at which they can sell, say, 50kg of cocoa to us direct."
But there is still a long way to go before smallholders can harness all the perks of the digital economy.
Most Olam apps can be run using text messaging. But "internet coverage is still a challenge in some parts of the world, as is building local infrastructures so farmers can buy supplies digitally," says Mr Brayn-Smith.
For farmers in the developing world, securing a better price is not the only benefit of linking to the digital economy.
Being paid digitally also offers smallholders the opportunity to use banking services such as savings accounts and micro-loans for the first time.
But blockchain could soon prove an even more powerful weapon in the fight against financial exclusion and exploitation, thanks to its ability to provide banks with the verifiable sales and pricing data they need to make informed lending decisions.
In Russia, farmers in Kolionovo, a town near Moscow, are already using blockchain technology.
Under the leadership of local banker-turned farmer Mikhail Shlyapnikov, they have embraced a cryptocurrency called the kolion, which is earned by helping residents with farming or construction work.
Mr Shlyapnikov started issuing paper kolions in 2014 as a means of circumventing the 12% interest charged by the banks he approached for a loan.
When a Russian court banned paper kolions in 2015, he started working on a cryptocurrency version, raising $500,000 in an initial coin offering in April 2017.
Today, there are about $2m (£1.52m) worth of kolions in circulation, backed by a reserve of 500 bitcoins (worth about £2.4m at current prices).
For most farmers, however, the full benefits of blockchain will take time to unlock.
Christian Ferri, chief executive of BlockStar, a blockchain investment adviser, says: "There are endless possibilities, but the technologies required might be beyond the reach of some farmers.
"The good news is that I believe we will see the cost of these technologies decrease as adoption spreads."
Farmers in developing countries are not the only ones struggling to make ends meet.
The US Department of Agriculture predicts net farm incomes will fall 8.3% in 2018. And in the UK, farmers have long-complained about supermarkets squeezing their incomes.
Rowie Meers, who runs Purton House Organics, in Swindon, south west England, says: "Supermarkets are continuously driving prices down, causing many smaller farms to go out of business."
But technological innovations can also help farmers in developed countries to get a better deal.
Ms Meers uses Farmdrop, a food delivery app that uses mobile technology to link farmers directly to consumers. Producers can get 70% of the retail price, about twice the share they get from supermarkets.
More Technology of Business
- How your home could generate, store and sell energy
- Are Instagram stars facing a brand backlash?
- How trying to stay cool could make the world even hotter
- Can we trust AI if we don't know how it works?
- Why do some job adverts put women off applying?
Farmdrop founder Ben Pugh says: "The app sends real-time customer orders to 300 or so producers, who let us know what they have available and in what quantities.
"Daily harvest lists are then sent through by midday, so the producers can get the food to our hubs later that day.
"After quality control and packing, the produce is then delivered to customers' homes the following day."
For Ms Meers, this means not having to market produce, chase payments or face the stress of unreasonable deadlines. It also means higher profits.
"We can concentrate on what we do best, growing and producing fabulous food that is genuinely freshly picked or made within hours of delivery to the end consumer," she says.
But the end-consumer has to be prepared to pay the price for fresh, traceable produce.
Currently only available in Greater London, Bristol and Bath, Farmdrop is estimated to be about 5% more expensive than Ocado and 10% more expensive than Sainsbury's.
However, Mr Pugh, who is planning further expansion, argues that this is the model we must adopt to help farmers.
"It's all about using technology to return our food system to its sustainable origins."
Mr Brayn-Smith agrees. "I think the supply chain will be fully digitised in 10 years," he says.
"But to achieve the uplift in incomes required to ensure cocoa farmers, for example, have a viable future, tech needs to do more than just link them to the global market.
"It needs to help them improve productivity and encourage sustainable practices, too."