feat: add ThoughtProof reasoning verification action provider#1032
feat: add ThoughtProof reasoning verification action provider#1032ThoughtProof wants to merge 3 commits intocoinbase:mainfrom
Conversation
Adds ThoughtProofActionProvider with verify_reasoning action. Runs adversarial multi-model critique before high-stakes agent actions. Returns ALLOW or HOLD with confidence score and key objections.
🟡 Heimdall Review Status
|
|
Updated this branch to align with pot-sdk v2.0 (now live at api.thoughtproof.ai). Changes: • Verdict enum: ALLOW / BLOCK / UNCERTAIN (was ALLOW / HOLD) HOLD and DISSENT are now internal calibration states only — they no longer appear in public API responses. ─── Example usage with AgentKit: const result = await agent.run( const result2 = await agent.run( The action provider calls POST /v1/check before any irreversible execution. BLOCK and UNCERTAIN both prevent the action from proceeding — UNCERTAIN surfaces a human-review prompt instead of a hard stop. |
Add Python implementation of ThoughtProof reasoning verification provider. Actions: - verify_reasoning: Multi-model adversarial consensus via POST /v1/check Returns verdict (ALLOW/BLOCK/UNCERTAIN), confidence, objections - get_verification_receipt: EdDSA-signed receipts via POST /v1/verify Returns JWT receipt for audit trails and on-chain settlement Auth: API key via THOUGHTPROOF_API_KEY env var or constructor param. Tests: 20 test cases covering schemas, init, API success/error, auth. Closes coinbase#980
|
Added Python SDK implementation alongside the existing TypeScript provider. New in this update: Python action provider with two actions:
20 test cases covering schemas, provider init, API success/error, and auth. Both TypeScript and Python SDKs now have ThoughtProof reasoning verification. Auth via |
Summary
New action provider for pre-execution reasoning verification — adversarial multi-model critique before high-stakes agent actions.
Actions
verify_reasoningWhy
Agents executing DeFi transactions, fund transfers, or irreversible actions need a reasoning check layer — not just token safety, but decision quality verification:
verify_reasoning({ claim, stakeLevel: 'high', domain: 'financial' })Design
api.thoughtproof.aiLinks
npx @thoughtproof/mcp-server