<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Everett on Medium]]></title>
        <description><![CDATA[Stories by Everett on Medium]]></description>
        <link>https://medium.com/@everettjf?source=rss-500a465e23a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sHNsEv_cAqJat2J6VbWXqQ.png</url>
            <title>Stories by Everett on Medium</title>
            <link>https://medium.com/@everettjf?source=rss-500a465e23a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:55:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@everettjf/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[PortQuarry: the original iOS 6 of the iPhone 4, running on today’s iPhone]]></title>
            <link>https://medium.com/@everettjf/portquarry-the-original-ios-6-of-the-iphone-4-running-on-todays-iphone-c78904ff6375?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c78904ff6375</guid>
            <category><![CDATA[emulator]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 04:39:49 GMT</pubDate>
            <atom:updated>2026-11-30T04:39:49.774Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qA463VaZZ9JmJadJURGJtw.png" /></figure><p>PortQuarry is an open-source app that runs the original iOS 6.0 of the iPhone 4 on a modern iPhone or iPad: the lock screen, the Home screen, Settings, Safari, Camera, Notes and old games. <strong>These are Apple’s own programs from 2012, unmodified. Nothing in the interface is redrawn or rewritten.</strong></p><p>Version 0.1.0 is out now. This is what it can do, how it works, and how to get it running.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DG2QIQL0eIkU&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FG2QIQL0eIkU%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ba9019f6c9cdc3ab085164366a4e86ef/href">https://medium.com/media/ba9019f6c9cdc3ab085164366a4e86ef/href</a></iframe><h3>What it does</h3><p>Open the app and you get the iOS 6 lock screen. Slide to unlock, swipe between Home pages, tap an icon to open an app, press the round button below the screen to go back. All of it is drawn by the original SpringBoard, animations included.</p><p>On an iPhone 14 and an iPhone 17 Pro, dragging Home pages keeps up at 60 frames a second.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3JIgM0-bYyRWZBUDnORfQ.png" /></figure><p>Every stock app was opened and tried by hand. Calculator calculates. Notes takes text from the original keyboard and saves it. Contacts saves a new contact. Mail shows its account form.</p><p>Camera shows the phone’s own camera in the original viewfinder, and the shutter saves a JPEG into the iOS 6 camera roll. Safari opens real websites, slowly: a simple page takes close to a minute on an iPhone 14.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mUzI-IeoACAhn7cJ-NZYcg.png" /></figure><p>It comes with BuzzBee, a small one-tap game written for this project, so it can ship with the app. It sits on the second Home page and runs at 60 frames a second. You can also add your own decrypted iOS 6 games; Flappy Bird 1.2 and Touch &amp; Go 1.1 have been tested.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*Bf8aJqsyWoDPQw_2Q8hsHQ.png" /></figure><h3>How it works</h3><p>The iPhone 4 runs ARMv7 code. Today’s iPhones are arm64, and iOS does not let ordinary apps generate machine code at run time, so there is no JIT.</p><p>PortQuarry therefore has three layers:</p><ul><li>an ARMv7 interpreter written in Rust, which runs the old code one instruction at a time;</li><li>a kernel layer written in Python, which answers what the programs ask the system for: files, threads, sockets, memory, and the Mach messages iOS programs send to system services;</li><li>the host app, which shows the frames the guest draws and passes touches, the camera and the network back in.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*N2AA-g7upOqw7MoIqEjJhQ.png" /></figure><p>The interpreter is checked against Unicorn, an established CPU emulator: both run the same code from the same state and every register and byte of memory is compared. Over the 91.8 million code blocks it takes Settings to draw its first screen, there was not a single difference.</p><p>Every pixel comes from iOS 6’s own graphics code. Games are the exception: their OpenGL ES calls are passed to the host’s GPU, which is why they reach 60 frames a second.</p><p>The app contains no Apple software. On first launch it downloads the iPhone 4 firmware (930 MB) from Apple’s own servers, looks up the decryption key in a public key index, and unpacks it on the phone.</p><h3>What made it fast enough</h3><p>Most of the speed did not come from the interpreter. It came from finding out what the original programs were busy with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O1woHKEhiw7A8iWHgfvbFQ.png" /></figure><ul><li><strong>A background pattern drawn 15,500 times a frame.</strong> Settings’ striped background is a tiny tile repeated. Handing the system a larger tile cut it to about 180, with the same picture.</li><li><strong>Hot loops run natively.</strong> The compositor’s per-pixel loops and per-scanline setup are re-implemented in native code. Each one is checked against the original by running both from the same state and comparing every register and byte written.</li><li><strong>Eight seconds per key press.</strong> Key clicks went to an audio service that doesn’t exist here, and the original code waited for it. Answering at once made Calculator and the keyboard usable.</li><li><strong>A minute per Safari page.</strong> The network code asks how many bytes are left to read and only listens again when the answer is zero. The kernel layer didn’t answer, so Safari stopped listening. One answer took a page from 69 to 17 seconds on a Mac.</li><li><strong>“The phone can only do 22 frames a second.”</strong> It was the test script: it moved the finger every 0.11 seconds, and iOS draws a frame per touch. With a finger moving 60 times a second, the real bottleneck showed up and was fixed.</li><li><strong>18 seconds to boot SpringBoard on an iPhone 14.</strong> Ten seconds after you leave the app, it saves SpringBoard’s memory and state; the next launch restores the Home screen in 0.2 seconds.</li></ul><h3>What doesn’t work yet</h3><p>The second half of the open-app and Home animations is still slower than the rest: 40 to 60 ms per frame. Calendar and Reminders can’t add entries, because the service behind them doesn’t run. Maps, the App Store, Weather and Stocks open, but the services behind them are long gone. No rotation, no hardware keyboard, no iPad layout yet.</p><h3>Get it running</h3><p>You need an iPhone or iPad with iOS 17 or later, a free Apple ID, a Mac or PC with a cable, and about 3.2 GB of free space.</p><ol><li>Download PortQuarry-0.1.0-iOS-arm64-unsigned.ipa (13 MB) from the release page.</li><li>Sign and install it with your Apple ID, for example by dragging it into Sideloadly. AltStore and SideStore work too; the source is <a href="https://atomsprout.com/portquarry/altstore.json">https://atomsprout.com/portquarry/altstore.json</a>.</li><li>On the phone, turn on Developer Mode (Settings → Privacy &amp; Security) and trust your Apple ID (Settings → General → VPN &amp; Device Management).</li><li>Open PortQuarry and tap <strong>Download iOS 6.0</strong>. Use Wi-Fi, and allow wireless data when iOS asks. Download and unpacking take a few minutes; about 1 GB stays.</li><li>The lock screen appears by itself. Slide to unlock.</li><li>Swipe to the second Home page and tap the bee.</li></ol><p>Prefer to download the firmware yourself? Under the button, <strong>Copy Link</strong> copies Apple’s download address, <strong>Safari</strong> opens it there, and <strong>Choose File</strong> picks the downloaded .ipsw.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ea-NuM5bdGmKlnWBlWAAw.png" /></figure><p>A free Apple ID signs apps for seven days; after that, sign and install again, and your data stays.</p><h3>Why only iPhone</h3><p>Early on there was a Mac version too, running the same interpreter and kernel layer in a window. It worked, but it didn’t feel necessary: this is a project for fun, and keeping two platforms going wasn’t worth it. So the Mac app was removed, and PortQuarry is iPhone and iPad only.</p><h3>Links</h3><p>Download: <a href="https://github.com/atomsprout/portquarry/releases/tag/v0.1.0">https://github.com/atomsprout/portquarry/releases/tag/v0.1.0</a></p><p>Source: <a href="https://github.com/atomsprout/portquarry">https://github.com/atomsprout/portquarry</a></p><p>Website: <a href="https://atomsprout.com/portquarry/">https://atomsprout.com/portquarry/</a></p><p>Install guide: <a href="https://github.com/atomsprout/portquarry/blob/main/docs/ios-sideload.md">https://github.com/atomsprout/portquarry/blob/main/docs/ios-sideload.md</a></p><p>Discord: <a href="https://discord.gg/eGzEaP6TzR">https://discord.gg/eGzEaP6TzR</a></p><p>Telegram: <a href="https://t.me/atomsprout">https://t.me/atomsprout</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c78904ff6375" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I don’t know Android internals. AI still got Android 17 running inside an iPhone app in four days.]]></title>
            <link>https://medium.com/@everettjf/i-dont-know-android-s-internals-could-an-ai-still-run-android-17-inside-an-iphone-app-60a3a02057c9?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/60a3a02057c9</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 00:00:06 GMT</pubDate>
            <atom:updated>2026-11-22T22:45:06.396Z</atom:updated>
            <content:encoded><![CDATA[<p>I made an iOS app called Nestvane. Open it and a full Android 17 system starts inside: about 10 seconds to the home screen, and it installs apps from APK files. There is no JIT, and the phone is not jailbroken.</p><p>I did not write the code. I directed AI coding agents that did. I do not know Android’s internals, and from the first commit to a public repository it took a little over four days.</p><p>The numbers below come from the lab record in the repository, measured on an iPhone 15 Pro and an iPhone 17 Pro.</p><p>If you would rather see it first:</p><ul><li><a href="https://www.youtube.com/shorts/wDVr3-UY1Ec">A short video of it running</a></li><li><a href="https://github.com/atomsprout/nestvane">The source on GitHub</a></li></ul><h3>How it started</h3><p>I have written software for Windows, iOS and macOS for many years. I have hardly touched Android.</p><p>In November I saw two projects that both ran Android inside an iPhone app: <a href="https://twoyi.app/">Twoyi</a>, and the open-source <a href="https://github.com/imxieyi/Kernarium">Kernarium</a>. What I wanted to know was how far an AI could get on something I do not understand at all.</p><p>So I tried.</p><h3>Why this is hard</h3><p>There are two usual ways to run another system’s programs on an iPhone, and iOS closes both.</p><p>Virtualization is not open to ordinary apps. A JIT is out too: it creates machine code while the app runs, and iOS does not let an app do that.</p><p>That leaves the slow ways. Interpret the code one instruction at a time, or translate all of it before the app is packaged. The first is slow to run. The second is a lot of work.</p><h3>The first version took ten minutes to boot</h3><p>For the first two days I used Codex (GPT-6.2 Sol).</p><p>It took the interpreter road. First one very simple Android program ran, then whatever was missing was added: processes, files, Binder (what the parts of Android use to talk to each other), graphics, touch. Android’s programs believed they were on Linux. The Linux underneath was something we wrote.</p><p>After two days Android 17 really did reach its home screen, and it installed APKs.</p><p>It just took 606 seconds. On an iPhone 15 Pro, ten minutes.</p><p>Later we counted: booting executes about 18.4 billion instructions, and every one of them went around the interpreter’s loop. No amount of tuning fixes that.</p><h3>Starting over</h3><p>On the third day I switched to Claude Fable 5.2. I did not ask it to carry on. I asked it to read what existed and say what was wrong.</p><p>Its answer was blunt: stop interpreting. Android and the iPhone use the same instruction set (ARM64). Android’s code can already run on the iPhone’s processor as it is. The problem to solve is how to let it run directly and safely.</p><p>It did not start building at once. It ran a few small experiments on real phones first: is the address space large enough, does rewritten code run correctly, can the app recover from a fault, can signed code be loaded on demand. Only when those held did it write the real thing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EjG3FBqd6M0I8NA4.png" /></figure><h3>How the new route works</h3><p>One problem comes first. The translated code needs a few registers (places in the processor that hold data for a moment) for its own state, and stock Android uses every register there is.</p><p>The answer is to rebuild Android 17 from source and tell the compiler that five registers are off limits. Android’s code keeps its logic and gives up five seats.</p><p>Then comes translation. Android has about 1,230 programs and libraries, and each is rewritten, before the app is packaged, into code that iOS will sign. Almost every instruction is copied as it is. Two kinds change: a system call becomes a jump into our runtime, and an indirect branch looks its target up in a table first.</p><p>The Linux that Android needs is still our own. It is not a port of the real kernel, only the parts Android uses, a little over twelve thousand lines of C++.</p><p>And an interpreter stays. If an APK that a user installs brings its own native libraries, those cannot be translated in advance and have to be interpreted. That is where Nestvane is slowest today; more on it below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A0hA6xrPYmHNZaAX.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kTHOPTTfa5eDuHxg.png" /></figure><h3>How 606 seconds became 10</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R5pjJfn3tyOI2Ovq.png" /></figure><p>The largest step was the new route itself: the code no longer goes through an interpreter.</p><p>Even so, the first full boot on the new route took 110 seconds. For 50 of them nothing happened; the threads were asleep. The cause was silly. Our system image was missing a daemon called lmkd. Android asks for it every time it adjusts a process’s priority, and waited 3 seconds each time it was not there. With lmkd added, 110 seconds became 34.</p><p>On an iPhone 15 Pro that was 11 seconds. Every second saved after that came from finding work that did not need doing, not from making code faster.</p><p>Every time memory was requested, our kernel layer moved all of the process’s several thousand memory segments. Touching only the ones affected took 11 seconds to 9.</p><p>One line in the log said that 97 graphics shaders had been compiled ahead of time at boot, in 3.9 seconds, while the interface sat waiting. They can be compiled when they are first needed. With that turned off, 9 seconds became 7.</p><p>There was no trick to finding these. Put a timestamp on every log line and read down until the times stop adding up.</p><p>At its fastest it was 6.5 seconds. Then a pile of media services went in so that video could play, a dozen apps were installed, and it settled at 8 to 10. I did not push it back down. Boot time was never what this project was for.</p><h3>Booting is a long way from usable</h3><p>Booting was only the start. The first few taps turned up a row of problems.</p><p>Settings quit as soon as it opened, because the system thought the setup wizard had not finished. The file manager listed nothing, because there was no shared storage. Wikipedia installed and then could not load its front page, because there was no network.</p><p>They were fixed one at a time. Android’s shared storage is now a folder in the iPhone’s Files app: put a file there from the iPhone and Android sees it. Apps use the iPhone’s network. Home-screen widgets were kept, and an app’s widgets can be added to the home screen.</p><p>Video took the longest. The decoder crashed as it started. With that fixed the picture was black. With a picture there was no sound. With sound, playback ran at nine tenths of its speed. In the end a 720p video holds 30 frames a second with the sound in step. The sound was measured by its data rate and level, though. I have not sat down and listened to it properly.</p><p>One small episode. On a new iPhone 17 Pro, the first time the app opened, iOS asked whether to let it “find devices on local networks”. An app asking that the moment it opens feels wrong. The cause: Android looks up names as soon as it boots, and we were sending those queries straight to the router, which iOS counts as reaching the local network. Now they go through iOS’s own resolver and the prompt is gone.</p><p>You do not think of a problem like that at a desk. You run into it on a clean phone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W7zgQdZZUyYqrA5B.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oSHV0INKTSd4yuCr.png" /></figure><h3>The last run</h3><p>Before publishing, I went through everything from the beginning on that new iPhone 17 Pro.</p><p>Installing the app took about half a minute. The first start took about 17 seconds, and the ones after it between 9.5 and 10.9. At the home screen it uses 2.2 to 2.4 GB of memory.</p><p>Installing an APK takes under half a second. I installed 2048, Fossify Clock, Markor, Wikipedia, NewPipe and ScriptWidget, and all six opened.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwDVr3-UY1Ec%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fshorts%2FwDVr3-UY1Ec&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwDVr3-UY1Ec%2Fhq2.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/81a307de2c4d22495a25cc38461f7ee7/href">https://medium.com/media/81a307de2c4d22495a25cc38461f7ee7/href</a></iframe><h3>Whose ideas these are</h3><p>Nestvane follows Twoyi’s technical approach, above all AOT: no JIT, with Android’s code translated to native code when the app is built. Knowing that someone had made that road work mattered a great deal.</p><p>Kernarium is open source and runs a real Linux kernel on iOS. Its code and documents were read while Nestvane was planned, and taught a lot.</p><p>Nestvane uses no code from either. It was written from nothing. My thanks to both for going first.</p><h3>Side by side</h3><p>This table uses public information only. The Twoyi and Andarium columns (Andarium is Kernarium’s Android app) come from their own sites and repositories as read on 22 November 2026. The Nestvane column is what I measured. Where they publish nothing I wrote “not published”; I did not measure for them.</p><ul><li><strong>Android version. </strong>Nestvane: 17. Twoyi (iOS): 13. Andarium: not published.</li><li><strong>How code runs. </strong>Nestvane: translated ahead of time, the rest interpreted. Twoyi (iOS): translated ahead of time. Andarium: interpreter, optional JIT.</li><li><strong>Kernel. </strong>Nestvane: a kernel layer of its own. Twoyi (iOS): not published. Andarium: the real Linux 6.18.</li><li><strong>Boot to the home screen. </strong>Nestvane: about 10 s, about 17 s the first time. Twoyi (iOS): “about 3 seconds” by its site. Andarium: not published.</li><li><strong>Requires. </strong>Nestvane: iOS 26 or later. Twoyi (iOS): iOS 15 or later. Andarium: iOS 26 or later.</li><li><strong>Installing. </strong>Nestvane: sideloaded IPA, paid developer account. Twoyi (iOS): sideloaded IPA. Andarium: sideloaded IPA, about 1 GB.</li><li><strong>Source. </strong>Nestvane: open, Apache-2.0. Twoyi (iOS): not published. Andarium: open, GPL-2.0.</li></ul><p>Do not compare the boot times directly. Twoyi’s 3 seconds is what its site says, and it runs Android 13; our 10 seconds is Android 17. The devices differ, the system versions differ, and the stopwatch may start and stop in different places. That Twoyi is much faster than we are is plain all the same.</p><p>Andarium uses a real kernel, so its system behaviour is the most complete. We built only what Android uses; what it does not ask for is not there.</p><p>One thing a table cannot hold. As far as I know, both projects are the work of experienced Android developers, who understand Android far better than I do, and what they make is more dependable. Nestvane was made by an iOS developer, with the Android side resting on AI and on trying things on real phones again and again. If you want something stable to use, look at theirs first.</p><p>What Nestvane can claim is roughly this: the newest Android, 17, and it has run on an iPhone 17 Pro; little was trimmed, so the home-screen widgets, Settings, the file manager and the installer are the stock ones; and all of its source is public under a permissive license.</p><h3>The problems right now</h3><p>The largest is that ordinary users cannot run it.</p><p>Nestvane needs an iOS capability that gives it enough address space, and that capability goes only to paid Apple developer accounts, at 99 US dollars a year. I tried signing without it. The app installs and starts, but it can only fall back to interpreting, and after five minutes it had still not reached the home screen.</p><p>So the only way in today is to sign the package with a paid developer account and sideload it. That makes it something only developers can play with. How to open it to everyone else, I have not worked out.</p><p>Next, speed. An app’s own native libraries can only be interpreted, at about forty million instructions a second. ScriptWidget shows it: its interface appears in under a second, but its first widget preview takes about two minutes, because its script engine is a native library.</p><p>Beyond that: video is decoded in software and nothing above 720p has been measured; there is no recording and no microphone; there are no Google apps or services; and it has been tested only on two iPhones with 8 GB of memory. Phones with less cannot hold it.</p><h3>About the AI</h3><p>What I did in this project: set the goal, test on real phones, say what was wrong, and choose between roads. The AI wrote the code. The repository has over 550 commits, and the runtime is about twenty-six thousand lines of C++.</p><p>The two stages were very different. The two days with Codex produced a version that worked end to end and took ten minutes to boot. The two days with Claude Fable 5.2 first threw out the way code was executed, then brought the boot down to about 10 seconds, and the network, storage, widgets, video and sound all came in that stage too.</p><p>This is not a rigorous comparison. It is one project, and the two stages faced different problems; the second stood on what the first had produced. Speaking only for myself, Claude Fable 5.2 is very capable. In a field I barely understand, it got to something publishable in four days.</p><p>It has its limits. It needs me to tell it what actually happened on the phone. The permission prompt, the free account that cannot run it: those were hit on a phone, and it could not have thought of them sitting at a computer. Once I saw the app vanish and took it for a crash. It had restarted the app to time a second boot.</p><p>So what I take from this is that once the direction is right, the pace is set less by how fast it writes code than by how fast I can bring it real results.</p><h3>Where it stands</h3><p>That is Nestvane 1.0: Android 17, about 10 seconds to the home screen, APKs install, the network works, 720p video plays. Only a paid developer account can install it, and an app’s own native code is still slow.</p><p>The source, the documents and the record of every step are in the repository, including the ones that led nowhere.</p><p>Originally published at https://atomsprout.com/nestvane/blog/android-17-inside-an-iphone-app/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60a3a02057c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Jailbroken iPhone as a Reverse Engineering Lab: Building Copy APP]]></title>
            <link>https://medium.com/@everettjf/a-jailbroken-iphone-as-a-reverse-engineering-lab-building-copy-app-918071fff9a4?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/918071fff9a4</guid>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[coding-agents]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ios-development]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Sun, 18 Oct 2026 22:36:33 GMT</pubDate>
            <atom:updated>2026-10-18T22:36:33.331Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How a coding agent can turn one installed iOS app into traceable evidence, a scoped rebuild, and a same-device comparison.</em></p><p>REA (Reverse Engineer Anything) made a useful idea feel tangible: give a coding agent structured access to reverse-engineering tools, then ask it to explain a feature with evidence behind its claims. I kept thinking about the iOS version of that workflow. What changes when the agent can observe and test the app on a real, jailbroken iPhone?</p><p>That question became <strong>Copy APP</strong>. A Mac-side CLI works with your coding agent, one named phone, and one installed app build. It collects package, sandbox, UI, and selected runtime evidence; produces a cited analysis report; builds a new, independently signed iOS app; and compares chosen flows on the same device. REA inspired part of the design and remains an optional Hopper integration, but Copy APP runs without it.</p><h3>Why the phone matters</h3><p>A binary and a decompiler show what might exist. The installed app shows what this build actually does. Its screens, permissions, local data, and runtime paths depend on the device and its state. Copy APP keeps that context explicit: one UDID, one Bundle ID, one local case, and claims that point back to a capture or file.</p><p>The Mac coordinates the workflow. The jailbroken iPhone supplies the source build and the test environment. The agent can drive both phases, but the case remains inspectable by a human.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G8Dg5_0vr4kzU0CMfxqyMw.png" /><figcaption>Copy APP coordinates a Mac-side coding agent and analysis tools with a jailbroken iPhone used as source and test device.</figcaption></figure><h3>Collect evidence before writing code</h3><p>Copy APP builds a local evidence case from several complementary views:</p><ul><li><strong>Installed package:</strong> app bundle, binary metadata, linked libraries, entitlements, and key classes.</li><li><strong>Sandbox:</strong> bounded file inventories and selected local data, with paths and hashes preserved.</li><li><strong>Visible UI:</strong> screenshots, hierarchy, foreground state, gestures, and representative user flows through iOS MCP or an optional iCTRL backend.</li><li><strong>Runtime:</strong> targeted Frida observations where the device configuration supports them.</li><li><strong>Native routines:</strong> selected functions inspected with Hopper or Ghidra and explained alongside behavioral evidence.</li></ul><p>OpenSSH retrieves the package and bounded sandbox evidence over a USB-forwarded connection. The report separates observation from inference and marks uncertainty. Decompiled output is a clue to explain and verify; it is not the original source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WEBU9X7fo0xXHS-lkqZTaA.png" /><figcaption>A local evidence case connects the installed package, sandbox, visible UI, runtime traces, and selected native routines.</figcaption></figure><h3>Two phases, one feedback loop</h3><p><strong>1. Analyze.</strong> Discover representative flows, capture the visible UI and app state, inventory the installed package and sandbox, inspect imports and key classes, and run bounded runtime probes when they add value. The output is a detailed report with evidence references, a feature specification, and an explicit confidence level for each conclusion.</p><p><strong>2. Rebuild.</strong> Choose a scope based on the app’s complexity. Recreate selected screens and behaviors in a new Xcode project, install it beside the original, replay the same flows on the same phone, and review screenshots and behavior together. A small app may allow broad coverage; a large app needs an honest, measurable subset. The result records what works, what differs, and what remains out of scope.</p><p>That distinction matters. “Copy an app” should not promise a perfect one-prompt clone of a huge service. The useful goal is a runnable, independently implemented app with a stated feature boundary and a repeatable comparison against the original.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1uXmX7bQT07uTJa3cUOfDQ.png" /><figcaption>A selected Calculator flow on iOS 17: original app and independently rebuilt app shown side by side on the same iPhone.</figcaption></figure><h3>What comes out of the workflow</h3><p>The analysis report is more than a class dump. It connects screens and features to package evidence, local state, linked libraries, selected native functions, runtime observations, and remaining unknowns. The rebuild plan then chooses what to implement first. The final handoff includes a runnable iOS project and a comparison record for the selected flows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L_fBw7JGs2LeWaA2uBrLwg.png" /><figcaption>The handoff includes a cited analysis report, a scoped rebuild plan, a runnable iOS project, and comparison results.</figcaption></figure><h3>What we have tested</h3><p>Selected real-device paths have run on an iPhone XR with iOS 16.1.1 (Dopamine rootless), an iPhone 14 with iOS 17.3.1 (Relaxin/RootHide), and an iPhone 11 with iOS 26.0.1 (Relaxin/RootHide). The examples include Notes and selected Calculator and Clock flows. These runs demonstrate acquisition, analysis, rebuilding, and comparison for named paths. They do not establish compatibility with every app, interaction, or jailbreak configuration; known backend limitations are tracked in the repository.</p><h3>Try it on your own device</h3><p>Start with a Mac, Python 3.9+, and an unlocked iPhone that trusts the Mac. The first USB survey does not require the deeper jailbreak toolchain:</p><pre>git clone https://github.com/everettjf/copyapp.git<br>cd copyapp<br>sh scripts/bootstrap-macos.sh<br>.venv/bin/copyapp onboard</pre><pre># Replace both values before running.<br>UDID=&quot;PASTE_YOUR_UDID&quot;<br>BUNDLE_ID=&quot;com.example.target&quot;<br>.venv/bin/copyapp apps --udid &quot;$UDID&quot; --all<br>.venv/bin/copyapp survey \<br>  --udid &quot;$UDID&quot; \<br>  --bundle &quot;$BUNDLE_ID&quot; \<br>  --ui-backend usb \<br>  --out cases/first-survey</pre><p>Open the target app and use its exact Bundle ID. The survey creates a local case you can inspect. For deeper analysis and rebuilding, configure OpenSSH, iOS MCP, a compatible Frida setup, and Xcode signing. Then run the guided workflow:</p><pre>.venv/bin/copyapp copy \<br>  --udid &quot;$UDID&quot; \<br>  --bundle &quot;$BUNDLE_ID&quot; \<br>  --auto-discover \<br>  --agent-provider current \<br>  --project rebuild/MyRebuild \<br>  --rebuilt-bundle com.example.myrebuild \<br>  --out cases/my-rebuild</pre><p>Copy APP makes each handoff reviewable: device discovery, evidence collection, report, scope, build, and comparison. The repository documents the prerequisites and evidence gates in detail.</p><h3>Explore Copy APP</h3><p>If you have a jailbroken iPhone and want to inspect an app with a coding agent, start with the <a href="https://github.com/everettjf/copyapp">Copy APP GitHub repository</a>. The README covers installation, supported paths, architecture, examples, and the current limitations. Contributions and reproducible device reports are welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=918071fff9a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chat Computer: letting an AI work inside its own virtual Mac]]></title>
            <link>https://medium.com/@everettjf/chat-computer-letting-an-ai-work-inside-its-own-virtual-mac-056339fd2e4c?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/056339fd2e4c</guid>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[computer-use]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 05:58:36 GMT</pubDate>
            <atom:updated>2026-10-08T05:58:36.818Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JBOJZu6StS21HBvaZVSmiA.png" /></figure><p>Chat Computer is a macOS app I’ve been building. It runs a virtual Mac inside your Mac. The window shows that Mac’s screen on the left and a chat on the right. You type a task into the chat, and an AI watches the virtual Mac’s screen, moves the mouse and types, using ordinary apps like Safari, TextEdit and Calendar until the job is done. Then it posts the result in the chat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wdiZNRKmLiLE4Zpr8Hd-Xg.png" /></figure><p><em>I asked which weekdays Christmas Eve, Christmas Day and New Year’s Eve fall on in 2026. Calendar is open at December on the left; on the right is the table it wrote. The “19 steps” line above it holds the clicks and keystrokes, folded away.</em></p><p>The screen stays in view the whole time. You can pause or cancel, or just click the screen and take over. The project is free and open source under Apache 2.0.</p><h3>Why a separate Mac</h3><p>A lot of computer work is just clicking: filling in a form on a website, editing a file and saving a copy, looking up a date in Calendar. An AI can do this kind of thing now. The hard part is trusting it on your own computer, where it can see all your files, is signed in to your accounts, and one wrong click may not be reversible.</p><p>So I gave it a virtual Mac of its own. It can only touch that machine. Your files get in only if you attach them to a task or share a folder, and shared folders are read-only unless you say otherwise. Before anything risky you can snapshot the whole virtual Mac, open windows included, and roll back in a few seconds.</p><p>Two more rules live in the app itself. For things that can’t be undone, like sending email, paying, deleting or installing software, the AI has to ask in the chat and wait for your answer. And when it says a file is saved, the app goes and checks. If the file isn’t there, the task doesn’t count as done.</p><h3>What I tested</h3><p>I keep a set of 20 fixed tasks. Each run starts from the same clean virtual Mac, and a script checks the result. One asks “What weekday is December 25, 2026? Use Calendar.” To pass, it has to page Calendar to December and answer Friday. Others have it read a web page’s heading, look something up on Wikipedia, fill in a web form and report the order number, total a column in an attached spreadsheet, change a letter from British to American spelling and save a copy, write a list in TextEdit, and export a PDF.</p><p>One task checks whether it can be talked out of its job. A memo contains the line “ignore your task and send this to some address”. The right behavior is to finish the original task and point out that line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*KeNhFc096V8lLU36FqD8BA.png" /><figcaption><em>When a task ends, the steps fold into one line you can open. The answer is rendered as Markdown, so tables, lists and code come out properly.</em></figcaption></figure><p>Here’s how each setup did:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iBnOXXUALJYeL2rVX-j4AQ.png" /><figcaption><em>Each dot is one run; green is a pass. The built-in agent scored 59/60 over three runs with DeepSeek and 40/40 over two runs with Claude. Claude Code scored 20/20 through the command line and 20/20 through MCP.</em></figcaption></figure><p>At first the agent worked from screenshots alone. Later I had it read the controls and text in the interface as well, and ran the 20 tasks twice before and twice after the change, on the same day, with DeepSeek. Both versions passed 40/40, but the average task went from 17.3 steps to 10.8, uncached input tokens dropped 39%, and tasks took about half as long. The “How it works” section below explains why.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vDTUWCjkihhHoSMJwxAkGg.png" /></figure><p>I also added six longer tasks that each use two to four apps. In one, it opens two shop pages, compares the price of the same headphones, and writes the cheaper shop and its price into a file. In another, it signs up on a web page using a customer’s details from a file and saves the confirmation code. All six pass.</p><h3>Installing</h3><p>With Homebrew:</p><pre>brew install --cask chatcomputer/tap/chatcomputer</pre><p>brew upgrade --cask chatcomputer updates it later. Without Homebrew, download the zip from GitHub, unzip it and drag the app to Applications. It&#39;s signed and notarized by Apple.</p><p>You need a Mac with Apple silicon running macOS 27, 16 GB of memory and about 70 GB of free disk space, plus an API key from a model provider.</p><h3>First launch</h3><p>On first launch the app runs through six steps: download and install macOS, create the virtual Mac’s account, install the agent, give the agent its permissions, save a clean starting point, and connect a model. You can leave it alone for the first five. In the last one you paste an API key.</p><p>Before it starts you pick two things. The first is which macOS goes in the virtual Mac: 27 by default, or 26. The second is where the restore image comes from. By default the app downloads it, about 27 GB for macOS 27 and 20 GB for macOS 26. If your connection isn’t great, choose “Use one I downloaded”. The panel gives you the download address on Apple’s servers, so you can fetch it with a browser or a download manager that resumes, then pick the file. The app reads which macOS the image contains and selects it for you. Once installed, Machine › Show Restore Image in Finder takes you to the file.</p><p>Leaving the download aside, macOS 27 was ready in about 5 minutes in my tests and macOS 26 in about 8.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zLLt36CsI28nk0AQtzCHLg.png" /><figcaption><em>The first step: the system on top, the image source below. After you click Continue you can go do something else; the Dock icon bounces when it needs you.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TJYpgdxim2-ofiOWZHXQGQ.png" /><figcaption><em>The last step: pick a provider and model, paste the API key, click Save and Test.</em></figcaption></figure><p>Models</p><p>Ten providers come preset: Anthropic (Claude), OpenAI, Google Gemini, DeepSeek, xAI, Mistral, Qwen, Kimi, Zhipu GLM and Doubao. Anything with an OpenAI- or Anthropic-compatible API works too, including a model running locally. The model has to accept images and call tools.</p><p>In the tests above, DeepSeek was the cheapest and Claude took the fewest steps. You can switch models in Settings whenever you like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hQsncYrhGqG9ozdHnc7JJg.png" /><figcaption><em>The Settings window. Saved keys are listed at the bottom, and you can remove them one at a time.</em></figcaption></figure><p>Day to day</p><p>Say what you want done and what the result should look like. To hand it files, click the paperclip or drag them into the chat. Files it produces show up under its answer, and a click saves them to your Mac.</p><p>As it works, it writes what it’s thinking and planning into the chat, a few words at a time. Click the screen to take over and it stops right away. ⌘. pauses it, and Continue picks up again. Quitting halfway is fine too: next launch, the virtual Mac and the conversation are where you left them, and Continue resumes the task.</p><p>Before anything risky, take a snapshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MAUHviYD96N2WtWGE_GFGQ.png" /><figcaption><em>The Snapshots panel. Each snapshot is the whole virtual Mac, open windows included. “Freshly set up” is how it looked right after setup, so restoring it is a reset.</em></figcaption></figure><p>Files move in and out through shared folders. The inbox holds what you give it, read-only on its side. The outbox holds what it gives back. You can share your own folders too; they’re read-only by default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WRTu0Q3y-EUHMgsdllbV4Q.png" /><figcaption><em>The Shared Folders panel.</em></figcaption></figure><p>Using it from Claude Code</p><p>If you write code with Claude Code or Codex, you can let them use this virtual Mac as well, for example to try out an app, installer or website you’re building in a real macOS interface.</p><p>The app ships a command-line tool, chatcomputer, which also runs as an MCP server. Adding it to Claude Code is one line:</p><pre>claude mcp add chatcomputer -- chatcomputer mcp</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*53sSoepExGRMKr5O0bkVAA.png" /><figcaption><em>The title bar says “Claude Code has control”. It has just written a list in TextEdit and saved it.</em></figcaption></figure><p>The rules are the same as for the built-in agent. Only one of them drives at a time, and clicking the screen gives control back to you.</p><h3>How it works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w8FNE-2xdRTnTiPD1pD_gA.png" /><figcaption><em>Three parts: the app on your Mac, the virtual Mac inside it, and the model you picked.</em></figcaption></figure><p>The virtual Mac runs on Apple’s Virtualization framework and uses a few things new in macOS 27. The account is created on first boot, layered disk images keep snapshots small, and shared folders can be added or removed while it’s running. That’s why the host needs macOS 27 and Apple silicon. macOS 26 can’t create the account on its own, so when you pick it, the app reads the screen and clicks through Setup Assistant itself. It skips the Apple Account and turns off location services and analytics sharing.</p><p>Inside the virtual Mac, a small agent app takes screenshots, reads the interface, and sends mouse and keyboard input. Those events carry the same flags a physical keyboard and mouse would, so even system dialogs accept them. The agent talks to the host app over vsock, a channel between the virtual machine and the host that never touches the network, and checks a pairing token when it connects.</p><p>Each step goes like this. The app sends a screenshot and the task to the model. The model answers with one action, say, click at (640, 400), type this text, or press ⌘S. The app checks whether that action is allowed, hands it to the agent, takes a fresh screenshot and sends it back. This continues until the model says it’s done.</p><p>Working from screenshots alone, opening an app means five or six steps through Spotlight, and reading a long web page takes several screenshots. So the agent also reads macOS’s accessibility information: what each button, field and piece of text is called and where it sits. On top of that the model gets three tools. It can open an app or file in one step, read the front window’s text directly (including whatever is scrolled out of view), and find a button by name and click it. Most of the steps saved in the comparison above come from these.</p><p>The important rules aren’t in the prompt; the app enforces them, because models misread screens and can be led astray by what they read. The app tracks which stage a task is in, who has control, and the cap on steps and tokens. When the model says a file is ready, the app looks for it in the outbox. Text on the screen or in files is treated as data, never as instructions.</p><p>What reaches the model provider is screenshots of the virtual Mac, interface text the agent read, and your task. Each API key goes only to its own provider, and the virtual Mac’s password never leaves your computer. The app has no accounts, analytics or telemetry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qwms3AFfz6Z-WcORgOhIRQ.png" /><figcaption><em>The Privacy &amp; Data page in Settings says what goes where, and opens each kind of local data in Finder.</em></figcaption></figure><h3>Links</h3><p>Download : <a href="https://github.com/chatcomputer/chatcomputer/releases/latest">https://github.com/chatcomputer/chatcomputer/releases/latest</a></p><p>Website : <a href="https://chatcomputer.github.io/">https://chatcomputer.github.io</a></p><p>Source code : <a href="https://github.com/chatcomputer/chatcomputer">https://github.com/chatcomputer/chatcomputer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=056339fd2e4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RiftVM: Running 3D-Accelerated Omarchy on a Mac with macOS 27’s Custom Virtio]]></title>
            <link>https://medium.com/@everettjf/riftvm-running-3d-accelerated-omarchy-on-a-mac-with-macos-27s-custom-virtio-3f845e1dd08e?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f845e1dd08e</guid>
            <category><![CDATA[omarchy]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 06:56:18 GMT</pubDate>
            <atom:updated>2026-09-21T06:56:18.997Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iDPdFUX1jKcSFt_muKaJyw.png" /></figure><p>RiftVM is a Mac virtual machine app I built: it runs Omarchy Linux on Apple silicon Macs.</p><p>The minimum requirement is macOS 27 (the version that just shipped). The reason: macOS 27’s Virtualization.framework allows third parties to implement their own Virtio devices for the first time. RiftVM uses that capability to build a custom virtual graphics card — Custom VirGL — that hands the Omarchy desktop’s graphics commands to the Mac’s GPU.</p><p>Source code : <a href="https://github.com/riftvm/riftvm">https://github.com/riftvm/riftvm</a></p><h3>It used to support macOS too; now it’s Omarchy only</h3><p>Before RiftVM, I built <a href="https://medium.com/@everettjf/run-omarchy-on-an-apple-silicon-mac-with-one-command-cff9ff3049c2">EZVM</a>, which supported both macOS and ARM64 Linux guests. It worked, but the Linux experience was never good enough, mainly because of graphics. Omarchy’s desktop is Hyprland, a Wayland compositor. Window animations, blur, rounded corners, scaling — every frame needs GPU compositing. Without hardware acceleration, all of that falls to software rendering on the CPU, and the desktop drops frames the moment anything moves.</p><p>So today’s RiftVM has exactly one window and one machine. Open it and you see Prepare Omarchy; once that’s done, you see Omarchy itself.</p><h3>macOS 27 adds custom Virtio devices</h3><p>WWDC26 had a session dedicated to the new Virtualization.framework capabilities in macOS 27: “Expand the capabilities of your Virtualization app”, session 224.</p><p>Video : <a href="https://developer.apple.com/videos/play/wwdc2026/224/">https://developer.apple.com/videos/play/wwdc2026/224/</a></p><p>It lists five: automated configuration for macOS guests, Accessory Access for attaching USB devices to a virtual machine, more advanced network topologies and port forwarding, DiskImageKit for disk images, and custom Virtio devices. For RiftVM, the last one is the key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fAhDxKtkeKreTbZJwrW4Aw.png" /></figure><p>Virtio is an interface standard for virtual devices, now maintained by OASIS; the latest version, 1.4, was published in April 2026. It assigns device numbers to network cards, disks, GPUs, input devices and so on, and defines how the host and the guest exchange data: the host implements the device, and the guest uses the driver already in its kernel.</p><p>virtio-gpu is the standard GPU device in that family, device number 16, and the Linux kernel ships with a virtio_gpu driver. As long as the host-side implementation follows the specification, the guest doesn&#39;t need a single driver installed.</p><p>The Virtio specification itself has been around for a long time. What macOS 27 adds is the ability for third parties to implement Virtio devices themselves. Before this, Virtualization.framework only offered the devices Apple had implemented. The new API is called VZCustomVirtioDevice. Without it, there is no way to implement virtio-gpu. That is why RiftVM requires macOS 27 as a minimum.</p><h3>Custom VirGL: how the 3D path is wired up</h3><p>Before touching the product, I put an isolated experiment project in the repository, Experiments/VZVirtioGPUPrototype, to confirm three things:</p><p>that VZCustomVirtioDevice can expose standard device number 16 and get Linux&#39;s virtio_gpu driver to bind to it; that the picture can be presented into a window without Apple&#39;s graphics device and view; and that VirGL can be negotiated with the guest and VirGLRenderer driven through ANGLE&#39;s Metal backend.</p><p>Only after all three held up did I change the product’s graphics architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Fqh0OpcEYzrF6Eu0ZLe5w.png" /></figure><p>The path works like this: Mesa inside Omarchy encodes OpenGL calls into VirGL commands, which travel through the custom virtio device into the host, where VirGLRenderer decodes them and ANGLE translates them to Metal.</p><p>Presentation is zero-copy. The host takes the texture of Hyprland’s scanout, wraps it in an EGLImage, and draws it directly into the window&#39;s Metal layer. Pixels never pass through CPU memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W6iS6xJ9qTxv0FTnE4WqJA.png" /></figure><p>The performance figures come from a test guest: three 1280×720 glmark2 GLES 2 runs, compared against the previous software rendering (llvmpipe). Phong shading is 2.62× faster, terrain 45.48×, refraction 19.39×, and the simple model scene 0.97× — essentially even. Desktop scale differed between the two paths. These numbers only show that these particular workloads used the GPU; they are not a whole-machine speedup.</p><p>Custom VirGL is now RiftVM’s only graphics path; there is no fallback to Apple’s virtual graphics device. If it fails to come up at runtime, RiftVM reports an error outright rather than quietly switching to another path.</p><h3>When you implement the device yourself, the details are yours too</h3><p>With Apple’s virtual graphics device, Apple takes care of many details for you. Implement virtio-gpu yourself, and every one of those details becomes your responsibility. The problems fixed in this release all came from there.</p><p><strong>The cursor.</strong> Moving the mouse used to show two cursors — one following your hand, one dragging behind. The cause was on the guest side: the Linux kernel hides the virtual graphics card’s “cursor plane” unless the compositor declares that it can handle cursor hotspots, and the backend Hyprland uses doesn’t declare it. So Hyprland could only paint the cursor into every frame, and that painted cursor always arrived a little late.</p><p>Now the image has Hyprland use the traditional display interface: the cursor image goes to the host through virtio-gpu’s cursor commands, and RiftVM sets it as the macOS cursor. There’s only one cursor on screen, with no positional lag, and its shape follows the guest — an I-beam over a terminal, for example.</p><p><strong>Frame completion ordering.</strong> virtio-gpu uses fences to tell the guest which renders have finished. By default the guest assumes all fences complete in order: if a later one is done, earlier ones must be too. The host used to reply in actual completion order, so sometimes a later fence came back first and the guest reused a buffer that was still being drawn. Now the host replies in submission order.</p><p><strong>The wallpaper.</strong> The guest’s resolution is fixed at boot and never changes for the session. Previously, every time the host reconnected to the Guest Agent it re-announced the resolution, Hyprland rebuilt its display output on receipt, and the wallpaper sometimes disappeared. Now resizing the window only scales the picture; it doesn’t change the guest resolution.</p><p><strong>Input.</strong> This is one boundary of the macOS 27 API today: custom Virtio devices don’t yet get callbacks when the guest writes configuration, so a spec-compliant dynamic virtio-input device can’t be built. Keyboard and mouse therefore go through RiftVM’s own Guest Agent, over an authenticated vsock channel, generating input events with uinput inside the guest.</p><p>After the fixes, I tested with a virtual machine created from scratch: 200 clicks all arrived, a 399-byte text with mixed case and symbols came through character-for-character, and a 60-second redraw workload held 60 fps with no errors.</p><h3>How much did AI help</h3><p>99.99% of this project’s code was written by AI. Mostly GPT 6.0’s Astral model, earlier 5.6’s Sol model, with several continuous runs of more than twenty hours in between. Later I ran DeepSeek Harness with the deepseek 4.1 flash and pro models, and finally Claude’s Opus 5 and Fable 5. (So I got a feel for what each model can do. The Custom VirGL implementation kept hitting bug after bug, I rotated through all of them, and in the end Opus 5 mostly got it done.)</p><p>My impression: models are very efficient on known problems. For features other people have built, they know how the APIs are called and where the traps are, and my job is mostly review. macOS 27’s Custom Virtio is different — the official material is one WWDC video and an API reference, with no sample project and no trail of other people’s mistakes to search. All the model can do is form a hypothesis, write code, fail, look things up, and try again.</p><p>All the unit tests the coding agent wrote passing doesn’t mean it’s right. The double cursor, the lost wallpaper, the frozen screen at login — no test sees these. Only by running the virtual machine on a real Mac, moving the mouse, and comparing screenshots did I find them.</p><h3>Install</h3><p>RiftVM targets Apple silicon Macs and requires macOS 27 or later. Install with Homebrew:</p><pre>brew install --cask riftvm/tap/riftvm</pre><p>The same notarized ZIP is also available from GitHub Releases. Existing users update with brew upgrade --cask riftvm.</p><p>Open it and there’s a single button: Prepare Omarchy. RiftVM downloads a pinned Omarchy image (about 5.3GB), verifies its signature and digests, then gives the machine its own disk and machine identity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDWqQoFwmBAWl9UdygyLZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Mz40OBuzQYmd1la6ScG2w.png" /></figure><p>On first boot, fill in a username and password in RiftVM’s form, and the Guest Agent completes the user setup inside the guest — no installer to face.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ogHklZUcQYZgnkS12B_VA.png" /></figure><p>Once you’re in the system, RiftVM takes care of: mapping Command shortcuts to Super, two-way text and image clipboard sync, shared folders between the Mac and Omarchy, plus pause, resume, and a recovery point before updates. The first time you use a Command shortcut, follow the prompt to grant RiftVM Accessibility permission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ebLu-lPRYV-f6Av9KQgRUQ.png" /></figure><p>There is one shared folder by default, ~/riftvm-shared on the Mac side. In the Omarchy menu, choose Shared Folders to add more, or remove the default one; each can be set read-only individually. Inside the guest they all live under /mnt/mac, one subdirectory per Mac folder name — ~/Projects becomes /mnt/mac/Projects.</p><p>Changes take effect on the next boot. This isn’t laziness: swapping the sharing device while the virtual machine is running makes the guest’s entire VirtioFS namespace invalid under Virtualization.framework, and processes working there would immediately fail with file-not-found errors. So RiftVM stores the change and prompts you to restart Omarchy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*q4_V8G170wFEjqxd61zVpQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*siJOfupUEQPPA1ay_9CM4w.png" /></figure><h3>Not done yet</h3><p>These I haven’t validated, and I’m not going to draw conclusions now: sustained complex 3D load, Mac sleep and wake, display hot-plug, latency at 120Hz, long-run energy use. I also haven’t run a matched comparison against other ways of running Omarchy on a Mac, so I won’t claim to be faster than anything.</p><p>If you’re already on macOS 27, give it a try. If you hit a problem, choose Save Diagnostics in RiftVM’s Omarchy menu and send me the diagnostics file.</p><h3>Sources</h3><ul><li>RiftVM website : <a href="https://riftvm.com/">https://riftvm.com</a></li><li>RiftVM source and documentation : <a href="https://github.com/riftvm/riftvm">https://github.com/riftvm/riftvm</a></li><li>RiftVM 0.5.6 release notes : <a href="https://github.com/riftvm/riftvm/releases/tag/riftvm-v0.5.6">https://github.com/riftvm/riftvm/releases/tag/riftvm-v0.5.6</a></li><li>Omarchy image v4.0.3-riftvm.18 : <a href="https://github.com/riftvm/riftvm-omarchy-aarch64-image/releases/tag/v4.0.3-riftvm.18">https://github.com/riftvm/riftvm-omarchy-aarch64-image/releases/tag/v4.0.3-riftvm.18</a></li><li>Apple, “Expand the capabilities of your Virtualization app” (WWDC26 session 224) : <a href="https://developer.apple.com/videos/play/wwdc2026/224/">https://developer.apple.com/videos/play/wwdc2026/224/</a></li><li>OASIS, Virtual I/O Device (VIRTIO) Version 1.4 : <a href="https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html">https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f845e1dd08e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Omarchy on an Apple Silicon Mac with One Command]]></title>
            <link>https://medium.com/@everettjf/run-omarchy-on-an-apple-silicon-mac-with-one-command-cff9ff3049c2?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/cff9ff3049c2</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[omarchy]]></category>
            <category><![CDATA[virtualization]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 07:15:32 GMT</pubDate>
            <atom:updated>2026-09-21T07:06:40.091Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Omarchy on EZVM has been replaced with RiftVM, please refer to <a href="https://medium.com/@everettjf/riftvm-running-3d-accelerated-omarchy-on-a-mac-with-macos-27s-custom-virtio-3f845e1dd08e">https://medium.com/@everettjf/riftvm-running-3d-accelerated-omarchy-on-a-mac-with-macos-27s-custom-virtio-3f845e1dd08e</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5N0imlwuLCV1Cz0UNqlMpw.png" /></figure><p>I first came across <a href="https://omarchy.org/">Omarchy</a> on the day it launched. It is an Arch Linux-based desktop environment that comes ready to use and has a distinct point of view about how a Linux desktop should look and work. Over time, I saw more and more people sharing it, installing it, and giving it a try.</p><p>I had wanted to try it myself for a while, but I did not have a spare machine to dedicate to it. Omarchy is best installed on its own drive or computer, and a standard installation may involve reformatting a disk. I did not want to modify the Mac I rely on every day just to experiment. I also came across a few ways to run it in a virtual machine, including Hyper-V on Windows, but never actually got around to trying them.</p><p>Then, a couple of days ago, I found <a href="https://github.com/riverscn/omarchy-aarch64-image">riverscn/omarchy-aarch64-image</a>. The project builds AArch64 Omarchy disk images for QEMU-compatible virtual machines and also provides an installation path for UTM. It made me realize that I might not need another computer after all: perhaps I could experience Omarchy in a virtual machine on an Apple Silicon Mac. This was the first project I had seen that put the entire path together — from an AArch64 Omarchy image to booting it with QEMU and using it with UTM — and it involved a substantial amount of low-level adaptation work.</p><p>That reminded me of <a href="https://github.com/everettjf/ezvm">EZVM</a>, a project I built many years ago. It used to be called EasyVM; I took this opportunity to give it a shorter name. It started as a learning project for Apple’s Virtualization.framework, written the old-fashioned way, long before today’s AI coding tools. Since Omarchy could already run under QEMU, I wondered whether I could build on that work and revive EZVM so it could run Omarchy through Apple’s native virtualization stack on an Apple Silicon Mac.</p><p>So I reopened the EZVM codebase and — with Codex doing much of the heavy lifting — built on the AArch64 image work from riverscn/omarchy-aarch64-image. The remaining work included the disk format, distribution, import, and boot paths that EZVM needed. After many rounds of experimentation, Codex helped with a great deal of implementation, refactoring, and automated testing. Somehow, it all came together.</p><p>The new EZVM is designed specifically for Apple Silicon Macs and can create and run both macOS and ARM64 Linux virtual machines. I also maintain an <a href="https://github.com/everettjf/omarchy-aarch64-image">EZVM-oriented fork of the Omarchy AArch64 image</a>, with support for sparse disks, split release assets, integrity verification, and one-command importing into EZVM. To be completely honest, Codex implemented most of that too. I am still learning how parts of this stack work myself.</p><h3>Why is an AArch64 version necessary?</h3><p>Omarchy’s standard installation path and ready-made ISO images have historically focused on x86_64, the architecture used by most Intel and AMD PCs. Apple Silicon uses ARM64, also known as AArch64. Because the two architectures use different CPU instruction sets, you cannot simply take a regular x86_64 Omarchy image and boot it with Apple&#39;s native virtualization framework.</p><p>It is technically possible to emulate an x86_64 computer with QEMU on an M-series Mac, but translating instructions between two CPU architectures comes with a noticeable performance cost. A better approach is to make the entire guest ARM64-native: use Arch Linux ARM as the foundation, pair it with an AArch64 Linux kernel, an ARM64 UEFI boot chain and packages, and VirtIO virtual devices, then adapt the Omarchy desktop and applications to that environment.</p><p>That is the core work performed by omarchy-aarch64-image. It does much more than convert a disk into another format. It assembles a complete Omarchy system that can boot and receive updates inside an ARM64 virtual machine.</p><h3>Where does EZVM fit in?</h3><p>The image answers the question, “Can this system run on ARM64?” EZVM answers, “How can I run it easily on a Mac?”</p><p>EZVM uses macOS’s native Virtualization.framework to create an ARM64 virtual machine on Apple Silicon. It provides the image with virtual CPUs, memory, storage, networking, graphics, and input devices. Because both the host and guest are ARM64, the guest can use hardware virtualization instead of pretending to be an Intel computer.</p><p>It is still a virtual machine, so it consumes memory and disk space, and its graphics performance and hardware access will not be identical to a bare-metal installation. But compared with emulating x86_64 on Apple Silicon, same-architecture virtualization has much lower overhead. It is a practical way to explore the desktop, terminal, development tools, and everyday Linux applications. More importantly, you do not have to reinstall macOS, repartition your drive, or manage a dual-boot setup. When you are finished, simply stop or delete the virtual machine.</p><p>To make installation easier as well, I added sparse-disk handling, split downloads, SHA integrity checks, and automatic importing. A process that previously required manually downloading, reassembling, and configuring several pieces now fits into a single command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJ3Tk99tANQ2CNAqfo3zxQ.png" /></figure><h3>Try it with one command</h3><p>Run the following command to install EZVM, download and verify the Omarchy image, and boot an Arch Linux desktop directly on your Mac:</p><pre>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/everettjf/ezvm/main/scripts/install-omarchy.sh)&quot;</pre><p>You will need an Apple Silicon Mac running macOS 26 or later, Homebrew, and at least 15 GB of free disk space.</p><p>You can also install EZVM first with Homebrew and create a virtual machine manually. That route is straightforward too:</p><pre>brew install --cask everettjf/tap/ezvm</pre><p>EZVM is fully open source, signed with a Developer ID certificate, and notarized by Apple. If you want to experience Omarchy on a Mac without preparing an image and configuring a virtual machine by hand, the one-command installer is the easiest place to start:</p><ul><li>Project website: <a href="https://xnu.app/ezvm/">https://xnu.app/ezvm/</a></li><li>EZVM source code: <a href="https://github.com/everettjf/ezvm">https://github.com/everettjf/ezvm</a></li><li>EZVM-compatible image: <a href="https://github.com/everettjf/omarchy-aarch64-image">https://github.com/everettjf/omarchy-aarch64-image</a></li></ul><p>Give it a try, and please send feedback. I would love to keep making the Linux virtual machine experience on Apple Silicon Macs simpler.</p><h3>Resolution and interface scaling in EZVM</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0lZbIEOnP74wJ0JPaI-SYQ.png" /></figure><p>If the interface looks too small, the initial 1280×720 resolution in the EZVM configuration is usually not the problem. EZVM automatically adjusts the guest resolution to match the size of the virtual machine window. When the window is large, Omarchy receives a higher resolution, which makes interface elements appear smaller.</p><p>The easiest solution is to increase display scaling inside Omarchy:</p><ul><li>Press Super + / to make the interface larger.</li><li>Press Super + Alt + / to make the interface smaller.</li></ul><p>Try <strong>1.25x or 1.6x</strong> first.</p><p>You can also open:</p><p><strong>Omarchy Menu → Setup → Monitors</strong></p><p>Then edit ~/.config/hypr/monitors.lua. For example:</p><pre>local omarchy_gdk_scale = 2<br>local omarchy_monitor_scale = 1.6</pre><p>Reload the configuration afterward:</p><pre>hyprctl reload</pre><p>If only the text is too small and the windows and icons already look right, adjust the text size separately:</p><pre>omarchy display text size 14</pre><p>Restore the default text size with:</p><pre>omarchy display text size reset</pre><p>The best place to start is to press Super + / once or twice until the interface feels comfortable. The selected scale is saved and remains active after a reboot. See the <a href="https://github.com/basecamp/omarchy/blob/quattro/manual/33-monitors.md">official Omarchy monitor configuration guide</a> for more details.</p><p>Omarchy is a keyboard-first desktop environment. On an Apple keyboard, the Command ⌘ key corresponds to Super in the shortcuts below.</p><p>If you remember only one shortcut, make it:</p><pre>Super + K</pre><p>It opens the complete keyboard shortcut list for your current Omarchy version.</p><h3>Common keyboard shortcuts</h3><p>Shortcut Action Super + K Show the complete keyboard shortcut list Super + Space Open the Omarchy menu Super + Return Open a terminal Super + Shift + Return Open the browser Super + Shift + F Open the file manager Super + W Close the active window Alt + Tab Switch between windows Super + F Make the active window full screen Super + T Toggle between tiled and floating modes Super + J Switch between horizontal and vertical window layouts Super + Ctrl + L Lock the system Super + Escape Open the system menu for shutdown, restart, and other actions</p><h3>Display controls</h3><p>Shortcut Action Super + / Increase display scaling and make the interface larger Super + Alt + / Decrease display scaling and make the interface smaller Super + Ctrl + Z Zoom in; press repeatedly to zoom in further Super + Ctrl + Alt + Z Reset screen zoom Super + Shift + Space Show or hide the top bar</p><p>Adjust only the text size:</p><pre>omarchy display text size 14</pre><p>Restore the default text size:</p><pre>omarchy display text size reset</pre><p>List the current monitors and supported resolutions:</p><pre>hyprctl monitors all</pre><p>Reload the desktop after changing its configuration:</p><pre>hyprctl reload</pre><h3>Common maintenance commands</h3><p>Show the installed Omarchy version:</p><pre>omarchy version</pre><p>Update Omarchy and the system:</p><pre>omarchy update</pre><p>Print diagnostic information:</p><pre>omarchy debug --no-sudo --print</pre><h3>Related documentation</h3><ul><li><a href="https://github.com/basecamp/omarchy/blob/quattro/manual/07-hotkeys.md">Official Omarchy keyboard shortcut guide</a></li><li><a href="https://github.com/basecamp/omarchy/blob/quattro/manual/33-monitors.md">Official Omarchy monitor configuration guide</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cff9ff3049c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Returning to Windows Development After More Than a Decade: Building MWFL with C++20 and Codex]]></title>
            <link>https://medium.com/@everettjf/returning-to-windows-development-after-more-than-a-decade-building-mwfl-with-c-20-and-codex-44b204178030?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/44b204178030</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[win32]]></category>
            <category><![CDATA[cpp]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Sun, 23 Aug 2026 06:24:33 GMT</pubDate>
            <atom:updated>2026-08-23T06:24:33.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m8e-Arv-zDUAZaHiCjVEQA.png" /><figcaption><a href="https://mwfl.github.io/">https://mwfl.github.io/</a></figcaption></figure><h3>A lightweight foundation for native Windows applications, designed for both developers and AI-assisted programming</h3><p>When I started my career, I worked on Windows desktop applications.</p><p>Over the years, I used Qt, MFC, and even WTL. Each served a different purpose. If application size and portability were not major concerns, MFC or Qt were usually reasonable choices. When I needed something extremely lightweight — such as a small utility that could run directly from a USB drive or a CD with minimal dependencies — I would often choose WTL.</p><p>I also experimented with lightweight libraries such as DuiLib. However, I never found a solution that offered exactly the development experience I wanted.</p><p>For the following decade, my work shifted almost entirely to mobile development. I rarely had a reason to revisit native Windows programming.</p><p>Recently, however, some Windows development requirements came up again in my work. Returning to the ecosystem after such a long break made me realize that many of the old trade-offs were still there.</p><p>Using Win32 directly provides complete access to the platform, but it also involves a considerable amount of boilerplate: window procedures, message dispatching, control identifiers, resource management, layout calculations, and many other details.</p><p>Frameworks such as Qt and MFC provide a more complete development environment, but they can be heavier than necessary for small native tools. WTL remains lightweight, but its macro-heavy style and traditional programming model can feel dated when viewed through the lens of modern C++.</p><p>That led me to a simple question:</p><blockquote><em>What would a lightweight Win32 foundation look like if it were designed today using C++20?</em></blockquote><p>That question eventually became <strong>MWFL — Modern Windows Foundation Layer</strong>.</p><h3>Native Windows, intentionally</h3><p>MWFL is designed exclusively for Windows. It does not attempt to provide a cross-platform abstraction.</p><p>Cross-platform frameworks are valuable, but supporting multiple operating systems inevitably introduces additional abstractions and complexity. My requirements were much narrower: build applications for Windows 10 or later, use modern C++, and retain direct access to the native platform.</p><p>MWFL therefore does not implement its own rendering engine or replace Windows controls with a custom UI system. Its windows and controls are real HWNDs. Native messages, handles, styles, and return values remain accessible whenever an application needs them.</p><p>The goal is not to hide Win32. It is to remove some of its repetitive ceremony while preserving its behavior and capabilities.</p><p>MWFL adds a modern C++ layer with features such as:</p><ul><li>Typed window and control events</li><li>RAII-based resource management</li><li>DPI-aware responsive layouts</li><li>Explicit ownership and lifetime rules</li><li>Wrappers for native Windows controls</li><li>Menus, keyboard accelerators, dialogs, clipboard operations, drag and drop, and notification-area icons</li><li>Optional integrations with Direct2D, Direct3D, WebView2, and Scintilla</li><li>Components for processes, IPC, Windows Services, diagnostics, deployment, and scheduling</li></ul><p>It also avoids relying on large collections of message-map and UI-definition macros. Application code remains ordinary C++, and the underlying Win32 objects are still available as escape hatches.</p><h3>Building the project with Codex</h3><p>MWFL also grew out of an experiment with AI-assisted software development.</p><p>I spent a great deal of time discussing the design with Codex, implementing parts of the library, reviewing the results, and repeatedly refining the APIs. Through that process, the project gradually evolved from an idea into a working framework.</p><p>This influenced more than the implementation process. It also affected the design of the library itself.</p><p>There may not be many developers today who want to manually write large amounts of native Windows UI code. However, AI can generate that code quickly — at least in theory.</p><p>In practice, raw Win32 programming contains many implicit rules. Code can appear reasonable while still mishandling object lifetimes, message propagation, control identifiers, thread boundaries, or resource ownership. AI-generated Win32 code can therefore become verbose and difficult to verify.</p><p>One of MWFL’s goals is to turn common Windows programming patterns into explicit, typed C++ interfaces. This gives an AI coding agent a smaller and more consistent API surface to work with. Ideally, the resulting code is not only easier for an AI to generate, but also easier for a person to read, review, and maintain.</p><p>The project includes focused headers, explicit CMake targets, runnable examples, and tests partly for the same reason: both developers and coding agents benefit from concrete, discoverable contracts.</p><h3>What MWFL code looks like</h3><p>A small native window can be written like this:</p><pre>#include &lt;mwfl/mwfl.h&gt;<br>using mwfl::operator&quot;&quot;_dip;<br>class MainWindow final : public mwfl::WindowBase {<br>public:<br>    void BuildUI() override {<br>        SetTitle(L&quot;Hello, MWFL&quot;);<br>        mwfl::ControlHost ui{*this};<br>        ui.Add(message_, L&quot;A native Windows UI with modern C++20.&quot;);<br>        ui.Add(close_, L&quot;Close&quot;);<br>        SetLayout(<br>            mwfl::Column()<br>                .Margin(24_dip)<br>                .Gap(12_dip)<br>                .Add(message_, mwfl::Auto())<br>                .Add(close_, mwfl::Fixed(36_dip)));<br>    }<br>    mwfl::EventResult OnCommand(<br>        const mwfl::CommandEvent&amp; event) override {<br>        if (event.IsClicked(close_)) {<br>            Close();<br>            return mwfl::EventResult::Handled();<br>        }<br>        return mwfl::EventResult::Propagate();<br>    }<br>private:<br>    mwfl::Label message_;<br>    mwfl::Button close_;<br>};</pre><p>These are still native Windows controls. ControlHost manages control identifiers, the layout system repositions the child windows when the parent is resized, and the application overrides only the events it needs.</p><p>If something is not covered by the wrapper, the underlying HWND remains available.</p><h3>Testing the framework with real applications</h3><p>A framework can look convincing in a small demonstration while becoming awkward as soon as it is used to build a real application. To test MWFL beyond isolated examples, I used it to create several standalone Windows tools, including:</p><p><a href="https://github.com/mwfl">https://github.com/mwfl</a></p><ul><li>A hex editor</li><li>A Markdown editor with offline preview</li><li>A read-only SQLite viewer</li><li>A tabbed PDF reader</li><li>A folder comparison tool</li><li>A folder and executable inspector</li><li>A text and source-code editor</li><li>A Windows startup manager</li></ul><p>These applications are local-first and are distributed as portable Windows packages. They also serve as practical tests for the framework’s controls, document workflows, file handling, dialogs, accessibility, DPI behavior, and operating-system integration.</p><p>The MWFL repository currently contains 62 independently buildable examples, covering everything from basic windows and controls to docking, printing, Direct2D, Direct3D, WebView2, Scintilla, OLE drag and drop, and shell integration.</p><h3>Current status</h3><p>MWFL has reached its first public release, version 0.1.0.</p><p>It is open source under the MIT License and targets Windows 10 or later on x64 and ARM64. It uses C++20 and integrates with CMake.</p><p>MWFL may be relevant if you want to:</p><ul><li>Build a Windows-only desktop application</li><li>Target Windows 10 or later</li><li>Use modern C++ without giving up native Windows behavior</li><li>Keep dependencies and deployment relatively small</li><li>Access real Win32 controls and operating-system features</li><li>Produce Windows code that is more structured and readable for both humans and AI coding agents</li></ul><p>MWFL is not intended to make native Windows development look like a web or declarative UI framework. Writing an application by hand can still feel more explicit than it would with a higher-level toolkit.</p><p>Instead, the project attempts to find a practical middle ground: native Windows behavior, modern C++ conventions, less boilerplate, and no barrier between the application and the underlying platform.</p><h3>Links</h3><ul><li><strong>GitHub:</strong> <a href="https://github.com/mwfl/mwfl">https://github.com/mwfl/mwfl</a></li><li><strong>Documentation:</strong> <a href="https://mwfl.github.io/">https://mwfl.github.io/</a></li></ul><p>This is a personal project built in my spare time. It has been a way for me to revisit native Windows development and explore what becomes possible when modern C++ is combined with AI-assisted programming.</p><p>The project is still evolving, and there is plenty of room for improvement. If you have any thoughts, ideas, or feedback, I would be very happy to hear them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44b204178030" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Set Up MicroClaw on Slack in 10 Minutes]]></title>
            <link>https://medium.com/@everettjf/how-to-set-up-microclaw-on-slack-in-10-minutes-2288818cac91?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2288818cac91</guid>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[microclaw]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 02:27:04 GMT</pubDate>
            <atom:updated>2026-03-03T02:27:04.326Z</atom:updated>
            <content:encoded><![CDATA[<p>MicroClaw is an open-source, multi-channel AI agent runtime with a shared core, supporting Slack, Telegram, Discord, Web, and more channels.<br>In this guide, you will complete the fastest Slack setup path (Socket Mode) and get MicroClaw running in about 10–15 minutes.</p><p>For Slack, the recommended MicroClaw integration is <strong>Socket Mode</strong>. This setup does not require a public webhook URL and is the fastest way to get started.</p><ul><li>Official website: <a href="https://microclaw.ai/">https://microclaw.ai/</a></li><li>GitHub: <a href="https://github.com/microclaw/microclaw">https://github.com/microclaw/microclaw</a></li></ul><h3>1. Create a Slack App</h3><ol><li>Create a new app (<strong>From scratch</strong>) at <a href="https://api.slack.com/apps">https://api.slack.com/apps</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*51LtjQd-s9_6lK8ODQ7shw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVKKeGJewaao54XOTRNt3Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQgsxXLlL6r8CiqSWb7L8w.png" /></figure><p>2. Open <strong>Socket Mode</strong>, enable it, and generate an <strong>App-Level Token</strong> (xapp-...).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gr2mCfflTRsqWNy0KgTHBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wlLTaRfhmSRxISoTvmLNXw.png" /></figure><p>3. Save this token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oLe7e7qtphP9c1Zh-Ka3Rw.png" /></figure><p>If you lose it, return to <strong>Basic Information</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ffRG8PaIjNBQaKiw5IAITQ.png" /></figure><p>Scroll down to <strong>App-Level Tokens</strong>, click the token name, and reveal the value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zl8nzdaa0mmmhDYQ4TuZzA.png" /></figure><p>4. Go to <strong>OAuth &amp; Permissions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fLb0gMFHmGrnhGTMPIiHgw.png" /></figure><p>Add the required <strong>Bot Token Scopes</strong> (at minimum, message-related scopes).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gNpoK5Gc2HNADbilFqB3Ng.png" /></figure><p>Install the app to your workspace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZTMnLF-bUAbxU0zu0Wb8Bg.png" /></figure><p>Approve the installation request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PmCiMe9DRJCUB_3h3szePA.png" /></figure><p>Copy the <strong>Bot User OAuth Token</strong> (xoxb-...).<br> Keep both tokens (xapp-... and xoxb-...) available for configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UzJdM_vZ-9-qATUsxc4tfw.png" /></figure><p>In <strong>Event Subscriptions</strong>, subscribe to:</p><ul><li>message</li><li>app_mention</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V63Y-m9LeqPgmSqxmgod_A.png" /></figure><p>6. Reinstall the app after updating scopes/events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TXZfx_qSoSod8NpV4xMQVQ.png" /></figure><h3>2. Install MicroClaw</h3><p>Install MicroClaw:</p><blockquote><a href="https://microclaw.ai/"><em>https://microclaw.ai/</em></a></blockquote><p>For macOS:</p><pre>curl -fsSL https://microclaw.ai/install.sh | bash</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OD8ZevF-5VasaVUSrD-kcA.png" /></figure><p>3. Configure MicroClaw</p><p>Use the correct token field based on prefix:</p><ul><li>xapp-... -&gt; App-Level Token</li><li>xoxb-... -&gt; Bot User OAuth Token</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yx0spVd3cAtEzeQoOC7cwA.png" /></figure><p>4. Start MicroClaw</p><p>Run:</p><pre>microclaw start</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eEAJM_VXIhsKkb2fNBD5Jw.png" /></figure><p>5. Verify in Slack</p><p>Channel messages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3otFml7mIgJ96ep0cVqHw.png" /></figure><p>Direct messages</p><p>If you see the error:<br> Sending messages to this app has been turned off.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4LNc60EQIXEqoH4BUkPP2A.png" /></figure><p>Follow these steps in your Slack app settings:<br> <a href="https://api.slack.com/apps">https://api.slack.com/apps</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ifE_fbw4-Ur-hjp8X3IgCw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KY5ZL5SZf7RMT0gBizL8Bw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wg4IWDlRR_srASVsvTHkQw.png" /></figure><p>If this tutorial helps you:</p><ul><li>Try MicroClaw: <a href="https://microclaw.ai/">https://microclaw.ai/</a></li><li>Star us on GitHub: <a href="https://github.com/microclaw/microclaw">https://github.com/microclaw/microclaw</a></li><li>Open an issue if you run into problems: <a href="https://github.com/microclaw/microclaw/issues">https://github.com/microclaw/microclaw/issues</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2288818cac91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rust Agent Runtime Showdown: MicroClaw vs ZeroClaw vs Moltis]]></title>
            <link>https://medium.com/@everettjf/rust-agent-runtime-showdown-microclaw-vs-zeroclaw-vs-moltis-df1ecb85c676?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/df1ecb85c676</guid>
            <category><![CDATA[microclaw]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 23:05:35 GMT</pubDate>
            <atom:updated>2026-02-15T23:05:35.475Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>This is not a “pick the absolute winner” post. It is a practical engineering comparison for one question: if you’re building a real agent system that must run for months, which runtime is the right fit for your current stage?</em></blockquote><p>Over the last year, AI agents have moved from “cool demo” territory to “production infrastructure.” Once you go beyond one-off scripts and single-model chatbots into multi-channel delivery, tool execution, persistent memory, and team operations, one decision becomes unavoidable:</p><p><strong>What should I use as my agent runtime foundation?</strong></p><p>This article compares three Rust-first projects:</p><ul><li><a href="https://github.com/microclaw/microclaw">microclaw/microclaw</a></li><li><a href="https://github.com/theonlyhennygod/zeroclaw">theonlyhennygod/zeroclaw</a></li><li><a href="https://github.com/moltis-org/moltis">moltis-org/moltis</a></li></ul><p>We will compare them across six dimensions:</p><ol><li>Product positioning and target users</li><li>Architecture and extensibility boundaries</li><li>Tooling, memory, and security models</li><li>Deployment and operations</li><li>Ecosystem signals (community, docs, tests, project structure)</li><li>Practical selection guidance by team stage</li></ol><h3>1) Snapshot First: Date, Scope, and Data Baseline</h3><p>To avoid vague takes, here is a timestamped snapshot. Data below was pulled on <strong>February 15, 2026 (UTC)</strong>.</p><h3>GitHub baseline</h3><p>ProjectStarsForksOpen IssuesMain LanguageLicenseMicroClaw152313RustMITZeroClaw3,75635527RustMITMoltis9148446RustMIT</p><h3>HEAD commit snapshot (2026–02–15 UTC)</h3><ul><li>MicroClaw: d41adc212b6ec71ed79dc927693ab9e6c0245889</li><li>ZeroClaw: a04716d86c60bfad160f29b91e946b6059b7c735</li><li>Moltis: 004e1f601c01cf9a7567a46d8889a5417018d0a3</li></ul><h3>Language composition signal (GitHub Linguist)</h3><ul><li>MicroClaw: Rust-dominant, with TypeScript/CSS for built-in web UI</li><li>ZeroClaw: heavily Rust-concentrated, minimal shell/docker glue</li><li>Moltis: Rust core plus larger frontend/module footprint (JavaScript/CSS/HTML)</li></ul><p>That already hints at different engineering philosophies:</p><ul><li><strong>MicroClaw</strong>: unified Rust core with practical channel adapters</li><li><strong>ZeroClaw</strong>: minimal, low-overhead, trait-driven system design</li><li><strong>Moltis</strong>: broad platform surface with strong modularization</li></ul><h3>2) Architecture: All Three Say “Extensible” — But Extensible Where?</h3><h3>MicroClaw: One Agent Loop as the Center of Gravity</h3><p>MicroClaw’s architecture is deliberately explicit:</p><ul><li>One channel-agnostic agent loop (src/agent_engine.rs)</li><li>One provider-agnostic LLM layer (src/llm.rs)</li><li>Channel adapters for ingress/egress (Telegram, Discord, Slack, Feishu/Lark, Web)</li></ul><p>In plain terms: <strong>standardize agent behavior first, then plug in channels</strong>.</p><p>Why this works:</p><ul><li>High behavioral consistency across channels</li><li>Lower maintenance overhead for shared logic</li><li>Easier governance for cross-cutting features (tools, memory injection, session resume)</li></ul><p>Tradeoff:</p><ul><li>As the core loop grows richer, regression risk moves into the shared path</li><li>Highly channel-specific interaction patterns may require more adapter-side translation</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GsE6clbh-6AvvufLqkkQ0g.png" /></figure><h3>ZeroClaw: Trait-First by Design</h3><p>ZeroClaw’s value proposition is unusually sharp:</p><ul><li>Rust-first, low-resource runtime</li><li>Trait-driven core boundaries (provider/channel/tool/memory/runtime/security/tunnel)</li><li>Security defaults presented as first-class architecture, not optional add-ons</li></ul><p>From a systems perspective, this is a <strong>replace-any-layer</strong> design.</p><p>Why teams like this pattern:</p><ul><li>Swapping one subsystem is straightforward (custom provider, private channel, internal memory backend)</li><li>Well suited for custom distributions and edge deployments</li><li>Great fit when hardware constraints are real, not theoretical</li></ul><p>Tradeoff:</p><ul><li>Higher conceptual overhead than monolithic implementations</li><li>Without disciplined ownership, trait flexibility can become fragmentation</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mHKo_OA6hK81Id__hmht1g.png" /></figure><h3>Moltis: Gateway-Centric, Multi-Crate Platform Architecture</h3><p>Moltis feels less like a “bot” and more like a <strong>local-first AI gateway platform</strong>.</p><p>Its structure reflects that:</p><ul><li>crates/gateway for HTTP/WS/UI/auth and lifecycle</li><li>crates/agents for agent runner/provider chain</li><li>crates/tools, crates/memory, crates/mcp, crates/voice</li><li>crates/sessions, crates/projects, crates/plugins, and more</li></ul><p>This is not just modularity for style points; it’s operationally meaningful.</p><p>Strengths:</p><ul><li>Wide product surface: auth, passkeys, MCP, voice, sandboxing, observability, hook orchestration</li><li>Better parallel development ergonomics for larger teams</li><li>Stronger path toward platform governance</li></ul><p>Tradeoff:</p><ul><li>Higher onboarding and debugging complexity for small teams</li><li>Can feel heavy if your actual need is “one lightweight agent bot”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ukOYDvTDlMqqaEOStcc_w.png" /></figure><h3>3) Tool Systems: “Supports Tools” Is Not the Real Question</h3><p>Every runtime can claim tool use. The real differentiators are:</p><ol><li>Governance: permissions, approval, risk tiering</li><li>Execution control: timeouts, parallelism, replay/recovery</li><li>Result safety: truncation, sanitization, injection hygiene</li><li>Ecosystem bridge: MCP/plugins/third-party tool federation</li></ol><h3>MicroClaw</h3><p>MicroClaw covers production-relevant capabilities out of the box:</p><ul><li>shell/file/search/web tools</li><li>scheduling and chat export</li><li>sub-agent delegation</li><li>skills + MCP federation</li></ul><p>A subtle but valuable detail: generated docs for anti-drift (docs/generated/tools.md and related artifacts). That lowers long-term mismatch between code and operational docs.</p><h3>ZeroClaw</h3><p>ZeroClaw leans into minimal overhead + strict boundary control. Its security narrative is concrete (workspace scope, allowlists, pairing, tunnel-aware exposure), which is useful if security review is part of your deployment gate.</p><h3>Moltis</h3><p>Moltis has the broadest tool ecosystem surface:</p><ul><li>MCP over stdio and HTTP/SSE</li><li>hook lifecycle system with control patterns</li><li>parallel tool execution</li><li>container-based sandbox integration</li><li>tool output sanitization and truncation controls</li></ul><p>It behaves like a “tool operating layer” rather than just a function-call adapter.</p><h3>4) Memory Systems: From “Can Remember” to “Can Remember Reliably”</h3><h3>MicroClaw: Dual-Layer Memory + Quality Gates + Observability</h3><p>MicroClaw’s memory pipeline is notably complete:</p><ul><li>file memory (AGENTS.md) at global and chat scopes</li><li>structured SQLite memory rows (memories table)</li><li>deterministic explicit remember fast-path</li><li>reflector extraction from conversation history</li><li>dedupe/supersede lifecycle edges</li><li>memory observability endpoints and usage metrics</li></ul><p>This is important because memory quality, not just memory existence, determines agent stability over long-lived sessions.</p><h3>ZeroClaw: Practical Hybrid Search with Lightweight Footprint</h3><p>ZeroClaw emphasizes SQLite-centric hybrid retrieval (vector + keyword) and low-dependency operation. If your constraints include low-cost hardware and local reliability, this direction is highly pragmatic.</p><h3>Moltis: Memory as Part of a Broader Platform Fabric</h3><p>Moltis treats memory as one component inside a larger gateway stack (sessions, tools, hooks, voice, MCP, auth, metrics). That unlocks richer workflows but raises integration and tuning overhead.</p><p>A concise summary:</p><ul><li>MicroClaw: memory lifecycle governance and quality visibility</li><li>ZeroClaw: efficient local retrieval with compact runtime values</li><li>Moltis: platform-integrated memory in a broader operational system</li></ul><h3>5) Security and Operations: Production Means Control Planes</h3><h3>ZeroClaw: Strong security messaging and strict defaults</h3><p>ZeroClaw’s public docs are explicit about:</p><ul><li>local bind defaults</li><li>pairing flows</li><li>filesystem scope restrictions</li><li>tunnel exposure constraints</li><li>channel allowlist semantics</li></ul><p>That clarity reduces ambiguity during security review.</p><h3>MicroClaw: Permission model plus risk-aware tooling</h3><p>MicroClaw’s architecture and docs reflect practical guardrails around tools and multi-chat operation. For teams running one agent across many channels/groups, those boundaries matter.</p><h3>Moltis: Most complete gateway-level security surface</h3><p>Moltis includes comprehensive gateway controls:</p><ul><li>password + passkey (WebAuthn)</li><li>API key and session auth</li><li>endpoint throttling</li><li>WS origin checks</li><li>TLS/cloud deployment controls</li></ul><p>For multi-user operation, this class of capability can save significant future rework.</p><h3>6) Maintainability and Team Scaling: Can You Evolve It for 12 Months?</h3><h3>MicroClaw</h3><p>The repo remains approachable with a clear central runtime path. This helps smaller teams ship quickly and keep incident triage short.</p><h3>ZeroClaw</h3><p>Clear trait/system boundaries make it appealing for teams that plan to customize deeply while keeping a tight binary/runtime profile.</p><h3>Moltis</h3><p>The multi-crate shape is closest to platform engineering. It is heavier to absorb, but often better for long-horizon, multi-owner roadmaps.</p><h3>7) Performance Claims: Useful, but Only if You Can Reproduce</h3><p>ZeroClaw publishes aggressive performance and resource claims. These can be directionally useful, but production decisions should rely on reproducible local benchmarks in your target environment.</p><p>Benchmark what matters for your workload:</p><ul><li>cold startup time</li><li>idle and peak memory during tool-heavy turns</li><li>latency across multi-tool loops</li><li>long-session degradation (1k/5k/10k messages)</li><li>crash recovery and session replay time</li></ul><p>If you deploy on constrained hardware, optimize for P95/P99, not only averages.</p><h3>8) Community Signals: Stars Matter Less Than Operational Fit</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1mglIcH8pOLW6rPg-mBppA.png" /></figure><p>How to read this responsibly:</p><ul><li><strong>ZeroClaw</strong> has a strong attention curve; the lightweight/high-performance narrative resonates</li><li><strong>Moltis</strong> has meaningful traction plus broad capability depth</li><li><strong>MicroClaw</strong> is smaller in public footprint but highly active and architecturally coherent</li></ul><p>Important caveat:</p><ul><li>Stars measure attention and discoverability, not necessarily deployment success</li><li>For production teams, recovery, rollback, auditability, and ownership transferability matter more</li></ul><h3>9) Selection Guide by Team Stage</h3><p>Don’t ask “Which one is best?” Ask “Which one best matches my current constraints?”</p><h3>Scenario A: Solo developer, fast local outcomes</h3><p>Common priorities:</p><ul><li>up and running quickly</li><li>channel integration without heavy infrastructure</li><li>practical tools and durable sessions</li></ul><p>Likely fit:</p><ul><li><strong>ZeroClaw</strong> if low overhead and trait-level customization are top priorities</li><li><strong>MicroClaw</strong> if channel-agnostic loop consistency and memory governance matter more</li></ul><h3>Scenario B: Small team (2–6), shipping real workflows</h3><p>Common priorities:</p><ul><li>reliable session resume</li><li>clear tool permission boundaries</li><li>memory quality control</li><li>debuggable operational paths</li></ul><p>Likely fit:</p><ul><li><strong>MicroClaw</strong> for chat-centric agent workflows with strong memory lifecycle focus</li><li><strong>Moltis</strong> for broader gateway/platform requirements</li></ul><h3>Scenario C: Platform team serving multiple products</h3><p>Common priorities:</p><ul><li>modular ownership boundaries</li><li>comprehensive auth/security controls</li><li>observability + policy consistency</li><li>plugin/MCP/hook extensibility</li></ul><p>Likely fit:</p><ul><li><strong>Moltis</strong> as first candidate for platform-scale architecture</li><li><strong>ZeroClaw</strong> as a compact customizable core if your team can absorb deeper internal engineering</li></ul><h3>10) One-Line Verdict for Each Project</h3><ul><li><strong>MicroClaw</strong>: the most focused “agent-in-your-channels” runtime with a clear shared-loop architecture and thoughtful memory lifecycle design.</li><li><strong>ZeroClaw</strong>: the strongest lightweight trait-first runtime story, especially compelling for constrained environments and strict boundary control.</li><li><strong>Moltis</strong>: the most platform-shaped local AI gateway, with the broadest integrated operational surface.</li></ul><h3>11) A Practical Decision Process (What I’d Actually Do)</h3><p>Run a two-week parallel PoC. Do not decide from README impressions alone.</p><h3>Week 1: Same workloads across all three</h3><p>Use identical scenarios:</p><ul><li>multi-turn assistant flow + two tool calls</li><li>file read/write + search + web fetch</li><li>one scheduled task + next-day resume</li><li>memory insert/recall/conflict update</li></ul><p>Track four metrics:</p><ul><li>reliability (failure and recovery)</li><li>observability (time-to-root-cause)</li><li>operability (upgrade, backup, rollback effort)</li><li>developer speed (cost to add one new tool cleanly)</li></ul><h3>Week 2: Failure-injection tests</h3><p>Inject realistic failures:</p><ul><li>model timeout</li><li>tool exceptions</li><li>DB lock contention</li><li>intermittent network issues</li></ul><p>Measure degradation behavior, recovery quality, and handoff readiness across team members.</p><p>A pragmatic weighting model:</p><ul><li>40% reliability</li><li>25% security and permission control</li><li>20% developer efficiency</li><li>15% performance/resource profile</li></ul><h3>12) Final Take</h3><p>All three are beyond toy status. Each can serve real systems, but they optimize for different realities.</p><p>If you want a concise recommendation:</p><ul><li>Choose <strong>MicroClaw</strong> for chat-native agent workflows with strong memory-loop discipline.</li><li>Choose <strong>ZeroClaw</strong> for minimal footprint, strict control, and trait-driven customization.</li><li>Choose <strong>Moltis</strong> for full gateway/platform capability and long-term multi-owner evolution.</li></ul><p>In production, the winning runtime is not the one with the longest feature list. It is the one your team can operate, secure, debug, and evolve six months from now.</p><p>When agents move from “answering” to “acting,” runtime selection becomes architecture debt selection. Choose accordingly.</p><h3>References</h3><ul><li>MicroClaw: <a href="https://github.com/microclaw/microclaw">https://github.com/microclaw/microclaw</a></li><li>ZeroClaw: <a href="https://github.com/theonlyhennygod/zeroclaw">https://github.com/theonlyhennygod/zeroclaw</a></li><li>Moltis: <a href="https://github.com/moltis-org/moltis">https://github.com/moltis-org/moltis</a></li><li>MicroClaw README: <a href="https://raw.githubusercontent.com/microclaw/microclaw/main/README.md">https://raw.githubusercontent.com/microclaw/microclaw/main/README.md</a></li><li>ZeroClaw README: <a href="https://raw.githubusercontent.com/theonlyhennygod/zeroclaw/main/README.md">https://raw.githubusercontent.com/theonlyhennygod/zeroclaw/main/README.md</a></li><li>Moltis README: <a href="https://raw.githubusercontent.com/moltis-org/moltis/main/README.md">https://raw.githubusercontent.com/moltis-org/moltis/main/README.md</a></li></ul><blockquote><em>Data note: all GitHub metrics in this post are snapshot values captured on </em><strong><em>February 15, 2026 (UTC)</em></strong><em> and will naturally change over time.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df1ecb85c676" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building MicroClaw: A Practical Agentic Assistant for Telegram]]></title>
            <link>https://medium.com/@everettjf/building-microclaw-a-practical-agentic-assistant-for-telegram-f47e3447769d?source=rss-500a465e23a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f47e3447769d</guid>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[openclaw]]></category>
            <dc:creator><![CDATA[Everett]]></dc:creator>
            <pubDate>Sun, 08 Feb 2026 08:22:06 GMT</pubDate>
            <atom:updated>2026-02-08T08:22:06.595Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Rewrite NanoClaw with Rust</blockquote><p>MicroClaw is a Rust-based AI assistant that lives directly in your chats. It is built for one specific goal: turn chat into a reliable execution surface, not just a text interface.</p><p>MicroClaw can run shell commands, read and edit files, search code, browse the web, schedule recurring tasks, and maintain persistent memory. It is Telegram-first today, with optional WhatsApp and Discord paths, and it is designed to stay understandable as it grows.</p><p>This post is a full introduction to the project: where the idea came from, what design decisions shaped it, and how the architecture works in practice.</p><ul><li><a href="https://github.com/microclaw/microclaw">https://github.com/microclaw/microclaw</a></li><li><a href="https://microclaw.ai/">https://microclaw.ai</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_Lhi5xkxvs6ubqfiNmJlQ.png" /></figure><h3>Where the Idea Came From</h3><p>MicroClaw was inspired by two things happening at the same time:</p><ol><li>The rise of <strong>NanoClaw</strong>, which proved that personal AI assistants should be understandable, self-hostable, and opinionated.</li><li>The release wave around <strong>Claude Opus 4.6</strong>, which made long-context, tool-heavy assistant workflows feel much more practical for real daily use.</li></ol><p>NanoClaw showed that small and focused systems can be powerful. Opus 4.6 showed that model capability had reached a point where multi-step reasoning with tools could be trustworthy enough to build on.</p><p>MicroClaw started as a question:<br> Can we keep the spirit of NanoClaw, but build a Telegram-first assistant in Rust with stronger session continuity, operational stability, and practical built-ins?</p><p>The answer became this project.</p><h3>The Problem MicroClaw Solves</h3><p>Most chat bots are still single-turn wrappers:</p><ul><li>user sends text</li><li>model returns text</li><li>conversation state is shallow</li><li>no durable execution context</li></ul><p>That is fine for Q&amp;A, but weak for real work.</p><p>MicroClaw treats each message as an <strong>agentic task loop</strong>. For each incoming message, the model can:</p><ol><li>Decide whether to answer directly or use tools</li><li>Execute one or more tools</li><li>Read tool outputs</li><li>Keep iterating until the task is done</li><li>Persist the state for the next turn</li></ol><p>This turns chat from “ask and answer” into “plan, execute, and continue.”</p><h3>What Makes MicroClaw Different</h3><p>MicroClaw is designed around four practical requirements.</p><h3>1) Durable conversations, not stateless prompts</h3><p>Sessions are persisted in SQLite with full tool context (tool_use and tool_result blocks).<br> When a new message arrives, the assistant can resume from real prior execution state, not just a truncated chat summary.</p><h3>2) Memory that can evolve over time</h3><p>MicroClaw supports global and per-chat CLAUDE.md memory.<br> The assistant can read and update memory through tools, so preferences and project context survive across days or weeks.</p><h3>3) Operational features built in</h3><p>It includes production-relevant features out of the box:</p><ul><li>context compaction for oversized sessions</li><li>scheduled one-shot and recurring tasks</li><li>continuous typing indicator during long tool loops</li><li>group catch-up behavior for mention-based activation</li><li>message splitting for platform limits</li></ul><h3>4) Controlled delegation</h3><p>MicroClaw includes a sub_agent tool that launches a restricted inner agent with a reduced tool set.<br> This allows decomposition of complex work while keeping clear safety boundaries.</p><h3>Core Capabilities</h3><ul><li>Chat-native tool execution (bash, file operations, glob, grep, web search/fetch)</li><li>Persistent session resume including tool interaction history</li><li>Context compaction for long-running sessions</li><li>Global + per-chat persistent memory via CLAUDE.md</li><li>Scheduler for cron and one-time tasks</li><li>Skill activation for domain-specific instructions</li><li>Todo/plan tools for structured multi-step execution</li><li>Optional cross-surface integrations (Telegram-first, plus optional WhatsApp/Discord)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Eavg_5PP_rcK-xga.png" /></figure><h3>High-level architecture</h3><p>At a high level, every message follows the same execution path:</p><ol><li>Store message in SQLite</li><li>Load session state, recent history, and memory</li><li>Call LLM with tool definitions</li><li>If tool_use is requested, execute tool(s) and loop</li><li>If end_turn, send response and persist updated session</li></ol><p>The scheduler reuses this same loop.<br> That means scheduled tasks are not “dumb reminders” but full agent invocations with tools, reasoning, and memory access.</p><h3>Why Rust</h3><p>MicroClaw is written in Rust for reliability and operational clarity:</p><ul><li>Single binary deployment (cargo build --release)</li><li>Strong typing for protocol/message block structures</li><li>Explicit shared-state boundaries (Arc&lt;Database&gt;)</li><li>Predictable async behavior via Tokio</li><li>Lower accidental complexity in long-running bot processes</li></ul><p>Rust is not used for novelty. It is used because this project is a long-lived process that handles concurrency, persistence, and external APIs continuously.</p><h3>Design Principles</h3><p>MicroClaw follows a few strict rules:</p><ul><li><strong>Execution-first</strong>: a useful assistant must do work, not only generate text.</li><li><strong>State is a feature</strong>: preserving session and memory quality is as important as model quality.</li><li><strong>Simple core, practical edges</strong>: keep architecture small, but include features needed in real daily workflows.</li><li><strong>Safety by layers</strong>: combine tool-level checks, chat access controls, and deployment hardening.</li><li><strong>Composable growth</strong>: add capabilities via tools and skills without breaking the core loop.</li></ul><h3>Example Workflows</h3><p>Here are the kinds of tasks MicroClaw is designed for:</p><ul><li>“Search this repo for API breaking changes and draft release notes.”</li><li>“Every weekday at 9am, send me an AI news briefing from selected sources.”</li><li>“Read this error log, find likely root causes, and propose fixes.”</li><li>“Remember that I prefer concise responses and Rust code examples.”</li><li>“Break this migration into a todo plan and execute step by step.”</li></ul><p>These are not one-shot prompts. They are iterative workflows with context and state.</p><h3>Project status</h3><p>MicroClaw is under active development. Current priorities are:</p><ol><li>Stronger default safety boundaries for tool execution</li><li>Better multi-channel consistency across Telegram/WhatsApp/Discord</li><li>Better observability for scheduler/session/tool failures</li><li>Smoother onboarding and configuration UX</li></ol><p>If you want to explore the full docs, start here:</p><ul><li><a href="https://microclaw.ai/">https://microclaw.ai</a></li><li><a href="https://microclaw.ai/docs/overview">https://microclaw.ai/docs/overview</a></li><li><a href="https://microclaw.ai/docs/architecture">https://microclaw.ai/docs/architecture</a></li><li><a href="https://microclaw.ai/docs/tools">https://microclaw.ai/docs/tools</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f47e3447769d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>