Back to articles

AffrescoUI explores native apps that can be reshaped while running

3 min read

The idea

AffrescoUI challenges the assumption that an application is mostly fixed once it ships. The open-source project treats an app as a program that can be edited while it is running. A user can describe a desired change in ordinary language, ask an AI assistant to prepare it, and review the result in the current application rather than waiting for a rebuild or a new release.

How the system works

An AffrescoUI app describes its window, views, state, behavior, commands, keyboard bindings, settings, and text in a single document. The primary format is a sandboxed Lisp dialect based on Clojure, with JSON available as an alternative. The project says its engine renders interfaces using C++ and OpenGL, without a browser engine or WebView. Developers familiar with Clojure can read and edit the app definitions directly; other users can work through the built-in assistant.

The proposal and permission flow is central to the design. Rules can deny a change, allow it automatically, or require the user to review it. Changes that need approval appear as previews; once accepted, they enter the app’s revision history and are applied in place. The running app does not need to restart, and users can undo changes. External AI agents and scripts can also submit revisions, but the same permission controls apply.

What the examples demonstrate

The repository includes 13 sample apps, covering areas such as code editing, image editing, presentations, 3D modeling, habit tracking, kanban boards, and smart-home controls. They share the same engine rather than carrying separate native implementations. The project also demonstrates moving features between apps: its planetarium, for example, uses a slide-sorting component installed from the presentation editor. Other demos show creating an app from a description and adjusting an existing one through an assistant.

That breadth makes AffrescoUI more than a UI widget library: it aims to combine app definitions, live editing, versioning, and AI assistance in one framework. But a collection of examples is not evidence that the same approach is ready for professional deployment. The project notes that its smart-home devices and music content are simulated, and the demos do not show that non-programmers can reliably build and maintain complex production software.

Why it matters—and what remains open

If the model scales reliably, users could customize software without waiting for vendors to ship every feature, and reviewed changes could be shared as portable change sets. A common app format might also make it easier to reuse features across tools. Those benefits depend on questions the material does not yet answer: how complex apps perform and remain maintainable, how often AI-generated edits are correct, and whether permission rules prevent unsuitable changes. The project presents an architecture and working examples, but those questions still need practical validation.

Hacker News

Comments

Checking sign-in status...

Loading comments...

Related articles