Skip to content

feat: add ThoughtProof verification plugin (Sentinel + RV)#5

Open
ThoughtProof wants to merge 1 commit into
GOATNetwork:mainfrom
ThoughtProof:feat/thoughtproof-plugin
Open

feat: add ThoughtProof verification plugin (Sentinel + RV)#5
ThoughtProof wants to merge 1 commit into
GOATNetwork:mainfrom
ThoughtProof:feat/thoughtproof-plugin

Conversation

@ThoughtProof
Copy link
Copy Markdown

ThoughtProof Verification Plugin

Adds epistemic verification for AI agents — catch bad reasoning before it costs money.

Two products, one flow:

  • Sentinel — fast pre-execution triage (~$0.003, ~2s). Call on every decision.
  • RV — adversarial deep verification (~$0.02–0.08, 5–45s). Call when Sentinel is uncertain or stakes are high.

Actions (4 + 1 internal hook)

Action Purpose Risk Cost
thoughtproof.sentinel Pre-execution check (ALLOW/BLOCK/UNCERTAIN) read ~$0.003
thoughtproof.verify Adversarial reality verification (evaluate → critique → synthesize) read $0.02–0.08
thoughtproof.attest On-chain attestation (EAS for Sentinel, TP-VC for RV) medium gas
thoughtproof.status Health check both APIs read free
(internal) reputation hook ERC-8004 feedback after verification gas

Features

  • x402 pay-per-call — native HTTP 402 support, zero subscription needed
  • maxPaymentAmount safety cap — prevent compromised servers from draining wallets
  • Sentinel → RV escalation — fast triage on every decision, deep analysis only when needed
  • ERC-8004 reputation — automatic, not agent-callable (prevents self-scoring)
  • 3 auth modes — API key, x402 signer, or pre-configured x402 fetch

Already published

This plugin is also available as a standalone npm package:

npm install @thoughtproof/goat-plugin

npmjs.com/package/@thoughtproof/goat-plugin — published, 31 tests passing, 0 TS errors.

Files

plugins/thoughtproof/           — 9 source files
tests/unit/thoughtproof.test.ts — 31 tests
examples/thoughtproof-verification/ — demo agent
plugins/index.ts                — 1 line added (export)

Links

Adds epistemic verification for AI agents as a new plugin:

Actions:
- thoughtproof.sentinel — Pre-execution triage (ALLOW/BLOCK/UNCERTAIN)
- thoughtproof.verify — Adversarial reality verification (standard/deep tiers)
- thoughtproof.attest — On-chain attestation (EAS for Sentinel, TP-VC for RV)
- thoughtproof.status — Health check for both backends

Features:
- x402 pay-per-call support (zero-config payments via HTTP 402)
- maxPaymentAmount safety cap against compromised servers
- Internal ERC-8004 reputation hook (not agent-callable)
- Configurable registry addresses for reputation feedback

Also available as standalone npm package: @thoughtproof/goat-plugin

31 tests, 0 TS errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant