Skip to main content
OpenTelemetry exporter for AIP integrity checkpoints and AAP verification results. Send AIP/AAP telemetry to any OTel-compatible observability platform — Langfuse, Arize Phoenix, Datadog, Grafana — with zero custom code.

Why

AIP and AAP produce rich alignment telemetry: integrity verdicts, concerns, verification results, coherence scores, drift alerts. But this data is only useful if it’s observable. This exporter bridges the gap between protocol output and your existing observability stack by mapping everything onto OpenTelemetry spans, events, and metrics.

Three integration layers

Quick start

TypeScript

Python

Span hierarchy

Spans are created as children of the current active span via context.active():

Attributes reference

For the complete attributes and metrics reference, see OTel Attributes.

aip.integrity_check — 22 attributes + 2 GenAI SIG aliases

aap.verify_trace — 8 attributes

aap.check_coherence — 5 attributes

aap.detect_drift — 2 attributes

Metrics

9 metric instruments for aggregate monitoring:

Dashboard templates

Pre-built dashboards are available in the aip-otel-exporter repository:
  • grafana-aip-overview.json — Fleet-wide integrity monitoring
  • grafana-aip-detail.json — Per-agent deep-dive
  • datadog-aip-overview.json — Datadog importable dashboard
See the dashboards README for import instructions.

Platform examples

Integration examples are available in the examples directory:

Performance

Measured via npm run bench (Vitest bench, Node 22, Apple M-series): All operations are sub-0.01ms mean. Zero measurable overhead on hot paths.

Design principles

  • Duck-typed inputs — No hard dependency on AIP/AAP packages. Works with any compatible shape.
  • Graceful degradation — Missing fields are silently skipped, never throws.
  • Zero-overhead Workers — CF Workers adapter uses only fetch() + crypto, no OTel SDK.
  • GenAI SIG forward-compatgen_ai.evaluation.* aliases for future OTel GenAI SIG alignment.

Standards alignment

The exporter follows OpenTelemetry Semantic Conventions for span naming and attribute structure. Forward-compatible aliases (gen_ai.evaluation.*) track the emerging OTel GenAI SIG conventions for AI/ML observability. This exporter is part of the Mnemom trust plane:
  • AIP — Agent Integrity Protocol (per-turn thinking analysis)
  • AAP — Agent Alignment Protocol (behavioral verification)
  • aip-otel-exporter — This package (observability bridge)

See also

Status

Version 0.1.0 — Initial release.