Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · agent payments

We run Hermes Agent with paid MCP servers (image, video and 3D generation, paid APIs) and sometimes turn on YOLO mode or approvals off. How do we declare what each tool costs and cap spending per chat, does YOLO or a trusted server skip that cap, and what happens in cron jobs where nobody can approve?

Last updated

TL;DR: Since Hermes Agent v0.23.0 (released November 5, 2026), an MCP server entry can declare tool_costs, a spend_limit per chat and a cost_unit label, in config.yaml or in a portable plugin package. The approval prompt then shows each call's cost and the chat's running total, and a costed call that would take the chat past the limit asks first, with only Allow Once or Deny, even on a trust: full server and even under YOLO or approvals.mode: off. Where nobody can answer (cron jobs, hermes chat -q, a gateway with no approver), the call is refused without running and the model is told not to retry. The limits are softer than they look, though. The total counts the figure the server declared, not what the vendor charged; it lives in memory, so restarting Hermes resets every total; a new chat starts a new total; and spend_limit: 0 turns the limit off. Treat it as a per-conversation brake, and keep a hard cap at the vendor or wallet too.

What should I check, step by step?

1. Upgrade to Hermes Agent v0.23.0 or later; tool costs and spend limits arrived in that release.

  1. For each paid MCP server, set tool_costs (a number, a [min, max] range or {credits, note}), spend_limit (per chat; 0 or absent means no limit) and cost_unit (defaults to credits) under mcp_servers.<name> in config.yaml.
  2. Use the server's own tool names in tool_costs, not Hermes' mcp_<server>_ display prefix; an unknown key only gets a warning at connect time.
  3. Check the declaration loads: a malformed tool_costs, spend_limit or cost_unit skips the whole server with an error naming the key, and hermes plugins validate lists the server costs a package declares.
  4. If you override a package's server with a same-name entry (for example to set trust: full), its costs and limit still apply unless your entry sets those keys. Don't set spend_limit: 0 there unless you mean to turn the limit off.
  5. Expect the cap to ask even under YOLO and on trusted servers, and to refuse in cron jobs and hermes chat -q. Design scheduled jobs so a refused paid call ends the job cleanly.
  6. Don't treat the Hermes total as the bill: set a hard spending limit with the vendor or wallet as well, because the total resets on restart and per chat.

How do you declare tool costs and a per-chat spend limit for MCP servers in Hermes Agent?

The Hermes MCP guide's Tool costs and spend limits section shows the shape: under mcp_servers.<name>, tool_costs maps each tool to a cost (create_image: 20, a range such as animate: {credits: [5, 20], note: per animation}, or 0 for free), spend_limit sets a budget per chat, with 0 or absent meaning no limit, and cost_unit is the label prompts use, credits unless you change it. A portable plugin package declares the same table with the keys costs, spend_limit and cost_unit for its server.

Does Hermes Agent's YOLO mode skip the spend limit on paid MCP tools?

Below the limit, a trust: full server runs costed tools without asking, while a trust: untrusted server already asks before every write-capable call and now shows the cost. A costed call that would take the chat past spend_limit asks first on any trust tier, and every further costed call in that chat asks again. That prompt offers only Allow Once and Deny, and an earlier Allow for this session or Always answer for the tool doesn't silence it.

What doesn't a Hermes Agent spend limit on paid MCP tools cover?

It's a budget for one conversation, not the vendor's bill. The total counts what the server declared, so a declaration that's wrong or out of date gives a wrong total. It lives in memory: restarting Hermes resets every total, starting a new chat (/new in the CLI, a new Desktop chat) starts a new one, and each cron run has its own. On messaging platforms the total belongs to the chat, so it survives /new there, and it follows a conversation through context compression or /branch.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Our Hermes agent pays a 3D-generation API from its own credential. Set a spending policy on that credential: at most 2.00 USD per call and 25.00 USD per day, only at api.example-3d.com.”

One-click setup

{
  "tool": "set_spend_policy",
  "arguments": {
    "credential_id": "YOUR_AGENT_CREDENTIAL_ID",
    "currency": "USD",
    "per_tx_max_minor": 200,
    "daily_max_minor": 2500,
    "allowed_domains": [
      "api.example-3d.com"
    ]
  }
}

Rightshold isn't affiliated with Nous Research or Hermes Agent and can't see or control Hermes, its MCP servers or any vendor account. Hermes behavior is as the v0.23.0 release notes (November 5, 2026), the MCP guide, MCP config reference and security pages and pull requests 142470 and 143787 described it when read on November 27, 2026; it can change between releases. Not financial advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'