Agentic systems interact with external systems by calling tools such as Python functions, REST API endpoints, or command line tools such as kubectl in Kubernetes. These tool calls often fail for various syntactic and semantic reasons. Some less obvious semantic errors can only be identified and resolved after analyzing the tool's response. To repair these errors, we develop a post-tool execution reflection component that combines large language model (LLM)-based reflection with domain-specific retrieval-augmented generation (RAG) using documents describing both the specific tool being called and troubleshooting documents related to the tool. For this paper, we focus on the use case of the kubectl command line tool to manage Kubernetes, a platform for orchestrating cluster applications. Through a larger empirical study and a smaller manual evaluation, we find that our RAG-based reflection will repair kubectl commands such that they are both more likely to successfully execute (pass rate) for 55% of our models evaluated and 36% more likely to correctly answer the user query on average. We find that troubleshooting documents improve pass rate compared to official documentation by an average of 10%.
1 School of Electronic;Computer Engineering,Peking University 2 Apability \& Platform Business Dept., China Mobile Internet Co. 3 China Telecom Cloud Technology Co., Ltd.
"I Don't Know" -- Towards Appropriate Trust with Certainty-Aware Retrieval Augmented Generation
TNO Netherlands Organisation for Applied Scientific Research, Department Data Science(荷兰应用科学研究院,数据科学部门);Utrecht University, Department of Information and Computing Sciences(乌得勒支大学,信息与计算科学系)
A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World
Robotic Systems Lab, ETH Zürich(瑞士联邦理工学院机器人系统实验室);ETH AI Center, ETH Zürich(瑞士联邦理工学院人工智能中心);Huawei Noah’s Ark Lab, London, UK(华为诺亚实验室,伦敦,英国);UCL Centre for AI, London, UK(伦敦大学学院人工智能中心)
mRAG: Elucidating the Design Space of Multi-modal Retrieval-Augmented Generation
Texas A&M University(德克萨斯农工大学);University of California, Berkeley(加州大学伯克利分校);University of Texas at Austin(德克萨斯大学奥斯汀分校);Stanford University(斯坦福大学);Adobe Research(Adobe研究院)
Closing the Prior-Posterior Loop: Self-Reflective Molecular Design with Analysis-Driven LLM Iteration
Faculty of Chemistry, Shenzhen MSU-BIT University(深圳MSU-BIT大学化学学院);School of Science and Engineering, Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳)科学与工程学院);Department of Chemistry, Hong Kong University of Science and Technology(香港科技大学化学系)