Skip to main content
AFK includes a telemetry pipeline that captures every agent run event — LLM calls, tool executions, state transitions, and performance metrics. Export to the console for development, JSON for log aggregation, or OpenTelemetry for production.

Setup in one line

Telemetry pipeline

RunMetrics reference

Every completed run produces a RunMetrics object:

Choosing an exporter

Human-readable output to stdout. Best for development and debugging.

Telemetry spans

AFK creates spans for key operations:
Spans capture timing, success/failure, and metadata. In OTEL mode, these map directly to traces visible in your observability dashboard.

Alerting recommendations

Start with the console exporter even in staging. It costs nothing and gives you immediate visibility into agent behavior. Switch to OTEL when you have a monitoring stack.

Next steps

Evals

Behavioral testing for agent quality.

Security Model

Security boundaries and hardening.