{"title":"Cognitive Kernel: An Open-source Agent System towards Generalist Autopilots","authors":"Hongming Zhang, Xiaoman Pan, Hongwei Wang, Kaixin Ma, Wenhao Yu, Dong Yu","doi":"arxiv-2409.10277","DOIUrl":null,"url":null,"abstract":"We introduce Cognitive Kernel, an open-source agent system towards the goal\nof generalist autopilots. Unlike copilot systems, which primarily rely on users\nto provide essential state information (e.g., task descriptions) and assist\nusers by answering questions or auto-completing contents, autopilot systems\nmust complete tasks from start to finish independently, which requires the\nsystem to acquire the state information from the environments actively. To\nachieve this, an autopilot system should be capable of understanding user\nintents, actively gathering necessary information from various real-world\nsources, and making wise decisions. Cognitive Kernel adopts a model-centric\ndesign. In our implementation, the central policy model (a fine-tuned LLM)\ninitiates interactions with the environment using a combination of atomic\nactions, such as opening files, clicking buttons, saving intermediate results\nto memory, or calling the LLM itself. This differs from the widely used\nenvironment-centric design, where a task-specific environment with predefined\nactions is fixed, and the policy model is limited to selecting the correct\naction from a given set of options. Our design facilitates seamless information\nflow across various sources and provides greater flexibility. We evaluate our\nsystem in three use cases: real-time information management, private\ninformation management, and long-term memory management. The results\ndemonstrate that Cognitive Kernel achieves better or comparable performance to\nother closed-source systems in these scenarios. Cognitive Kernel is fully\ndockerized, ensuring everyone can deploy it privately and securely. We\nopen-source the system and the backbone model to encourage further research on\nLLM-driven autopilot systems.","PeriodicalId":501479,"journal":{"name":"arXiv - CS - Artificial Intelligence","volume":"36 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.10277","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
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.