SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.11843 · 2024

From Commands to Prompts: LLM-based Semantic File System for AIOS

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
agiresearch/aios-lsfs canonical 4 of 4
FunctionStatusWhere it lives
add_framework_adapter Ran agiresearch/aios-lsfs/aios/community/adapter.py
code served (permissive licence) · get_code("f82a3b8685260218")
decode_litellm_tool_calls Ran agiresearch/aios-lsfs/aios/llm_core/utils.py
code served (permissive licence) · get_code("5a1e0815c6a1e321")
parse_json_format Ran agiresearch/aios-lsfs/aios/llm_core/utils.py
code served (permissive licence) · get_code("f133c057b292d7fa")
tool_calling_input_format Ran agiresearch/aios-lsfs/aios/llm_core/utils.py
code served (permissive licence) · get_code("8826542ce0ca4bc7")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models (LLMs) have demonstrated significant potential in the development of intelligent applications and systems such as LLM-based agents and agent operating systems (AIOS). However, when these applications and systems interact with the underlying file system, the file system still remains the traditional paradigm: reliant on manual navigation through precise commands. This paradigm poses a bottleneck to the usability of these systems as users are required to navigate complex folder hierarchies and remember cryptic file names. To address this limitation, we propose an LLM-based semantic file system ( LSFS ) for prompt-driven file management. Unlike conventional approaches, LSFS incorporates LLMs to enable users or agents to interact with files through natural language prompts, facilitating semantic file management. At the macro-level, we develop a comprehensive API set to achieve semantic file management functionalities, such as semantic file retrieval, file update monitoring and summarization, and semantic file rollback). At the micro-level, we store files by constructing semantic indexes for them, design and implement syscalls of different semantic operations (e.g., CRUD, group by, join) powered by vector database. Our experiments show that LSFS offers significant improvements over traditional file systems in terms of user convenience, the diversity of supported functions, and the accuracy and efficiency of file operations. Additionally, with the integration of LLM, our system enables more intelligent file management tasks, such as content summarization and version comparison, further enhancing its capabilities.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.11843")
get_code_for_paper("2410.11843")
have("2410.11843")

Connect an agent — have() is free.