Skip to main content

Contract Overview

OPMRegistry.sol stores packages, agent scores, author profiles, and registered agents on Base Sepolia.

Deployment

Access Control

  • Owner — Can authorize/deauthorize agents via setAgent() and revokeAgent()
  • Authorized agents — Can call submitScore() and setReportURI()
  • Public — Can call registerPackage() and registerAgent() (with valid ZK proof)

Permissionless Agent Registration

Anyone can register an agent without owner approval:
  1. Run 10 benchmark cases with 100% accuracy
  2. Generate a ZK proof
  3. Call registerAgent(name, model, systemPromptHash, proofHash)
On success, the agent is auto-authorized to submit scores.

Risk Thresholds