The case for digital smart platform for agricultural value chains in Africa

1. Introduction

Digital innovations can transform rural Africa as well as the agricultural sector while tackling other emerging challenges in Africa, from unemployment, especially the youth groups, food insecurity, and the need for further economic growth. In recent decades, Africa achieved some progress in addressing critical challenges to the sustained agricultural revolution, economic prosperity, and improved livelihoods. Nonetheless, the collective pressures of demographic changes, urbanisation, shifting diets, climate change, and protracted crises require a new set of innovative solutions. The growing use of digital technologies, tools, and services is extensively visible, including in the agricultural sector, and will play a vital role for African countries in meeting their targets on reducing poverty, and improving nutrition, and food security (IFPRI, 2020).

New digital technologies and services are already having a considerable impact on how food is being produced, processed, marketed, traded, and consumed across the continent. How African countries position themselves to harness and deploy digital technologies will determine the speed and nature of agricultural and economy-wide transformation in Africa. As pointed out by Kosec and Wantchekon (2020), any agriculture digitalisation strategy needs to be designed to fit local environments and meet the needs of all value chain actors, while creating new opportunities for Africa’s youth and women. The benefits of digitalisation are evident across much of the agricultural value chain, from providing access to information and other services, including finance, all the way to improving links to markets. Technologies involved include Blockchain, Big Data Analytics, mobile data access, and the Internet of Things, as well as more low-tech, frugal innovations. Apps such as FarmCrowdy and FarmDrive in Kenya use Big Data to build credit scores for farmers and have since helped thousands gain access to loans. Tools such as Nigerian firm Zenvus’ SmartFarm sensor and Ghana’s Ignitia’s weather forecast model provide farmers with soil and weather data, building their resilience to raise productivity and navigate shocks. Meanwhile, Hello Tractor technologies in Nigeria and Kenya and TROTRO Tractor apps in Ghana help farmers identify nearby tractors available for rent (Kosec and Wantchekon, 2020).

There are a set of conditions to be met to foster the development of digital platforms for agricultural development in Africa. Such an enabling environment must include (i) regulation for the use of digital technologies; (ii) fiscal incentives to encourage end-user adoption in which the private sector can leverage its innovation capacities; (iii) an emphasis on skills development to improve digital literacy; (iv) research and development; (v) reliable infrastructure to connect those in the most remote rural areas to ICT services; (vi) the creation of information and innovation hubs that stimulate the generation of new ideas and solutions for the use of ICT along the food value chain; and (vii) South-South cooperation (IFPRI, 2020).

Unlike previous years, the advent of multiple new vital technologies enable the ability to develop digital smart farms and distribution systems, and promise a significant change in transforming agriculture and food systems in food depleted countries, to create genuinely sustainable food ecosystems that meet the 2030 Sustainable Development Goals (Maru et al., 2018). A Digital Smart Agriculture Platform (DSAP) can be employed in cost-effective phased approaches where utilising currently available infrastructure can be leveraged for everyone in the value chain; farmers, processors, distributors, retailers, and government to work together to optimise the food supply ecosystem. Such an ecosystem can provide the ability to monitor, manage, respond, and report vital, actionable data essential to optimising crucial decisions.

Recent vital new technologies that can make a significant impact on the development of a digital smart agriculture ecosystem are:

    • Cloud technology – The availability of technology services and serverless architectures enable rapid software application development at the lowest possible development and operational cost. In addition, these technologies enable rapid and automated expansion of computing power to meet the growth of an unlimited amount of data without any changes to the software application.
    • Mobile Data Capture – Since mobile communication infrastructure is now ubiquitous and widely accepted,mobile applications can be tailored to gather, transfer, and provide analysis results to all participants in the agriculture value chain. Should there be a need to gather additional information, these mobile applications can be customised and redistributed in hours to recipients.
    • New database types – There are new database architectures most recently available, explicitly designed for linking multiple entities in their relationships in a more efficient manner to enable a view of the entire ecosystem in a single “view.” Now than ever before, these database archetypes are ideal for gathering, tracking, analysing, and reporting billions of data points and millions of connected parties without a significant impact on user experience.
    • Artificial intelligence platforms – While artificial intelligence has been in existence for over 30 years, it required custom code to ensure high performance for significant data consumption and relevant outcome. Today’s cloud computing enables the rapid development of artificial intelligence analytics without significant custom code development for rapid and low-cost development costs.
    • API Integration – Application Program Interface (API) is how application programs ingest or distribute data between each other. In previous generations, each API had to be custom developed for each application, creating high barriers to develop an integrated system. New technologies exist which enable this to be performed rapidly or not at all, so that is convenient for multiple different manufacturing and distribution systems to contribute to a centralised agriculture database system.

These elements are crucial to the development of a base architecture for a Digital Smart Agriculture Platform. This base platform would easily be expandable to incorporate other new farming technologies when it makes economic sense to do so. These new technologies would include but not limited to:

    • IoT Smart Farming – Internet of Things (IoT) is a system built for monitoring the crop field with the help of sensors (light, humidity, temperature, soil moisture, etc.) as input to a decision model generating an optimisation schedule for the automated irrigation system. The farmers can monitor the field conditions from a mobile device or internet-connected computer system anywhere in real-time and address issues as they occur to prevent future problems which drastically impact yield or quality. Highly sophisticated IoT- based Smart Farming can provide alerts and recommendations via analytics and is significantly more efficient when compared to current manual farming practices.
    • Agriculture Drones – Today, agriculture is one of the major industries to incorporate drones. Drones provide an easy path to a top-down topological view without significant effort or start-up efforts. Use cases for drones include crop health assessment, disease analysis, moisture analysis, irrigation planning, crop monitoring, crop spraying, planting, and soil and field analysis. Drone services are readily available, enabling non-technical farmers a variety of options for analysis, including crop health imaging, and integrated GIS mapping, that can increase yields.
    • Livestock tracking and monitoring – Large farm owners can utilise wireless IoT applications to collect data on the location, well-being, and health of their cattle. The latest innovations in livestock monitoring enable location and temperature monitoring without the need for a cellular network powered by solar technology, This reduces both acquisition and operational cost tremendously, extending the life of a tracking device to years so adoption can be accelerated. With this new technology, sick animals can be identified in real- time, and separated from the herd, thereby preventing the spread of the disease
    • Greenhouse farming – is a methodology using sheltered structures that enhance the yield of vegetables, fruits, and crops, by reducing risks from weather and pest issues. Greenhouses control the environmental parameters through manual or automated processes to provide favourable growth conditions. In addition to protection against extreme weather conditions, greenhouse farming can extend or change growing seasons, enabling the ability to create alternate harvesting seasons, and providing food sourcing across the year. A smart greenhouse can be combined with the help of IoT smart farming, eliminating the need for manual intervention.

To meet the high standards of tracking from source to the consumer, a new technology designed specifically for recording, defining, searching, and visualising each contributing agricultural entity in the value chain is required. Such a system must:

    • Focus. The application is designed on the specific needs of the more simplistic approach of DRC farmers. Provide tools tailored for them to perform planning. What to produce, when to produce, where to produce, for whom to produce. These needs both imported data from outside the farm (e.g., weather data, market data, crop, and animal growth models) as well as localised data from the farm (e.g., soil).
    • Comprehensive. Be comprehensive, but yet a simple, intuitive user interface that will encourage high adoption rates.
    • Continual monitoring and assessment. This would provide farmers to track growth versus expected outcomes and determine the next steps for any unexpected results.
    • Pro-active government oversight. Data from the farm can be combined with other locally similar farmers to determine an aggregated analysis of the overall farming progress to goals for the government, to enable intervention when required significantly in advance before it is too late to change course.
    • Automation. Samples of automation include leveraging sensor data; switching on water pumps to irrigate fields when soil humidity falls below a target amount; opening or closing windows in glasshouses; or auto feeding animals at different times of the day can be performed rather than following a rigid schedule due to lack of actual data.
    • Forecasting. By leveraging analytics built into the platform, a forecast can be generated for yield, revenue, and profit. This requires a combination of localised and imported data as well as prediction models: the more data the farmer (or the farmer’s adviser) has, the more accurate the forecast is.
    • Extensible and Expandable. Be optimised for creating relationships between entities and understand the value chain relationships between all entities. New types of entities or organisations can easily be added to the overall ecosystem map.
    • Unlimited data. Enable unlimited amount of data to be collected with each contributor to the value chain.
    • Link Analysis. Link chart and mapping visualisations so that detailed node analysis from farm to table can be performed. This linkage analysis will allow government oversight to rapidly respond to disease outbreaks such as hoof and mouth, salmonella and e. Coli with AI analysis to determine the source of an outbreak.
    • Visual data analysis. Enable field data and photo capture using mobile or drone technology for on-line and off-line modes with the flexibility to add or modify data fields and distribute changes in minutes.
    • Flexibility. To add unforeseen new entity types and their associated relationship without significant modifications to the underlying software infrastructure and database structure. Be flexible to accommodate the wide variety of stakeholders with the desire to be presented with their own unique set of data of interest.
    • Rapid change. Quickly adapt to new requirements that may occur with new compliance regulations.
    • Secure. Encompass the highest level of security with detailed user/group control access to specific data or data categories.
    • Rapid report development. Provide the ability to develop reports, dashboards rapidly, and analyse trends for multiple different requirements by crop type of animal type.
    • Ease of integration. Easily integrate with other outside systems through APIs and other means of dataexchange to enable a comprehensive data repository. This capability is crucial to the market adoption and tracking of food supply and where inefficiencies lie. These inputs provide invaluable results to the overall food supply planning to benefit the entire nation to determine action specific action plans to an overall strategic plan. Making integration with other players in the value chain is essential to market adoption.
    • Leverage cloud technology. Build specifically to take advantage of the latest cloud technology for high availability computing, enterprise reliability, and low operational overhead.

This paper presents the key features of a typical Digital Smart Agriculture Platform (DSAP) for value chain development partially developed by RippleNami1 .

2. A brief review of the digital revolution

The mobile phone revolution is an example of how significant advancements in technology can enable African nations to quickly devour and accelerate their progress to be closer in capabilities to more developed nations. Indeed, mobile phone technology was first introduced in the mid-80s, leveraging two major new underlying technology shifts to gain market adoption; the invention of miniaturised lower power integrated circuits and the advent of lithium batteries to use for primary power storage. During the period of this new method of communication, the landline infrastructure coverage for Africa was at 7% in the early 2000s with no cellular service. Mobile phone technology enabled African countries to bypass significant investments in developing extensive landline infrastructure and immediately move to create less expensive cellular networks ideally suited for the African physical landscape and the limited landline infrastructure. Today, mobile phone technology adoption ranges from 75% to 93% adoption across African countries, and the adoption rate near that of developed nations. Even more astonishing, there is nowhere else in the world that moves more money on mobile phones than Sub- Saharan Africa. The region is currently responsible for an astonishing 45.6% of mobile money activity in the world—an estimate of at least $26.8 billion in transaction value in 2018 alone.

The same type of revolution is open to the African agriculture ecosystem. Indeed, advances in sensors, computational power, and networks massively increase our ability to access, analyse, and recombine big data sets. At the same time, the opening up of social media liberates the rapid exchange of information and experience. Recent developments in blockchain and big data will shorten supply chains and quality assurance systems to bring benefits directly to all stakeholders involved in all stages of agricultural value chains. Also, cell phone technology offers widespread access to data and applications. The great majority of smallholder farmers now have access to cell phones, and youth are particularly well placed to capitalise on the technology. Data-driven agriculture is “the thoughtful use of big data to supplement on-farm precision agriculture. It means having the right farm data, at the right time, to make better decisions throughout the whole agricultural value chain.”

