How Ceryx Guardian works

How Ceryx Guardian checks each bot action against your signed words, asks with a one-time approval card when they don't cover it, and fails closed.

By Kovacs Software Solutions, the makers of Ceryx · Published · 8 min read

Ceryx Guardian is the trust check built into every Ceryx bot. Before a bot sends, posts, pays, deletes or changes anything, Guardian checks the action against the words you typed, which your device signs. If your words cover the action, it runs. If they don’t, the bot stops and asks you in plain words, and your answer covers that one action only.

Guardian runs inside your Hermes server as a plugin, so it keeps protecting your bots when Ceryx is closed. Text from web pages, emails, files, tool results and other bots never counts as an instruction from you. When a check can’t finish, the action does not run.

Why does a bot need a trust check?

An AI agent reads text that strangers wrote: web pages, emails, issues and documents. Any of that text can carry instructions meant for the agent, which is called prompt injection. OpenAI wrote in December 2025 that prompt injection is “unlikely to ever be fully ‘solved’” (OpenAI). OWASP’s guidance on agent goal hijack recommends “requiring human approval for high-impact or goal-changing actions” (OWASP ASI01).

Hermes already has approval modes for dangerous shell commands, plus a hardline blocklist that applies even in YOLO mode. Its security docs say the denylist “does not sandbox a hostile or compromised agent” (Hermes security docs). Guardian builds on Hermes. For every action that changes something, it adds one more question. Did you actually ask for this? Our Hermes safety guide explains how Hermes approval modes work without Ceryx.

Guardian follows the trust model of Nod, the open-source personal agent from n8n, which checks each action against your requests and rules.

How are your words signed?

Ceryx keeps a signing key on your computer, with the private half in your operating system’s keychain. Each bot’s Guardian stores the public half, which is called pairing. On this computer, pairing takes one click. On another computer, you type a six-digit code that the server prints.

Every message you type is then signed before it is sent. Guardian checks each signed message when it arrives:

  • The signature must match a paired device that you have not revoked.
  • The message must be fresh, within two minutes of the time it was signed.
  • The message must not be a replay of an earlier one.

When Guardian later cites one of your messages to allow an action, it reads that message again and checks the signature again. Guardian keeps your messages in a hash-chained ledger, so an edited or inserted row is detected.

A turn that Guardian can’t match to a signed message is unverified. Messages from another Hermes app, a messaging platform, a routine or another bot are unverified. An unverified turn can chat and read, but it can never authorize an action that changes something.

Which actions does Guardian check?

Guardian sorts every tool call into a class before it decides:

ClassExamplesWhat happens
ReadReading a file, a web search, opening a pageRuns, and is logged
PrepareA draft, a file in the bot’s own work foldersRuns, unless a rule forbids it
CommitSending, posting, writing or deleting files elsewhere, terminal commands, app writes, browser clicks and submitsRuns if your words cover it, otherwise asks. Autopilot relaxes this for low-risk work
Sign inFilling a saved login from the VaultTrust check plus the Vault’s rules
PayFilling a saved cardNever automatic. Needs a payment approval
SettingsChanges to the bot’s rules, memory, schedules or own configTrust check. A rule can never approve a change to the rules

For a commit, two independent checks run in parallel on models you choose in Settings > Security. The Scope check asks whether your words cover this exact action: the target, the recipient, the amount and the timing. It must name the message it relies on, and the server takes the quote from its own ledger, so a model can’t invent one. The Risk check asks, separately, whether the action is irreversible, financial, sends data out, or targets someone you never named.

Neither check sees web pages, emails, files, tool results or memory. They see your last 20 signed messages from the past 24 hours, the bot’s rules, and the action with its arguments. Planted text in a page can’t argue with the checks, because the checks never read it.

In the default Balanced mode, an action runs only when Scope finds that your words cover it, the cited message verifies, Risk is not high, and no rule says to ask first. Otherwise Guardian asks you.

What does the approval card show?

