Case study 02 · BehaviorUX AI

Behavioral science, made testable.

BehaviorUX AI audits an interface through seven behavioral frameworks and ends with experiments a team can run, not advice it has to take on trust.

  • RoleFull-stack product engineer and creator
  • StackReact 19, TypeScript, TanStack Start, Tailwind
  • ScopeAudit platform and Figma plugin
  • FocusBehavioral science, ethical design
BehaviorUX AI audit summary with friction score 62
One audit, one score. The Behavioral Friction Index sits beside a plain-language read of the barrier, the opportunity and the next experiment (sample audit).

Outcome

  • 7Behavioral frameworks: CREATE, Fogg, COM-B, Hook, EAST, 3Bs and ethical design analysis
  • 0–100Behavioral Friction Index across prompt quality, cognitive load, ability barriers and choice friction
  • 3Audit sources: web uploads, Figma URLs and a Figma desktop plugin

The method

If we change X, users may do Y, because of mechanism Z.

Every finding ends as a testable hypothesis, with a primary metric and a guardrail. Observation, interpretation and hypothesis never blur into each other.

01 / The context

Most UX reviews stop at opinion.

  • The gapReviews are subjective and inconsistent, and rarely tied to validated behavioral science.
  • The riskTeams guess why conversion drops, or accept generic AI advice that sounds certain and is not.
  • The briefAudit interfaces through structured lenses, and keep what is seen, what it means and what to test strictly apart.

The full story

Why UX reviews needed a second opinion that shows its working.

A UX review usually ends the same way: an experienced person looks at a screen and says what feels wrong. They are often right. But the reasoning lives in their head, two reviewers can disagree without a way to settle it, and the findings rarely connect to what behavioral science says about why people act.

Generic AI makes this worse in a new way. Ask a general model to critique a screen and it will answer fluently and with total certainty, inventing statistics and psychological claims that nobody can check. Confidence without evidence is exactly the thing a research team cannot ship.

BehaviorUX AI is built around one rule: keep what is seen, what it might mean and what to test strictly apart. Every finding is an observation first, an interpretation second, and a hypothesis last, so a reviewer can disagree with the reading without losing the facts.

Why seven lenses and not one

No single framework explains behavior. CREATE reads the decision path. Fogg separates motivation, ability and prompt. COM-B asks about capability, opportunity and motivation. The Hook Model looks at habit. EAST turns insight into practical nudges. The 3Bs frame behavior, barriers and benefits. An ethical lens sits over all of them to catch confirmshaming, forced continuity and false urgency. Used together they cross-check each other.

Why it looks the way it does

A canvas, not a report. Findings are pinned to the exact element they concern, using normalized coordinates, so a designer sees the problem where it lives and opens the full card from there.

A score you can compare. The Behavioral Friction Index gives a screen a number from 0 to 100, with the dimensions visible behind it. It is always labelled as an AI-generated heuristic, because a score that pretends to be science would undermine the whole tool.

Experiments, not advice. Every finding ends as an if, then, because hypothesis with a primary metric and a guardrail, so the output of an audit is something a team can test next sprint.

Inside the design tool. A Figma plugin runs the same engine on the canvas, so designers audit where they already work.

02 / What I did

The work, step by step.

  1. 01Seven lenses, one auditCREATE, BJ Fogg, COM-B, the Hook Model, EAST, 3Bs and an ethical design lens that catches confirmshaming, forced continuity and false urgency.
  2. 02Findings pinned to the screenNumbered hotspots sit on the exact UI element, mapped by normalized coordinates, and open the full finding card.
  3. 03A friction score you can compareThe Behavioral Friction Index rates a screen from 0 to 100 across prompt quality, cognitive load, ability barriers and choice friction.
  4. 04From finding to experimentEach finding becomes an A/B hypothesis: if we change X, users may do Y because of Z, with a primary and a guardrail metric.
  5. 05Inside the design toolA Figma plugin runs the audit on the canvas and drops numbered markers straight onto the frame.
  6. 06Honest by designThe engine will not invent statistics, labels every metric as heuristic and flags manipulative patterns.

The lenses

Seven frameworks, one coherent audit.

