
I built an AI workspace in 4 days with zero frameworks — the LLM controls the entire UI
What I built Sloth Space is an AI-native workspace with three modes — slides, docs, and sheets. You describe what you need in natural language, and the AI drafts it in seconds. Source: github.com/enigmaticsloth/sloth-space The interesting part: unified architecture The three modes aren't three separate apps bolted together. They share one state object, one intent router, one context menu system, one save pipeline, and one interaction model (single-click select, double-click edit). The AI sees the entire app as one system, not three. ~30 ES module files, pure vanilla JS, zero build step, zero frameworks. The AI controls the UI This is the part I'm most excited about. The LLM doesn't just generate text — it operates the application interface directly. 27 whitelisted JS functions are exposed to the model. It can switch modes, create projects, organize files, link documents together, and navigate — all from a single chat input. Try typing: "Create a project called Q2, write a budget report
Continue reading on Dev.to Webdev
Opens in a new tab



