Curated with by@mohithkumar808

№ 1086GitHub

Self-Healing Agent VM

A self-healing watchdog pattern for AI agent VMs: byte-exact restore caches in persistent storage, sentinel probes, no-clobber atomic restores, and verified heals. When the VM's root filesystem is rebuilt with pieces missing (Python stdlib, timezone data, Node), the watchdog restores them in minutes and reports only repairs and failures. Includes an AGENTS.md so any agent can set it up.

tmtrevisan/self-healing-agent-vmREADME ↗

Self-healing agent VMs: living on an ephemeral root filesystem

Some agent platforms rebuild a VM's root filesystem from a base image while
$HOME persists. This package describes a recovery pattern for any agent
stack on a rebuild-prone VM: identify the persistence boundary, keep
byte-exact restore caches in persistent storage, and use a sentinel
watchdog
to detect and repair missing files.

The failure mode

An incomplete rebuild — a package step failing partway, or a runtime dropped
from the image — can return a machine with pieces missing, possibly
different pieces each time. The resulting failures can affect standard
libraries, runtime binaries, timezone data, or project tooling.

For a VM whose root filesystem is rebuilt and whose home is persistent:

Location Survives a rebuild?
Home directory ($HOME) Verify that it is persistent storage mounted over the image
/usr, /usr/local, /etc (system packages, runtimes) Rebuilt from the base image
/tmp No guarantee; it can also be reaped between restarts
System-wide installations Only if included in the image or replayed successfully

For example, ModuleNotFoundError: No module named 'json' can indicate a
missing Python standard library file. Check the runtime and filesystem
before diagnosing application code. A dedicated checker can detect this
damage before a scheduled workload encounters it.

The pattern

Worked example: the scripts and examples watch a Python + Node stack.
Adapt the sentinels, restore caches, and verification checks to the local
stack; the recovery pattern applies to other runtimes and agent systems.

1. Keep restore caches in the persistent tree

For everything your stack depends on that lives outside $HOME, keep a
pristine copy inside $HOME and restore from there — never from the
network at heal time.

Cache the same build the system runs, not a close cousin:

  • Python stdlib (Debian/Ubuntu): the distro package itself. Extract it
    without installing: dpkg-deb -x libpython3.12-stdlib_*.deb ~/stack-restore/ubuntu/.
    Verify whether /var/cache/apt/archives/ survives on your platform; if it
    does not, download the matching .deb into $HOME while healthy.
  • Upstream standalone Python builds are an incomplete stdlib source.
    Some builds link most C extension modules statically into t
Self-Healing Agent VM on github.com

Also filed under Agents & automation

See all →
  1. 1057

    Muse Mail: your agent gets an email address★

    MUSE FEATURE ALERT: y'all have been asking for this one. your @muse is getting its own email address. add it to a thread or forward it stuff and it’ll handle it for you. muse mail!

    @alexandr_wang

    X post

    Agents & automation

  2. 1054

    Kevin Roose gives his Muse $100 and a Kalshi account★

    gave my Muse $100 and a kalshi account, let's see how frontier this thing is

    @kevinroose

    X post

    Agents & automation

  3. 1007

    Plumbing company run by a Muse agent★

    I still can’t believe I can run my plumbing company with an agent so easily. I send this message to my Muse agent while in bed at 6am. And it: updates my job board, texts customer, updates office manager who arrives at 8am in slack Notifies technician

    @HouseHackerJon

    X post

    Agents & automation

  4. 0881

    Every Muse user gets a cloud computer★

    I’ve seen a couple of posts about this so wanted to demystify. Today, every Muse user gets a free computer in the cloud. It's a real computer, and we’ve designed the security architecture of the Muse Secure VM carefully so you and your Muse can do almost anything you could with a

    @dps

    X post

    Agents & automation

More GitHub

See all →
  1. 1106

    Atelier for Muse

    Atelier for Muse is a free, open-source browser extension that themes muse.ai. It recolors the whole interface with 620+ palettes and 45 curated visual packs, and lets you put your own wallpapers (or an optional online gallery) behind the UI while keeping text readable. muse.ai looks identical for everyone — this makes it yours. It runs 100% locally by default: its only permission is storage, and it makes no network requests unless you explicitly enable the online gallery.

    Anonymous

    GitHub

    Apps & websites

  2. 1105

    Muse Studio V

    Independent, open-source desktop IDE built in collaboration with Muse itself: editor (Monaco), integrated terminal, SQLite, an autonomous-agent workspace with a human review center, Time Machine snapshots, Guardian checks and a pixel-art/game studio. Experimental Muse integration via the official Gadget SDK (each user pairs their own account). MIT license, free and non-commercial. Not affiliated with or endorsed by Meta.

    Anonymous

    GitHub

    Coding & dev tools

  3. 1102

    One Person, One AI Agent, a Whole Production Stack

    One person runs an entire production stack through a single Muse agent: a Telegram storefront bot selling a 43-item study-memo catalog, with wallet payments verified against the bank's SMS (amount + sender name, never chat claims); a lecture factory that turned 10 recorded lectures into 83 PDFs and 577 pages through a 7-station line; three shipped offline Android apps (24 builds); and a second AI agent, Hermes, working a multi-day research campaign under Muse's management (42 sessions, 3,024 messages). The agent even has its own GUI desktop inside its VM.

    Anonymous

    GitHub

    Business & commerce

  4. 1101

    MuseCodeIcon

    Free, MIT-licensed desktop GUI (Windows, macOS, Linux) for Meta's Muse Code CLI: coding threads grouped by project, readable approvals, inline diffs, file viewer, real plan and usage meters, skills, MCP servers, scheduled prompts and one-click reviews. It wraps the terminal-only muse agent in a Codex/Claude-style window, driving your own Muse subscription locally. Unofficial community project by Don PELY.

    Anonymous

    GitHub

    Coding & dev tools

Curator picks

  1. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  2. 1042

    GitHub connector for Muse★

    GitHub 🤝 @Muse A new way to connect your GitHub account to review PRs, catch up on issues and notifications, and leave comments without switching tabs.

    @github

    X post

    Connectors & MCP

Want more AI builds?artificialbuilds.com