I am building TAUI (Terminal Agent UI), an open-source standard for autonomous agents in the terminal. Most agents today interact with shells by directly writing raw text or ANSI escape codes. It’s brittle, prone to hallucinations, and breaks the second a terminal resizes.
Some developers are having agents write HTML, CSS, or Python scripts to create their own UIs. I believe this isn’t ideal. Having an agent generate executable code for a UI is dangerous because it opens up code injection vectors. It also wastes a massive amount of tokens on verbose boilerplate.
While projects like Google’s A2UI are making great strides in structured web/mobile blocks for agents, the terminal has unique constraints that require a specialized approach.
I’m building TAUI (Terminal Agent UI) to address this. Instead of raw text or code, agents emit a structured TAUI-0001 document. A TAUI adapter handles the rendering in a trusted environment. This approach is inherently secure and significantly more token efficient than generating scripts.
The Ecosystem I have built:
* TAUI Specification: The core standard for Grid, Panel, Table, and Progress primitives.
* @taui-standard/validator: A strict Zod-powered engine that ensures the agent output is safe and compliant before it is rendered.
* @taui-standard/core: A unified state and event runtime.
* @taui-standard/ink-adapter: A high-fidelity React bridge that renders spec-compliant interfaces.
I believe we should move from "text buffers" to "structured state documents" for the next generation of autonomous tools.
I have included demos like a real-time htop dashboard and an interactive dashboard to show what is possible. I’m the creator (Tariq Shams) and would love to hear your thoughts on why we haven’t standardized this yet, and if a declarative JSON approach for terminals is the right way forward.
Ecosystem Links:
* Official Specification https://taui-standards.github.io/taui-site/TAUI-0001.html
* Ink Adapter and Demos(@taui-standard/ink-adapter) https://github.com/TAUI-Standards/taui-ink-adpater
* @taui-standard/validator https://github.com/TAUI-Standards/taui-validator
* @taui-standard/core https://github.com/TAUI-Standards/taui-core
tariqshams•57m ago
https://github.com/TAUI-Standards/taui-standards
Note that json schema of the standard isn’t rendered on the TAUI-0001.md spec file, however the website displays both.