assistant-ui streams partial AG-UI tool arguments into the UI and stages spec prompts for user review
assistant-ui released @assistant-ui/react-ag-ui 0.1.13 and generative-frame 0.0.12 on November 24. The AG-UI runtime now feeds every TOOL_CALL_ARGS delta into a shared incremental JSON object parser, allowing forms, long text, and other tool UIs to build before the argument object closes. The spec toolkit's default sendMessage now fills the thread composer for user review before sending.
Why it matters
When streaming tool arguments remain an empty object until the final brace, generative interfaces jump abruptly at completion. Partial arguments provide earlier feedback, while composer staging preserves the user's final decision over outbound text.
A closer look
Each new tool call gets an incremental parser that publishes recoverable object fields as deltas arrive; once the container closes, exact JSON.parse remains authoritative. Tests cover split keys and values, nested objects, and invalid trailing text, with invalid containers falling back to empty arguments. The coordinated generative-frame fix aligns spec-toolkit prompts with widget and MCP App behavior.
Who this is for
Teams using AG-UI, assistant-ui, tool forms, long argument streams, or user-reviewed message sending.
Original sources
- assistant-ui official releases and implementation commits ↗github.com
- Composer staging implementation and tests ↗github.com
- Partial AG-UI tool argument implementation and tests ↗github.com
- generative-frame 0.0.12 release ↗github.com
Revisions & corrections (1)
— Merged the coordinated November 24 assistant-ui releases into one event because they address the same interactive boundary: progressive tool rendering and user-reviewed outbound prompts.