Install an HTML Artifact as an App
When your Agent builds a small tool as an HTML page — a dashboard, a timer, a reminder board — you can install it as an app. The app opens on its own page (and, on the desktop app, in its own window), and what it may do beyond drawing itself is decided by you, one capability at a time. No account is needed. Installing, deciding and the network proxy all run inside your own Myrm instance.Install and open
- In a chat, find the HTML artifact card and click Install as app. The button only appears on HTML artifacts.
- The app opens on its own page. On the desktop app it opens in its own window; if you open the same app again, the existing window is brought forward instead of a second one being created.
- Installed apps are listed in the Apps section of the artifacts page, and in the Apps entry of the tray menu on desktop.
What an app can ask for
An app page declares what it needs in a small block inside its HTML. Six capabilities exist:
The three desktop capabilities work only in the app’s own window. In a browser tab, inside a chat, or in the main window’s preview, the page’s call is answered “unsupported”. Calls are rate-limited per minute for every capability.
Model calls do not give the page a key either. The page sends its question to your Myrm server, which runs it on the model you configured, so what it costs comes out of your own account. Each call reserves its worst-case cost before it runs and settles to the real cost afterwards, so calls that overlap cannot overshoot the app’s day, and what an app spends counts toward your own daily budget too. The question goes through your risk rules like a message you typed: a text a rule holds is refused and you see the usual notice. A model whose price Myrm does not know is refused, because its cost could not be counted. The answer is text the page shows; treat it as untrusted.
Network access does not let the page connect on its own. The page runs in a sandbox whose content security policy blocks its own
fetch, XHR and WebSocket connections; a request goes to your Myrm server, which checks it against the declared hosts, refuses private, loopback and link-local addresses after resolving the name, does not follow redirects, drops request headers that could re-route the call, and limits request and response sizes.
Deciding permissions
The first time you open an app that declares something, a dialog asks what it may use:- Save records your choice for each capability. Allow one and deny the other if you like.
- Not now records nothing. The app’s calls are refused for now, the title bar shows Permissions to review, and the dialog appears again the next time you open the page.
- A denial stays until you change it from Permissions.
- When a later version of the page declares more than you approved, for example a new website or a new key combination, you are asked again. A new version that asks for no more than you already allowed does not interrupt you.
Taking a permission back
When you revoke a permission, later calls are refused and the page is told which capability was taken back, so it can stop depending on it. What the page set up on the desktop goes at once: the menu bar item, its key combinations and the floating window. Uninstalling an app removes all of that too, together with its launcher.Menu bar item, shortcuts and closing windows on desktop
Closing an app window, a chat window or the pet layer just closes that window. Only closing the main window follows your Close to Tray setting, so closing a small app never stops the backend or hides Myrm. An app that has a menu bar item is different: closing its window only hides it, because the icon is now its way back in. The icon’s menu shows the app’s name, the status line, Show window, Permissions… and Quit app; Quit app closes the window for real and takes the item, the key combinations and the floating state with it. If the page removes its item while the window is hidden, the window comes back, so the app never ends up with no entry point. A key combination that Myrm itself uses (for example your Global Shortcut), another app already holds, or another program has taken is refused, and two apps never share one. Combinations are released when the window is destroyed, and they are put back after you change Myrm’s own shortcuts in Settings. Quitting Myrm from the tray menu, or from the macOS menu bar with Cmd+Q, asks first while any app window is open, hidden ones included, because those apps and their items and shortcuts disappear with Myrm. With no app window open it quits right away. The macOS Dock menu’s Quit and a system shutdown or log out end the process without asking; macOS gives an app no way to hold those back.Add to the system launcher
Add to system launcher in the app menu creates an entry that opens the app in one click, even when Myrm is not running. It only opensmyrmagent://app/<id>; it carries no code of its own.
- macOS: an
.appin~/Applications/Myrm Apps/. It is made locally and never downloaded, so macOS opens it without a notarization prompt. It has no Dock icon of its own: it hands over to Myrm, and the app opens as a Myrm window. - Windows and Linux: a Start menu shortcut and a
.desktopentry. These are written by the same code but have not been verified on those systems yet.
Installing from the browser
On the web version, each app page also points the browser at a manifest for that app alone, so the browser’s Install or Add to Dock creates a window for this app rather than for the whole site. The manifest is served without a login because browsers fetch it without credentials; it contains only the app’s id and the name the page passes in, nothing from your data.What gets recorded
Every call an app makes, allowed or refused, leaves one line in the app’s Recent activity: which capability, the result (done, blocked, too frequent, failed) and, for network calls, the host name; for a model call, what it cost or why it was refused. Prompts, replies, message text and file contents are never stored. Uninstalling an app removes its permissions and its activity; the HTML artifact itself stays in your artifacts.Ask your Agent to build one
Describe the tool you want and mention that it should be an installable app that needs notifications, specific websites, a model answer, a menu bar status or a shortcut. The Agent follows the workbench skill, which teaches it the declaration block, each call, and how a page should behave when a permission is refused or when it runs outside the desktop window. Say which websites the app may reach; an app can declare at most 20.Bringing an app over from Claude
Give the exported single HTML file to your Agent and ask it to port the app to Myrm’s bridge. Myrm does not providewindow.claude or window.storage aliases, because those interfaces have no public specification to stay compatible with; the Agent rewrites the calls instead.
What is not there yet
- An app does not get its own Dock icon or its own Cmd+Tab entry; apps are windows of the Myrm process. The launcher and the menu bar item are entry points into Myrm, not separate programs.
- Calling your connectors or your Agent’s tools from an app page is not supported; a model call is a single question and answer.
- The page sandbox still lets a page load images from other sites, which is a way to send data out that the permission dialog does not cover. Install apps you trust, and do not paste secrets into an app you did not write.
- Launchers on Windows and Linux, and whether Spotlight lists a macOS launcher, have not been verified on real systems.