The introduction of Information & Communication Technologies (ICTs) in agriculture is a pivotal step in increasing agricultural productivity. Advances in different technologies have led to the concept of precision agriculture (PA (see Swinton and Lowenberg-DeBoer 1998; Lowenberg-DeBoer 2018; Lowenberg and Erickson, 2019). It requires the use of new technologies, such as geo-positioning systems, sensors, satellite or aerial images, and information management tools to assess and understand variations. Collected information may be used more precisely to evaluate optimum sowing density, estimate fertilisers and other inputs needed, and to predict crop yields accurately. It seeks to avoid applying inflexible practices to a crop, regardless of local soil or climatic conditions, and this may help to assess local situations for disease control better. Despite a lot of research undertaken in precision agriculture, this information benefits only large-scale commercial farmers. The majority of the rural farmers are not able to benefit from these efforts due to the existing extension models that cannot reach every farmer. Yet, simple communication technologies such as mobile phones can reach remote areas and provide farmers with an alternative access route to information.

Smart Farming is the application of information and data technologies for optimising complex farming systems. The focus of Smart Farming is not on precise measurement or determining differences within the field or between individual animals. The focus is instead on access to data and the application of these data – how the collected information can be used smartly. Smart Farming involves not just individual machines but all farm operations. Farmers can use mobile devices such as smartphones and tablets to access real-time data about the condition of soil and plants, terrain, climate, weather, resource usage, workforce, funding, etc. As a result, farmers have the information needed to make informed decisions based on factual data, rather than their intuition.

The real goal, though, toward accelerating the Africa agriculture industry is Digital Farming. The essence of Digital Farming lies in creating value from data. Digital Farming means to go beyond the mere presence and availability of data and create actionable intelligence and meaningful added value from such data. Digital Farming is integrating both concepts – precision agriculture and Smart Farming. According to a paper on Digital Agriculture by DLG (German Agricultural Society), Digital Farming is understood to mean “consistent application of the methods of precision agriculture and smart farming, internal and external networking of the farm and use of web-based data platforms together with Big Data analyses.”

According to Maru et al. (2018), farmers typically use (access or share) three streams of data and information in their Farming. The fourth stream of off-farm data also exists but has little use for farmers.

The first stream (localised data) is data generated and collated on the farm for use only on the farm. This includes soil data (soil form, soil depth, nutrient composition), seed and fertiliser use, date of sowing, production practices, water use, etc. that farmers have about their immediate location. This data can be generated and managed by the farmer or by an agent acting for the farmer.

The second stream is data generated and collated off the farm, for use on the farm. Examples are climatic data and market prices that have been interpreted and customised for on-farm use. This is called ‘imported’ data.

The third stream is data generated and collated on the farm for use off the farm. This is usually processed, aggregated, or combined with other data and information generated elsewhere and is used by various actors and stakeholders, such as governments or private companies. Governments may use this data to establish ownership, revenue, and subsidies or to target services – that can all directly benefit farmers. Other users include market intermediaries, farm input, and service providers, including banks, insurance agencies, farm advisory services, scientists, other farmers, and their associations, etc.

The fourth stream is data generated and collated (on and) off the farm, mainly for use. A large proportion of ‘agricultural’ data is generated through disparate data sources such as government statistical and research data. Even though such data has little direct on-farm application – it can, through policy changes perhaps, have indirect on-farm influence. This is called ‘ancillary’ data.


Figure 1: Streams of Data (Source: Maru et al. 2018)

Not all data is the same, and the development of a Digital Smart Agriculture Platform must accommodate the different use cases from the initial architectural design so that it can easily be expanded to be used for different purposes in agri-food systems. Data use cases include but not limited to:

    • Planning: what to produce, when to produce, where to produce? For whom to produce? What operations to do when and where on the farm? These needs both imported data from outside the farm (e.g., weather data, market data, crop, and animal growth models) as well as localised data from the farm (e.g., soil).
    • Monitoring and assessment: How are the products growing? What is the status of natural agricultural resources? This requires mainly localised data from the farm (e.g., monitoring data from sensors). This is also one of the areas where data from the farm has an ‘export’ value for other actors (e.g., for monitoring the use of land and natural resources or for national maps of land capability).
    • Event management and intervention: Which action should be taken and when? This requires mainly localised data from the farm (e.g., soil data from sensors) but can benefit from external data like weather forecasts, growth models, or market conditions.
    • Autonomous action through ICTs: For example, switching on water pumps to irrigate fields when soil humidity falls below a target amount, opening or closing windows in glasshouses, or auto feeding animals at different times of the day. This requires similar data as event management above.
    • Optimisation: What will be the economic, environmental, or social return/effect on the investment/action? This depends entirely on imported data, like market data, consumption statistics, land and water use, potential payment schemes for environmental services.
    • Forecasting: How much will be the crop or animal yield? How much profit? This requires a combination of localised and imported data as well as prediction models: the more data the farmer (or the farmer’s adviser) has, the more accurate the forecast is.
    • Tracking and tracing: Where is the product, item, resource, or material? What is its source, and where will it go next? This is a crucial area where a lot of external tracking data benefits the farmer; the data shared from the farm can also become essential for the comprehensive tracking data flows (e.g., farm identification, farming practices, agricultural input used
    • Negotiating and market access: Where are the consumers? What do they want? Who else is selling the same product? Which market is surplus, and which glut? Which service providers are around me? Localised data on-farm operations and products, and input needs, can be combined with imported data by farmers (or their representing organisations) to negotiate better prices, discounts, and the like. Localised ‘metadata’ on farmers and their farms can be powerfully aggregated by farmer organisations using joint actions to negotiate better deals for their members.

3. Digital Smart Agriculture Platform
The proposed DSAP includes four modules, namely rCAPTURE®, rTRACETM, rWAVES®, and rANALYZETM. rCAPTURE enables electronic data collection in the field in both off-line and on-line modes using mobile devices. Data fields within rCAPTURE can quickly be modified, with new user workflows to be distributed within hours instead of days or weeks. rCAPTURE not only enables farmers in the field to collect and process results but will also be used for collecting inspection and compliance data for government agencies. With little access to cell or Internet service, the off-line and remote data collection is essential for farmers to adopt and utilise this tool. rWAVES is an intuitive data visualisation mapping application, designed so users can see a geographical representation of the data across any number of categories such as the location of all crop-producing assets, underperforming farms, and diseased regions. With rWAVES, users can now seamlessly aggregate data in a real- time, searchable visualisation platform that enables better decision making. rWAVES makes it easy to compare multiple different groups or categories in a geographical visualisation.

Analytic reports will be available through the rANALYZE artificial intelligence web application module providing instant access forecasting tools and management reports displaying trends and production results in an intuitive graphical or tabular format. rANALYZE will also enable users to generate their reports with ad-hoc report generation, providing a breadth of information at the user’s fingertips. Results of rANALYZE would be provided in both the mobile phone and over a consolidated Web Interface for power users.

The heart of the system, rTRACE, is designed around graph database technology, a unique database characterised by nodes or entities. An example of a node includes a farmer, a processing plant, a secondary processor, the distributor, and a retailer. Due to the in-built relationships in graph databases, creating corresponding data between everyone in the value chain is much straightforward than in relational databases, which require complex queries which result in slow performance and frustrating user experience for large amounts of data. Graph databases are ideally suited for complex relationship applications with advantages of high performance, scalability, and easy expansion. They can accommodate an unlimited number of nodes and linkages for any network scenario versus traditional relational databases. With graph systems, single queries that track linkage data for analysis purposes can run in seconds to get a visual representation in the form of nodes and linkages with results showing the yield and output flowing through different stages of a given value chain.


Figure 2: Digital Smart Agriculture Platform for Agricultural Value Chains

The DSAP is developed with the latest in cloud technology, leveraging the billion-dollar investments in tools, infrastructure, and platforms from Amazon Web Services (AWS), bypassing the legacy and bulky burdensome costs of older software technology. By using the AWS cloud, DSAP takes advantage of readily available AWS services for rapid product development coupled with the lowest possible operational costs. Built around a modern architecture of microservices, new features and capabilities can quickly be added as another service to the base architecture without significant engineering re-architecture. Each microservice is an independent service, enabling rapid and efficient engineering development.

5. Agriculture value chain and data requirement
Typical Agriculture Value Chain encompasses numerous, varying assets, each with unique properties, origins, derivatives, owners, and custodians. The relationships between the assets, their owners, and custodians change over time. This history of changes forms the basis for capturing and performing traceability in the system. The progression of assets, their derivates, and associations with other assets within the Agriculture Value Chain may be described as follows.


Assets at the beginning stage involve components necessary for the production of new assets (crops, livestock) during the Production stage. Assets in this stage include a farmer, crop type, its location, machinery equipment, fertiliser, soil type, pesticides, virtually all items required for farming production. For instance, the seed source registered within the traceability system may also be considered a Sourcing asset as it is a critical input to farming success. Even at the Sourcing stage, each asset has an owner and a custodian.

Assets of the Production stage focus on farmers, activities performed within the farm such as inspections, diagnoses, pesticide treatment, water sources, labour, planting, watering, fertiliser and harvesting schedule, crop yield, and derivative assets. At this stage, the custodian is the farmer, and all assets remain in the custody of the farmer until they are formally transferred to another party, such as a processing centre, distributor, or retailer (farmers market).

The primary assets of the Processing stage are the bulking and processing centres equipment, the containers of incoming crops or derivative assets, and any extracted samples for laboratory testing. If desired, equipment associated with processors or other parties can be tracked added to the information inventory to determine productivity efficiency. At this stage, processors are the custodians of assets until they are formally transferred to another party, such as the distributor or laboratory. These assets include farm products in its various forms, including but not limited to canned, pureed, frozen, raw, or combined with other assets (a combination of other farm products), bound for delivery to the distributors or a retailer.

Assets at the Distribution stage represent completed assets destined for the markets (Retailers, wholesalers, exports, etc.). They remain in the custody of the distributor until such time that it is formally shipped to a new party. Distributors will carry and track inventory in large containers with bulk information of the asset in its final form.

Assets at the Retailers represent completed items destined for the end consumer and remain in their custody until the end of consumer purchase. Farmers who sell directly to end consumers would be considered as a retailer, with operations consistent with the direct farm to table connection. Market price trends based on geographic location are captured and available for all retailers to utilise for maximum profit.

Assets at the Export stage represent completed assets ready for export and all associated export documentation. Assets at this stage remain in the custody of the Export Agency until they are formally released.

Assets at the Import stage originate outside the value chain system. Once such assets are registered into the traceability system, they may be tracked like any other asset whose sourcing occurred within the system.

Arrows in Figure 3 illustrate many of the points in the value chain where rCAPTURE will record data and establish traceability.