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 6f1ceac 14.4 KB Updated

File contents

tanstack/ai/tree/main/packages/ai/skills/ai-core/ag-ui-protocol commit 6f1ceac0fe

Frequently asked questions

npx skillmds@latest add tanstack/ai-core-ag-ui-protocol