When your words don’t cover an action, a card appears in the bot’s chat. It asks one short question that names the action and its target, such as “Can Atlas send an email?”. Below it, every value is laid out exactly as the bot sent it: the recipients, the subject, the file, the command or the web address. A long value shows its start, and the yes button stays off until you open all of it. The buttons are named for the action, such as Save the file or Run it.

Your answer has three properties:

  • It is signed. Ceryx signs your answer with the same key as your messages. An approval from any other app does not count for a Guardian check.
  • It works once. A replayed approval is refused.
  • It covers exactly one action. The approval is bound to that tool and a hash of its arguments. If the bot changes one value, it needs a new check.

Guardian never offers “always allow” on its cards, so one click can’t approve a whole tool forever. A card you leave open turns to “Expired: nothing was done” when Guardian stops waiting. If an action’s result is uncertain, for example because the server restarted while it ran, Guardian never runs it again.

What happens when Guardian can’t decide?

Guardian fails closed. If a checker errors, times out, has no model set, or returns an answer Guardian can’t read, the action is not allowed. In a chat with you, the bot asks. In background work, where nobody can answer, Guardian refuses.

Guardian also refuses to run with Hermes’ approvals turned off. If a bot’s Hermes approval mode is off, or YOLO is on, Hermes would skip Guardian’s questions. Guardian then blocks every commit, and Ceryx shows a banner to fix the setting. There is no “off” switch for Guardian while it is installed.

How do rules work?

Rules are plain sentences that a bot must keep, such as “Ask before emailing anyone outside acme.com” or “Never delete files”. You write them on the bot’s Rules screen, and Guardian’s checks read them with every action. A rule can forbid an action or require Guardian to ask first, in any mode. Your device signs every change to a rule, and a rule can never authorize a change to the rules themselves.

What does the activity log show?

The Activity page is one log for every bot. Items that need you sit at the top. Below them, each action shows why Guardian allowed it, quoting your words: “allowed because you said ‘save the Q3 numbers’”. Other entries read “you approved it” or “refused: not requested”. You can filter by bot, kind of action and time.

The log is hash-chained, and the bot’s Security screen shows whether its history is intact.

Does Guardian work when Ceryx is closed?

Yes. Guardian is a Hermes plugin that runs inside your Hermes server, in each bot’s profile. When Ceryx is closed, nobody is there to answer a card, so an action that would ask you is refused instead.

This affects two kinds of background work today:

  • Routines. A routine’s run is not yet tied to the signed words that set it up, so Guardian refuses its actions other than reads. A routine can still read and post its results to the bot’s chat.
  • Messaging platforms. Each bot has a messaging level, Chat only by default. In Chat only, a message from another platform can’t make the bot act. In Act with approval, each action waits for your signed answer on a card in Ceryx.

How do you install Guardian on a remote server?

On this computer, Ceryx installs Guardian on every new bot and pairs your device. On another computer, Ceryx creates the bot and then tells you that Guardian must be installed there. You install it by hand on the server, for each bot:

  1. Copy the guardian plugin folder, which ships with Ceryx, into the bot’s profile, at <hermes home>/profiles/<bot>/plugins/guardian.
  2. Add guardian to the bot’s plugins.enabled list, keeping the entries already there.
  3. Raise the hook timeout so Guardian can wait for your answer: hermes -p <bot> config set plugins.hook_callback_timeout 300.
  4. Load the plugin: hermes -p <bot> guardian reload.
  5. Run hermes -p <bot> guardian pair, and type the six-digit code into Ceryx.
  6. Choose the checker models on the bot’s Security screen in Ceryx.
  7. Run hermes -p <bot> guardian status. It should report problems: none and ledger: ok.

Until Guardian is installed and paired, the server shows Not protected. Ceryx lets you chat with an unprotected bot only after you accept that for the server.

The guides Prompt injection and personal AI assistants and Is Hermes Agent safe? explain the risks Guardian is built for.

Ceryx is independent and not affiliated with Nous Research.

Sources

Read next