All plugins

genui

Live cards for Hermes Desktop: the agent shows a long task as a pre-designed card (a pull request, a release, a slow machine, files to clean up, a study session), updates it in place after every tool result, and asks for a decision with a button only when one is needed; the click (and what you ticked or answered in the card) goes back to the agent as one turn. Disclosure — no network calls, no telemetry, no credentials; writes one small JSON file per shown card in the plugin's data directory, removed after 30 days untouched; adds a short turn hint to Hermes Desktop turns only; cards run in a sandboxed frame, a click on a decision posts one visible message from the user, and a click on an http(s) link in a card (link targets come from the agent) opens it in the user's browser.

agenticatech2Desktopv0.2.1Updated 21 days ago

About

Live cards for Hermes Desktop: the agent shows a long task as a pre-designed card (a pull request, a release, a slow machine, files to clean up, a study session), updates it in place after every tool result, and asks for a decision with a button only when one is needed; the click (and what you ticked or answered in the card) goes back to the agent as one turn. Disclosure — no network calls, no telemetry, no credentials; writes one small JSON file per shown card in the plugin's data directory, removed after 30 days untouched; adds a short turn hint to Hermes Desktop turns only; cards run in a sandboxed frame, a click on a decision posts one visible message from the user, and a click on an http(s) link in a card (link targets come from the agent) opens it in the user's browser.

GenUI: live cards for Hermes Agent

Hermes works in text: long tasks scroll by as tool calls, and every decision is a reply you type.
GenUI gives the agent live components. It shows a card when a task starts, updates it in place
after every tool result, and asks for a decision with a button only when one is needed. What you
pick in the card goes straight back to the agent.

A pull request that conflicts with main: the graph, the conflicting commits, the decision

The cards

CardForThe decision it carries
pr_carda pull request: commits on a real branch graph, conflicts with who changed what, checks, mergeresolve conflicts, merge
task_carda long operation: a release, a migration, a slow machine; its steps, live figures, findingsdeploy, roll back, stop a process
review_listitems to review before an irreversible action: files to delete, branches to pruneact on exactly what you ticked
study_carda study session: a quiz you answer in the card, mastery per topic, a lesson with flashcards, reviewssend your answers, set review reminders

A release whose migration fails: the rollback branches off the failed step

A diagnostic quiz, answered in the card

Every change a card shows is shown as motion: rows grow in and text decodes into place, the busy
line shimmers, a clicked button turns into its own busy state, figures count to their new values,
and on success the colour runs down the card. Cards follow your Hermes Desktop theme (light, dark or
your own) and stay compact.

How it works

  1. The agent calls show_component(id, type, props). Props are validated against the type's JSON
    Schema; invalid props come back to the model as errors to fix.
  2. The tool returns a ::genui{id="…"} line the agent writes in its reply. Hermes Desktop draws the
    card there, in a sandboxed frame, with your theme's colours and fonts.
  3. After each tool result the agent calls update_component(id, patch), a JSON Merge Patch (RFC 7386).
    The card repaints in place.
  4. Before a risky or irreversible step the agent adds an action to the card and ends its turn. Your
    click comes back as one turn: {"type":"user_action","component_id":"rel","action_id":"deploy_prod","values":{…}},
    where values holds what you chose in the card (ticked items, quiz answers).

A short turn hint (sent on the Desktop platform only) tells the agent the rules: show the card early,
update it after every result, never show a state no tool confirmed, one card per entity, ask only
before risky steps, act on exactly what you chose, and report failures with their real cause.

Tools: show_component, update_component, and ask_user for a plain question when no card helps.

Install

hermes plugins install genui
hermes plugins enable genui

The plugin has two halves: the agent half runs where Hermes runs (the tools, the turn hint, the
route the cards load from), the Desktop half runs in Hermes Desktop (the card renderer). If your
Desktop connects to a remote gateway, install the plugin on that host and in Desktop.

Requires Hermes 0.22.5 or later, and jsonschema (declared in plugin.yaml, installed with the plugin). Cards render in Hermes Desktop; on other platforms the agent works in
text as usual (the hint is not sent there).

Themes

A theme only draws props. Each Hermes profile picks its theme in config.yaml; a theme with no file for
a component falls back to default:

plugins:
  entries:
    genui:
      settings:
        theme: default
        overrides: {pr_card: acme}

A theme is themes/<name>/<type>.js calling GenUI.register(type, (root, props, emit) => …), with
GenUI.motion for the moves (keyed lists that grow and fold, decoding text, counting figures,
popovers). The default theme shares its parts across cards in themes/default/kit.js.

What it does on your machine

  • No network calls, no third-party service, no telemetry. Cards load from the plugin's own route on
    your Hermes host.
  • Writes one small JSON file per shown card (its props and revision) in the plugin's data
    directory, so a card survives a reload. Cards nobody updated for 30 days are removed when a new
    card is shown. It reads nothing outside its own files and holds no credentials.
  • Adds a turn hint of a few hundred tokens to each Hermes Desktop turn, so the agent knows the
    cards exist.
  • Runs no commands and no background processes. The agent's own tools do the work; the cards
    only show it.
  • Desktop half: each card runs in a sandboxed frame (opaque origin, scripts only) and draws the
    agent's data as text. A click on a decision sends one visible message from you to the chat; a click
    on a link in a card opens it in your browser.

Limits

  • The agent decides when to show a card: a task that matches no card stays in text.
  • A click shows up in the chat as a JSON message from you: the Desktop SDK has no hidden way to send
    it.

The repository also holds a benchmark that measures the plugin against plain Hermes on scripted
tasks (natural requests, a scripted world as the only truth, consent enforced by the world, negative
controls).

License

MIT, see LICENSE.

README from the reviewed commit 9465bec; 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