Core Concepts
Foundational principles of telemetry and testing for compound agent loops.
OpenTelemetry Spans
Instrument agent steps and helper tools using OTel tracers to build complete call-chain graphs (inspecting latency, prompt, and response attributes).
OTLP Log Collectors
Configure unified OpenTelemetry protocol (OTLP) exporters to stream build logs, telemetry data, and system traces to remote servers.
LLM-Assisted Metrics
Run evaluations (G-Eval, hallucination scoring, toxic tone assessments) by employing dedicated evaluator models to review agent logs.
Metric Gating Thresholds
Set minimum compliance scores (e.g. hallucination score < 0.3) that code must satisfy to progress past deployment gates.
Cost & Latency Tracking
Log token expenses and API latency attributes at step boundaries, identifying slow tools or expensive prompt architectures.
Guardrails
Intercept execution threads dynamically to block PII output leaks, prompt injection jailbreaks, or unsafe tool behaviors.
Setup & Installation
Configure tracing backends and python testing suites.
Install Packages
Instrumentation & Evaluation
Registering OTel trace providers, exporting spans, and setting up multi-metric tests.