NemoClaw
NemoClaw is the safe-runtime screen that runs on every spend. It combines a deterministic policy layer (the inviolable part) with an NVIDIA Nemotron classification (the judgement part). The deterministic layer is decisive on its own, so a spend can never slip through just because a model was slow or unavailable. The implementation issrc/lib/hermesco/safety.ts.
Order of evaluation
The deterministic gate
| Risk | Meaning | Outcome |
|---|---|---|
blocked | Over a hard cap or prohibited | Refused in code, no money moves |
review | Allowed but not trivial | Held for a human decision |
safe | Small and within all caps | Auto-approved, then caps re-checked at execution |
Nemotron classification
When the deterministic layer does not already block, NVIDIA Nemotron classifies the spend. The screen calls NVIDIA’s own API (integrate.api.nvidia.com) when an NVIDIA_API_KEY is configured, and otherwise reaches the same Nemotron model (nvidia/nemotron-3-ultra-550b-a55b) through OpenRouter:
/no_think and a wider token budget so it returns the verdict JSON directly instead of spending the budget reasoning out loud.
If the model is unavailable or times out, the function returns null and the deterministic layers stand. The safety outcome is therefore never blocked on model availability.
What the agent sees
The agent is told the verdict in plain terms so it behaves correctly without retry loops:- Awaiting approval: it pauses and explains what it needs and why.
- Refused by the Treasury: it does not retry the spend.
- Failed a hard cap: it does not retry.