Saved in:
Bibliographic Details
Main Authors: Zhang, Hongming, Pan, Xiaoman, Wang, Hongwei, Ma, Kaixin, Yu, Wenhao, Yu, Dong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.10277
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915086276231168
author Zhang, Hongming
Pan, Xiaoman
Wang, Hongwei
Ma, Kaixin
Yu, Wenhao
Yu, Dong
author_facet Zhang, Hongming
Pan, Xiaoman
Wang, Hongwei
Ma, Kaixin
Yu, Wenhao
Yu, Dong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_10277
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Cognitive Kernel: An Open-source Agent System towards Generalist Autopilots
Zhang, Hongming
Pan, Xiaoman
Wang, Hongwei
Ma, Kaixin
Yu, Wenhao
Yu, Dong
Artificial Intelligence
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.
title Cognitive Kernel: An Open-source Agent System towards Generalist Autopilots
topic Artificial Intelligence
url https://arxiv.org/abs/2409.10277