All plugins

popquiz

Pop Quiz, the room vs the models: any document becomes a live quiz for the whole room in about a minute. Hermes writes the questions and the plugin refuses every question whose quote is not found verbatim in the document; people join from their phones with a QR code (no app, no account) while up to four Nous Portal models play the same questions on the same clock, with latency and cost on screen (a free preset plays models the Portal prices at $0); the report says what the room got wrong and which model understood the document best, for what cost. Disclosure — runs an aiohttp web server on 127.0.0.1:8765 by default while a quiz is up (it stops 10 minutes after the game ends); "Open to phones" (the /popquiz command, or the agent calling popquiz_control open_lan without an approval prompt) adds one listener on the machine's private LAN address (never all interfaces), plain HTTP, and from then on anyone on that network can watch the projector page (questions, source quotes, room code), join as a player and read the end-of-game report; the host page and host commands need the host token and a loopback client (with a public_url tunnel every visitor arrives as loopback, so only the token protects them); model players are ctx.llm calls on your Nous Portal account, started when the game starts (the agent can start it), paid unless you pick the free preset, capped per game by budget_usd (default 1 USD) against estimated costs, with no cap for a model the public price list does not know (a custom players entry, or your main model when the llm.model_override and llm.provider_override capabilities are not granted); in open_book mode each call carries the document text (up to 400 000 characters); if the Portal refuses a call, Hermes may retry it on its fallback chain and then on your main model and provider, and such answers are labelled fallback model; at the end of a game the report (with player nicknames typed by the people in the room) is posted into the chat as a user message, which starts a model turn; fetches the public Nous Portal model list for prices at most once a day (no key sent) and caches it in its plugin state, the only thing it writes; reads only the document the agent is given, inside the session folder or the Hermes document cache; an opt-in Desktop pane frames the projector page in the SDK's SandboxedFrame; no telemetry.

4n0nn43xGeneralv0.1.0Updated 22 days ago

About

Pop Quiz, the room vs the models: any document becomes a live quiz for the whole room in about a minute. Hermes writes the questions and the plugin refuses every question whose quote is not found verbatim in the document; people join from their phones with a QR code (no app, no account) while up to four Nous Portal models play the same questions on the same clock, with latency and cost on screen (a free preset plays models the Portal prices at $0); the report says what the room got wrong and which model understood the document best, for what cost. Disclosure — runs an aiohttp web server on 127.0.0.1:8765 by default while a quiz is up (it stops 10 minutes after the game ends); "Open to phones" (the /popquiz command, or the agent calling popquiz_control open_lan without an approval prompt) adds one listener on the machine's private LAN address (never all interfaces), plain HTTP, and from then on anyone on that network can watch the projector page (questions, source quotes, room code), join as a player and read the end-of-game report; the host page and host commands need the host token and a loopback client (with a public_url tunnel every visitor arrives as loopback, so only the token protects them); model players are ctx.llm calls on your Nous Portal account, started when the game starts (the agent can start it), paid unless you pick the free preset, capped per game by budget_usd (default 1 USD) against estimated costs, with no cap for a model the public price list does not know (a custom players entry, or your main model when the llm.model_override and llm.provider_override capabilities are not granted); in open_book mode each call carries the document text (up to 400 000 characters); if the Portal refuses a call, Hermes may retry it on its fallback chain and then on your main model and provider, and such answers are labelled fallback model; at the end of a game the report (with player nicknames typed by the people in the room) is posted into the chat as a user message, which starts a model turn; fetches the public Nous Portal model list for prices at most once a day (no key sent) and caches it in its plugin state, the only thing it writes; reads only the document the agent is given, inside the session folder or the Hermes document cache; an opt-in Desktop pane frames the projector page in the SDK's SandboxedFrame; no telemetry.

Pop Quiz: the room vs the models

A Hermes Agent plugin that turns any document into a live multiplayer quiz for the whole room in about a
minute. Hermes reads the document and writes the questions. The plugin refuses every question whose
source_quote is not found word for word in the document, so the agent fixes it (you see the "refused,
then corrected" loop). People join from their phones with a QR code: no app, no account. AI models from the
Nous Portal answer the same questions on the same clock, with their latency and cost on the projector, and
"The Room" plays as a team (majority vote). At the end, a report says what the humans misunderstood and which
model understood the document best, for what cost, and it goes back into the conversation so the agent can
propose fixes.

First users: a team testing itself on its own runbooks and product docs. Then a teacher and a class.

The projector after question 1 of a real game: the document quote, the room's votes, and three free Portal models with their latency and cost

Try it (no Telegram, no model call)

hermes plugins install 4n0nn43x/hermes-popquiz --enable
hermes popquiz demo

install shows two consent screens: the Python dependencies (aiohttp, segno) and the two model
capabilities (llm.model_override, llm.provider_override, used only for real model players). The demo
needs neither the capabilities nor a messaging app nor any credit.

The demo runs the whole product on a sample runbook: the agent's first draft with two wrong quotes (refused
with the reason and the closest passage), the corrected questions, then a game with 24 simulated phones and
three model players replayed from a cassette. Open the Projector URL it prints in a browser. A full run
(8 questions) took 188 s here; --questions 3 is shorter. Options: --robots N, --port, --open-lan
(let real phones on your Wi-Fi join), --browser, --speed.

The model latencies and costs shown by the demo come from sample/cassette.json, a hand-written cassette
with realistic values; they are not measurements, and the report labels that spend as simulated.
hermes popquiz demo --live plays the same game with real model calls (paid, see Disclosures).

Play with real models for free

hermes popquiz demo --live --free --questions 3

--free plays three Nous Portal models priced $0: upstage/solar-mini4:free, meituan/longcat-2.5:free and
reflection/beam-1.0-501b-a23b:free. It needs the two capabilities and a Portal login, no credit. For your own
quizzes, set the preset players: [free] in the plugin settings. Measured here on 2026-11-07 (3 questions,
open book, sample runbook, 25 players): Solar Mini 4 answered in 4.2, 4.8 and 2.0 s, LongCat 2.5 in 6.4, 3.8 and
3.2 s, Beam 1.0 in 4.7, 1.0 and 1.2 s; all 9 answers right, total model spend $0. The Portal's free list
changes over time; the current one is in https://inference-api.nousresearch.com/v1/models (ids ending in
:free).

With your agent

Send a document (Telegram, Discord, Slack, the CLI or Desktop) and ask: "make a pop quiz of 8 questions on
this for my team". The bundled skill popquiz:host-a-quiz tells the agent how to work:

  1. The agent reads the document and calls popquiz_create with questions that each carry a source_quote.
  2. Refused questions come back with a code (quote_not_found, number_mismatch, ...) and the closest
    passage; the agent resends only the fixed ones with the same draft_id.
  3. The quiz is ready: open the screen URL on the projector, then /popquiz (buttons) or ask the agent:
    "open it to phones", "start", "next", "end".
  4. At the end the report comes back into the conversation and the agent proposes remediation.

Tested with a real agent turn (hermes chat -q, Hermes v0.23.0, a free Portal model): the agent read the
runbook, sent 4 questions, got number_mismatch on the one whose quote said "90 days" (the prompt asked it to
quote that one from memory, to show the check), resent only that question with the exact passage ("35 days"),
and the quiz was ready in 52 s.

Verify in 5 minutes

From a clone of this repository:

CheckCommandResult here (Hermes v0.23.0)
Tests (no network, no model)uv run --no-project --with pytest --with pytest-asyncio --with aiohttp --with segno pytest -q339 passed, 1 skipped (the skip is a real PDF that needs anydoc)
Catalog validatorhermes plugins validate .Validation passed, security scan - safe, 0 warnings
Load checkhermes plugins doctor . --ciregistrations: 4 tool(s), 0 hook(s), exit 0
Whole product, no costhermes popquiz demo --questions 3 --exitrefused then corrected, game, report
Load benchhermes popquiz bench --players 60 20060 phones: p50 15 ms, p95 16 ms; 200 phones: p50 25 ms, p95 37 ms (question to answer, server side, 1000/1000 answers)
Real models, freehermes popquiz demo --live --free --questions 32026-11-07: 9 real answers, 1.0 to 6.4 s, all right, $0
Real models (paid)hermes popquiz demo --live --questions 3estimate printed before the game ($0.0493 for 3 questions on the sample)

