AG-UI lab
A customer asks the support chat about a double charge. The chat (the official @ag-ui/client 1.0.2) sends a RunAgentInput to a LangChain support agent and renders the event stream it gets back: text, tool calls, shared state, and a confirm button for the one tool the app runs itself. Both run in this page and the code shown is the code that runs; the agent's decisions are scripted unless you connect a model. Turn on Intercept to hold events on the wire and tamper with them.