GenClass

•
12
•

Detects in-browser race conditions, stale responses, and visual anomalies using an on-device machine learning model.

GenClass Runtime is an open-source, local-first browser tool that monitors and reports frontend race conditions, duplicate submissions, and inconsistent state writes in real time. Operating directly within the client via WebGPU or WASM with a lightweight 10 MB model, it observes network traffic, state updates, and user interactions without modifying execution by default, while offering an opt-in guard mode for intervention. With its companion MCP server and CLI extensions, coding agents can inspect live browser executions, simulate variable network timing, replay specific race conditions, and generate automated regression tests to verify fixes.

主要功能

01Real-time identification of duplicate submissions, stale data overwrites, and state corruption
0212 GitHub stars
03Opt-in guard and heal modes to intercept and prevent problematic asynchronous operations
04On-device ML anomaly detection running in Web Workers via WebGPU or WASM
05MCP server integration allowing AI coding agents to replay network races and verify fixes
06Built-in visual and CSS issue scanning to diagnose blocked clicks, stuck scroll locks, and layout faults

使用案例

01Auditing web applications for visual layout anomalies and unresponsive interactive elements
02Debugging complex frontend race conditions caused by unpredictable asynchronous API responses
03Enabling AI coding agents like Claude Code to diagnose timing bugs and generate targeted Playwright tests