Client system for Prime Commodity Trade Consultants · Agriculture · Trade and export · Business software

Prime Agro AI: agricultural aggregation operating platform.

Runs aggregation, haulage, workforce, warehousing, supply-chain control and quality inspection for Prime Commodity Trade Consultants, reporting every figure next to the Nigeria Commodity Exchange's record.

Deployed Checked October 2026
Prime Agro AI home page with the headline One accountable operator from farm gate to warehouse
Prime Agro AI · Web
01What it does

The operating platform for an agricultural aggregation programme, from farm gate to warehouse.

Status
Deployed. A client, institution or the public is using it in production today.
Built for
Prime Commodity Trade Consultants
Platforms
Web
Named party
Prime Commodity Trade Consultants Limited

Key capabilities

  1. 01Collection-point lots weighed, graded and QR-tagged at source, with an offline queue
  2. 02Haulage trips with GPS, seals and weighbridge variance checks
  3. 03Append-only warehouse stock ledger, shown beside the Exchange's figures with the variance
  4. 04Quality and quantity inspection certificates with public verification
  5. 05Control tower with KPIs, service levels, exceptions and invoicing
  6. 06Separation of duties enforced in code; Exchange records are immutable once reconciled
02Problem and approach

The operational challenge

Many hands between the farm and the warehouse.

An agricultural aggregation programme moves produce from thousands of smallholders, through collection points, trucks and weighbridges, into certified warehouses. Every handover is a chance for weights, grades and payments to drift apart, and the operator has to answer for each figure against the commodity exchange's own records.

Who uses it. Prime Commodity Trade Consultants' programme, operations, logistics, warehouse and quality teams, with read-only access for programme partners.

The engineering approach

One work order, six service lines, every figure reconciled.

Prime Agro AI runs the six service lines of the programme in one system: aggregation, haulage, workforce, warehousing, a supply-chain control tower, and quality and quantity inspection. Lots are tagged at the collection point, trips are tracked to the weighbridge, and stock is held in an append-only ledger. Every stock or intake figure is shown as Prime's number, the Exchange's number and the variance between them.

03Architecture

How it is put together.

  • Next.js 15
  • PostgreSQL
  • PostGIS
  • Prisma
  • Redis
  • Auth.js
  • MapLibre
  1. 01Application Next.js 15 with server-side services that apply rules, audit and exceptions in one place
  2. 02Data PostgreSQL with PostGIS for the collection and warehouse network, managed with Prisma migrations
  3. 03Integrity Exchange records are immutable once reconciled, enforced by a database trigger; the stock ledger is append-only
  4. 04Verification Inspection certificates are hashed and free of personal data, and can be verified publicly
  5. 05Access Role-based access for Prime staff, with read-only views for programme partners
Fig · Prime Agro AI architectureSchematic. Components as built; no measured values.
04Operating conditions
  • Connectivity

    Collection points are rural. Lots are captured in an offline queue and sync when signal returns.

  • Two records

    The Exchange's record of account is authoritative. The platform shows both numbers and the variance, never just its own.

  • Boundaries

    Prime never issues or edits warehouse receipts or validates stock. The system enforces that line rather than relying on policy.

Where it stands

In use by Prime Commodity Trade Consultants for the RH-SHF (BOA) Aggregation Programme, starting in Kano and Kaduna.

Contact

Need a system like this one?

Describe the infrastructure, the workflow that costs you most, and your connectivity as it really is. The first call is with an engineer.