AgriAgent: Contract-Driven Planning and Capability-Aware Tool Orchestration in Real-World Agriculture
Bo Yang, Yu Zhang, Yunkui Chen, Lanfei Feng, Xiao Xu, Nueraili Aierken, Shijian Li
TL;DR
AgriAgent addresses the challenge of performing diverse, real-world agricultural tasks under multimodal inputs and incomplete tool ecosystems by introducing a router-based two-level architecture: System-1 for fast-path, modality-grounded reasoning and System-2 for contract-driven planning and capability-aware tool orchestration. System-2 encodes task requirements as explicit, verifiable contracts and leverages a centralized Tool Hub with dual matching protocols (TDI/TOCI) plus a ToolMaker for on-demand tool generation, enabling robust long-horizon execution with verification and evidence aggregation. The work demonstrates that contract-driven planning improves structural correctness and reliability on complex tasks, while the fast-path System-1 with modality-aware processing yields strong performance on simpler inquiries, collectively delivering improved robustness and scalability in realistic agricultural scenarios. By providing explicit contracts, dynamic tool generation, and verifiable execution, AgriAgent advances reproducible research and practical deployment in open, evolving agricultural tool ecosystems.
Abstract
Intelligent agent systems in real-world agricultural scenarios must handle diverse tasks under multimodal inputs, ranging from lightweight information understanding to complex multi-step execution. However, most existing approaches rely on a unified execution paradigm, which struggles to accommodate large variations in task complexity and incomplete tool availability commonly observed in agricultural environments. To address this challenge, we propose AgriAgent, a two-level agent framework for real-world agriculture. AgriAgent adopts a hierarchical execution strategy based on task complexity: simple tasks are handled through direct reasoning by modality-specific agents, while complex tasks trigger a contract-driven planning mechanism that formulates tasks as capability requirements and performs capability-aware tool orchestration and dynamic tool generation, enabling multi-step and verifiable execution with failure recovery. Experimental results show that AgriAgent achieves higher execution success rates and robustness on complex tasks compared to existing tool-centric agent baselines that rely on unified execution paradigms. All code, data will be released at after our work be accepted to promote reproducible research.
