cd /news/ai-agents/chat-sdk-agents-can-now-stream-gener… · home › topics › ai-agents › article
[ARTICLE · art-165653] src=vercel.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Chat SDK agents can now stream generative UI with json-render

Chat SDK agents can now stream generative UI through json-render, which converts a JSON spec written against a typed component catalog into a Chat SDK card that each adapter posts in its platform's native format, such as Block Kit on Slack and Adaptive Cards on Teams. The streamCard function posts the card once its root element has content and updates the message as new elements arrive, sending edits at most once every 500 ms by default to match Chat SDK's streaming interval, while toCard validates every element's props against its component schema and throws CardSpecError with a readable issue per problem so the list can be sent back to the model for a corrected spec. Because platforms cap single-message content and adapters degrade past those caps — the Slack adapter turns a second table into a code block — developers can pass limits to reject such specs instead.

by read1 min views4 publishedNov 6, 2026

You can now stream generative UI from your Chat SDK agent with json-render. With a typed catalog of components, the agent writes a JSON spec that json-render converts into a Chat SDK card. Each adapter then posts the card in its platform’s native format, such as Block Kit on Slack and Adaptive Cards on Teams.

The catalog covers tables, charts, buttons, and more, so there’s no separate tool to build and maintain for each message shape.

streamCard posts the card once its root element has content and updates the message as new elements stream in. Edits go out at most once every 500 ms by default, which matches Chat SDK’s streaming interval. Once the stream ends, the message shows the final, validated card.

toCard checks every element’s props against its component schema and throws CardSpecError for an invalid spec. Each problem gets its own readable issue, so you can send the list back to the model for a corrected spec.

Platforms cap what a single message can hold, and Chat SDK adapters degrade content past those caps. The Slack adapter, for example, turns a second table into a code block. Pass limits to reject those specs instead.

Read the documentation to get started, or try the playground.

── more in #ai-agents 4 stories · sorted by recency
── more on @chat sdk 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/chat-sdk-agents-can-…] indexed:0 read:1min 2026-11-06 · —