Observability Overview
Full observability for agent execution — OpenTelemetry, anomaly detection, and visual inspector.
What's included
AgentForge traces every decision, tool call, and token by default. You get three things out of the box:
- OpenTelemetry — spans and metrics exported to any OTEL-compatible backend
- Anomaly Detection — automatic detection of unusual agent behavior
- Inspector — visual UI for exploring agent runs
Quick Start
import { getInstrumentation } from '@ahzan-agentforge/core';
const instrumentation = getInstrumentation();
// Returns the AgentForgeInstrumentation singletonWhat's Tracked
| Data | Granularity |
|---|---|
| Run lifecycle | Start, complete, fail |
| Step execution | Each LLM call and tool execution |
| Token usage | Per-step input/output tokens |
| Cost estimates | Per-step USD cost |
| Tool calls | Name, input, output, duration |
| Errors | Source, message, stack |
| Anomalies | Detected behavioral anomalies |
Next Steps
- OpenTelemetry — OTEL integration
- Anomaly Detection — behavioral anomalies
- Inspector — visual debugging