Skip to content

Provenance chain

Provenance chain 解释 outcome 如何产生。它借鉴 W3C PROV 的 entity/activity/agent 模式,但让 Agent Evidence 聚焦 portable refs 与 agent execution。

Node types

Node示例
entityprompt、input part、retrieved source、tool result、artifact、answer、claim、dataset row、policy、exported file。
activitymodel request、retrieval、tool call、human approval、verification check、review、export、redaction、peer handoff。
agentuser、assistant、runtime、tool server、reviewer、policy system、model provider、peer agent、organization。

Edge rules

  • Output entity SHOULD 通过 generated_by 连接到 activity。
  • Activity SHOULD 用 used 列出 inputs。
  • Transformed entity SHOULD 通过 derived_from 连接到 source。
  • Human 或 automated responsibility SHOULD 使用 attributed_toassociated_with
  • Provenance edges SHOULD 在 edge 本身携带 timestamps、confidence 与 source ids。
  • Peer 或 remote systems SHOULD 保留 native ids,而不是重写为 local-only ids。

Runtime and telemetry linkage

Provenance nodes MAY 引用 runtime_idsession_idthread_idturn_idtask_idrun_idtool_call_idartifact_idtrace_idspan_id。这些 ids 是 correlation refs,不替代 provenance semantics。

Draft standard for portable agent evidence, provenance, review, and replay.