arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.11069cs.AIcs.HC
收藏

API代理与GUI代理:分歧与趋同

API Agents vs. GUI Agents: Divergence and Convergence

Microsoft(微软)

Chaoyun Zhang, Shilin He, Liqun Li, Si Qin, Yu Kang, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang

AI总结:

本文首次系统比较API与GUI两类LLM代理,分析其分歧与趋同,提出决策标准与混合用例,以指导范式选择与融合。

摘要:

大型语言模型(LLM)已超越简单的文本生成,发展为能够直接将自然语言命令转化为具体行动的软件代理。尽管基于API的LLM代理最初因其强大的自动化能力和与程序化端点的无缝集成而崭露头角,但多模态LLM研究的最新进展催生了基于GUI的LLM代理,它们能以类人方式与图形用户界面交互。虽然这两种范式都致力于实现LLM驱动的任务自动化,但它们在架构复杂性、开发工作流和用户交互模型上存在显著分歧。本文首次对基于API和基于GUI的LLM代理进行全面比较研究,系统分析其分歧与潜在趋同。我们考察关键维度,并强调混合方法能够利用其互补优势的场景。通过提出明确的决策标准并展示实际用例,我们旨在指导实践者和研究者在这些范式之间进行选择、组合或转换。最终,我们指出基于LLM的自动化领域的持续创新有望模糊API驱动与GUI驱动代理之间的界限,为广泛的实际应用铺平通往更灵活、自适应解决方案的道路。

英文摘要:

Large language models (LLMs) have evolved beyond simple text generation to power software agents that directly translate natural language commands into tangible actions. While API-based LLM agents initially rose to prominence for their robust automation capabilities and seamless integration with programmatic endpoints, recent progress in multimodal LLM research has enabled GUI-based LLM agents that interact with graphical user interfaces in a human-like manner. Although these two paradigms share the goal of enabling LLM-driven task automation, they diverge significantly in architectural complexity, development workflows, and user interaction models. This paper presents the first comprehensive comparative study of API-based and GUI-based LLM agents, systematically analyzing their divergence and potential convergence. We examine key dimensions and highlight scenarios in which hybrid approaches can harness their complementary strengths. By proposing clear decision criteria and illustrating practical use cases, we aim to guide practitioners and researchers in selecting, combining, or transitioning between these paradigms. Ultimately, we indicate that continuing innovations in LLM-based automation are poised to blur the lines between API- and GUI-driven agents, paving the way for more flexible, adaptive solutions in a wide range of real-world applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