[论文解读] OpenAgents: An Open Platform for Language Agents in the Wild
OpenAgents 提供一个开源平台,托管三种语言代理(Data、Plugins、Web),具备网页 UI、本地部署,以及便于研究者使用的组件,以实现对语言代理在真实世界环境中的野外评估。
Language agents show potential in being capable of utilizing natural language for varied and intricate tasks in diverse environments, particularly when built upon large language models (LLMs). Current language agent frameworks aim to facilitate the construction of proof-of-concept language agents while neglecting the non-expert user access to agents and paying little attention to application-level designs. We present OpenAgents, an open platform for using and hosting language agents in the wild of everyday life. OpenAgents includes three agents: (1) Data Agent for data analysis with Python/SQL and data tools; (2) Plugins Agent with 200+ daily API tools; (3) Web Agent for autonomous web browsing. OpenAgents enables general users to interact with agent functionalities through a web user interface optimized for swift responses and common failures while offering developers and researchers a seamless deployment experience on local setups, providing a foundation for crafting innovative language agents and facilitating real-world evaluations. We elucidate the challenges and opportunities, aspiring to set a foundation for future research and development of real-world language agents.
研究动机与目标
- 通过提供一个对非专业人士和研究人员都友好的开放平台,使语言代理的获取变得民主化。
- 通过 Data Agent、Plugins Agent 和 Web Agent 三个代理实现真实世界任务。
- 提供端到端部署支持(面向用户的网页 UI、面向开发者的本地部署、面向研究者的研究钩子)。
- 研究在野外场景中构建代理的实际挑战,并提出架构与工具方面的解决方案。
提出的方法
- 两部分平台设计:(a)用于用户-代理交互的用户界面(前端和后端);(b)具备模型、工具和环境的语言代理核心。
- 三合一集成代理:Data Agent(带工具的 Python/SQL 数据分析)、Plugins Agent(200+ 工具)、Web Agent(自主浏览)。
- 基于受 ReAct 启发的 observation-deliberation-action 循环的提示设计,输出可解析以用于工具使用和 API 调用。
- 沙箱环境和 Chrome 扩展用于浏览器控制,以实现对行动在真实世界中的安全执行。
- 自动化工具选择与扩展性,以处理大量插件和工具 API,支持流式传输、错误处理和健壮的后端逻辑。
实验结果
研究问题
- RQ1开放平台如何支持在多样化用户需求下对语言代理进行真实世界部署和评估?
- RQ2构建在野外场景中的代理所面临的设计与工程挑战是什么,工具链如何减轻它们?
- RQ3三种实际代理类型(数据、插件、网页)在真实世界任务中的表现如何,哪些评估信号最具信息量?
- RQ4哪些开发模式(UI、部署、定位 grounding、工具编排)能实现可扩展、鲁棒的代理生态?
主要发现
- OpenAgents 能实现三种代理的部署,具备广泛的工具访问和面向最终用户的网页 UI。
- 该平台强调实时流传输、健壮的错误处理,以及安全的沙箱环境,以提升用户体验和可靠性。
- 自动化工具选择与扩展性减少了最终用户的手动插件管理。
- 真实世界部署揭示了诸如提示复杂性、流式传输的好处,以及为了可靠性需要将网页浏览与聊天编排分离等挑战。
- OpenAgents 提供可复用的代码库和组件,以加速真实世界语言代理的研究与开发。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。