Mastra

Mastra Observability & EU AI Act Audit Evidence

One exporter line for agent observability → evidence

Mastra's native Observability exporter hook maps agent runs, model interactions, and tool spans directly into signed ai_act events — with commitment processors for sensitive payloads.

Where Sigigo sits

Mastra exposes exporter and spanOutputProcessor plugin points — the same integration shape as OpenTelemetry. SigigoExporter emits signed ai_act events; SigigoCommitmentProcessor hashes sensitive span fields before export.

Why Mastra is a reference DX

TypeScript-native agents with built-in observability make evidence integration a configuration change, not a rewrite:

  • Agent run spans → inference boundary events
  • Model interaction spans → commitment over prompts and completions
  • Tool call spans → ai_act.action_executed
  • SensitiveDataFilter pattern maps to customer-held vault commitments

Integration shape

Observability({ exporters: [new SigigoExporter(...)], spanOutputProcessors: [new SigigoCommitmentProcessor(...)] }) — EU preset enables commitment mode and disables public anchors.

Evidence events

Canonical event types emitted through this integration path:

  • ai_act.inference_started / inference_completed (agent run)
  • ai_act.input_received / output_generated (model spans)
  • ai_act.action_executed (tool call spans)
  • session_id linkage across workflow steps

Related

Integration availability may vary by tenant, region, and deployment model. This page describes product architecture — not a guarantee of feature availability. See compliance disclaimers and contact us for early access.