AG-UI event validator guide
Understand accepted input formats and the difference between event schema and stream semantics.
Read the guide →Event stream debugger
Paste raw AG-UI SSE, JSONL or JSON. Catch missing event fields, broken run and message sequences, tool-call lifecycle mistakes, malformed JSON Patch operations and deprecated event types before they reach your frontend.
Why this tool exists
AG-UI is an open, event-based protocol that connects agent backends to user-facing applications. It can travel over Server-Sent Events, WebSockets or other transports. The protocol defines events for runs, text messages, tool calls, shared state, activities, reasoning and custom data.
Field validation alone cannot tell whether a frontend can consume a stream safely. A text delta may reference a message that never started. Tool arguments may arrive after the tool call ended. A run may finish with identifiers different from those used at start. This validator keeps lifecycle state across the complete pasted stream.
data: blocks, JSON Lines, JSON arrays and single events.THINKING_* events deprecated before 1.0.This is an independent structural linter. It does not execute tools, apply state, verify transport headers or replace testing against your actual AG-UI client SDK.
Practical workflow
Focused references
Understand accepted input formats and the difference between event schema and stream semantics.
Read the guide →Learn how data blocks, blank-line boundaries and JSON payloads become ordered events.
Open the parser guide →Debug messages, tool calls, run IDs, patches and deprecated thinking events.
Browse errors →FAQ
Raw SSE with JSON in data lines, JSONL, a JSON array or one JSON event.
The field rules track the public TypeScript core schemas. The browser checker is an independent implementation and clearly separates its additional lifecycle diagnostics.
The official SDK marks THINKING_* events deprecated and recommends REASONING_* replacements before version 1.0.
No. The checker validates operation shape and pointer syntax. Application still depends on your current state document.
No. AG-UI Event Lab is an independent developer utility based on public documentation.