All plugins

rainbowomma

One Mac, one human, many agents. Each Hermes profile gets a Chrome of its own with a coloured, named window frame, its own ports, processes, clipboard and document leases in Word / Excel / Acrobat / Preview. A pre_tool_call guard refuses what would hit the human or another agent before it runs (pkill Chrome, quitting Word through AppleScript, a port or a process that isn't the agent's, the human's clipboard and Chrome profile, typing while the human types) and names the tool that does it safely; a Messages/Mail send goes to Hermes's approval gate. Idle tabs, expired document leases, apps an agent launched and orphaned servers are cleaned up at session end and on a timer. With browser.cloud_provider: rainbowomma, Hermes's own browser tools drive that Chrome. /rainbow shows who holds what; /rainbow pause stops every agent at once. Disclosure — macOS only. Starts Google Chrome for the agent (own profile folder, a DevTools port on 127.0.0.1, an unpacked theme extension) and runs osascript, ps, pgrep, lsof, ioreg, open and xcrun simctl with a minimal environment (no Hermes provider keys); stops only processes that are provably the agent's, its own idle Chrome, and an Office app an agent launched and left empty. Keeps one guard helper process per profile and a housekeeping timer thread while Hermes runs. Writes its state under ~/.rainbowomma (registry, leases, a receipts log, Chrome profiles, temp copies for Word conversions); conversion outputs go only into the source document's folder, and rainbow_save_document saves in place a document the agent itself opened. When one Hermes process serves several profiles it prefixes the agent's shell commands with export RAINBOW_AGENT=… (modify directive; setting mark_commands). Its only request goes to 127.0.0.1 (the agent's own Chrome). No updater, no credential access.

aviv27-devToolsv0.1.0Updated 21 days ago

About

One Mac, one human, many agents. Each Hermes profile gets a Chrome of its own with a coloured, named window frame, its own ports, processes, clipboard and document leases in Word / Excel / Acrobat / Preview. A pre_tool_call guard refuses what would hit the human or another agent before it runs (pkill Chrome, quitting Word through AppleScript, a port or a process that isn't the agent's, the human's clipboard and Chrome profile, typing while the human types) and names the tool that does it safely; a Messages/Mail send goes to Hermes's approval gate. Idle tabs, expired document leases, apps an agent launched and orphaned servers are cleaned up at session end and on a timer. With browser.cloud_provider: rainbowomma, Hermes's own browser tools drive that Chrome. /rainbow shows who holds what; /rainbow pause stops every agent at once. Disclosure — macOS only. Starts Google Chrome for the agent (own profile folder, a DevTools port on 127.0.0.1, an unpacked theme extension) and runs osascript, ps, pgrep, lsof, ioreg, open and xcrun simctl with a minimal environment (no Hermes provider keys); stops only processes that are provably the agent's, its own idle Chrome, and an Office app an agent launched and left empty. Keeps one guard helper process per profile and a housekeeping timer thread while Hermes runs. Writes its state under ~/.rainbowomma (registry, leases, a receipts log, Chrome profiles, temp copies for Word conversions); conversion outputs go only into the source document's folder, and rainbow_save_document saves in place a document the agent itself opened. When one Hermes process serves several profiles it prefixes the agent's shell commands with export RAINBOW_AGENT=… (modify directive; setting mark_commands). Its only request goes to 127.0.0.1 (the agent's own Chrome). No updater, no credential access.

RainbowOMMA for Hermes

One Mac, one human, many agents — and none of them in each other's way.

Run two or three Hermes profiles on the Mac you work on and they start to collide: one agent's pkill Chrome closes
your browser and the other agent's, a "free port 3000" kills your dev server, a Word document you had open gets closed
without saving, two agents type into the same window. A prompt can ask an agent to be careful. This plugin makes the
collisions impossible to cause by accident:

  • Its own browser. Each profile gets a Chrome of its own — separate profile folder, its own debugging port, and a
    coloured window frame with the agent's name on it, so you always see whose window this is. Your Chrome is never used.
  • A guard on every tool call. Commands that would hit you or another agent are refused before they run, with the
    safe way to do it: killing by pattern (pkill, killall, kill $(pgrep …)), quitting Chrome or Word through
    AppleScript, a port that isn't the agent's, your clipboard, your Chrome profile, typing while you are typing.
    Sending through Messages or Mail goes to Hermes's own approval prompt.
  • Leases instead of races. Ports, the screen, sign-ins to a site, documents in Word / Excel / Acrobat / Preview:
    an agent takes a lease, and closes only what it leased. A document you already had open stays yours.
  • Cleanup after itself. When a session ends, and while the agent is idle: the tabs its job opened close, hot tabs
    are reloaded, expired document leases are closed (only if saved), an Office app is quit only if an agent launched it
    and it sat empty for ten minutes, orphaned dev servers stop, unused ports go back, an idle browser is stopped.
  • /rainbow — who holds what, in any Hermes surface. /rainbow pause stops every agent on the Mac at once;
    /rainbow resume lets them go on.

Two Hermes profiles, each in its own framed Chrome

macOS only. Needs Google Chrome for the browser tools; Word / Excel / Acrobat only for the document tools.

Install

hermes plugins install rainbowomma

Nothing to configure: the agent's name is the Hermes profile's name, and the first time it runs it gets a free colour
and a free port in the shared registry (~/.rainbowomma/browsers.json). Install it in every profile that works on the
same Mac — they find each other through that folder.

To make Hermes's own browser tools (navigate, click, snapshot, the CDP tools, the credential vault) drive the
agent's coloured Chrome instead of a throwaway Chromium, select the provider the plugin registers:

hermes config set browser.cloud_provider rainbowomma

The agent's Chrome runs on this Mac, so it can reach your local dev servers. Hermes sends private addresses
(localhost, your LAN) to a separate local browser by default when a provider is selected; to keep those in the
agent's own Chrome too:

hermes config set browser.auto_local_for_private_urls false
hermes config set browser.allow_private_urls true

If the agent's browser can't be started (you closed it), Hermes falls back to its own throwaway browser for that call.

Then, in a session: /rainbow, or ask the agent to "open example.com in your browser".

What the agent gets (31 tools, toolset rainbowomma)

Browserrainbow_start_browser · rainbow_browser_status · rainbow_recover_browser · rainbow_open_url · rainbow_job_start · rainbow_job_end · rainbow_keep_tabs · rainbow_close_job_tabs · rainbow_tidy_tabs
Portsrainbow_lease_port · rainbow_release_port · rainbow_who_port
Processesrainbow_whose_process · rainbow_stop_process · rainbow_my_processes
Screenrainbow_take_screen · rainbow_release_screen
Sign-insrainbow_take_login · rainbow_release_login
Documentsrainbow_open_document · rainbow_save_document · rainbow_close_document · rainbow_renew_document · rainbow_convert_to_pdf · rainbow_recalc_workbook · rainbow_documents
Clipboardrainbow_clip_copy · rainbow_clip_paste
iOS Simulatorrainbow_sim_lease · rainbow_sim_release
Overviewrainbow_status

Every tool answers with one JSON object. refused is final: the agent is told to ask you.

Settings (plugins.entries.rainbowomma.settings)

keydefault
agent_namethe profile's namethis agent's name on the Mac
colornext freeframe colour, #RRGGBB (used when the agent is first registered)
idle_minutes30stop the agent's browser after this long with nobody driving it (0: never)
tab_cleanupapplyapply, dry-run (report only) or off
housekeeping_minutes5how often the idle cleanup runs (0: only at session end)
guardtruefalse: nothing is refused; the tools stay
mark_commandsautosee "What it does on your machine"
extra_apps{}more document apps: {textedit: {app: TextEdit, extensions: [.txt]}}
languageenen, he or auto — the owners' answers and the text on the frame
word_folderwhere Word converts temp copies (default: word-convert in the state folder)
home~/.rainbowommashared state folder — the same one in every profile
registrypath of the shared browsers.json (default: inside the state folder)

The registry is yours to edit: colours, labels, ports, humanPorts, deniedApps, sensitiveSites, authSites.
The plugin adds a row for a new agent and never changes an existing one.

What it does on your machine

Everything below is local. The plugin's only request is to 127.0.0.1 (the agent's own Chrome, to read its DevTools
address for Hermes's browser tools). It has no updater, reads no credential files and never approves
anything on your behalf.

  • Starts programs. Google Chrome for the agent (its own --user-data-dir under ~/.rainbowomma/profiles/<agent>,
    a DevTools port on 127.0.0.1 from the registry, and the frame theme, loaded as an unpacked theme extension through
    Chrome's own debugging pipe). osascript to talk to Word, Excel, Acrobat, Preview and System Events. ps, pgrep,
    lsof, ioreg, sysctl, defaults read, open -g, and xcrun simctl for the simulator tools.
  • Stops programs. Only what is this agent's: a process the agent started (rainbow_stop_process, the orphan reap
    at session end), its own Chrome when it is idle, and an Office/PDF app that an agent launched and left empty. Never a
    process that is not provably the agent's; never an app that was already running.
  • Gives the programs it starts a minimal environment. PATH, HOME, USER, LANG/LC_*, TMPDIR,
    __CF_USER_TEXT_ENCODING and the plugin's own RAINBOW_* / BROWSER_OWNER_* / OFFICE_* values. Hermes's
    environment (provider keys, tokens) is never passed on to the owners, the guard helper, Chrome or a launcher script.
  • Keeps a helper process. One guard_worker.py per profile while Hermes runs (the guard), and a timer thread
    inside Hermes for the idle cleanup. Both stop when the plugin unloads.
  • Writes files under ~/.rainbowomma/ only: the registry, leases and state, a receipts log of what was done and
    refused (logs/receipts.jsonl), the theme folders, the agent's Chrome profile, the agent's clipboard slots, temp
    copies for Word conversions. The one exception is a conversion's result (rainbow_convert_to_pdf,
    rainbow_recalc_workbook): it is written in the source document's own folder and nowhere else, and force
    replaces only a file an earlier conversion wrote and nobody changed since.
  • Changes shell commands in one case. When one Hermes process serves several profiles (a multiplexed gateway), a
    process started by a shell command can't be told apart by its ancestry, so the plugin prefixes the command with
    export RAINBOW_AGENT=<agent> RAINBOW_HOME=… BROWSER_OWNER_REGISTRY=…; (a modify directive). mark_commands: never
    turns it off, always does it in every process.
  • Names browser sessions. A browser_exec call is given the session name rb-<agent> (a modify directive), so
    two Hermes processes on one Mac never share one browser daemon — without it the second agent's call can land in the
    first agent's browser.
  • Asks you. A Messages/Mail send becomes a Hermes approval prompt (approve directive). Under cron or a gateway
    with nobody to answer, Hermes's own approval timeout applies; the plugin never waits on a dialog of its own.
  • macOS prompts you will see once. The document tools drive Word, Excel, Acrobat, Preview and System Events through
    AppleScript, and macOS asks the human to allow that the first time ("osascript wants to control System Events",
    then one prompt per app). A Hermes gateway running in the background is asked separately from a terminal session.
    Word's sandbox also asks to "Grant access" to the folder it converts in. Until you answer, the tool waits, then
    reports failed or blocked-by-dialog with the reason; nothing is retried behind your back. The browser, port,
    process, screen and clipboard tools need no such permission.
  • The vendored receipts module can export the log to an OpenTelemetry collector (receipts --export-otlp URL). The
    plugin never calls it.

What the guard is not: a sandbox. It reads the command text and closes the cheap ways to hurt a neighbour. A program
running as your user can still do anything your user can.

How it is built

vendor/ holds RainbowOMMA's owners — the same files as bin/ in this repository, copied by
hermes-plugin/tools/sync_vendor.py (a test fails if they differ). Each tool is one call of one owner, run as this
profile's agent. The guard is the guard every other RainbowOMMA adapter uses, kept in a helper process because one
Hermes process may serve several profiles and the guard tells whose call it is from its environment.

Tests: python3 hermes-plugin/tests/test_plugin.py (no Hermes, Chrome or Office needed).

Apache-2.0. Part of RainbowOMMA, which does the same for Claude Code,
Codex, Cursor, Gemini CLI and a dozen other agent frameworks.

README from the reviewed commit c1961df; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section