MOSS: Enabling Code-Driven Evolution and Context Management for AI Agents
Ming Zhu, Yi Zhou

TL;DR
MOSS is a framework that enables AI agents to evolve and adapt through code by managing runtime context and ensuring consistency across interactions, advancing towards Turing-complete, autonomous agents.
Contribution
This paper introduces MOSS, a novel framework integrating code generation with dynamic context management to improve AI agent adaptability and consistency.
Findings
Enhances agent efficiency and capability through context-aware code execution.
Facilitates seamless tool integration and runtime instance replacement.
Supports development of Turing-complete, evolving AI agents.
Abstract
Developing AI agents powered by large language models (LLMs) faces significant challenges in achieving true Turing completeness and adaptive, code-driven evolution. Current approaches often generate code independently of its runtime context, relying heavily on the LLM's memory, which results in inefficiencies and limits adaptability. Manual protocol development in sandbox environments further constrains the agent's autonomous adaptability. Crucially, achieving consistency in code and context across multi-turn interactions and ensuring isolation of local variables within each interaction remains an unsolved problem. We introduce MOSS (llM-oriented Operating System Simulation), a novel framework that addresses these challenges by integrating code generation with a dynamic context management system. MOSS ensures consistency and adaptability by using a mechanism that maintains the Python…
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 · Service-Oriented Architecture and Web Services
MethodsFocus
