Textual v4.0.0: The Streaming Release
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Textual v4.0.0 lets Python TUI apps render Markdown live as LLM APIs stream it, useful for anyone building terminal chat tools.
Textual is a Python framework for building interactive apps that run in the terminal, using keyboard-driven text instead of graphics. Version 4.0.0 adds streaming Markdown, meaning formatted text can appear on screen as it is generated piece by piece. This matters because chatbots such as ChatGPT send their answers as a continuous stream of Markdown. Will McGugan, who created the framework, demonstrates it with a script that streams model answers to the console.
Textualize no longer operates as a commercial company, but creator Will McGugan continues releasing the framework as free open source software. Version 4.0.0 targets the growing market of developers wiring LLM APIs into command-line tools, since most model APIs emit Markdown streams. For teams that chose paid alternatives, the project remains maintained at no cost, though no business support or revenue is mentioned.
Textual v4.0.0 adds streaming Markdown support (PR #5950), rendering partial Markdown incrementally as LLM APIs stream tokens. Will McGugan built the demo by adapting a snapshot test from Textual's test suite, combining it with Simon Willison's async llm Python library for async model calls. The resulting script runs via 'uv run' against gpt-4.1-mini and streams headers and tables to the console. No benchmark or performance figures are given.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.