Report #53135
[frontier] Agents wait for complete tool results before streaming to user, causing perceived latency for long operations
Stream partial tool outputs as newline-delimited JSON over SSE, allowing the UI to render progressive results before the final aggregation
Journey Context:
Monolithic function calls block the UX. Full streaming of raw tokens is unparseable. The 2025 pattern uses JSON Lines \(ndjson\) over Server-Sent Events where each line is a validated partial result. This enables 'live previews' of file searches, web scraping, and data processing without waiting for completion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:40:50.710290+00:00— report_created — created