agent-operated-software
它能做什么
这个技能说明如何构建 AI 智能体是运行系统一部分、而不仅仅是辅助工具的应用。适合设计由智能体运行的产品的开发者和架构师。
适用场景
- ✓你在设计一个线上后端包含 AI 智能体的应用的时候。
- ✓智能体运行的应用中出现意外行为、需要追踪的时候。
- ✓你想用 Markdown、YAML 或 JSON 文件来控制智能体角色的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/agent-operated-software/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我设计一个持续运行的应用,由专门的智能体处理我们的客服队列,并用 Markdown 指令文件进行控制。”
每周 5 个新技能,1 分钟读完。
工作原理
它先区分支持 AI 的代码、由智能体操作的工作流和由智能体运行的软件,然后指导智能体控制层的设计和追踪。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Agent-Operated Software
Agent-Operated Software is an ongoing application whose functioning runtime includes an OpenRig agent or rig in its live backend or control loop. The application surface can be thin: structured state and specialist roles do the work, while the UI makes that work legible and steerable.
Start with the shared taxonomy
- AI-enabled software: application code owns the control loop and calls a model as one capability.
- Agent-Operated Workflow: an agent owns one bounded procedure with a start and stop condition;
see
agent-operated-workflows. - Agent-Operated Software: agents participate in an ongoing application's functioning runtime.
An application may compose many Agent-Operated Workflows. A bounded workflow does not by itself make its surrounding product Agent-Operated Software, and a model call is neither category unless an agent owns part of the control loop.
Agents are part of the backend
In this architecture, behavior is not located only in functions. It is distributed across agents, skills, instructions, bootstrap files, schemas, Markdown, YAML, JSON, folders, and deterministic tools. A surprising result may therefore be a code defect or a coherence gap in this control plane. Trace the path that actually produced the behavior before choosing which layer to repair.
This is not permission to tolerate defects in OpenRig core or another rock-solid substrate. There, reproduce the bug, fix the code, and hold the full gate. The faster coherence-first posture belongs to recoverable agent-operated application layers whose state and behavior can be inspected and repaired cheaply.
Markdown is the control plane
Markdown is maximally useful to an agent while remaining legible enough for a human to steer. Put intent, work state, evidence, and decisions into stable addressed artifacts rather than private chat or an opaque custom database. Keep schemas and conventions aligned with the running behavior: the agent population acts on those files as executable context.
Use progressive disclosure. A skill's name and description are the hot trigger; its body is cold procedure. Descriptions say when to load, not how to work. The body should route the reader to exact sources instead of copying them into another doctrine fork.
Scripts can act as prompts. A good script returns the context or exact effect an agent needs; when it cannot, its failure teaches what it observed, why it stopped, and safe next actions. Keep deterministic mechanics in tools and judgment in agents.
Make artifacts self-certifying
When a tool produces an artifact, do not make every consumer invent a completeness test:
- Write to a partial path, never the final path.
- Verify the property that can actually be wrong, such as duration, streams, resolution, or schema.
- Flush and atomically rename the partial artifact to its final path.
- Write the manifest, then a
.donesentinel last.
Consumers fail closed on the shared proof. A filename or exit code is not content verification.
Build with an agent SDLC
Select the rigor required by the outcome and the project's policy. Scope relationships,
attributed evidence-backed item judgment, and genuinely distinct higher judgment have separate
owners. One item judgment derives its upstream readiness; agents do not synchronize parent
checkboxes, queue tags, or status prose. Capture alone is not acceptance, and readiness does not
publish or advance a workflow. Use openrig-operating-model and rig proof --help for the
supported judgment, correction, and read path. Keep historical locks and evidence addressable.
The human supplies steering, taste, and decisions the project's authority reserves for them.
For studio applications, the running product is usually the best iteration surface. A separate mockup earns its cost only when it resolves a real design uncertainty that the running app cannot expose as cheaply. This removes a redundant artifact, not the visual review or proof contract.
Repair the narrowest authoritative layer
Find the generator or source that every affected agent actually consumes. Fix a code defect in code; fix a missing trigger in the skill; fix a malformed contract in its schema. Then verify through the consumer. Editing a rendered or installed copy creates a temporary fork, not a repair.
The payoff compounds: a correction to the shared application control plane changes the next agent's starting point. That is how an ong
常见问题
它与支持 AI 的软件有何不同?
在支持 AI 的软件中,应用代码运行循环并调用模型;而在这里,智能体本身就是运行系统的一部分。
它涵盖单次任务吗?
单次有边界的流程由相关技能“智能体操作的工作流”涵盖。
为什么要跨文件追踪行为?
技能指出,行为可能同时来自智能体、指令、结构定义和代码。
详情
作者的原始描述
Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12382
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。
delegating-work
8.6k帮你的智能体判断任务应由自己、子智能体,还是已掌握上下文的队友来完成,并告诉你如何向该执行者交代任务。