Skip to content

Agent Revision

角色

AgentRevision 是不可变可执行修订版,承载当前发布版本的执行画像、run policy、Agent 侧协议能力、McpServer 引用和 secret 引用。

核心字段

  • agentRevisionId
  • agentId
  • orgId
  • card
  • protocolProfiles
  • mcpServerRefs
  • executionProfile
  • runPolicy
  • secretRefs
  • createdAt

规范要求

  • AgentRevision 一旦创建 MUST 视为不可变
  • run 创建时 MUST 解析到一个确定的 agentRevisionId
  • protocolProfiles 只声明 Agent 侧协议能力、identity projection 和 canonical 语义映射,不声明 endpoint / transport / security 绑定
  • MCP server 暴露 MUST NOT 继续由 protocolProfiles.mcp 声明;Agent 如需暴露 MCP,MUST 通过 mcpServerRefs 引用确定的 McpServer
  • 既有 run MUST NOT 因 channel 切换或 Agent 更新而漂移到其他 revision

白皮书与规范内容以仓库真源为准。