AgriSkill-Agent — Code & Showcase
Repository: github.com/Wispertise/AgriSkill-Agent
System Overview
AgriSkill-Agent accepts either a leaf image accompanied by a natural-language request or a text-only agricultural question. GPT-4o serves as the central agent and activates task-specific skills for phenotype analysis, disease diagnosis, management support, and report generation. Image consultations invoke specialist visual models, whereas text-only questions proceed directly to knowledge-supported reasoning.
Procedural Skills
Each skill defines a role, procedure, permitted tools, domain rules, and output schema. This makes tool invocation reproducible: visual requests activate phenotype analysis and deterministic measurement; diagnosis requests combine observations with classifier candidates and literature evidence; management requests query literature and structured pesticide-use records; report generation integrates the stage outputs.
User request
├── Phenotype Analysis Skill
│ ├── constrained image description
│ ├── disease classification
│ └── leaf / lesion segmentation
├── Disease Diagnosis Skill
│ └── literature retrieval
├── Disease Management Skill
│ ├── hybrid RAG
│ └── pesticide-use knowledge graph
└── Report Generation Skill
└── structured, traceable output
Visual Tools
EfficientNet-V2-S was selected as the deployed classifier after reaching 97.91% accuracy and 94.17% macro-F1 across 50 validation categories. SegFormer was selected for both binary segmentation tools, reaching 97.68% leaf mIoU and 92.98% lesion mIoU.

End-to-End Results
| Method | Diagnosis Acc. (%) | Completeness | Management Grounding | Overall Quality |
|---|---|---|---|---|
| GPT-4o (direct) | 42.9 | 47.9 | 40.3 | 63.9 |
| GPT-5.4 | 49.3 | 53.3 | 43.3 | 69.6 |
| Claude Sonnet 5 | 50.0 | 49.0 | 42.6 | 67.4 |
| Gemini 3.1 Pro Preview | 76.4 | 75.1 | 57.3 | 80.2 |
| AgriSkill-Agent | 92.9 | 93.1 | 78.7 | 89.9 |


Code & Artifacts
Code: github.com/Wispertise/AgriSkill-Agent
Code, benchmark manifests, prompts, and non-restricted experimental artifacts are available through the repository or from the corresponding authors.