← All AI News
Agents & tools

Typed generative UI turns agent output into a cross-platform contract

Vercel’s Chat SDK can now stream one validated JSON interface into native Slack, Teams and other platform cards, shifting generative UI from free-form output toward governed components.

What changed

Vercel added json-render support to Chat SDK agents on 6 November. An agent can now generate a JSON interface from a typed catalog of approved components, while json-render converts that specification into a Chat SDK card. Each adapter then uses the destination platform’s native format, including Block Kit on Slack and Adaptive Cards on Microsoft Teams.

The standard catalog includes elements such as tables, charts and buttons. Streaming begins once the root card has content, with message edits limited to one update every 500 milliseconds by default. When generation finishes, the final card is validated against the component schemas.

Validation does not make every platform identical. Messaging services impose different limits on tables, charts, fields and message size. Chat SDK can degrade content that exceeds those limits—for example by converting an extra Slack table into a code block—or developers can set explicit limits and reject the specification instead. Invalid properties or structure produce readable errors that can be returned to the model for correction.

Our perspective

The important change is not that an agent can draw a chart. It is that the interface becomes a contract: developers choose the available components and constraints, the model selects and fills them, and a deterministic renderer validates the result. That is a safer and more maintainable boundary than asking a model to emit arbitrary markup for every channel.

A shared catalog can also reduce duplicated UI work across Slack, Teams and other messaging surfaces, but cross-platform output still needs acceptance tests. Teams should keep representative cards for each adapter and check both the ideal rendering and the documented degradation path.

Interactive controls require an additional boundary. A generated button should map only to a registered server-side action with normal authorization, validation, idempotency and confirmation rules. The card may be generated dynamically; permission to change data, send a message or spend money must never be inferred from the card itself.

Go to the source

Primary reporting behind this brief. Our perspective is editorial analysis.

  1. Vercel — Chat SDK agents can now stream generative UI with json-render 6 Nov 2026