Skip to main content

Overview

Users stare at blank screens during 30+ second agent runs. The Progress Protocol provides structured events for every phase of execution — thinking, tool execution, intermediate results, and completion.

Progress Events

Progress Estimation

The built-in estimator calculates progress based on roundtrip count:

Tool Result Previews

Generate concise previews for tool results:

Frontend Integration

Server-Sent Events (SSE)

Socket.IO

Event Timeline Example

A typical agent run emits: