AI Crop Planning

Human → AI

AI analyzes soil and weather to recommend crops; farmer reviews before planting.

5 nodes · 5 edgesagriculture
agenthumandata
Visual
Input Field Datahuman

Farmer provides soil test results, field size, irrigation, and budget.

sequentialAI Soil & Weather Analysis
AI Soil & Weather Analysisagent

Cross-reference soil composition with weather forecasts and historical yields.

sequentialCrop Recommendation
Crop Recommendationsystem

Rank crops by projected yield, market price, and resource requirements.

sequentialFarmer Review
Farmer Reviewhuman

Farmer evaluates recommendations against experience and equipment.

conditionalGenerate Planting Schedule
fallbackAI Soil & Weather Analysis
Generate Planting Schedulecli

Create week-by-week planting, fertilizing, and irrigation calendar.

uc-crop-planning.osop.yaml
osop_version: "1.0"
id: "ai-crop-planning"
name: "AI Crop Planning"
description: "AI analyzes soil and weather to recommend crops; farmer reviews before planting."

nodes:
  - id: "field_data"
    type: "human"
    subtype: "input"
    name: "Input Field Data"
    description: "Farmer provides soil test results, field size, irrigation, and budget."

  - id: "soil_weather"
    type: "agent"
    subtype: "llm"
    name: "AI Soil & Weather Analysis"
    description: "Cross-reference soil composition with weather forecasts and historical yields."

  - id: "crop_recommend"
    type: "system"
    name: "Crop Recommendation"
    description: "Rank crops by projected yield, market price, and resource requirements."

  - id: "farmer_review"
    type: "human"
    subtype: "review"
    name: "Farmer Review"
    description: "Farmer evaluates recommendations against experience and equipment."
    security:
      approval_gate: true

  - id: "planting_schedule"
    type: "cli"
    subtype: "script"
    name: "Generate Planting Schedule"
    description: "Create week-by-week planting, fertilizing, and irrigation calendar."

edges:
  - from: "field_data"
    to: "soil_weather"
    mode: "sequential"
  - from: "soil_weather"
    to: "crop_recommend"
    mode: "sequential"
  - from: "crop_recommend"
    to: "farmer_review"
    mode: "sequential"
  - from: "farmer_review"
    to: "planting_schedule"
    mode: "conditional"
    when: "review.approved == true"
  - from: "farmer_review"
    to: "soil_weather"
    mode: "fallback"
    label: "Re-analyze with different constraints"