CREATECue, Reaction, Evaluation, Ability, Timing, Experience.
BJ Fogg Behavior ModelMotivation, Ability, Prompts.
COM-BCapability, Opportunity, Motivation, and behavior change techniques.
Hook ModelTrigger, Action, Variable Reward, Investment.
EASTEasy, Attractive, Social, Timely.
3BsBehavior, Barriers, Benefits.
Ethical design analysisDetects confirmshaming, forced continuity and false urgency.

Under the hood

Built like a product, not a prototype.

Source-agnostic engineAudits web uploads, Figma URL references and a standalone Figma plugin, all on one shared TypeScript API contract.
Full-stack TypeScriptTanStack Start with React 19 and Vite, using server functions for secure API isolation, styled with Tailwind and shadcn/ui.
Dense, usable dataA high-density grid with multi-column sorting, search filters and progressive responsive collapse.
Headless and provider-agnosticThe behavior analysis engine is ready for multimodal LLM providers without a rewrite.
  • Full-stack development
  • React 19 and TypeScript
  • TanStack Start
  • Behavioral design and psychology
  • UX audit tooling
  • Figma plugin development
  • Design systems and Tailwind CSS

The product

Framework view separating evidence, interpretation and recommendation
Evidence, interpretation, recommendation. Each framework reading keeps what is seen apart from what it means.
Recommendation cards with current state, change, mechanism and expected effect
Recommendations with a mechanism. Current state, proposed change, potential mechanism, expected effect and how to validate it.
Experiment cards in if, then, because form
Findings become experiments. Each states the change, the expected behavior and the mechanism, with primary and guardrail metrics.

A worked example

One finding, traced end to end.

  1. 01The observationThe primary call to action, Place order, carries the same visual weight as Continue shopping.
  2. 02The frameworkRead through BJ Fogg, this is a weak prompt: the next action is not obvious at a glance, even when motivation is high.
  3. 03The interpretationThe screen asks for high effort at the moment of lowest motivation, and the prompt competes with three secondary links.
  4. 04The recommendationMake the primary action the only dominant one: a high-contrast filled button, with the secondary action as a plain text link.
  5. 05The hypothesisIf we increase primary CTA contrast and demote the secondary link, more users will tap Place order on first view, because improved prompt salience reduces attention cost.
  6. 06The testA single-variable A/B test over two weeks. Primary metric: checkout completion. Guardrail: refund and cancellation rate. Evidence required: 95% confidence and a minimum of 2,000 sessions per arm.

How an audit runs

Three steps in, five views out.

ContextProduct, team, persona, experience level, context of use and user needs, so the audit knows who it is for.
Behavioral goalThe one action that matters, defined before a single pixel is judged.
Design and lensesThe source (upload, Figma URL or plugin) and the scope of frameworks to apply, from a quick pass to a standard audit.
Canvas, Frameworks, Recommendations, Experiments, ReportFindings pinned to the screen, then read through each lens, turned into changes, turned into tests, and exported as a report.

Principles

Built to be honest about its limits.

Evidence before interpretationObservations, recommendations and hypotheses stay visibly distinct, so a reviewer can disagree with the reading without losing the facts.
Heuristic, not clinicalEvery score is labelled as an AI-generated heuristic, not a scientifically validated psychological measurement.
Ethical risk is a first-class scoreDark patterns such as pre-ticked opt-ins, confirmshaming and false urgency are surfaced next to friction, not buried.
One variable at a timeExperiments are single-variable by default, with a guardrail so a win on one metric cannot hide a loss on another.

Where it goes next

From audit tool to behavioral lab.

A live demoA hosted, shareable audit that anyone can open, with the hotspot canvas on a real design.
Branded PDF exportA polished executive deliverable for every completed audit, ready to hand to a stakeholder.
Multimodal providersThe analysis engine is headless and provider-agnostic, so better models can drop in without a rewrite.

Reflections

What building it taught me about designing with AI.

Constraints are features. The rules that stop the model from inventing statistics make it more useful, because every claim can be traced and challenged.

Trust comes from admitting limits. Labelling scores as heuristic and demo data as demo data makes the tool more credible, not less.

Structure beats volume. Seven short, comparable readings are more valuable to a team than one long essay of opinion.

Designers can build. Writing the product end to end, from the data model to the interface to the Figma plugin, kept every decision honest to how a real reviewer works.

03 / Impact

A screen goes in; ranked behavioral findings and testable experiments come out, each tied to visible evidence on the interface.

Behavioral design · React 19 · Figma plugin