OBS-END-01Tier IIObservability & Traceability

Lineage & Explainability Artefacts

For every output consumed downstream, produce a lineage artefact: what was retrieved, what tools ran, which model version, what policies evaluated.

Runtime: TerminateAgentOps: Operate & MonitorSee on the matrix →
LINEAGE ARTEFACT Retrieval sources Tool invocations Model version Policy version Agent identity Lineage Recordattached to every material outputDownstream consumers and regulators trace any output back to its inputs.
In Plain English

This page is the complete instruction page for one pattern called "Lineage & Explainability Artefacts." It explains the problem this pattern solves, the idea behind the solution, when you should (and should not) use it, and what happens afterward, both the good effects and the costs.

This matters because building AI agents is not just about making them clever. It is also about making them safe and predictable. Following a well-tested pattern like this one helps avoid common mistakes, and shows you exactly which safety rules and regulations it connects to, listed under "Standards Mesh" on this page.

Context

Downstream consumers of agent outputs (reports, decisions, communications) need to understand provenance. Regulators require it. Without structured lineage, every question becomes an archaeological expedition.

Problem

Agent outputs without lineage cannot be trusted, audited, or safely re-used.

Forces

  • Lineage completeness vs output size
  • Machine-readability vs human-readability

Solution

Attach a lineage record to every material output: retrieval sources, tool invocations, model versions, prompt version, policy version, timestamps, agent identity, principal identity. Expose via an API; summarise for human readers.

Placement

Where this pattern acts in the two lifecycles

Runtime Cognitive
01Perceive
02Reason / Plan
03Decide
04Act
05Observe
06Reflect / Learn
07Terminate

07 Terminate. Exit conditions, HITL escalation, handoff. 6 of 61 catalogue patterns act at this stage.

AgentOps Lifecycle
01Design & Scope
02Build & Integrate
03Evaluate & Red-Team
04Deploy
05Operate & Monitor
06Iterate & Adapt
07Decommission

05 Operate & Monitor. Runtime telemetry, drift detection. 18 of 61 catalogue patterns act at this stage.

Stages and counts from the catalogue data. The Runtime lens is the loop the agent runs each turn; the AgentOps lens is the lifecycle the team runs the agent through. See the Matrix for every pattern at each stage.

Applicability

  • Reporting agents
  • Decision-support agents
  • Content-generation for regulated use

Anti-Patterns

  • Lineage buried in logs only
  • Lineage stripped at export

Consequences

  • +Trustworthy downstream consumption
  • +Supports subject-rights requests
  • −Artefact size overhead
  • −Schema must evolve with the system