AI Artifact Runtime Code Playground
Live demoA browser-based runtime for AI-generated React apps. Edit files, install npm packages, and preview the result in an isolated iframe, with console output wired back to the app.
The engineering behind it
Users can bundle code in the browser with esbuild-wasm. AI coding tools need artifact runtimes that can safely run messy, user-generated code without losing the fast feedback loop people expect from local development.
The hard part is getting the virtual file system, package resolution, sandbox boundary, preview reloads, and React templates to work together in one browser session.