Files
myWiki/concepts/control-loop.md
2026-07-20 14:14:55 +08:00

51 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "控制循环 (Control Loop, L)"
created: 2026-07-13
updated: 2026-07-13
type: concept
tags: [agent, harness, orchestration]
sources:
- arxiv:2606.20683
---
# 控制循环 (L)
## 定义
脚手架六组件之一。**控制循环**组织跨步骤、跨工具和可能交接的执行。它将观测、推理、行动和反馈转化为可运行的过程。
## 设计空间
- 执行模式:简单 perceive-act 循环 vs. ReAct-style vs. plan-execute-verify
- 控制分权:多少控制由模型主导 vs. 运行时主导
- 规划时机:何时创建/修订计划
- 委托:何时引入子 Agent
- 协调:顺序 vs. 并行
- 终止条件:何时停止执行
## 核心权衡
**适应性 vs. 稳定性**
- 更自由的循环可响应意外状态,但更易漂移、重复失败和产生协调开销
- 更强的编排提高可靠性,但可能降低效率或过度约束探索
## 多模型控制循环
当 |M| > 1 时,控制循环从"一个模型迭代至完成"变为"运行时决定哪个模型接下来行动、带什么上下文、在什么约束下"。典型模式:
- Planner-Executor-Verifier 分解
- Specialist routing
- Debate/committee-style validation
- Sub-agent handoff
## 代表系统
- **NLAH**:将脚手架逻辑视为可编辑产物
- **Meta-Harness**:将脚手架配置视为可搜索的设计空间
- 轻量级迭代循环 vs. 显式 plan-execute-verify vs. 多 Agent 协调——占据设计空间的不同位置
## 参考
- [[agent-harness-survey-2026|Agent Harness Survey (2026)]]
- [[harness-six-components|脚手架六组件模型]]
- [[multi-model-harness|多模型脚手架]]
- [[learnable-harness|可学习脚手架]]