欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture

• •    

AgriAgent:面向农业环境控制的端到端大模型智能体系统架构

裘佳颖1(), 刘应昌1(), 高星杰1, 黄远2, 张红雨1, 田芳1,3, 李万理1(), 冯在文1,3,4()   

  1. 1.华中农业大学 信息学院,湖北 武汉 430070,中国
    2.华中农业大学 园艺林学学院,湖北 武汉 430070
    3.云南现代农业产业研究院有限公司,云南 昆明 650032,中国
    4.农业智能技术教育部工程研究中心,湖北 武汉 430070
  • 收稿日期:2025-07-30 出版日期:2026-02-11
  • 基金项目:
    湖北省技术创新计划项目(2024BBB055);湖北省科技厅援藏项目(2024EIA009);云南省重大科技专项计划(202502AE090003);中央高校基本科研业务费专项资金(2662025XXPY005)
  • 作者简介:裘佳颖,本科,研究方向为自然语言处理。E-mail:19560533416@163.com
    刘应昌,硕士研究生,研究方向为自然语言处理。E-mail:liuyingchang@webmail.hzau.edu.cn
    第一联系人:本文共同第一作者。
  • 通信作者: 李万理,博士,研究方向为自然语言处理,知识图谱,元学习。E-mail:liwanli@mail.hzau.edu.cn
    冯在文,博士,副教授,研究方向为农业AI大模型。E-mail:zaiwen.Feng@mail.hzau.edu.cn

AgriAgent: End-to-end Large Model Agent System Architecture for Agricultural Environment Control

QIU Jiaying1(), LIU Yingchang1(), GAO Xingjie1, HUANG Yuan2, ZHANG Hongyu1, TIAN Fang1,3, LI Wanli1(), FENG Zaiwen1,3,4()   

  1. 1.College of Informatics, Huazhong Agricultural University, Wuhan 430000, China
    2.College of Horticulture and Forestry, Huazhong Agricultural University, Wuhan 430000, China
    3.Yunnan Modern Agricultural Industry Research Institute, Kunming 650032, China
    4.Engineering Research Center of Agricultural Intelligent Technology, Ministry of Education, Wuhan 430070, China
  • Received:2025-07-30 Online:2026-02-11
  • Foundation items:Hubei Provincial Technology Innovation Plan Project(2024BBB055);Tibet Assistance Project of Department of Science and Technology of Hubei Province(2024EIA009);Yunnan Provincial Major Science and Technology Special Project Plan(202502AE090003);Fundamental Research Funds for the Chinese Central Universities under Grant(2662025XXPY005)
  • About author:QIU Jiaying, E-mail: 19560533416@163.com
    LIU YingChang, E-mail: liuyingchang@webmail.hzau.edu.cn
  • Corresponding author:LI Wanli, E-mail: liwanli@mail.hzau.edu.cn
    FENG Zaiwen, E-mail: zaiwen.Feng@mail.hzau.edu.cn

摘要:

【目的/意义】 为突破大语言模型在农业生产决策领域应用中存在的物理世界交互能力不足、专业工具调用受限以及“幻觉”生成等问题,构建了一个工具增强型环控智能体系统。 【方法】 首先基于开放气象数据与作物生长模型构建农业的数字孪生评测平台,提供标准化闭环控制验证环境。其次,提出了AgriAgent架构,通过“传感器-记忆库-检索器-大语言模型-工具执行器”闭环流程,实现了田间环境的动态感知、知识检索、推理决策与精准执行的端到端闭环控制。该端到端架构的优势在于实现了“环境感知-动态决策-执行反馈”的全流程无缝衔接,极大地提升了系统在复杂、动态农业环境下的实时响应能力和决策精度,解决了传统应用缺乏“感知-决策-执行”闭环能力的问题 ;为验证系统有效性,研究在数字孪生环境中,对玉米、小米、甜菜、番茄、卷心菜5种作物在常规、扰动、极端3种情景下开展实验。 【结果和讨论】 以Qwen2.5_7B为核心的AgriAgent-7B模型表现最优,常规情景、扰动情景和极端情景下玉米产量较基线模型分别提升562.20%、459.70%、463.60%;小米产量分别提升646.80%、558.70%、351.20%;甜菜产量分别提升228.20%、118.20%、125.40%;番茄产量分别提升926.20%、979.55%、1 537.46%;卷心菜产量分别提升501.67%、504.65%、1 185.14%。此外,智能体参数量显著影响决策的质量,当参数量达到7 B时,智能体展现了卓越的灵活性与适应性,能够解决大部分复杂的农业生产决策问题。 【结论】 综上所述,验证了工具增强型智能体在农业动态决策中的有效性,提出的AgriAgent端到端架构,通过知识检索与工具调用闭环,在农业场景下实现了“环境感知-动态决策-执行反馈”的全周期闭环控制,为农业智能体研究提供了可靠技术路径和创新范式 。

