AGUI901
August 29, 2026 · View on GitHub
Severity: info · Group: Protocol hygiene · Checked in: core · Since: 0.x
Message: RAW event wraps an event of type '{wrappedType}', which has a typed AG-UI equivalent
Spec grounding
The Raw event acts as a container for events originating from external systems or sources that don't natively follow the Agent UI Protocol.
Source: https://docs.ag-ui.com/concepts/events#raw
Example
A violating stream from the corpus (spec/fixtures/invalid/AGUI901-raw-wraps-typed-event):
{"type":"RUN_STARTED","threadId":"thread_001","runId":"run_001","timestamp":1755300022300}
{"type":"RAW","event":{"type":"TOOL_CALL_RESULT","toolCallId":"call_001","content":"wrapped"},"timestamp":1755300022400}
{"type":"RUN_FINISHED","threadId":"thread_001","runId":"run_001","outcome":{"type":"success"},"timestamp":1755300022500}
Expected findings:
infoAGUI901 at event 1 — RAW event wraps an event of type 'TOOL_CALL_RESULT', which has a typed AG-UI equivalent