arXiv:2409.10277cs.AI2024-09NAACL被引 10

开源智能体系统,让AI自主完成任务全流程。

Cognitive Kernel: An Open-source Agent System towards Generalist Autopilots

  • 以大模型为核心,主动从环境获取信息并执行动作
  • 在实时、私密与长期信息管理中表现媲美闭源系统
  • 全容器化部署,适合研究者和开发者私有化使用

我们提出 Cognitive Kernel,一个面向通用智能体的开源系统。与依赖用户输入状态信息的协作者系统不同,自动驾驶系统需自主完成任务,必须主动从环境中获取信息。Cognitive Kernel 采用以模型为中心的设计,核心策略模型(微调的大语言模型)通过打开文件、点击按钮、保存中间结果至记忆或调用自身等原子动作与环境交互。这区别于传统以环境为中心的固定动作集设计,实现跨源信息无缝流动与更高灵活性。我们在三个场景下评估:实时信息管理、私有信息管理与长期记忆管理。结果表明,Cognitive Kernel 在这些场景中性能优于或相当优于其他闭源系统。系统全程容器化,支持私有安全部署。我们开源了整个系统及基础模型,推动基于大模型的自动驾驶系统研究。

原文摘要 · Abstract (English)

We introduce Cognitive Kernel, an open-source agent system towards the goal of generalist autopilots. Unlike copilot systems, which primarily rely on users to provide essential state information (e.g., task descriptions) and assist users by answering questions or auto-completing contents, autopilot systems must complete tasks from start to finish independently, which requires the system to acquire the state information from the environments actively. To achieve this, an autopilot system should be capable of understanding user intents, actively gathering necessary information from various real-world sources, and making wise decisions. Cognitive Kernel adopts a model-centric design. In our implementation, the central policy model (a fine-tuned LLM) initiates interactions with the environment using a combination of atomic actions, such as opening files, clicking buttons, saving intermediate results to memory, or calling the LLM itself. This differs from the widely used environment-centric design, where a task-specific environment with predefined actions is fixed, and the policy model is limited to selecting the correct action from a given set of options. Our design facilitates seamless information flow across various sources and provides greater flexibility. We evaluate our system in three use cases: real-time information management, private information management, and long-term memory management. The results demonstrate that Cognitive Kernel achieves better or comparable performance to other closed-source systems in these scenarios. Cognitive Kernel is fully dockerized, ensuring everyone can deploy it privately and securely. We open-source the system and the backbone model to encourage further research on LLM-driven autopilot systems.

智能体系统大模型自动化开源

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。