
but specifically for AI"

Continue browsing for free
Featuring over 300 real-world design inspiration — New content weekly.
How Hex designs its AI features
Aiverse documents 3 examples of AI UX and human-agent interaction design from Hex, each captured from the live product and broken down by the pattern it uses.
Hex is a data notebook with AI features called Magic that edit, explain and debug code cells. It rewrites a SQL cell from a typed request, adds plain-English comments to a query, and fixes a Python cell that failed.
Every change Hex's AI makes comes back as a diff to keep or reject. The prompt, the diff and the query results share one cell, and a request can be checked against the data it produces.
The AI UX patterns Hex uses most are Inline editing and Preview.
Documented by Aiverse. Last updated .
All 3 AI UX examples from Hex
- Hex's Magic Edit code
It shows Hex rewriting a SQL cell from two typed requests, 'add customer emails' and a top-10 customer filter, each returned as a diff to keep or reject.
- Hex's Magic Debug code
It shows Hex fixing a Python cell that failed with a syntax error, proposing a one-line change as a diff that the user can keep or reject.
- Hex's Magic Explain code
It shows Hex adding plain-English comment lines to a 14-line SQL query after 'Explain' is chosen, displayed as a diff the user can keep or reject.
