Codex TUI Massively Speeds Up Streaming Markdown
charliermarsh · x · 2026-07-19
A new version of Codex introduces incremental rendering for streaming Markdown in the TUI, making large outputs significantly faster.
The PR screenshots explain the issue: previously, streaming Markdown would continuously re-parse and redraw an increasingly large prefix as new content arrived, inflating the generation cost for long replies, lists, and tables. The new approach:
- Only incrementally renders the stable prefix
- Tracks the final top-level block during rendering
- Subsequent increments only retain the mutable suffix
Benchmarks from the PR show that in block-heavy streams, the incremental approach achieves 17.8x / 55.3x / 259x speedups compared to full re-rendering.
More from coding & agent
- A roundup of AI agents and MCP resources, including how to evaluate agents — _jaydeepkarale · 2026-07-21
- A full course shows how to build and deploy an AI agent with OpenAI and LangChain — _jaydeepkarale · 2026-07-21
- A beginner guide to AI agents points readers to a Stanford webinar — _jaydeepkarale · 2026-07-21
- A practical guide on how to evaluate AI agents — _jaydeepkarale · 2026-07-21
- MCP is headed toward easier scale, event-driven extensions, and workable file uploads — EricBuess · 2026-07-21
- Developers debate the missing composition model for AI agents — threepointone · 2026-07-21