OpenProseOpenProse
OpenProse 是一种可移植的、以 Markdown 为优先的工作流格式,用于编排 AI 会话。在 OpenClaw 中,它作为插件提供,安装 OpenProse 技能包和 OpenProseOpenClawOpenProse/prose 斜杠命令。程序存放在 .prose 文件中,可以通过显式控制流生成多个子代理。
启用 OpenProse 插件并重启 Gateway(网关)。
使用 /prose run 执行 .prose 文件或远程程序。
编写包含并行和串行步骤的多代理工作流。
Enable the plugin
默认情况下禁用捆绑插件。启用 OpenProse:
Terminal window openclaw plugins enable open-proseGateway(网关)Restart the Gateway
Terminal window openclaw gateway restartVerify
Terminal window openclaw plugins list | grep prose您应该看到
open-prose已启用。/prose技能命令现在 在聊天中可用。
对于本地检出:openclaw plugins install ./path/to/local/open-prose-plugin
OpenProse 将 OpenProse/prose 注册为用户可调用的技能命令:
/prose help/prose run <file.prose>/prose run <handle/slug>/prose run <https://example.com/file.prose>/prose compile <file.prose>/prose examples/prose update/prose run <handle/slug> 解析为 https://p.prose.md/<handle>/<slug>。
直接 URL 将使用 web_fetch 工具按原样获取。
- 具有显式并行的多智能体研究与合成。
- 可重复、审批安全的工作流(代码审查、事件分类、内容流水线)。
- 可重用的
.prose程序,您可以在支持的智能体运行时中运行它们。
示例:并行研究与合成
Section titled “示例:并行研究与合成”# Research + synthesis with two agents running in parallel.
input topic: "What should we research?"
agent researcher: model: sonnet prompt: "You research thoroughly and cite sources."
agent writer: model: opus prompt: "You write a concise summary."
parallel: findings = session: researcher prompt: "Research {topic}." draft = session: writer prompt: "Summarize {topic}."
session "Merge the findings + draft into a final answer."context: { findings, draft }OpenClaw 运行时映射
Section titled “OpenClaw 运行时映射”OpenProse 程序映射到 OpenClaw 基元:
| OpenProse 概念 | OpenClaw 工具 |
|---|---|
| 生成会话 / 任务工具 | sessions_spawn |
| 文件读取 / 写入 | read / write |
| Web 获取 | web_fetch |
OpenProse 将状态保存在您工作区的 OpenProse.prose/ 下:
.prose/├── .env├── runs/│ └── {YYYYMMDD}-{HHMMSS}-{random}/│ ├── program.prose│ ├── state.md│ ├── bindings/│ └── agents/└── agents/用户级别的持久化智能体位于:
~/.prose/agents/文件系统(默认)
状态被写入工作区的 .prose/runs/... 中。不需要
额外的依赖项。
上下文中
保持在上下文窗口中的瞬时状态。适用于小型、 短命的程序。
sqlite(实验性)
需要 PATH 上的 sqlite3 二进制文件。
postgres (experimental)
需要 psql 和连接字符串。
请将 .prose 文件视为代码。在运行前进行审查。使用 OpenClaw 工具允许列表和审批门控来控制副作用。对于确定性、基于审批门控的工作流,请与 Lobster 进行比较。
OpenProse 的技能包如何加载以及适用哪些门控。
OpenClaw 的原生多代理协调层。
为您的工作流添加音频输出。
所有可用的聊天命令,包括 /prose。
官方网站:https://www.prose.md