Skip to main content

Compliance Verification

Automated verification that your AI agents follow policies

MeetLoyd's Compliance Verification system provides continuous, automated monitoring to ensure your AI agents operate within defined policies. Get mathematical confidence that your agents are compliant—without manually reviewing every action.

Overview

The Compliance Verification system allows you to:

  • Define compliance policies with rules your agents must follow
  • Automatically verify agent behavior against those rules
  • Get confidence scores on compliance levels
  • Receive alerts when violations are detected
  • Enforce actions automatically (warn, pause, or block)
Key Concept

MeetLoyd uses statistical sampling to verify compliance efficiently. You don't need to review every action—our system provides high-confidence verification with minimal overhead.

Accessing Compliance Verification

Navigate to Governance → Compliance Verification in the dashboard.

Creating a Policy

Step 1: Define the Policy

FieldDescription
NameDescriptive name (e.g., "No PII in responses")
Categoryregulatory, operational, security, or ethical
ScopeTenant-wide, specific team, or specific agent

Step 2: Add Predicates

Predicates are the rules your agents must follow:

Rule-based predicates:

Field: outcome
Operator: equals
Value: success

Pattern-based predicates:

Field: response.content
Pattern: \b\d{3}-\d{2}-\d{4}\b (SSN pattern)
Should Match: No

Threshold predicates:

Metric: tokensUsed
Operator: less_than
Value: 10000

Step 3: Configure Verification

SettingOptionsRecommended
FrequencyContinuous, Hourly, DailyHourly for most use cases
Confidence LevelStandard, High, Very HighHigh for regulated industries
EnforcementAudit, Warn, BlockWarn initially, Block for critical policies

Verification Results

Each verification produces:

  • Compliance Rate: Percentage of sampled actions that passed
  • Confidence Interval: Statistical bounds on true compliance
  • Verdict: compliant, non_compliant, or inconclusive
  • Evidence: Details on any violations found

Verdicts Explained

VerdictMeaningAction
CompliantHigh confidence agents are following policyNo action needed
Non-CompliantViolations detected above thresholdReview and remediate
InconclusiveNot enough data for confident verdictWait for more samples

Enforcement Modes

ModeBehaviorUse Case
AuditLog only, no interventionTesting new policies
WarnSend alerts, allow operationsMost production policies
BlockPause team until resolvedCritical compliance requirements

API Integration

Get Policy Status

GET /api/pvp/policies/:policyId/status

Response:

{
"policy": {
"id": "policy_xxx",
"name": "No PII in responses",
"status": "active"
},
"latestResult": {
"verdict": "compliant",
"complianceRate": 0.98,
"confidenceLevel": 0.95,
"verifiedAt": "2026-01-26T10:00:00Z"
},
"nextVerificationAt": "2026-01-26T11:00:00Z"
}

Trigger Manual Verification

POST /api/pvp/policies/:policyId/verify

Get Verification History

GET /api/pvp/policies/:policyId/history?limit=50

Best Practices

For Startups

  • Start with a few critical policies
  • Use "Audit" mode while tuning
  • Focus on security and data protection

For Enterprises

  • Create policies for each regulatory requirement
  • Use "Warn" mode with escalation to compliance team
  • Enable continuous verification for critical policies

For Regulated Industries

  • Map policies to specific regulations (GDPR, HIPAA, etc.)
  • Use "Block" enforcement for critical violations
  • Maintain verification history for audits