AI Core/ag UI Protocol

Server-side AG-UI streaming protocol implementation: StreamChunk event types (RUN_STARTED, TEXT_MESSAGE_START/CONTENT/END, TOOL_CALL_START/ARGS/END, RUN_FINISHED, RUN_ERROR, STEP_STARTED/STEP_FINISHED, STATE_SNAPSHOT/DELTA, CUSTOM), toServerSentEventsStream() for SSE format, toHttpStream() for NDJSON format. For backends serving AG-UI events without client packages.

TanStack Updated 28.6k repo stars
TanStack AI

File contents

tanstack/ai commit 6f1ceac0fe

Frequently asked questions

npx get-skill add tanstack/ai-core-ag-ui-protocol