# Verifiable Math Kernel: Hermes Agent plugin

> Deterministic symbolic computation, integer factorization with Baillie-PSW probable-prime testing, elliptic curve invariants, and formal Lean 4 proof auditing for Hermes Agent.

Canonical: https://hermeswatcher.com/plugins/verifiable-math-kernel  
Tier: Community  
Official page (Nous Research): https://hermes-agent.nousresearch.com/docs/plugins/verifiable-math-kernel  
Last updated in catalog: 2026-11-15

Deterministic symbolic computation, integer factorization with Baillie-PSW probable-prime testing, elliptic curve invariants, and formal Lean 4 proof auditing for Hermes Agent. When Lean 4 is installed on PATH and enable_lean_cli is enabled, lean4_proof_audit can verify proofs via isolated execution.

## Good to know before installing

With `enable_lean_cli` on (default off), `lean4_proof_audit` runs the user's local `lean --stdin` on model-written Lean code after a Hermes approval prompt. Lean can execute code while it elaborates, with the user's privileges, a minimal environment (PATH, HOME, LANG, LEAN_PATH) and a scratch working directory under the plugin's data dir. No network calls.

From the plugin's catalog listing.

## How to install

1. Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.

```bash
hermes plugins install verifiable-math-kernel
```

2. Said no? Turn it on later:

```bash
hermes plugins enable verifiable-math-kernel
```

3. Restart Hermes so it loads the plugin.

Some plugins also need a sign-in or settings: see the official page. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide: https://hermes-agent.nousresearch.com/docs/user-guide/features/plugins

## Facts

- Category: Automation & multi-agent
- Maintained by: pCwOrM (Community)
- Needs: No API keys declared
- Adds tools: `verify_math_claim`, `certified_factorization`, `elliptic_curve_analyzer`, `lean4_proof_audit`
- Works on: linux, macos, windows
- Requires Hermes: `>=0.21.0`
- Version: 1.0.5
- In the catalog since: 2026-11-15

## Links

- [Full setup and settings (official page)](https://hermes-agent.nousresearch.com/docs/plugins/verifiable-math-kernel)
- [Source code](https://github.com/pCwOrM/hermes-verifiable-math#readme)
- [All plugins](https://hermeswatcher.com/plugins.md)

---

HermesWatcher is an independent guide. It is not affiliated with or endorsed by Nous Research. The [official Hermes Agent documentation](https://hermes-agent.nousresearch.com/docs) and [repository](https://github.com/NousResearch/hermes-agent) from Nous Research are the authority; each page here lists the official sources it was written from. If this site and the official docs disagree, trust the official docs. Index for agents: https://hermeswatcher.com/llms.txt
