Agent State Machine

One agent as a state diagram: every state a card, every transition a line counting how often the run took it, retries as loops and the current state glowing.

Installation

Installation

One command adds agent-state-machine and the shared AI Kit layer it is built on (tokens, faces, marks and brand icons). No animation library, light and dark built in.

$npx shadcn@latest add https://tweenui.dev/r/agent-state-machine.json