All plugins

vellum

Vellum: Hermes draws inside the paper. Highlight a passage in an arXiv paper (HTML version) in Hermes's browser and your own Hermes session gives you the gist like a friend at a whiteboard, talking while it sketches a live, interactive figure right under the paragraph (built from the paper's own example and numbers); follow-ups, typed or spoken, change the same sketch. Adds tools (vellum_draw / vellum_look / vellum_clear / vellum_read), a skill, hooks on turns started from the paper, a Desktop plugin and dashboard routes under /api/plugins/vellum/. Disclosure — reads arXiv HTML pages (arxiv.org/html, ar5iv) with Desktop's per-site consent and saves the open paper's text when you switch it on; puts Visualize/Ask drafts into your chat box for you to send (never submits a turn itself); the highlighted passage and nearby paper text go to your configured model as part of that turn (the full paper when Hermes calls vellum_read, and a picture of the figure when it calls vellum_look), marked as web text; runs model-written drawing code only in a sandboxed iframe (opaque origin, CSP default-src none with scripts pinned by hash plus 'unsafe-eval' for the drawing steps, WebRTC constructors removed; best effort, since CSP does not cover a frame navigating itself); tools reach the card through plugin events (plugin.vellum.*); speaks with Hermes's own text_to_speech, one call per spoken sentence and at most 60 per turn (Edge TTS by default, an online service; a paid provider bills each sentence); stores the text of the 20 most recently opened papers, the ids of the 50 most recent figure cards opened, the current Ask passage and short-lived request/voice files under plugin-data/vellum; no telemetry, no credentials, no external CLIs, no downloads.

0xsaltylollipopDesktopv0.5.0Updated 20 days ago

About

Vellum: Hermes draws inside the paper. Highlight a passage in an arXiv paper (HTML version) in Hermes's browser and your own Hermes session gives you the gist like a friend at a whiteboard, talking while it sketches a live, interactive figure right under the paragraph (built from the paper's own example and numbers); follow-ups, typed or spoken, change the same sketch. Adds tools (vellum_draw / vellum_look / vellum_clear / vellum_read), a skill, hooks on turns started from the paper, a Desktop plugin and dashboard routes under /api/plugins/vellum/. Disclosure — reads arXiv HTML pages (arxiv.org/html, ar5iv) with Desktop's per-site consent and saves the open paper's text when you switch it on; puts Visualize/Ask drafts into your chat box for you to send (never submits a turn itself); the highlighted passage and nearby paper text go to your configured model as part of that turn (the full paper when Hermes calls vellum_read, and a picture of the figure when it calls vellum_look), marked as web text; runs model-written drawing code only in a sandboxed iframe (opaque origin, CSP default-src none with scripts pinned by hash plus 'unsafe-eval' for the drawing steps, WebRTC constructors removed; best effort, since CSP does not cover a frame navigating itself); tools reach the card through plugin events (plugin.vellum.*); speaks with Hermes's own text_to_speech, one call per spoken sentence and at most 60 per turn (Edge TTS by default, an online service; a paid provider bills each sentence); stores the text of the 20 most recently opened papers, the ids of the 50 most recent figure cards opened, the current Ask passage and short-lived request/voice files under plugin-data/vellum; no telemetry, no credentials, no external CLIs, no downloads.

Vellum

Hermes draws inside the paper.

Vellum: highlight a passage, click Visualize, and Hermes draws a live figure under it

Highlight a passage in an arXiv paper in Hermes Desktop. Your own Hermes explains it out loud and draws a live figure right under the paragraph, each piece appearing as its sentence is spoken. Ask follow-ups, typed or spoken, and the same figure evolves. Nothing is pre-built: every figure is written live by your model.

Available in the Hermes Marketplace.

Quick start

1. Install (once)

hermes plugins install vellum --enable

Installing by name needs Hermes 0.23.1 or newer. On 0.22.7 to 0.23.0, install from GitHub instead:

hermes plugins install 0xsaltylollipop/vellum --enable

Restart Hermes Desktop, then switch Vellum on in Capabilities → Plugins. Vellum runs on Hermes Desktop 0.22.7 or newer.

2. Try it

  1. Open your favorite paper on arXiv in Hermes's browser, using its HTML version (arxiv.org/html/…). Or just ask Hermes to open it.
  2. Click ✨ Vellum in the status bar at the bottom, and allow arxiv.org when asked.
  3. Highlight a passage you want explained and click ✨ Visualize.
  4. Press Enter in the chat. Hermes starts explaining out loud and drawing under the passage.
  5. Ask follow-ups, typed or out loud. The same figure keeps evolving.