The anchoring check alone, on the sample's two wrong quotes, is the first step of any demo:

REFUSED q7 [number_mismatch] For how long are database backups kept?
   quote sent : "Backups are encrypted with AES-256 and kept for 90 days."
   closest doc: "backups are encrypted with aes-256 and kept for 35 days." (score 0.964)
REFUSED q8 [quote_not_found] Within how many business days is the written post-incident review due?

Hermes surfaces used

SurfaceWhereWhy
ctx.llm.complete_structured(provider=, model=, json_schema=, timeout=)hermes_glue.py:176Each model player answers with JSON, timed, in a worker thread
Capabilities llm.model_override + llm.provider_override, ctx.has_capabilityplugin.yaml, hermes_glue.py:133Consent screen; without both, only your main model plays
ctx.register_tool (4 tools)__init__.py:107-118popquiz_create (refuse and fix loop), popquiz_control, popquiz_status, popquiz_report
ctx.register_command + ctx.ask_choice__init__.py:123, hermes_glue.py:713/popquiz with buttons that fit the game state
ctx.post_message + handle.edithermes_glue.py:330, :372One progress card in the chat, edited at most every 2 s
ctx.inject_message(role="user")hermes_glue.py:691The final report goes back into the conversation
ctx.register_skill__init__.py:131skills/host-a-quiz/SKILL.md
ctx.register_cli_command__init__.py:127hermes popquiz demo / bench / serve
ctx.get_config, ctx.state, ctx.session_cwd, ctx.on_unloadhermes_glue.py:89, :201-228, :261, __init__.py:133Settings read at call time, 24 h price cache, allowed folder, clean stop
hermes_constants.get_hermes_homehermes_glue.py:246Profile-aware location of the document cache
Desktop SDK SandboxedFrame (opt-in)desktop/plugin.jsProjector pane in Hermes Desktop

Disclosures

  • Listening port. A web server (aiohttp, in its own thread) starts when a quiz is created, on
    127.0.0.1:8765 (settings host, port). It stops at game end plus 10 minutes, on popquiz_control end
    followed by idle, and when the plugin unloads.
  • LAN, only on request. "Open to phones" (/popquiz open, popquiz_control open_lan, or --open-lan)
    adds a second listener on the machine's private LAN address (the default-route interface), same port.
    It never listens on all interfaces. Anyone on that network who has the room code can join as a player with
    a nickname. Traffic is plain HTTP on the LAN. The host page and host commands require the host token and a
    loopback client, so phones cannot drive the game. The optional public_url setting only changes the URL
    in the QR code; the plugin opens no tunnel.
  • Paid model calls. With the two capabilities granted, each question triggers one call per model player
    (default: anthropic/claude-opus-5.5, deepseek/deepseek-v4-flash, inception/mercury-3) through Hermes,
    on your Nous Portal account. budget_usd (default $1.00 per game) is checked before each question against
    the estimated cost; players that no longer fit are skipped, most expensive first. Costs are computed by the
    plugin from the token counts Hermes returns and the public price list, so they are estimates of what the
    provider bills. A call refused before any generation (no credit, rate limit, any other 4xx) counts $0. A call
    whose real cost stays unknown after it left (timeout, network error, reply without token counts) counts at its
    estimate and is shown as ~$x (est.). The preset players: [free] (or demo --live --free) uses only
    models the Portal prices at $0. If the Portal refuses a call, Hermes may retry it on its fallback chain and then on your
    main model and provider; such answers are labelled "fallback model" and still count.
  • Document text sent to model providers. In open_book mode (default) the full extracted text of the
    document goes to every model player with every question. In closed_book mode only the question and its
    choices are sent. The agent's own model reads the document as usual.
  • Public price list. The plugin fetches https://inference-api.nousresearch.com/v1/models (public, no
    key) at most once a day and caches the prices in its plugin state; an embedded table dated 2026-11-07 is the
    fallback.
  • Files. It reads only the document you name, and only under the session folder, the Hermes document cache
    or its own sample/ folder; hidden files and the rest of the Hermes home are refused. It writes only its
    plugin state (the price cache). No telemetry, no account, no third-party service besides the model calls.
  • Conversation. It posts one progress message and edits it; at game end it injects the report as a user
    message when Hermes allows it (otherwise the agent fetches it with popquiz_report).

