AIOS: LLM Agent Operating System

Kai Mei, Xi Zhu, Wujiang Xu, Wenyue Hua, Mingyu Jin +5 more
3/25/2024
143 citations
cs.OScs.AIcs.CL

Official code: agiresearch/AIOS (6,551 stars, Python, last commit 2026-04-23). 1 more implementation below.

Abstract

LLM-based intelligent agents face significant deployment challenges, particularly related to resource management. Allowing unrestricted access to LLM or tool resources can lead to inefficient or even potentially harmful resource allocation and utilization for agents.

Show full abstract

Furthermore, the absence of proper scheduling and resource management mechanisms in current agent designs hinders concurrent processing and limits overall system efficiency. To address these challenges, this paper proposes the architecture of AIOS (LLM-based AI Agent Operating System) under the context of managing LLM-based agents. It introduces a novel architecture for serving LLM-based agents by isolating resources and LLM-specific services from agent applications into an AIOS kernel. This AIOS kernel provides fundamental services (e.g., scheduling, context management, memory management, storage management, access control) for runtime agents. To enhance usability, AIOS also includes an AIOS SDK, a comprehensive suite of APIs designed for utilizing functionalities provided by the AIOS kernel. Experimental results demonstrate that using AIOS can achieve up to 2.1x faster execution for serving agents built by various agent frameworks. The source code is available at https://github.com/agiresearch/AIOS.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
agiresearch/AIOSOfficial6,551Python–2026-04-23
agiresearch/AIOS.ServerOfficial8PythonMIT2025-04-21
agiresearch/AIOSOfficial100%

AIOS: AI Agent Operating System

6,551932Python, ShellJan 15, 20247 months agoNOASSERTION
MIT

Planet as a Brain: Towards Decentralized Agent Networks based on AIOS Server

82Python, ShellFeb 18, 20251 years agoMIT

Similar Papers

Cite this paper

@article{mei2024aios,
  title  = {AIOS: LLM Agent Operating System},
  author = {Kai Mei and Xi Zhu and Wujiang Xu and Wenyue Hua and Mingyu Jin and Zelong Li and Shuyuan Xu and Ruosong Ye and Yingqiang Ge and Yongfeng Zhang},
  year   = {2024},
  eprint = {2403.16971},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.16971v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.16971.svg)](https://codeofpaper.com/paper/2403.16971)

Discussion