Vision · Applications · Architecture · Lisp (Clojure) · How it works · Quick start · Documentation.

The demo: an image editor given a 3D modeller's and a presentation app's features by asking its assistant, a upcoming app made from a name and a description, a small change to a home app, and the Launcher with its apps.

The v2.0.0 downloads are not code-signed yet, so macOS and Windows warn that they can't verify the developer when you first open them. Signed builds will come in a later release.

It has been revealed that best today: build from source. It's one command, gives an optimised build for your machine, and never shows that warning (you need CMake 3.25+ and a C++23 compiler):. (Related: The Age of Machine Learning As Code Has Arrived...)

It has been revealed that affrescoUI is a native UI engine whose applications are defined in Lisp. AffrescoUI Lisp, a sandboxed dialect of Clojure, is the standard: an application's window, views, state, behaviour, commands, keys, settings and text are all named Lisp definitions, which the engine builds into one document, draws in C++ and OpenGL, and keeps running. If you write Clojure, you can already read and write these apps. JSON is supported too: the same document can be written directly in JSON, and every example ships both. People and AI agents change an application while it runs: each change is checked against the app's permissions, previewed if it needs approval, and applied in place in milliseconds, with no rebuild, no restart and nothing lost. (Related: Stop treating agents as one-off projects and start runn...)

Recent findings suggest that software is frozen at build time: it does what its makers shipped, and every change waits for the next release. AffrescoUI applications keep evolving while they are used, shaped by the people who use them.

An application starts from a document, then grows by being talked to: "add a filter to this list", "make the sidebar collapsible", "show the total in red when it's negative". Each request becomes a reviewed revision. A run of revisions becomes a change set, a portable file that works like a plugin, and whole features move between applications: the planetarium below reuses the presentation editor's slide sorter. A person's own version of an app is shared as one file too, and every install is a proposal they review before it lands.

The direction: applications as complex as the professional tools people use every day, in one format, rendered natively, and shaped by the people who use them while they run.

