# Agentic Tool-Call & Streaming UI

> Agent progress you can read, stop and approve.

Canonical: https://someshks.com/experiments/agentic-stream-states  
Author: Somesh Kesarla Suresh  
Published: 2026-10-10

| Fact | Detail |
| --- | --- |
| Stack | React, Streaming, Motion |

Most agent interfaces have two states: a spinner, then a wall of text. Neither tells you what the agent is doing or how to stop it.

> Interactive on the web: Side-by-side comparison of a spinner-and-dump response and an interruptible, staged agent response with an approval gate.

The right side splits the same run into steps: the plan, each tool call and its result. You can stop it anytime, and it asks before anything leaves the sandbox.

## Principles

- **Show the work, not the tokens.** A step label beats a stream of words.
- **Make stopping cheap.** One stop button, always in the same place.
- **Ask before acting.** An approval gate turns an irreversible action into a decision.
- **Say how sure you are.** Low confidence looks different, in words and in style.
