AG-UI Event Lab

AG-UI reference

From SSE text to ordered AG-UI events.

Parse AG-UI Server-Sent Events, data lines, blank-line event boundaries and JSON payloads with a browser-based validator.

How it works

Read the stream in order.

An SSE message ends at a blank line. Its data lines are joined and decoded as one JSON payload. The optional event field is transport metadata; AG-UI identifies the protocol event with the type property inside JSON. The marker [DONE] is ignored by this parser.

Capture the response body exactly as emitted. Keep each JSON payload within one SSE event, preserve blank lines between events, and check proxy buffering separately. This tool also accepts JSONL when your logs omit SSE framing.

Useful next steps

AG-UI Event Lab is independent and is not affiliated with the AG-UI project or CopilotKit.