Gecko: A Simulation Environment with Stateful Feedback for Refining Agent Tool Calls
Zeyu Zhang, Guohao Li, Zhenchang Xing, Alexandros Apostolopoulos, Yu Lin Lee, Liang Zheng

TL;DR
Gecko is a simulation environment that provides stateful feedback to improve large language model (LLM) tool calls, reducing errors and unsafe refinements by simulating tool responses and evaluating task completion.
Contribution
We introduce Gecko, a simulation environment that enhances LLM tool call accuracy through rule-based and LLM-generated feedback, enabling safer and more effective iterative refinement.
Findings
GATS improves tool calling performance across multiple LLMs
Gecko reduces errors in tool call inputs and outputs
The environment enhances task success rates in benchmark tests
Abstract
The ability to use tools is fundamental for large language model (LLM) agents. Given a task, existing systems use LLMs to plan and generate tool calls, which are executed by real-world tools to complete the task. However, tool calls are prone to errors because they are derived merely from LLM intrinsic capabilities. What is more, while it is useful to let LLMs iteratively refine the tool-call sequence using execution results from real tools, this process can be expensive and lead to unsafe results. To improve LLM tool calls and address issues caused by using real tools for refinement, we introduce Gecko, a comprehensive environment that simulates tool responses using a combination of rules and LLMs. Specifically, Gecko checks the validity of tool calls including input arguments and tool names, synthesizes reasonable responses that adhere to the output schema, and assesses whether all…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Multi-Agent Systems and Negotiation · Natural Language Processing Techniques
