Fault tolerant ai ux design

From samarv/Shanon · View interactive version

Fault tolerant ai ux design is an AI agent skill from the GitHub repository samarv/Shanon. A framework for designing user interfaces that match the performance of AI/ML models. Use this when launching generative AI features, balancing "discovery" vs. "recall" in feeds, or determining how much density a UI requires based on algorithm accuracy.

How to use this skill

Skill file

Fault-Tolerant AI UX Design

When building products powered by machine learning or generative AI, the user interface must be a direct reflection of the algorithm's performance. Most product failures in AI occur when the UI assumes 100% accuracy (the "Silver Button" trap) while the model only delivers 20% accuracy. This framework helps you design interfaces that turn algorithmic errors into acceptable user experiences.

Core Principles

1. Map UI Density to Hit Rate

The number of options presented to a user should be the inverse of your model's hit rate.

2. Balance Recall vs. Discovery

Identify if the user is in a "Recall" mode or a "Discovery" mode to determine UI density and media richness.

3. Build "Escape Hatches"

Always provide a low-friction path for the user to tell the AI it is wrong. In the generative era, this means:

Implementation Steps

Step 1: Quantify the Prediction Error

Before designing the UI, determine the "Success Rate" of your model. If you are suggesting a new genre of music or a new style of image:

Step 2: Set the "Magic Trick" Threshold

Identify the "magic trick" your product pulls. For Spotify's AI DJ, the magic was: "How did they record this voice saying my specific name and my specific music tastes?"

Step 3: Design for Habit Breakage

When redesigning a feed for AI discovery, do not move the "Recall" buttons.

Examples

Example 1: Generative Image Tool (e.g., Mid Journey)

Example 2: Spotify AI DJ

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.