UXAgent: An LLM Agent-Based Usability Testing Framework for Web Design

Yuxuan Lu, Yuxuan Lu 0003, Bingsheng Yao, Hansu Gu, Jing Huang, Zheshen Jessie Wang, Yang Li, Jiri Gesi, Qi He, Toby Jia-Jun Li, Dakuo Wang

Introduction

Usability testing is a cornerstone of User Experience (UX) research, yet it remains a resource-intensive process. Traditional workflows require researchers to design experiments, recruit specific demographics, and conduct manual sessions—often discovering flaws in the study design only after significant time and capital have been invested. To address this bottleneck, we present UXAgent, a framework that leverages Large Language Model (LLM) agents to simulate diverse user personas for automated web usability testing. UXAgent serves as a high-fidelity "pilot" phase, allowing researchers to iterate on designs and hypotheses before engaging human participants.

The UXAgent Framework

The UXAgent system is built upon four integrated modules designed to bridge the gap between static LLMs and dynamic web environments.

1. Persona Generation

To ensure demographic diversity, the Persona Generator creates thousands of unique user profiles. These profiles are synthesized based on specified distributions of age, gender, income, and other socio-economic factors, enabling researchers to test how different segments might interact with a site.

2. Dual-Loop Agent Architecture

The agent's cognitive model is inspired by Daniel Kahneman’s dual-process theory of "Thinking, Fast and Slow." It operates via:

  • The Fast Loop: Handles real-time perception and action, such as clicking buttons or entering text.
  • The Slow Loop: Manages "Wondering" and "Reflecting." This loop provides strategic guidance, allowing the agent to reason about its progress and adjust its behavior based on high-level goals.

3. Universal Browser Connector

To interact with the web, the system parses raw HTML into a simplified, tree-structured format readable by the LLM. This module translates the agent’s high-level intent (e.g., "find the search button") into precise browser coordinates and actions.

4. Result Viewer and Analysis

The framework provides a comprehensive dashboard for researchers. Key features include video replays of agent sessions, a "Memory Stream" of the agent's internal monologue, and an interactive chat interface. This interface allows researchers to "interview" the simulated user, asking qualitative questions about their decision-making process.

Experimental Evaluation

The framework was evaluated across two primary web environments: WebArena, an open-source shopping platform, and Google Flights, representing the travel booking domain. Researchers simulated 60 distinct user sessions sampled from a pool of 1,000 generated personas.

Additionally, a qualitative study was conducted with five professional UX researchers. Participants used the system to analyze simulated behavior and provided feedback on the tool's utility in a professional workflow.

Key Insights and Results

The evaluation revealed several critical findings regarding the role of LLMs in UX research:

  • The Value of the "Pilot" Phase: UXAgent proved most effective not as a replacement for human testing, but as a tool for "responsible" study design. Researchers could identify UI bugs and task ambiguities instantly by running a batch of 60 agents before recruiting a single human.
  • Actionable Reasoning: While the agents' thought logs were more detailed than a typical human's internal monologue, researchers found this "hyper-realism" beneficial. It provided clear explanations for task failures that might otherwise be opaque.
  • Demographic Fidelity: The agents successfully mirrored socio-economic trends. For instance, agents with higher income profiles demonstrated higher spending patterns in shopping simulations, suggesting that LLMs can effectively role-play specific demographic behaviors.
  • High Collaborative Utility: The Chat Interface was the most highly-rated feature (4.8/5). The ability to ask a simulated user, "Why did you ignore that banner?" allowed researchers to verify hypotheses regarding visual hierarchy and information architecture.

Quantitatively, participants rated the system's "Insightfulness" at 3.6/5 and its "Helpfulness for study design" at 3.4/5.

Limitations and Future Work

Despite its promise, UXAgent faces several challenges that define the roadmap for future development:

  • Visual Perception: The current iteration relies on HTML text and lacks the ability to perceive visual elements like color, font size, or layout. Future work will integrate Multimodal LLMs (MLLMs) to address this "visual blindness."
  • Representation Bias: There is a risk that LLMs may rely on stereotypes rather than authentic behavioral patterns, a phenomenon known as "Data Representation Bias."
  • Interaction Depth: The agent's action space is currently limited to clicking and typing, omitting nuanced behaviors like scrolling, hovering, or "skimming" content.

Conclusion

UXAgent demonstrates the potential for LLM agents to transform UX research by providing a scalable, cost-effective method for pilot testing. By simulating diverse user behaviors and providing transparent reasoning, the framework allows researchers to refine their designs and enter human trials with greater confidence and clarity.

Summary updated

BibTeX
@inproceedings{lu2025uxagent,
  author = {Yuxuan Lu and Yuxuan Lu and Bingsheng Yao and Hansu Gu and Jing Huang and Zheshen Jessie Wang and Yang Li and Jiri Gesi and Qi He and Toby Jia-Jun Li and Dakuo Wang},
  title = {{UXAgent: An LLM Agent-Based Usability Testing Framework for Web Design}},
  booktitle = {CHI Extended Abstracts},
  year = {2025},
}
Figure