Settings

plugins.entries.popquiz.settings.*: host (127.0.0.1), port (8765), public_url (empty), players
(up to 4 {label, model, provider}, or the preset [free]), budget_usd (1.0), time_limit_s (20), mode (open_book or
closed_book), auto_advance (false). They are read each time a quiz is created.

Limits

  • One game at a time per Hermes process; up to 200 players.
  • The anchoring check proves that the quote exists in the document, not that the right answer follows from
    it (a warning only, answer_not_in_quote).
  • Phones must reach the machine on the local network; guest Wi-Fi with client isolation, or a firewall on
    the port, blocks them.
  • Documents: txt, md, html directly; pdf, docx, epub through anydoc (a Hermes dependency); scanned PDFs are
    refused; text beyond 400 000 characters is cut.
  • open_book cost grows with the document size (the whole text is sent with each question).
  • In-process only: the chat card handle is bound to the gateway loop, so the plugin does not run in the
    isolated host.
  • Model players need Portal credit for paid models; without it every paid model answer is refused (shown as
    "refused", $0) and the game still runs for the humans. The free formation needs no credit.
  • The Desktop pane (desktop/plugin.js, opt-in) frames the projector page in the SDK's sandboxed frame. The
    server sends Access-Control-Allow-Origin: * on /static/ only (public files, no credentials), which the
    module scripts need in that opaque-origin frame. Checked in headless Chromium with the same
    sandbox="allow-scripts" frame (the projector renders, no console error); not tried inside the Desktop app.

Author

Maintained by @4n0nn43x. Issues and pull requests are welcome.

License

MIT, see LICENSE.

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

More by 4n0nn43x

2 plugins by 4n0nn43x in the catalog.

4n0nn43xbatonHand your session and repository to your remote Hermes agent (Hermes Cloud, a VPS or a Docker container) with /baton "fix the parser, done when pytest passes": the remote works in a throwaway worktree, cannot return verified until the agreed check is green on the exact tree it returns, and hermes baton land <id> fetches the tested branch baton/<id> without touching your HEAD, index, working tree or stash. Code travels by git, the order by the Hermes Runs API, state by git refs; every step resumes after a network cut. Disclosure — pushes a snapshot commit of the repository (tracked changes and untracked files not ignored by .gitignore; a blocking secret scan first refuses .env files, keys and tokens, and symlinks that point outside the repository are refused) to the git remote you configure in remote_git and fetches baton refs from it; sends the task and a redacted session transcript (hermes sessions export --redact plus an extra redaction pass, capped at 64 KB) to the peer Hermes API server at the URL you register, with the peer key read through Hermes's secret scope; runs git (with a minimal environment) and hermes sessions export as subprocesses; on a machine set to role remote or both, runs the agreed check without a shell only when its argv matches the remote's allowed_checks plus safe flags, with an empty throwaway HOME, no HERMES_* variables or provider keys, and a timeout. Without a usable bubblewrap (e.g. the official Docker image) or with sandbox: off, the project's code runs with the remote user's rights and can read the Hermes home, so only accept batons from your own machines. Landing creates branch baton/<id> without touching HEAD, the index or the working tree; no telemetry.Communityautomation

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section