ClearYields
A comprehensive platform for growers and agricultural companies to automate harvest data collection, track inventory, generate reports, and forecast yields. Replace manual paper-based workflows with OCR-powered data ingestion, automated email parsing, and a unified dashboard.
Tech Stack
Multi-Crop Architecture
Flexible, crop-agnostic data model supporting apples, pears, stone fruit, soft fruit, hops, and more. Configurable terminology, units, defect types, and grade classes per tenant.
| Concept | Apple Example | Soft Fruit Example | DB Approach |
|---|---|---|---|
| Production Unit | Orchard | Polytunnel | production_units table with type field |
| Container | Bin (333kg) | Crate (20kg) | container_types table, per tenant |
| Product | Variety (Gala) | Variety (Elsanta) | product_variants linked to crop_types |
| Defects | Scab, Russet, Rot | Mould, Bruise | defect_types table, per crop |
| Grades | Class 1/2/Juice | Grade A/B/Processing | grade_classes table, per crop |
Feedback Module
Central hub for all data entering the system. Multiple ingestion methods for different workflows.
Web forms for dispatch notes, grading reports, returns, and remittances
Photo/PDF upload with field extraction and user confirmation
Natural language to structured records conversion
Inbound webhook parses grader PDFs automatically
OCR Pipeline
Stores Module
Real-time produce inventory tracking across all locations with ledger-based movement tracking.
Production units, stores (CA/ambient), processors, virtual holds
Harvest in, dispatch out, graded, returns, sales, transfers, adjustments
Stock at location, to be graded, awaiting return, days in store
Configurable rates: 0.5%/week (CA), 1.5%/week (ambient)
Reports Module
Generate all operational and financial reports with global filters and branded output.
| Report | Description | Output |
|---|---|---|
| Dispatch Summary | All dispatches by unit/variant/processor | PDF, CSV |
| Grading Breakdown | Class splits, defect analysis, yield % | PDF, CSV |
| Grower Return | Per-unit P&L: gross - costs = net | |
| Storage Report | Stock in store, days stored, shrinkage | PDF, CSV |
| Cash Reconciliation | Expected vs received, overdue remittances | PDF, CSV |
| Season Pack | Complete season summary with KPIs | PDF (multi-page) |
Feedforward Module
Predictive analytics for yield forecasting, revenue estimation, and risk assessment.
Historical yields, weather API, unit metadata, manual observations
Historical average + weather adjustment + observation blend
Yield Γ class Γ Β£/kg from prior year data
Simulate unit changes, weather impacts, processor switches
Constants Module
Tenant-level settings and master data configuration with full audit trail.
Authentication & Permissions
Better Auth integration with email/password, OAuth, magic links, and tenant isolation.
Implementation Phases
Budget Summary
| Phase | Scope | Cost | % |
|---|---|---|---|
| Phase 1 | Foundation (MVP) | Β£7,500 | 50% |
| Phase 2 | Automation | Β£4,500 | 30% |
| Phase 3 | Scale & Forecasting | Β£3,000 | 20% |
Hosting Estimate: Production VPS (8 vCPU, 16GB RAM) ~β¬14.99/mo on Hetzner with managed backups and EU data residency.
Payment Terms: Each phase is paid upfront before development begins. Phase 1 (Β£7,500) β Phase 2 (Β£4,500) β Phase 3 (Β£3,000). Next phase payment is due upon completion of the previous phase.