关键词: 工具增强型大语言模型, 农业智能体, 数字孪生, 农业评测平台, DSSAT/作物生长模型

Abstract:

[Objective] Large language models (LLMs) have demonstrated strong capabilities in natural language understanding, knowledge integration, and complex reasoning, offering new opportunities for intelligent decision-making in agriculture. However, their direct application in agricultural production and facility environment control remains challenging due to strong physical constraints and high operational risks. The lack of real-world interaction and executable decision grounding limits the practical effectiveness of conventional LLMs in such scenarios. To address these challenges, a tool-augmented LLM-based agricultural intelligent agent system, termed AgriAgent, was proposed, and a digital-twin-based evaluation platform for agricultural decision-making was developed. By integrating a high-fidelity digital twin environment with an end-to-end agent architecture, the decision-making performance of agricultural intelligent agents with different parameter scales was systematically evaluated across multiple crops and climate scenarios. [Methods] A high-fidelity agricultural digital twin evaluation platform was constructed using the DSSAT v4.8 crop growth model as the core simulation engine to model crop growth under diverse environmental conditions and management strategies. Meteorological driving data were obtained from the Seoul Historical Weather Data dataset. Through data cleaning, missing-value imputation, unit normalization, and time-series reconstruction, the raw meteorological data were transformed into standardized inputs compatible with DSSAT. Three climate scenarios representing different environmental complexities were designed, including a regular scenario, a perturbed scenario, and an extreme scenario. The regular scenario employed historical observations, the perturbed scenario introduced stochastic disturbances to simulate short-term climate variability, and the extreme scenario incorporated multi-factor coupled stresses such as high temperatures and excessive precipitation during sensitive growth stages. In total, 90 annual climate driving sequences were generated. Fixed soil profile parameters calibrated by domain experts were applied across all simulations to minimize confounding effects. Within this digital twin environment, a tool-augmented agricultural intelligent agent, AgriAgent, was implemented using a modular architecture consisting of a sensor module, memory module, retriever, large language model, and tool executor, forming a closed-loop decision-making framework. In each decision cycle, the agent perceived environmental and crop state information, including soil moisture and nutrient status, meteorological conditions, crop growth stages, and stress indicators. State summaries and historical decisions were stored in memory, while agronomic knowledge was retrieved through a retrieval-augmented generation mechanism. Based on integrated information, the LLM generated structured environmental control commands in JSON format, which were validated and constrained by the tool executor before updating the DSSAT environment. The system supported irrigation, supplementary lighting, ventilation, heating, fertilization, and CO₂ enrichment. Five representative crops—maize, millet, sugar beet, tomato, and cabbage—were simulated under the three climate scenarios over complete growing seasons, resulting in 450 crop–scenario combinations. An unmanaged DSSAT simulation served as the baseline. AgriAgent models with three parameter scales (1.5B, 3B, and 7B), built on the Qwen2.5 series, were evaluated. Crop economic yield expressed as dry matter at physiological maturity was adopted as the evaluation metric. [Results and Discussions] The results showed that AgriAgent consistently outperformed the baseline across all crops and climate scenarios, with model scale exerting a significant influence on decision-making performance. AgriAgent-7B achieved the best overall performance under regular, perturbed, and extreme scenarios, demonstrating strong generalization ability and environmental adaptability. By dynamically adjusting water, nutrient, light, and thermal management strategies, the agent effectively mitigated environmental stresses even under multi-factor coupled extreme climate conditions. Under extreme scenarios, AgriAgent-7B increased yields by 463.60% for maize, 351.20% for millet, 125.40% for sugar beet, 1 537.46% for tomato, and 1 185.14% for cabbage compared with the baseline. Particularly large gains were observed for high-value crops such as tomato and cabbage, highlighting the advantages of the proposed framework for precision-controlled facility agriculture. In contrast, AgriAgent-1.5B exhibited performance comparable to the baseline, while AgriAgent-3B achieved moderate improvements but remained inferior to the 7B model. These findings indicate a clear scaling effect, suggesting that larger models possess stronger capabilities in multi-source information integration, long-term temporal reasoning, and adaptation to complex environments. [Conclusions] This study developed a digital-twin-based agricultural decision evaluation platform and proposed a tool-augmented, end-to-end agricultural intelligent agent, AgriAgent. Experiments across multiple crops and climate scenarios verified the effectiveness and robustness of the proposed framework for dynamic agricultural decision-making. The results demonstrate that integrating knowledge retrieval, reasoning, and tool execution within a closed-loop LLM-based agent enables stable, reliable, and adaptive environmental control, providing a feasible technical pathway and standardized evaluation paradigm for intelligent agriculture.

Key words: tool-augmented large language model, agricultural agent, digital twin, agricultural evaluation platform, DSSAT/crop growth model

中图分类号: