Open npmjs.comnpmjs.com/package/@genclass/runtime
GenClass Runtime
A lightweight in-browser AI model that catches runtime bugs like race conditions, stale responses, and double submits by monitoring user actions, async work, network traffic, and state.
Visit project- First shared
- Oct 14, 2026
- HN activity
- 30
Show HN@Karanvir1729Oct 14, 2026
Show HN: GenClass, A 10 MB in-browser model that catches bugs that never throw
Daybot is ranked number two in Canada, after Shopify, for making e-commerce stores. With a lot of AI-generated stores like Daybot's, we ran into the issue of the CSS sometimes not being up to standard. For example, the text and the background might end up the same color. I've also seen that race conditions often happen on the client side and are never caught in test cases, because they aren't tested under load, or because clients sometimes do actions that are just random. With AI-generated code becoming more popular, we thought that an AI agent that runs in the browser at runtime, is very lightweight, catches bugs like race conditions, stops unintended behavior, and gets better the more users use it would completely change the game. Now you can even run code faster. So I want you to try it out. You can add it with one line. It's published as an npm package. Please let me know what you think.
Community