Skip to content
AgentStat
v0.6.0 · 17 KB · React onlynpm install @dan-build/agentstat

Live telemetry for LLM agents

AgentStat is a React component that plots each agent's token rate, status and health as it runs, and flags stalls, runaway output and status thrashing. It works from the events your agents already emit.

Researcher: Active, 14.8 tokens per second. Critic: Thinking, 4.2 tokens per second. Executor: Active, 21.5 tokens per second. Use the arrow keys to inspect samples and Space to pause.

The component itself, driven by its built-in simulator.

Start here

  1. Installation — install, check it with demo data, plot your own agents
  2. Event streams — forward what your agent emits, get rates and status
  3. Integrations — Vercel AI SDK, LangChain, OpenTelemetry, AG-UI, SSE
  4. API reference — every prop, ref method, type and entry point