AIOS Compiler: LLM as Interpreter for Natural Language Programming and Flow Programming of AI Agents
Shuyuan Xu, Zelong Li, Kai Mei, Yongfeng Zhang

TL;DR
This paper introduces CoRE, a system that uses Large Language Models as interpreters to understand and execute natural language, pseudo-code, and flow programming for AI agents, enhancing natural language programming's accessibility.
Contribution
It presents a unified framework employing LLMs as interpreters for natural language, pseudo-code, and flow programming, with external memory and tool invocation capabilities.
Findings
Effective natural language instruction interpretation
Unified representation for different programming paradigms
Open-source implementation available
Abstract
Since their inception, programming languages have trended towards greater readability and lower barriers for programmers. Following this trend, natural language can be a promising type of programming language that provides great flexibility and usability and helps towards the democracy of programming. However, the inherent vagueness, ambiguity, and verbosity of natural language pose significant challenges in developing an interpreter that can accurately understand the programming logic and execute instructions written in natural language. Fortunately, recent advancements in Large Language Models (LLMs) have demonstrated remarkable proficiency in interpreting complex natural language. Inspired by this, we develop a novel system for Code Representation and Execution (CoRE), which employs LLM as interpreter to interpret and execute natural language instructions. The proposed system unifies…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMulti-Agent Systems and Negotiation · Semantic Web and Ontologies · Natural Language Processing Techniques
