Agricultural Commodity Trading

B2B

Farmer lists harvest → certification → buyer bidding → contract → logistics → delivery.

6 nodes · 5 edgesagriculture
humansystemapi
Visual
Farmer Lists Harvesthuman

Post available quantity, grade, location, and harvest date.

sequentialQuality Certification
Quality Certificationsystem

Third-party lab tests for moisture, protein, mycotoxins.

conditionalBuyer Bidding
Buyer Biddinghuman

Registered buyers place bids with price per metric ton.

sequentialContract Matching
Contract Matchingsystem

Platform matches best bid, generates purchase contract.

sequentialLogistics Coordination
Logistics Coordinationapi

Arrange trucking from farm to buyer's warehouse or port.

sequentialDelivery & Payment
Delivery & Paymentsystem

Weigh-bridge confirmation triggers escrow release to farmer.

uc-agri-commodity-trading.osop.yaml
osop_version: "1.0"
id: "agri-commodity-trading"
name: "Agricultural Commodity Trading"
description: "Farmer lists harvest → certification → buyer bidding → contract → logistics → delivery."

nodes:
  - id: "list_harvest"
    type: "human"
    subtype: "input"
    name: "Farmer Lists Harvest"
    description: "Post available quantity, grade, location, and harvest date."

  - id: "quality_cert"
    type: "system"
    name: "Quality Certification"
    description: "Third-party lab tests for moisture, protein, mycotoxins."

  - id: "buyer_bidding"
    type: "human"
    subtype: "input"
    name: "Buyer Bidding"
    description: "Registered buyers place bids with price per metric ton."
    timeout_sec: 259200

  - id: "contract_match"
    type: "system"
    name: "Contract Matching"
    description: "Platform matches best bid, generates purchase contract."

  - id: "logistics_coord"
    type: "api"
    subtype: "rest"
    name: "Logistics Coordination"
    description: "Arrange trucking from farm to buyer's warehouse or port."

  - id: "delivery_payment"
    type: "system"
    name: "Delivery & Payment"
    description: "Weigh-bridge confirmation triggers escrow release to farmer."
    security:
      risk_level: "high"

edges:
  - from: "list_harvest"
    to: "quality_cert"
    mode: "sequential"
  - from: "quality_cert"
    to: "buyer_bidding"
    mode: "conditional"
    when: "certification.grade != 'rejected'"
  - from: "buyer_bidding"
    to: "contract_match"
    mode: "sequential"
  - from: "contract_match"
    to: "logistics_coord"
    mode: "sequential"
  - from: "logistics_coord"
    to: "delivery_payment"
    mode: "sequential"