Good to know

  • Ask instead of Visualize puts the passage in your chat box, so you can add your own question.
  • LIVE on the figure takes you back to normal chat; Resume brings Vellum back.
  • Turn off Desktop's "Read replies aloud": Vellum speaks for itself, in sync with the drawing.
  • Works on arXiv HTML pages (arxiv.org/html/…), and on ar5iv.labs.arxiv.org/html/… for papers arXiv hasn't converted.
  • After a reload or a new paper, Vellum pauses. Click ✨ Vellum again.
  • Vellum never sends a message for you. You always press Enter.

How it works

PieceWhat it does
vellum_draw(canvas, say, code)One drawing step. code is JavaScript run in the figure (D3 and KaTeX available, names persist like notebook cells); say is spoken as it appears.
vellum_look(canvas)A picture of the figure plus a layout report.
vellum_clear(canvas)Start over.
vellum_read(url, offset)The paper's full text in chunks, marked as web text.
Hookspre_llm_call adds the skill and the paper around the passage. pre_tool_call voices each step and holds it until its sentence plays. on_stream_delta, on_stream_end and post_llm_call voice the reply sentence by sentence with Hermes's text_to_speech.
Skill vellum:paper-canvasThe teaching style: the gist, one concrete example, why it matters. Edit skills/paper-canvas/SKILL.md to change it.
Desktop halfThe status-bar chip, the in-page buttons and the figure card.

All of this happens only on paper turns: a message started from a Visualize or Ask click, a question spoken right after Ask, or a follow-up in the chat that owns the LIVE figure, in an interactive local chat, while the plugin is on. On other turns the hooks only refuse the figure tools and, once, tell Hermes that the user left the paper.

Why a plugin and not a prompt: drawing inside the page needs the Desktop half, keeping voice and drawing in sync needs the stream hooks, and running model-written code safely needs a sandbox.

Security

  • Figure code is written by your model and runs only in a sandboxed iframe (sandbox="allow-scripts", opaque origin, CSP default-src 'none' with the page's scripts pinned by hash). It can't reach the paper page, your session or your files, and it can't make requests through the browser's normal routes (fetch, images, scripts, frames). Two routes the sandbox and CSP don't govern are handled best effort: WebRTC (its constructors are removed) and a figure navigating its own frame, which nothing in CSP prevents: that one request leaves before the card removes the figure. A model talked into leaking data could still try, but it would have Hermes's own web tools for that anyway, so the sandbox adds no new reach.
  • Paper text is untrusted. The passage and the text around it are labelled for the model as web content whose instructions must not be followed.
  • You send every message. Clicks only create a draft. Page events are checked, and a figure card is registered with the backend before its draft exists, so a lookalike message typed by hand does nothing special.
  • Other chats are left alone. Cron, messaging platforms and subagents never get paper turns, and a figure belongs to the chat that sends its draft first.

What it touches

  • Pages: arXiv HTML pages only (arxiv.org/html and ar5iv), with Desktop's per-site consent. It adds the buttons, the figure card, a style sheet and its in-page script; the paper's text is not changed. When you switch Vellum on, it saves the whole paper's text for Hermes (see Stored data).
  • Your model: the passage and nearby paper text go to whatever model Hermes uses.
  • Voice: Hermes's own text_to_speech with your configured provider (Edge TTS by default), one call per spoken sentence, at most 60 per turn.
  • Stored data in <HERMES_HOME>/plugin-data/vellum/: the text of the 20 most recent papers, the 50 most recent figure card ids, the current Ask, the on/LIVE state, voice clips (about a day) and tool answers (about an hour).
  • Plumbing: backend routes under /api/plugins/vellum/ and plugin events plugin.vellum.*. The figure frame's CSP allows 'unsafe-eval' because each drawing step is model-written JavaScript run inside the sandbox.
  • No telemetry, no credentials, no external CLIs, no downloads, no compiled binaries.

Repository layout

PathContents
__init__.py, paper_anim/Agent half: tool registration, canvas.py (the figure tools), turns.py (paper turns and voice hooks).
dashboard/Backend routes the Desktop half talks to.
desktop/plugin.jsDesktop half: chip, in-page buttons, figure card.
figure_runtime/The sandboxed figure page and its runtime, plus vendored D3, KaTeX and acorn.
skills/paper-canvas/SKILL.mdThe teaching guidance.
tests/Run with uvx --with fastapi pytest -q tests.

License

MIT (see LICENSE). Vendored, unmodified, in figure_runtime/vendor/: D3 7.9.2 (ISC), KaTeX 0.16.47 (MIT, with its fonts), acorn 8.19.0 (MIT).

README from the reviewed commit 5e32982; 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