
Researchers who bought maize at the farm gate in western Uganda sent the bags to a lab and found that, on average, 26 percent of the weight was defects, and 70.6 percent of samples fell below every grade in the East African standard. AI grading tools promise to make that quality visible in seconds. Randomized evidence from the region says visibility is the smaller half of the job. Farmers upgraded, and maize profits rose 40 to 80 percent, where a buyer posted a premium for graded maize, held its agents to it, and paired it with training.
Key Takeaways
- In a study of 600 maize farmers in Kakumiro and Kibaale between 2017 and 2020, local traders paid the same price for better maize.
- Quick farm-gate checks, by eye and with a moisture meter, strongly predicted lab quality. The bottleneck was a buyer willing to pay.
- When a Ugandan trading company offered roughly 15 percent over village prices for graded maize, banned bargaining and weight deductions, and told farmers why each rejected bag failed, 89 percent of bags in treatment villages graded, against 30 percent in the quasi-control group.
- The grading vendors reviewed here publish speed more readily than independent field accuracy. One coffee vendor’s page states both 99 and 100 percent accuracy.
- The Grade Receipt names four parts of a trust premium: a published standard, a price posted before inspection, a reason for every rejection, and a record the seller keeps. Software makes the last two cheap. Only the owner can supply the price.
- A camera sees kernels, color and breakage. Aflatoxin needs a chemical test, and moisture control at the gate is the first defense.
What the Kakumiro maize experiments found
Tessa Bold, Selene Ghisolfi, Frances Nsonzi and Jakob Svensson ran four linked experiments with maize farmers in Kakumiro and Kibaale districts and published the results in the American Economic Review in 2022. The average bag inspected at the farm gate carried 2.5 visible defects out of 10 possible, 29 percent of households sold maize wetter than 13 percent moisture, and the share of lab samples meeting grade 1 was zero.
The second experiment gave a randomly chosen group of farmers a free post-harvest package that raised the quality of what they sold. The authors write that “traders pay the same price for high and low quality maize,” and the estimate is tight: somewhere between a 2.3 percent price cut and a 3.1 percent rise.
The third experiment changed the buyer. A vertically integrated Ugandan agro trading company sent agents into randomly chosen villages to buy at the farm gate. Agents inspected each bag by eye, weighed it, and measured moisture with a handheld meter. They paid a predetermined price, with bargaining and deductions forbidden, and rejected bags carrying waste, defective grain or excess moisture. “The households were informed why a maize bag had been rejected.” The research team set the premium at roughly 15 percent over village prices, and the company milled the grain into flour for Kampala customers willing to pay more.
In the paper’s quality comparison, 89 percent of bags in treatment villages met an East African grade, against 30 percent in the quasi-control group. Maize profits rose 40 to 80 percent. Prices that local traders paid in treatment villages rose 6.2 percent against control villages, so even farmers who kept selling ordinary maize gained from a quality buyer’s presence.
The company lost money in season one, because farmers were slow to trust a new buyer and the company had to build a customer base for quality flour. It broke even from season two. Its main customers were private boarding schools in Kampala, and when Covid-19 closed them, demand for its flour collapsed. A trust premium, in this account, is a buying operation with a cash cost in the first season and a named customer at the far end.
The strongest case against buying a grader
The hostile witness is the same paper, whose abstract puts it bluntly: “We find that the causal return to quality is zero.” Quality at the farm gate was already partly observable, since quick visual checks strongly predicted lab results. Traders could see the difference and chose to pay one price. An aggregator who installs an AI grader in a market of one-price buyers has purchased a more precise description of maize that earns the same shilling per kilo.
We concede it in full. Where every buyer pays one price, a grading tool is a cost line with zero revenue behind it. The Bold team also tested training on its own, and extension alone left farmers’ practices and outcomes unchanged. Information, whether it arrives from an extension officer or a phone camera, moved outcomes only once someone paid for quality.
Two details cut the other way. A VoxDev review of the literature notes that an earlier study found a significant farm-gate price penalty for very low quality maize, so the market punishes the worst bags even where it fails to reward the best. And the Kakumiro sales data held a quieter problem. Weight discrepancies averaged 3.7 percent per sale, and in one sale in four the buyer took more than 5 percent. The authors attribute 2.9 points of the 3.7 to stated deductions and up to 0.8 points to possible cheating with rigged scales. That is where a farmer’s distrust lives: in the buyer’s discretion at the scale, sale by sale. A grading record that the farmer can see and keep speaks to that distrust directly.
What the grading tools claim, and what they report
Most of the commercial offer is built outside East Africa.
In Canada, Protein Industries Canada announced a partnership with Grain Discovery, Inarix and Sevita International for a phone tool that returns an AI quality assessment of a soybean sample “in less than 20 seconds,” with $1.3 million invested. The announcement says the tool builds on Canada’s existing grading framework, adding speed to a standard that already exists.
In India, ICAR and the Indian Agricultural Research Institute awarded Grain Analyser 25 lakh rupees to bring phone-based grain grading to 20 farmer producer organizations. Its chief executive, Amanpreet Singh, said “AI assessment will level the playing field, ensuring fair pricing and making it challenging for buyers to exploit sellers.” That is a vendor’s claim about a pilot. A case note on India’s NITI Frontier Tech site describes the problem those vendors sell into: hand inspection still sets grades and prices, and the subjectivity breeds disputes and rejected shipments. One of them, Agrograde, offers its sorting machines pay-per-use, the pricing an East African aggregator should ask for first.
In coffee, Agrivero sells a device that grades a green coffee sample of up to 500 grams in about four minutes. Its homepage describes the accuracy as 100 percent in one line and 99 percent in another. Ask any vendor which figure applies, measured against whose graders, on whose beans.
The closest East African case is a cherry-ripeness app built by DataKind San Francisco, TechnoServe and Carnegie Mellon University Africa students for coffee cooperatives, with Ethiopia as its worked example. Its stated problem is the right one: farmers “are paid a fixed amount per kilogram, with at best subjective measures of quality.” The team shrank the model from 217MB to 8MB so it would run on ordinary Android phones. The post reports neither a field accuracy figure nor a price outcome. That is thin evidence, and we would rather say so than borrow the confidence of the press release. Every figure in this essay comes from the named external sources below rather than from AVODA’s own data.
The Grade Receipt: four parts of a trust premium
The Kakumiro company earned trust with a moisture meter, a scale and a set of rules. We call the framework the Grade Receipt: every bag bought produces a receipt with four parts.
- A published standard. The farmer can read the grade thresholds before harvest. For maize, the East African standard exists; print it in the local language where sellers wait.
- A price posted before the bag opens. A shilling figure per grade, fixed for the week. The Kakumiro agents bought at a predetermined price and lost the right to haggle. This part costs the owner real money in a slow first season, and only the owner can commit it.
- A reason for every rejection. Spoken at the gate and written on the receipt: wet, broken grain, foreign matter.
- A record the seller keeps. Weight, moisture, grade, price, time, and ideally a photo of the sample, on paper or by SMS.
Software is strongest on parts three and four. A phone model that photographs a sample, scores it and stamps the time produces a reason and a record for every bag at almost no marginal cost, and it narrows the buyer’s discretion at the scale, where the 0.8 points went. Part two stays with the owner. So price an AI grader per receipt, against what paper receipts cost today, using our checklist of questions a CFO should ask an AI vendor.
An illustrative case, invented for this essay: a Kakumiro aggregator with four field agents sells to two Kampala schools. Her first week of Grade Receipts runs on a moisture meter, a printed grade card and a receipt book. If her agents fall behind on photos and reasons by week three, or the schools start asking for lot-level evidence, a grading app has found a job. If both stay quiet, she has saved the subscription and still built the premium.
Where the camera is blind, and who carries the premium downstream
Image models read surfaces. Aflatoxin, the carcinogen produced by molds on badly dried maize, sits inside the grain. An AEA registry entry for a Kenyan trial starts from that fact: “Because aflatoxin is unobservable and regulatory standards are imperfectly enforced,” even well-informed shoppers are left guessing about the flour on the shelf. The same entry cites a study in which 65 percent of maize samples from 20 major millers failed the national standard, and 2013 data in which 26 percent of maize flour samples exceeded it. Bold and colleagues, citing earlier work, note that contamination can rise ten-fold in a few days when grain is poorly dried. The practical aflatoxin control at the gate is the moisture meter, with a lab or test kit behind it for lots sold on a safety claim.
Downstream, trust marks travel badly on their own. Hoffmann and colleagues worked with a Kenyan miller whose Tupike flour carried a label certifying third-party verified aflatoxin testing. When consumers at control shops were shown four logos and asked which meant the flour was tested, they picked the right one about a quarter of the time, the rate expected from random choice. Across 73 shops, the marketing campaigns left that recognition flat. The Kakumiro company carried its premium through a named relationship with schools that bought repeatedly and could see what they received. For an SME, the buyer relationship is the label.
A just weight before it pays
The economics frames the trust premium as reputation built over repeated seasons, and that framing is correct as far as it goes: the company lost money in season one and broke even from season two, as its purchases, flour sales and premium grew with every season. The same reputation logic also explains the trader with the rigged scale, who collects his 0.8 points today and lets someone else carry the reputation cost later. It gives an owner a reason to keep the rule exactly as long as the payoff keeps arriving, and the first season is precisely when it has yet to arrive. Scripture treats the scale differently. Proverbs 11:1 calls a false balance an abomination to the Lord and a just weight his delight, and Leviticus 19 commands just balances in the same chapter that commands love of neighbor. An owner who keeps a posted price because the scale belongs to God holds it through the losing season, which is the window every reputation model needs someone to survive. Integrity at the weighbridge is stewardship first, and the premium is what grows on it.
Frequently Asked Questions
Does AI produce grading raise prices for farmers?
Grading alone left prices flat in the Uganda maize trials: local traders paid the same price for better maize. Profits rose where a buyer posted a premium for graded maize, banned bargaining and deductions, and explained rejections. AI grading can make those rules cheaper to run, and the buyer still has to fund the premium.
Can a phone camera detect aflatoxin?
A camera can flag moldy, broken or discolored kernels, which correlate with risk, but aflatoxin itself is invisible and needs a chemical test. In Kenya, studies cited in an AEA trial registration found large shares of maize and flour above the national limit. Measure moisture at purchase and lab-test lots sold on safety claims.
What is a trust premium in agricultural trade?
It is the extra price a buyer pays, and a seller receives, because both believe the grade. In western Uganda the premium for graded maize was set near 15 percent over village prices. It held because the buying company kept fixed rules at every farm-gate purchase, season after season, and sold to schools that came back.
Should a small aggregator buy an AI grading tool now?
Run one week of paper Grade Receipts first: a published standard, a posted price per grade, a reason for each rejection, and a record for the seller. If agents struggle to keep up or buyers demand lot-level evidence, price a tool per receipt. Prefer pay-per-use or leasing to an upfront purchase.
How accurate are AI grading tools?
The vendor pages reviewed here publish high figures without independent field tests in East African conditions. One coffee grading vendor states both 99 and 100 percent accuracy on the same page. Ask what the tool was compared with, on which crop and variety, by whom, and how disputes are settled when a farmer disagrees.
Next Step
Before you price a grading app, find out whether your buying operation can post a price per grade and keep it through a slow first season. Take the AVODA Business Capability Assessment this week. It maps where your cash, your agents and your customer relationships stand, and it can save you a grading subscription bought in January for a premium your cash flow is still unable to fund.
Related Reading
- Ten Questions a CFO Should Ask an AI Vendor Before Signing
- AI for Agro-Dealers: Last-Mile Farm Advice in East Africa
- Why Your AI Pilot Died in Week Six
- Inside Uganda’s Coffee Export Boom
Sources and Evidence
- Market Access and Quality Upgrading: Evidence from Four Field Experiments, working paper version (Bold, Ghisolfi, Nsonzi and Svensson, August 2021): farm-gate and lab quality measures, the zero price response, the buying-company rules, the 15 percent premium, the 89 versus 30 percent graded share, the 40 to 80 percent profit rise, weight deductions, and the company’s break-even and customer base.
- EconPapers record: Market Access and Quality Upgrading, American Economic Review 112(8), 2022: the published abstract and the hostile-witness quote on the causal return to quality.
- J-PAL evaluation summary: The Impact of Quality Upgrading and Market Access on Farmers’ Productivity and Profits in Uganda: location, sample of 600 farmers, 2017 to 2020 timeline.
- VoxDevLit: The why: Reasons for Africa’s technological stagnation in agriculture: the earlier finding of a farm-gate penalty for very low quality maize.
- DataKind: Unveiling the Harvest’s Potential: AI Empowers Coffee Farmers, Improves Coffee Quality: the Ethiopian cherry-ripeness app, fixed per-kilogram pay, model size reduction.
- Agrivero.ai homepage: green coffee grading device, 500-gram sample, four-minute grading, the 99 and 100 percent accuracy statements.
- CKOM: New smartphone-based AI tool will strengthen grain quality data: the Canadian partnership, under-20-second assessment, $1.3 million investment, existing grading framework.
- AgReads: Indian Agriculture Embraces AI for Grain Quality Analysis: the ICAR/IARI award to Grain Analyser, 20 FPOs, Amanpreet Singh quote.
- NITI Frontier Tech: From Guesswork to Guarantees: AI-Driven Quality Control in Indian Agriculture: subjective hand inspection and disputes in Indian markets; Agrograde pay-per-use model.
- AEA RCT Registry: Demand for Aflatoxin-Tested Maize Flour in Kenya: aflatoxin unobservability, 65 percent and 26 percent failure figures.
- Hoffmann, Demand for Aflatoxin-Safe Maize in Kenya: Dynamic Response to Price and Advertising, American Journal of Agricultural Economics: Tupike flour, the verified-testing label, logo recognition at random-choice rates.
- CGSpace working paper: Demand for Aflatoxin-Safe Maize in Kenya: the 73-shop design.
