Articles¶
What I write about building AI agents in production.
November20261 article
23 min of reading
23 min of reading
Streaming typed UI blocks in a customer chat agent: the protocol and what it costs
The model answers through one tool that fills typed blocks from a closed catalogue; the server checks them and streams them to a website and two apps.
In this article
Three clients render the answers, and none of them is mine2 min
In the early versions, the model wrote text and we rebuilt the UI afterwards2 min
No existing option fit native clients4 min
The model answers by calling one tool1 min
The catalogue is closed, and each agent gets a subset1 min
The model writes references, and the server and the clients bring the data2 min
The server turns streaming arguments into typed events2 min
Parts of an answer can leave before the turn ends1 min
In a week of production, the model never answered outside the tool1 min
I replayed 100 turns with and without the tool3 min
The parsers are quadratic, and I left them that way1 min
Streaming, malformed calls, and portability are still fragile3 min
Read next
1 article, 23 min of reading. Point at one to see what it covers.
Latest
Streaming typed UI blocks in a customer chat agent: the protocol and what it costs23 min