Accessible React components for agent runs: tool call timeline, human-in-the-loop approvals, per-hunk diff review and run telemetry, typed against AI SDK message parts.
Renders an assistant UIMessage: markdown, reasoning, grouped tool calls, inline approvals and sources.
Run state pill (thinking, working, waiting for approval, done, error) announced through an aria-live region.
useAgUiAgent: renders any AG-UI agent (LangGraph, CrewAI, Mastra, Pydantic AI) with these components, interrupts as approvals.
Human-in-the-loop approve/deny for tool calls with risk levels, an args preview and keyboard shortcuts.
Unified/split review of agent file edits with per-hunk accept/reject and keyboard navigation.
Streaming-safe GFM markdown with linked [n] citations and a typing caret.
Collapsible model reasoning that opens while streaming and summarizes its duration.
Tokens, estimated cost and latency (TTFT, total) for an agent run, compact or expanded.
Citation chips and cards for AI SDK source-url and source-document parts.
Vertical timeline of AI SDK tool calls with live states, durations, a waterfall and expandable input/output.