Why stop at Emacs? Native apps you or an AI reprogram in Clojure while
AffrescoUI launched a native UI engine that lets users and AI agents reprogram desktop apps in Clojure and OpenGL in milliseconds without restarting.
By Dillip Chowdary • Nov 29, 2026 • Source: github.com

At a glance
- Product
- AffrescoUI
- Developer
- Riccardo Sottini
- Rendering engine
- C++23 and OpenGL
- Application dialect
- AffrescoUI Lisp and JSON
- Included apps
- 13 demonstration programs
- Integration
- Model Context Protocol and sockets
In this post
Open-source developer Riccardo Sottini released AffrescoUI, an engine designed to build native desktop applications that users and artificial intelligence agents can modify while they run, according to github.com's report. Rather than relying on web views or browser runtimes, the project executes programs defined in AffrescoUI Lisp, a sandboxed dialect of Clojure, and renders user interfaces directly through C++ and OpenGL. Each application unifies its window, views, state, behavior, commands, keybindings, settings, and interface text into a single document that updates in place within milliseconds.
This report covers the architecture of AffrescoUI, its permission-controlled editing pipeline, and its catalogue of thirteen native desktop applications across developer tools, creative suites, and everyday utilities. It is written for software engineers, systems developers, and Clojure practitioners evaluating agentic workflows, dynamic runtime environments, and native interface performance without web browser overhead.
01Native document engine without web views
AffrescoUI applications replace traditional compilation and web browser runtimes with structured document declarations. Every interface element, application state container, keyboard shortcut, and locale string exists as a named definition inside a single tree structure. Developers can author these declarations in AffrescoUI Lisp or direct JSON syntax, with twelve of the thirteen provided examples shipping both formats side by side.
The engine compiles the unified document structure into native display instructions using C++ and OpenGL rendering pipelines without an embedded browser. By drawing directly with native graphics primitives, the framework avoids browser memory overhead and achieves instant startup. Because application logic maps directly into data structures, software engineers familiar with standard Clojure syntax can inspect and modify existing applications immediately.
Note: Calamaio, the text editor capable of reprogramming its own source code from within its running interface, is distributed strictly as a Lisp program without a corresponding JSON document. All other twelve demonstration programs provide identical configurations in both formats, allowing users to choose their preferred syntax inside the launcher settings.
02Millisecond updates and proposal branches
The engine allows users and external software assistants to alter live user interfaces without rebuilding binaries or restarting processes. Operators submit change requests through plain-language text prompts or by visually selecting specific components on the screen. The runtime reconciles modifications against the active document in milliseconds, ensuring that the user maintains their cursor position, open workspace, and unsaved state during the update.
All incoming structural edits pass through an integrated permission system configured with deny, ask, and allow rules. When an automated agent or user initiates an unapproved modification, the engine generates an isolated proposal branch that displays a live visual preview of the layout. The changes merge into the primary document only after explicit operator confirmation, while denied edits discard immediately.
State tracking relies on an internal version control tree where accepted modifications commit to a main branch secured by SHA-256 hashes. This architecture provides full rollback capabilities, letting users inspect earlier iterations or revert individual adjustments even after applying subsequent edits. By isolating experimental interface variants into preview branches, the engine protects users from unexpected layout corruptions during automated editing sessions.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
03Portable change sets and cross-application components
Reviewed adjustments can be exported from a running instance as portable change sets that operate like lightweight plugins. Other operators running identical base programs can import these change files to adopt the same interface modifications, behavioral rules, or keybindings. Because every installation undergoes administrative review before execution, workstations remain protected against unverified configuration drift and unauthorized logic injection.
The unified data format enables direct component sharing across disparate applications, allowing complete software programs or individual views to be distributed as single-file packages. For instance, the Orrery planetarium application reuses the slide sorting strip developed for the Sinopia presentation editor to organize astronomical bodies along an observational timeline. Users can acquire shared tools directly from a catalogue accessible within the desktop launcher.
04Professional tools and everyday desktop catalog
The project repository includes thirteen native applications located in the examples directory, requiring no custom native code beyond the core library. Professional developer tools feature Forge, an integrated development environment offering split editor panes, language server integration, terminal access, and debugger support. Accompanying programming utilities include the Quaderno code editor with symbol navigation and minimaps, alongside Calamaio for self-modifying text workflows.
Complex creative workstations in the catalogue include Modello, a 3D modeller featuring glTF scene import and transform gizmos, alongside Sinopia for presentation design. Digital media editing is represented by Tempera, a layered image editor operating on a tiled rendering engine. To safeguard complex image compositions against unintended automation errors, Tempera restricts connected AI agents to proposal-only modes, requiring human review for every adjustment.
Everyday consumer tools comprise Haven for smart-home automation, Flow for Kanban management, Streak for habit tracking, and Tempo, a music player managing 3,000 simulated tracks. The suite also provides Arcadia, a community-contributed game launcher, and an account management screen supporting two-step verification codes and session expiration in English, Italian, and right-to-left Arabic. General interface text across the remaining Lisp examples supports English, Spanish, and French.
05Socket runtime and model context protocol
Execution and display coordination run through the compiled launcher binary, which establishes local Unix sockets to communicate with external peer processes. Remote operator instances and networked machines interface through a dedicated document server layer. To ensure accountability across multi-user or agentic environments, the engine validates the author identity of every revision directly from the underlying network connection rather than trusting peer-provided metadata.
Autonomous coding assistants such as Claude Code connect through a bidirectional Model Context Protocol server, receiving user requests and visual component coordinates. The protocol returns structured revisions to the host runtime, which reconciles changes in place and directs updated render calls to the C++23 and OpenGL graphics pipeline without process restarts. External automation scripts connect to the same socket layer to drive automated tests and state synchronization.
Frequently asked questions
What rendering technology does AffrescoUI use?
AffrescoUI renders natively using C++23 and OpenGL. It operates without an embedded browser engine or web view.
How do AI agents modify running applications in AffrescoUI?
Agents connect through a Model Context Protocol server or local sockets to propose revisions. Modifications pass through permission rules, generate live preview branches, and apply in place upon user approval.
Which programming languages define AffrescoUI applications?
Applications are defined in AffrescoUI Lisp, a sandboxed dialect of Clojure, or directly in JSON. Twelve of the thirteen example applications provide both formats.
Can features be shared across different AffrescoUI applications?
Yes. Because all applications share a single document format and engine, components can be moved between apps, such as using a presentation slide sorter inside a planetarium.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement