// live demo
AI Pulse
Token-by-token streaming UI with a breathing pulse on the request indicator. The shell is the production pattern — request state, backpressure, abort handling — wired to a pre-recorded response for this page so it works without an API key in the browser.
- Vanilla JS
- ReadableStream
- Anthropic SDK (prod)
- Netlify Functions (prod)
// Pick a prompt to start a stream.
Demo data: responses on this page are pre-written and
streamed locally to demonstrate the UI without an API key in the
client. In production this exact UI streams real messages.stream()
output from the Anthropic SDK via a Netlify Function.