Current approaches to AI agent orchestration typically involve building multi-agent frameworks that manage context passing, memory, error handling, and step coordination through code. These frameworks work well for complex, concurrent systems. But for sequential workflows where a human reviews output at each step, they introduce engineering overhead that the problem does not require. This paper presents Model Workspace Protocol (MWP), a method that replaces framework-level orchestration with filesystem structure. Numbered folders represent stages. Plain markdown files carry the prompts and context that tell a single AI agent what role to play at each step. Local scripts handle the mechanical work that does not need AI at all. The result is a system where one agent, reading the right files at the right moment, does the work that would otherwise require a multi-agent framework. This approach applies ideas from Unix pipeline design, modular decomposition, multi-pass compilation, and literate programming to the specific problem of structuring context for AI agents. The protocol is open source under the MIT license.
翻译:当前AI智能体编排方法通常涉及构建多智能体框架,通过代码管理上下文传递、记忆、错误处理和步骤协调。这些框架适用于复杂的并发系统。但对于需要人工在每一步审查输出的顺序工作流,它们引入了问题本身并不需要的工程开销。本文提出模型工作空间协议(MWP),这是一种用文件系统结构替代框架级编排的方法。编号文件夹代表不同阶段,纯Markdown文件携带提示词和上下文,指示单个AI智能体在每一步扮演何种角色。本地脚本处理完全不需要AI参与的机械性工作。最终构建的系统仅需单个智能体在适当时刻读取相应文件,即可完成原本需要多智能体框架的工作。该方法将Unix管道设计、模块化分解、多遍编译和文学化编程的思想,应用于AI智能体上下文结构构建这一特定问题。该协议采用MIT许可证开源发布。