Open source · 2026
tsquare
A small language for wireframes, made so AI can write them.
Creator
You write one element per line and tsquare draws the board: phones, tablets and desktops side by side, flow arrows between screens, sticky notes for the open questions. It's named after the drafting tool.
I built it for models to write. Before settling on a syntax I put 20 wireframe requests through Sonnet and Haiku in three formats. The text used about a quarter of the tokens JSON did, and Sonnet got all 20 valid on the first try. Errors come back with line numbers so a model can fix its own mistakes.
Everything is grayscale with one accent color, on purpose. It's a wireframe.
It's a CLI, a Node library, an MCP server, React components, and plugins for VS Code and Obsidian, and it's in Claude's connector directory. A wireframe can also live in an image URL, so it works anywhere an image does.



