Spiral gives your agent every tool with one account. Browse the tools →

Hermes · LLMReleased 2025-10-29

How to Use GPT-oss Safeguard 20B in Hermes

GPT-oss Safeguard 20B classifies text against safety rules you supply and can explain each decision. Compared with GPT-oss Safeguard 120B, it targets lower latency and specialized moderation tasks.

Prompts to try with GPT-oss Safeguard 20B in Hermes

Copy an example into Hermes, or ask in your own words.

Each morning, use GPT-oss Safeguard 20B to classify new forum posts. Flag direct threats of violence, allow disagreement, and send the post ID and decision to the review queue.

GPT-oss Safeguard 20BHermes
Try asking
  • Each evening, use GPT-oss Safeguard 20B to screen new product reviews. Flag explicit admissions of payment for positive ratings; allow praise without evidence of an incentive. Report flagged review IDs.

  • Every hour, use GPT-oss Safeguard 20B to review new gaming forum posts. Flag offers to sell cheating software and allow reports of suspected cheating. Keep the decisions for moderator review.

  • Each day, use GPT-oss Safeguard 20B to check newly generated assistant responses against our current written safety policy. Report response IDs, decisions, and applicable rules.

  • Each week, use GPT-oss Safeguard 20B to label a sample of recently completed text conversations under our harassment policy. Compare its decisions with moderator labels and report disagreements.

How to set up GPT-oss Safeguard 20B in Hermes

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Hermes this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run GPT-oss Safeguard 20B

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "openai/gpt-oss-safeguard-20b",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Hermes finds GPT-oss Safeguard 20B on Spiral, shows the price and runs it.

GPT-oss Safeguard 20B providers and prices

Spiral runs GPT-oss Safeguard 20B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
OpenAI: gpt-oss-safeguard-20b
openai/gpt-oss-safeguard-20b

Settings you can ask for

Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Max tokens1 to 65536

The most output tokens to generate.

Temperature0 to 2

Every API field of OpenAI: gpt-oss-safeguard-20b is on its tool page: open its card above.

What can you do with GPT-oss Safeguard 20B in Hermes?

Review new text on a schedule under a consistent safety policy. Collect the labels for a moderation queue or a recurring audit.

Community post review

Classify forum posts against written rules for threats, harassment, or prohibited promotion.

Assistant response checks

Review generated responses against your safety policy before deciding whether to show them.

Incoming message screening

Label user requests under your product's safety rules before passing them to another assistant.

Conversation review

Evaluate complete text conversations when a single message does not provide enough context for a policy decision.

Review authenticity screening

Flag product reviews that match your written criteria for suspected fabrication or undisclosed incentives.

Stored content labeling

Apply a defined safety taxonomy to archived text for a Trust and Safety review project.

Questions about GPT-oss Safeguard 20B in Hermes

Can Hermes use GPT-oss Safeguard 20B?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run GPT-oss Safeguard 20B like any built-in tool.

How much does GPT-oss Safeguard 20B cost in Hermes?

Up to $0.001602 per run at the default inputs. $0.0975 per 1M input tokens, $0.39 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need an OpenRouter account to use GPT-oss Safeguard 20B in Hermes?

No. Spiral runs GPT-oss Safeguard 20B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up GPT-oss Safeguard 20B in Hermes?

About two minutes: add the server and sign in, then check it.

Does Hermes wait while GPT-oss Safeguard 20B runs?

GPT-oss Safeguard 20B runs in the background. Hermes starts the run, checks on it and gives you the text, json when it's ready.

What is GPT-oss Safeguard good at?

It labels text according to safety policies you provide. Use it to review community posts, check assistant responses, or classify conversations under your own rules.

Can GPT-oss Safeguard replace a general chat or coding model?

OpenAI recommends it for safety classification. For general conversation or software development, OpenAI recommends GPT-oss instead.

How should I write a moderation policy?

Separate instructions, definitions, decision criteria, and examples. Define what is allowed as carefully as what violates the rules.

Which reasoning setting should I test?

Test low, medium, and high effort on the same labeled examples. Choose based on classification results and the response time your task allows.

What are its main limitations?

It handles text, so image or audio moderation requires a separate model. A dedicated classifier trained on a large labeled dataset can also outperform it on complex risks.

Get started

Start using GPT-oss Safeguard 20B in Hermes

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Hermes:

Set up Hermes

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options