Zhidaily AI · Intelligence · Daily
Zhidaily
Issue 30 · November 29, 2026 · Sun
Today's stories
4 stories · 1 companies
Home / November 29, 2026 / AffrescoUI Lets Users and AI Rewrite Native Apps While They Run
← Back
Release Agents / News Score70

AffrescoUI Lets Users and AI Rewrite Native Apps While They Run

In brief
A solo developer released AffrescoUI, a native UI engine whose apps are written as documents and can be edited in place by a person or an AI agent without a restart. It is a working prototype, not a p
Hacker News RiccardoSottini · Hacker News · github.com
Nov 28 · 22:09 Read the original ↗
01Summary

RiccardoSottini published AffrescoUI, an open-source engine that draws native windows with C++ and OpenGL and defines each app as a document written in a sandboxed dialect of Clojure (or the same document in JSON). A user or an AI agent can change a running app by asking in plain words or pointing at a part; the edit is checked against the app's permission rules, previewed when approval is needed, and applied in place within milliseconds with no rebuild or restart. The author reports that a typical edit costs about 28 tokens and a re-read after a commit about 27, which matters if you pay per token for an agent. Thirteen example apps ship with it, including a text editor you can reprogram from inside, and changes can be exported as portable change sets or moved between apps. It is Apache 2.0 licensed and runs on OpenGL 4.1 or ES 3.0, but it is a personal project with no independent verification and no mature release; the author says all of the 2026 code was written by Claude Code under his direction.

02Context

AffrescoUI revives an idea from Smalltalk environments, where a running program could be inspected and edited in place rather than rebuilt and restarted. The project itself is not new: its author dates it to December 2017, when it began as sGLGUI, an OpenGL/C++ GUI library that stalled twice before being rewritten in C++23 and OpenGL 4.1 in 2026. The agent-facing side leans on MCP, the protocol Claude Code and similar clients use to call external tools; a comparable Lisp project, Sema, also ships an MCP server that lets LLM clients modify a running program.

03Who should look at it

Developers building agent-driven tools can study the design rather than adopt it: edits address nodes by id, apply atomically, and return only what changed, which keeps an agent's context small. Anyone expecting to ship it should first check the build and the permission model, since the project is self-published and unverified.

04Commenters see a Smalltalk echo

Several commenters said the idea recalls Smalltalk environments that could modify themselves while running, and one argued those were always a natural fit for AI. Others described building similar live-preview, rollback-enabled agent editing in web stacks, and one pointed to Sema Lisp as a related embeddable option.