TUI Protocol¶
A terminal protocol for dynamic TUIs in the age of AI agents.
Agent interactions generate, revise, and finalize content throughout a session. The proposed model lets applications update identifiable content while terminals retain ownership of rendering, history, and native interaction.
The protocol is a draft, and implementations are experimental.
Start here¶
Understand the model The problem, goals, and the Block and Operation model.
Why this project exists The five-minute evidence narrative: what three teams tried, and what runs today.
Run an example See earlier content change while later output remains in history.
Explore the protocol drafts Find the current semantics, wire format, and complete documentation index.
Implementation and evidence¶
The protocol library, TUI SDK, and terminal execution library implement the current draft. The Pi stock-UI trial records the 2026-10-03 browser-verified integration of Pi’s stock interactive UI with a protocol-owned transcript. The validation plan and linked experiments record what has been tested so far.