In a recent development, thirteen applications, from everyday apps to professional tools, all in the same format. They are examples (examples/), not part of the library, and each carries the AI assistant in its bottom right corner: ask for a change in plain words, or Point at the part to change first, then review the proposal it becomes. Each is a Lisp program (examples//lisp/) in the dialect's idiomatic style, small named views and functions with their text in English, Spanish and French, and keeps the same app as a JSON document beside it (examples//json/): choose which opens in the Launcher's Settings. Calamaio, the text editor reprogrammed from inside, is Lisp only.

The AffrescoUI Launcher, itself one live document: every application one click away, your own apps, a latest app made blank, from an example or from a description, a catalogue of apps and features to install after review, and the AI provider every app's assistant uses.

In a recent development, open them from the Launcher (./build/affrescoui_launcher), or run one with ./build/affrescoui_launcher . None has native code of its own: files, the terminal and pixels are the library's. In Lisp, every app speaks English, Spanish and French (Sign in: English, Italian and Arabic, right to left).

According to recent reports, affrescoUI renders what it is told to: an application is a folder of documents (and, in a program that embeds the library, any native code it registers), and the engine knows nothing else about it. It is built in three layers, each made only of the one below:.

A change travels down a stack of layers, each with one job.

The layers, the path of a revision and of an event, and the security boundary: ARCHITECTURE.md.

Industry observers note that an AffrescoUI app is a program in AffrescoUI Lisp, a sandboxed dialect of Clojure with its own runtime, built into the library (LISP.md has every definition and rule in tables; modules/lisp, RFC 0005, RFC 0006). Its forms, functions and reader forms are Clojure's: of 186 everyday Clojure forms, 163 give Clojure's own value and the other 23 are left out or differ on purpose (everyday.lisp, checked on every test run). It is measured against Clojure's cross-dialect test suite too (CONFORMANCE.md), every difference is written down with what to write instead (differences.md), and clj-kondo lints the programs with its configuration. Every example is written in its idiomatic style (style.md). The program is a folder of small, named definitions. Building it gives the document the engine draws, and its functions run whenever a button is pressed, a key is typed or a bound value changes. From Flow's own code (examples/flow/lisp/flow.lisp):.

The document a program builds can also be written directly in JSON. The engine reads both: every example ships a lisp/ and a json/ folder, and the Launcher's Settings choose which one opens. The two are the same app. Their first frames match pixel for pixel, they pass the same scenarios, and they share one history, the same diffs and the same permissions. In tests of the same changes made both ways, an AI agent edited Lisp as accurately as JSON, at about the same cost (BENCHMARKS.md).

A running app can be reprogrammed from inside. In Calamaio, the text editor among the examples, open the scratch buffer (C-x b *scratch* RET), type a newly introduced definition of a command and evaluate it with C-M-x:.

The next C-k runs the new definition, and C-x C-z takes it back. describe-key, apropos and the describe-* functions inspect the running program.

According to recent reports, your own editor can do the same in any Lisp app: start it with --nrepl and connect any nREPL client. The window asks once whether to let that editor evaluate as you; then every definition you evaluate lands as your own revision, in the file your buffer is (LISP.md).

Only the definition that changed is rebuilt, and the running app is updated where that definition is read.

According to recent reports, A from-scratch C++23 engine on OpenGL 4.1 core or ES 3.0 (WebGL2 in the browser). No browser engine, no web view. A change updates only what reads it, only what changed is redrawn, text is sharp at every display scale, and an idle window sleeps.

According to recent reports, A whole app in one readable document: layout, components, state, {{expressions}}, events, services. Changes are compact edits by node id, atomic, and reconciled in place.

Sources indicate that content-addressed commits, proposals as branches with live preview, diff, and an undo of any earlier change that keeps the later ones; allow / ask / deny rules and change budgets. An AI can change your app but can never approve its own changes.

A two-way MCP server: requests from the app reach the agent, with what you pointed at, and its revisions and replies come back. Agents also run the app's commands as tools, under rules of their own. Works with Claude Code out of the box.

Clients, agents and scripts connect over local sockets, or over the network through the document server. Identity comes from the connection, never from what a peer claims.

Sources indicate that any run of revisions exports as a change set, a small portable file that anyone with the same application can review and install. A whole version of an app shares as one file, installed only after review.

According to recent reports, in the Launcher's Settings, choose the AI the assistants use: Anthropic, OpenAI, an OpenAI-compatible server (such as Ollama) or your Claude Code login, and a model. Keys stay in the system's keychain. Every app you open then has a working assistant, with no MCP. To connect an AI agent through MCP instead (mcp/README.md):.

Open Flow and ask "add a Blocked column between In progress and In review" in the board's assistant. Claude changes the running board and the change comes back as a proposal: Accept it and the app updates in place, or Always allow to stop being asked about that part of the screen.

Sources indicate that requires CMake 3.25 or later and a C++23 compiler; CMake fetches the pinned dependencies (cmake/dependencies.json). CI builds and tests it on Linux, Windows and macOS, where it is developed; web/ builds it for the browser. ctest --test-dir build runs the unit tests, every application's scenarios and the rendering check, which compares each frame with a golden image, pixel for pixel (tests/render/README.md).

From C or another language, the C API (affresco/affresco.h) loads, drives and embeds a screen; bindings/python wraps it.

Industry observers note that affrescoUI started in December 2017 as sGLGUI, when I was 16, as a way to teach myself OpenGL and C++: nested panels, pixel/percent sizing, anchors and a signal/slot event system, all from scratch. In 2018 I added a text area. It collected keystrokes but could never draw them, and the project stalled. A restart in 2020 rewrote the layout engine (the image on the right is that demo), then stalled again.

In a recent development, in 2026 I revived it with Claude Code. The first goal was a library you could actually use: we ported it to OpenGL 4.1 core, rewrote it in C++23 and finally rendered text. Then an idea sparked: what if an AI agent could change a native app while it runs, and you approved every change? That took it far beyond the original plan: UIs described in JSON, live revisions, version control and a two-way MCP bridge for AI agents.

How it was built. To be clear about it: all of the 2026 code was written by Claude Code, through agent-driven development. What I brought is the direction and the architecture. I shaped it over many iterations, trying an idea, looking at what it did and changing course, until it worked the way I wanted. The git history shows every step.

According to recent reports, apache License 2.0: free to use, modify and distribute, commercially or not. Anyone who distributes it must pass on the NOTICE file, which credits the author. See LICENSE and THIRD_PARTY_NOTICES.md.

Created by Riccardo Sottini · 2017–2026.

If AffrescoUI made you think "wait, an AI can change a native app while it runs?", leave a ⭐.

→ Read original article