The article explores the emergence of "Small Software" and LLM-native extensibility, where Large Language Models enable users to "speak code into existence" to customize web applications. Historically, software has remained static to manage complexity, but LLMs allow for a "long tail" of personalized features without bloating the core product. To implement this safely on the web, the author argues for a new architectural primitive characterized by low-cost execution, single-digit millisecond cold starts, and strict resource limits. A critical challenge is security; traditional proxy-based approaches for managing API credentials are complex and prone to leaks. Instead, the author advocates for a capability-based model, where untrusted code is passed specific, opaque references to functions (e.g., `email.send_me_email`) rather than raw credentials or full I/O access. This approach simplifies LLM prompt engineering and ensures data isolation. Potential implementation technologies include embeddable interpreters like QuickJS, V8 Isolates (as used by Cloudflare's Dynamic Workers), MicroVMs like Firecracker for POSIX compliance, and WebAssembly (WASM) combined with WASI to provide a standardized, secure interface for host-defined capabilities.
Read original
hackernews