AgentForge

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 singleton

What's Tracked

DataGranularity
Run lifecycleStart, complete, fail
Step executionEach LLM call and tool execution
Token usagePer-step input/output tokens
Cost estimatesPer-step USD cost
Tool callsName, input, output, duration
ErrorsSource, message, stack
AnomaliesDetected behavioral anomalies

Next Steps