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

47 lines
1.7 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: "行动接口 (Action Interface, I_act)"
created: 2026-07-13
updated: 2026-07-13
type: concept
tags: [agent, harness, tool-use, mcp]
sources:
- arxiv:2606.20683
---
# 行动接口 (I_act)
## 定义
脚手架六组件之一。**行动接口**将模型输出映射到可执行操作。它定义 Agent 能做什么、如何规范操作、适用什么权限、以及操作结果如何作为后续观测返回。
## 设计空间
- **工具粒度**low-levelterminal、browser vs. high-level APIs
- **工具规范**free-form commands vs. structured schemas
- **路由与互操作**local tools vs. protocol-based ecosystems如 MCP
- **治理**:权限、副作用控制、调用约束
## 核心权衡
**灵活性 vs. 可控性**
- 低层工具通用但难以鲁棒使用
- 高层工具提高可靠性但可能过度窄化行为空间
## 工具使用失败的诊断
近期研究表明Agent 失败常不是因为缺少工具,而是因为**工具选择不当、调用错误、或未正确集成到执行轨迹中**(见 ET-Agent、ToolTok
## I_act 与 I_obs 的协同设计
SWE-agent 是 O-A 协同设计的典范:重新设计 ACI 同时改变模型所见和所行。在固定基座模型下,仅 I_obs + I_act 的重新设计就产生显著增益。
## MCP 与协议化工具生态
MCP ([[mcp-protocol|Model Context Protocol]]) 等协议化基础设施将工具访问推向跨异构服务的标准化接口层。MCPWorld、MCP-Atlas 等 benchmark 评估 Agent 能否在真实条件下可靠调用这些服务。
## 参考
- [[agent-harness-survey-2026|Agent Harness Survey (2026)]]
- [[harness-six-components|脚手架六组件模型]]
- [[observation-interface|观测接口]]
- [[verification-governance|验证与治理]]