Overview

AgentStat is a lightweight, canvas-powered React component that visualizes live LLM and agent metrics — token rates, progress, status transitions, and a composite health score per agent.

Built with Catmull-Rom splines, live pulsing dots, and automatic health calculation. Zero runtime dependencies beyond your existing React.

Why AgentStat?

  • Zero-config smooth curves (Catmull-Rom splines)
  • Automatic health scoring — token efficiency, stability, hallucination risk, latency trend
  • Live pulsing dot with subtle glow + area fill
  • Imperative updateAgent() API via ref
  • Fully customizable via styles prop
  • Ships with demoAgents and createAgent() helpers for zero-boilerplate starts