AffrescoUI Lets AI Rewrite Running Apps, All Written by Claude Code
Software / news
AffrescoUI Lets AI Rewrite Running Apps, All Written by Claude Code
The Apache-2.0 engine draws apps from a Clojure dialect with C++ and OpenGL, and its author says every 2026 line came from an agent.

AffrescoUI, a native desktop UI engine whose apps are written in a sandboxed Clojure dialect and can be rewritten by an AI agent while they run, says in its README that "all of the 2026 code was written by Claude Code." The repository had 155 stars when we read it.
The project, RiccardoSottini/AffrescoUI, reached 139 points on Hacker News on Nov. 28 under the title "Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run," per the Hacker News search API. A first submission on Nov. 22 drew 3.
What AffrescoUI is: C++ and OpenGL, with a Lisp on top
Riccardo Sottini started the project in December 2017 as sGLGUI, when he was 16, according to the README. Its tagline reads "Any application, defined in one format and rendered natively." Apps are written in AffrescoUI Lisp, "a sandboxed dialect of Clojure," or as JSON, and the engine draws them with C++ and OpenGL, with "no browser engine or web view."
The README lists macOS, Linux, Windows and Web as platforms. Building needs CMake 3.25 or later and a C++23 compiler. The licence is Apache-2.0. The v2.0.0 downloads are not code-signed, so macOS and Windows show a warning on first open.
How a running app gets rewritten
Users or AI agents can change a running app. Each change is checked against permissions and previewed when it needs approval, then applied in place without a restart. Each app has an assistant, agents can connect through an MCP server, and users pick their AI provider. The README says "an agent can change your app, but it can never approve its own changes."
The title invokes Emacs as the model of software its users can reprogram while it runs. The README text we read offers the same loop for any app built on the engine, with the permission gate in front of it.
How much of Clojure survives: 163 of 186 forms
The README says that of 186 everyday Clojure forms, 23 are left out or differ on purpose, which leaves 163 behaving as Clojure does. Programs written for ordinary Clojure therefore cannot be assumed to run unchanged, and the README has no dedicated limitations section covering other constraints.

What Hacker News commenters said on Nov. 28
Commenters raised four objections. The user everforward wrote that "Running in the same process also means your agent can break itself." The user Ohentis wrote of the "native" in the title: "Whatever this is, it certainly isn't native." The user whacked_new wrote that "The untyped, macro-full code" gives pause and "seems like it needs a pretty strong LLM to get things right?" The user tester89 argued that typed languages suit AI work better.
Others were positive. The user iLemming called Lisp "the most practical, enormously pragmatic tool I have ever put in my toolbelt," and xlii described a similar project merging Glamorous Toolkit and Emacs with Haskell.
| Claim | Source | Status |
|---|---|---|
| Apache-2.0 licence, 23 of 186 forms differ | README | Self-reported |
| All 2026 code by Claude Code | README, author's statement | Self-reported |
| 139 points on Nov. 28 | Hacker News search API | Third-party count |
Other agent-focused repositories we covered include an App Store rejection checker for AI coding agents that added a royalty licence, and SessionGraph, which indexes the local history of 14 coding agents. The README says the v2.0.0 downloads are not yet code-signed, and it gives no date for that.
Sources
More in Software
- 01Superpowers, at 330,000 Stars, Retunes Brainstorming a Third TimeIssue #2530 says the v7 questions waste tokens, and the fix in draft pull request #2756 was written by Claude Fable 5.2.
- 02Knuth's Algorithm D Had a Bug Since 1995, but Only in Odd BasesA 1995 errata change left Theorem B unproven for the uncapped trial quotient, and LLVM's APInt carries the book's old typo harmlessly.
- 03Go 1.28 Turns Transport.CancelRequest Into a No-Op and Adds sync.CounterOf 25 accepted proposals in the Go 1.28 milestone, 17 are closed, and the CancelRequest GODEBUG is flagged as a release blocker.
- 04Unkernel Boots Linux 7.3.4 to Alpine in 0.3 Seconds on NodePooya Parsa's Vercel-sponsored project needs JSPI in the browser, has no IPv6, and ends the session on any kernel WebAssembly trap.