Overview
allternit-extensions ships the Allternit Chrome extension (allternit-extension) and its companion native host (native-host). Together they bring Allternit into the browser: agents can see the current page, drive it programmatically, and — through native messaging — reach the local Allternit runtime for file-system and system-level work.
For the Microsoft Office integration, see the dedicated Allternit Office Add-in page.
Chrome Extension (allternit-extension)
A unified Chrome extension built with WXT. It exposes Allternit agents directly inside the browser and on every webpage.
Features
- Browser automation — Allternit agents can click, type, navigate, scroll, and extract data from the active tab using the same computer-use protocol as the rest of the platform.
- Page agent — A floating chat panel is injected into any page so users can ask Allternit to act on what they are looking at.
- Assist only. The page agent reads and explains. Page text is data: it never follows orders written inside a page, it says what a page asks for, and its answer cites what it read.
- Native messaging — The extension talks to the
native-hostbridge to forward actions to the local Allternit Desktop bridge on TCP127.0.0.1:3011.
Agent window and cursor
When Allternit Desktop sends the extension a task (execute_task), the agent works in its own Chrome window instead of your active tab.
- The window opens without taking focus, so it does not interrupt what you are doing.
- Its tabs sit in one tab group named “<bot> · working” in orange. The bot name comes from the
botNamefield of the task, and defaults to “Allternit”. - A cursor moves on the page as the agent acts, with a small label next to it showing the bot name and the current step. If your system asks for reduced motion, the cursor jumps instead of gliding and the page overlay animation is turned off.
- When the task ends, the window closes. If you clicked into the agent window yourself, it stays open for you.
When the agent needs you
The agent pauses and asks for you when the page in front of it is one of these:
The agent never types a password itself. It pauses, the agent window comes to the front, and the side panel shows “Gizzi needs you” with Continue and Stop. Vault autofill fills a sign-in form only after you approve with Continue.
Messages with Desktop, over the native host:
approved: true continues the task. approved: false stops it. A stop_task also ends a paused task. If the page still needs you on the next step, the agent pauses again.
Development
Structure
Entrypoints
Native Host (native-host)
The native messaging host bridges the Chrome extension to the local system and the Allternit runtime. It is required for file system access and local agent execution from the browser.
The host uses the single native messaging name:
Register the host
Chrome native messaging manifests require exact extension origins; wildcards are not allowed. The installer always lists both Allternit extension ids inallowed_origins: hkillgnnhkokmjcjjpolpnecmdnilhod (current) and chheieepkpbhkiimdmbdjmnhcooclpok (previous, so an old unpacked extension keeps working). --extension-id and ALLTERNIT_EXTENSION_ID add more.
What the installer does
- Builds an executable wrapper at
dist/allternit-native-host-wrapper. - Writes
com.allternit.desktop.jsoninto supported Chromium native messaging host directories. - Points the manifest
pathto the wrapper executable. - Sets
allowed_originsto the concretechrome-extension://<id>/origin.
Supported browsers
On macOS and Linux the installer registers the host for:- Google Chrome
- Google Chrome for Testing
- Microsoft Edge
- Brave
- Chromium
Validation
smoke:browser-mode launches Chrome for Testing with the development extension, stages the native-host manifest into the temporary profile, starts a TCP 3011 bridge, and verifies that chrome.runtime.connectNative('com.allternit.desktop') reaches the host and returns pong.
Related links
Self-hosted install on cloud computers
Cloud computers run their own Chrome for the agent browser, and the agent needs the extension in it. The extension is not on the Chrome Web Store, and Chrome 137 and later ignore--load-extension, so the only way in is a managed policy that force-installs it from a self-hosted update manifest.
How it fits together
The default update URL is
https://runtime.allternit.com/chrome-extension/update.xml. Set ALLTERNIT_EXTENSION_UPDATE_URL to use another host, or to none to remove the policy and install nothing.
Release steps
- Bump
versioninsurfaces/allternit-extensions/allternit-extension/package.json. Chrome only updates when the version inupdate.xmlis higher than the installed one. - Tag and push
extension/v<version>, or run the workflow by hand. The run’s summary prints the two upload commands. The CRX andupdate.xmlare also attached to the tag’s GitHub release and the run’s artifacts. - After approval, run the printed
r2-upload.pycommands (CRX first, thenupdate.xml). The workflow does not run them. - Cloud computers pick up the new version through Chrome’s normal extension update check (a few hours), or at once from
chrome://extensionswith Update.
The signing key
The extension id comes from the publickey field in wxt.config.ts. A CRX is accepted for that id only if it is signed with the matching private key. The private key is not in the repository. It must be added as the Actions secret ALLTERNIT_EXTENSION_PRIVATE_KEY (PEM). The workflow packs the CRX, derives the id from the key and fails if it differs, so a wrong key can never produce a published file. The original private key was lost, so on 2026-11-26 the extension moved to a new key and the new id hkillgnnhkokmjcjjpolpnecmdnilhod. The cloud policy, the CRX workflow and Gizzi Code use the new id; Desktop and Gizzi Code native host manifests accept both the new id and the old chheieepkpbhkiimdmbdjmnhcooclpok. The new private key lives in the macOS Keychain (service allternit-extension-signing) and in the Actions secret. Do not use the secret name ALLTERNIT_EXTENSION_KEY; wxt.config.ts reads that name as the public key.
Windows cloud computers
Chrome and Edge on Windows only force-install an extension that is not from their own store on a machine that is managed: joined to an Active Directory domain, enrolled in Microsoft Entra ID / device management (MDM), or enrolled in Chrome Browser Cloud Management. On an unmanaged machine theExtensionInstallForcelist / ExtensionSettings policy is ignored for off-store extensions, and the extension shows as unsupported. Chrome 137 and later also ignore --load-extension there.
Our Windows cloud VMs are not domain joined and are not MDM enrolled, so we do not expect the force-install to work on them, and we have not tested it. This section does not promise it. Options to decide later: enrol the VMs in Chrome Browser Cloud Management (free, needs an enrolment token per organization), or publish the extension to the Chrome Web Store (unlisted) so the store accepts it. Until one of those is done, the Windows agent browser works without the extension (the existing computer driver path).