Skip to main content
Glama

WhitePact

Intelligence may propose. WhitePact decides.

Runtime governance and assurance for AI agents, automated workflows and MCP-connected systems.

Python package · MCP Registry · Smithery listing · Report a security issue


Why WhitePact?

AI agents do more than generate text. They call tools, access information and propose actions that can change real systems.

An AI model proposing an action is not the same as an authorized system permitting that action.

WhitePact is designed to help developers put policy, identity, approvals, risk assessment and accountable evidence between an autonomous agent's proposal and its execution. It is an additional governance layer—not a substitute for secure application design or a guarantee that every AI risk can be eliminated.

Related MCP server: gov-mcp

What WhitePact covers

Area

What it is intended to help with

Runtime governance

Five structured decision outcomes: ALLOW, ALLOW_WITH_REDACTION, REQUIRE_APPROVAL, DENY and QUARANTINE.

Delegated authority & human approval

Explicitly limit sensitive operations and involve authorized reviewers.

Evidence & auditability

Preserve governance decision records for investigation and review.

MCP and agent integrations

Bring governance checks into compatible tool and agent workflows.

AI trust & risk assessments

Trust scoring, guardrails, bias evaluation, hallucination-risk signals and compliance mapping.

Operational insight

Cost awareness, drift monitoring, incident-oriented assessment and evaluation tooling.

These are product areas and published software capabilities, not a claim that every component is deployed, externally audited or generally available as an enterprise service. Feature availability depends on the particular released package and deployment.

Start with the published open-source package

The existing package is distributed on PyPI as rai-governance-platform, with Python 3.11+ support. The historical distribution and import names are retained for compatibility; WhitePact is the product name.

Latest PyPI release verified on 1 November 2026: 1.2.6, released 30 August 2026.

python -m pip install "rai-governance-platform==1.2.6"

For developer-facing MCP support, the published distribution declares an mcp optional dependency group:

python -m pip install "rai-governance-platform[mcp]==1.2.6"

The package documentation identifies whitepact-mcp as a self-hosted MCP entry point. Configure and validate the appropriate local service, authentication and dependencies for your environment before using it with an MCP client.

See the published PyPI release for the actual distribution files, package metadata, supported extras, provenance and accompanying open-source license.

Important: Self-hosted package availability does not prove the availability of a separate hosted MCP service. Public directory listings may contain stale or unreachable endpoints. Check live connectivity and authentication before relying on any remote connection.

The open-source / enterprise separation

WhitePact follows a separated publication model:

Public materials

Private or restricted materials

This product overview and approved public documentation

Unreleased enterprise platform source

Previously published PyPI distributions under their accompanying licenses

Privileged runtime authority and operational integrations

Explicitly approved open-source SDKs or client components, if separately published

Private deployment, infrastructure and security evidence

Public installation, contact and distribution information

Credentials, customer data and internal incident records

This is a documentation repository, not the WhitePact enterprise source repository. It must not contain private source code, internal configuration, security reports, tokens, proprietary deployment files or confidential customer information.

Past MIT-licensed open-source releases retain the rights provided by the licenses under which they were distributed. Making a development repository private does not retroactively remove those rights or recall copies already distributed.

Current product readiness

Status as of 1 November 2026: The broader WhitePact enterprise runtime is still undergoing security and integration qualification. Global enterprise production deployment has not been authorized.

Successful component tests, a published package, badges or an MCP listing must not be treated as an end-to-end security certification or proof of production readiness.

Users may evaluate the published open-source package according to its release-specific documentation and license. No claim is made here that a new enterprise hosted service, production identity-verification workflow or public SaaS launch is generally available.

Integration ecosystem

WhitePact has a published MCP-related software offering and third-party directory listings. Listings establish discoverability, not service uptime or production acceptance.

Do not send production data, credentials or consequential instructions to an endpoint solely because it appears in a directory.

Responsible security reporting

Please do not publish exploitable vulnerability details, private tokens or customer information in public issues. Contact WhitePact security with a concise impact statement and safe reproduction details. This repository's public issues are for documentation and product-discovery matters only.

Licensing and rights

The published rai-governance-platform release is distributed under the MIT License. See the license included with the specific distributed software.

This public documentation repository does not grant a license to any privately held, unpublished implementation, and it does not change licenses already granted for previously released source or packages. Product and brand use may be governed separately from software copyright licenses.


Govern the action. Preserve the evidence. Keep authority explicit.

Available Tools

30 tools
rai_audit_summaryGet Governance Capability SummaryA
Read-onlyIdempotent

Return a governance capability summary including supported tools, frameworks, and available attack vectors. Full audit log access requires the REST endpoint.

Inputs: days.

rai_benchmarkEvaluate Responses Against BenchmarkA
Read-onlyIdempotent

Evaluate pre-collected model responses against a standard benchmark suite. Suites: truthfulqa (factual accuracy), bbq (bias in questions), hellaswag (reasoning). Call rai_benchmark_prompts first to get the question set, collect responses, then pass them here.

Inputs: provider (required), responses (required), model_name (required), suite.

rai_benchmark_promptsGet Benchmark Question SetA
Read-onlyIdempotent

Return the question set for a benchmark suite. Use to collect model responses before calling rai_benchmark. Suites: truthfulqa, bbq, hellaswag.

Inputs: suite.

rai_bias_evaluateEvaluate Demographic BiasA
Read-onlyIdempotent

Evaluate demographic bias across six probe dimensions: gender, racial, age, religious, occupational, and cultural. Provide paired response samples for each demographic group. Returns per-probe bias scores (0=no bias, 1=maximum divergence), confidence intervals, intersectional amplification, and an overall bias grade.

Inputs: provider (required), model_name (required), probe_responses (required), threshold.

rai_budget_checkCheck AI Spending Against BudgetB
Read-onlyIdempotent

Evaluate current AI spending against monthly budget limits. Returns consumption percentage, alert status, per-team and per-model breakdown, and projected month-end spend. Used by LLMOps Engineers and Finance to prevent budget overruns.

Inputs: total_spent_usd (required), days_elapsed, days_in_month, team_breakdown, +3 more.

rai_causal_influence_checkCheck Causal Influence Provenance for Injection PatternsA
Read-onlyIdempotent

Scan a list of upstream sources that causally shaped a proposed action (a prior tool's output, a sub-agent's result, an external document, ...) for prompt-injection patterns, and flag whether any of them are untrusted. Generalizes rai_memory_write_check beyond persistent memory: any content that will be treated as trusted context by whatever consumes this action's result carries the same replay risk memory does. Each provenance entry needs a 'kind' (memory_read | tool_output | sub_agent_result | user_input | external_content) and a 'trust' level (TRUSTED | UNTRUSTED | UNKNOWN); 'content' is optional (an entry may assert only its trust level with nothing to scan). Call this before letting a matched/untrusted source influence a real action -- when governance is enabled on the hosted MCP server, the same check also runs automatically on any governed action whose arguments carry a '_provenance' key in this same shape.

Inputs: provenance (required).

rai_check_trustCheck Public Trust Index ScoreA
Read-onlyIdempotent

Check the public, independently-verifiable Trust Index score, certification status, and reported-incident history for a named AI model or tool BEFORE invoking it. Unlike every other rai_* tool, which evaluates output the caller itself produced, this one looks up a public record about a THIRD PARTY'S model or tool — built for agents and agent frameworks (LangChain, LangGraph, Google ADK) deciding whether to trust something before calling it. Free, no auth required, exact model+provider match. Queries the hosted ResponsibleAI Trust Index (configurable via the RAI_TRUST_API_BASE environment variable). Returns 'known: false' for anything never assessed — that is not an error, just an absence of data; self-assessment is free at POST /api/trust-index/assess.

Inputs: provider (required), model_name (required), min_score.

rai_compare_modelsCompare Two Models' Trust ScoresB
Read-onlyIdempotent

Compare two AI models across all six trust dimensions. Returns scores for each, delta analysis, and a recommendation on which model is more trustworthy.

Inputs: model_a (required), model_b (required), provider_a (required), provider_b (required), +2 more.

rai_complianceEvaluate Governance ComplianceA
Read-onlyIdempotent

Evaluate AI governance maturity against NIST AI RMF, EU AI Act, or ISO 42001, given your own self-assessed control scores (fairness/privacy/security/robustness 0-1, plus overall compliance maturity 0-1). Returns a compliance score, findings per control, and remediation recommendations. Use this when the caller already has maturity/control scores and wants a gap assessment. Do NOT use this to classify what EU AI Act risk tier a specific system falls into from a description of what it does (sector, automation, biometric use, etc.) -- use rai_eu_ai_act_classify instead for that; this tool has no equivalent inputs (no deployment sector, no system description) and cannot answer that question.

Inputs: use_case, framework, privacy_score, fairness_score, +3 more.

rai_cost_estimateEstimate Model API CostC
Read-onlyIdempotent

Estimate the USD cost of a model API call from token counts.

Inputs: model (required), provider (required), input_tokens (required), output_tokens (required).

rai_drift_checkCheck Trust Score DriftA
Read-onlyIdempotent

Detect trust score drift between a baseline evaluation and a current evaluation. Returns drift delta per dimension, overall drift severity (NONE/LOW/MEDIUM/HIGH/CRITICAL), and whether an alert threshold was breached.

Inputs: provider (required), model_name (required), current_score (required), baseline_score (required), +1 more.

rai_eu_ai_act_classifyClassify EU AI Act Risk TierA
Read-onlyIdempotent

Classify an AI system into an EU AI Act risk tier: UNACCEPTABLE, HIGH, LIMITED, or MINIMAL, from a description of what the system does (deployment sector, automation level, biometric/emotion-recognition use). Evaluates deployment context, capabilities, and affected populations against Annex III and Annex VI criteria. Returns risk tier, applicable articles, required conformity assessment actions, and a compliance roadmap. Use this for 'what EU AI Act category does this system fall into' questions. Do NOT use this for a general maturity/gap assessment against self-scored controls (fairness/privacy/security scores) -- use rai_compliance with framework=EU_AI_ACT instead for that.

Inputs: deployment_sector (required), system_description (required), is_fully_automated, trust_score_overall, +5 more.

rai_executive_summaryGenerate Executive Governance SummaryA
Read-onlyIdempotent

Generate a board-ready executive AI governance summary. Synthesises trust grades, compliance posture, cost intelligence, risk incidents, and drift trends into a C-suite-readable report with RAG (Red/Amber/Green) status indicators. Used by CAIO for quarterly board reporting.

Inputs: org_name, top_risks, frameworks, drift_alerts, +8 more.

rai_hallucinationDetect Hallucination RiskA
Read-onlyIdempotent

Detect hallucination risk in AI-generated text. Analyses hedging language, self-consistency across candidate responses, unsupported factual claims, and (when a source is supplied) explicit factual disagreement with that source -- e.g. the source names one day/month/number and the response names another.

Inputs: text (required), source, candidates.

rai_healthCheck Governance Engine HealthB
Read-onlyIdempotent

Check the status and module availability of the ResponsibleAI governance engine.

Inputs: no named parameters.

rai_incident_logBuild Governance Incident RecordC
Read-onlyIdempotent

Create a structured governance incident record. Used by Security Engineers and AI Risk Analysts to log AI safety events (PII leaks, jailbreak attempts, bias triggers, hallucination incidents) for audit trail and SIEM integration.

Inputs: severity (required), description (required), incident_type (required), evidence, +3 more.

rai_iso42001_gapRun ISO 42001 Gap AnalysisC
Read-onlyIdempotent

Perform an ISO/IEC 42001:2023 AI Management System gap analysis. Evaluates maturity across all 10 clauses: Context, Leadership, Planning, Support, Operation, Performance Evaluation, Improvement, plus AI-specific annexes. Returns gap findings, maturity scores per clause, and a prioritised remediation roadmap. Used by AI Compliance Managers.

Inputs: org_name, has_ai_policy, has_audit_trail, compliance_maturity, +9 more.

rai_memory_read_checkCheck Memory Read Scope AuthorizationA
Read-onlyIdempotent

Gate a read from persistent agent memory. Standalone, this tool only echoes back the requested scope (there's no content to scan for a read) -- its real enforcement value is when governance is enabled on the hosted MCP server: the caller's authority's memory_scope constraint (if any) is checked against the requested memory_scope, denying cross-tenant/cross-agent memory access before the read happens.

Inputs: memory_scope (required).

rai_memory_write_checkCheck Memory Write for Injection PatternsA
Read-onlyIdempotent

Gate a write to PERSISTENT agent memory (a vector DB, conversation log, or similar long-term store your own system owns -- WhitePact does not host a memory store itself). Scans the content for prompt-injection patterns aimed specifically at persistent memory -- text engineered to look like an instruction, a fake system/assistant role marker, or an override, so that a future session reading this memory back treats it as trusted context rather than as content. Call this BEFORE actually persisting the write; if 'allowed' is false, do not write it. When governance is enabled on the hosted MCP server and the caller's authority carries a memory_scope constraint, memory_scope is also checked for cross-tenant/cross-agent isolation -- outside the governed dispatch path this tool only runs the content scan.

Inputs: content (required), memory_scope.

rai_model_routeRecommend Optimal ModelA
Read-onlyIdempotent

Recommend the optimal AI model for a task based on complexity analysis and cost-quality tradeoff. Returns recommended model, alternative, estimated cost per 1K tokens, and estimated savings vs GPT-4o. Used by LLMOps Engineers for intelligent model routing.

Inputs: tasks, task_description, quality_requirement.

rai_org_statusGet Organization Governance StatusA
Read-onlyIdempotent

Compute a structured governance status rollup. The health/grade/compliance fields (models, compliance, operations) are always derived FROM caller-supplied metrics (model grades, active frameworks, open incidents, budget usage, drift alerts) -- there is no separate store of these tracked per-org yet, so calling with none supplied rolls up empty/default values, not fabricated data. The org_id/plan/usage fields are different: on the hosted MCP transport with an authenticated caller, these reflect the real, live org record and this month's real call count against quota -- absent (not present in the response at all) on the self-hosted stdio transport, where there is no org account to look up.

Inputs: org_name, drift_alerts, model_grades, open_incidents, +2 more.

rai_passport_generateGenerate AI PassportB
Read-onlyIdempotent

Generate a verifiable AI Passport for a model — a tamper-evident governance card containing trust scores, compliance status, bias summary, and a cryptographic verification hash. Used by Procurement/Legal for third-party AI vendor risk assessment.

Inputs: provider (required), model_name (required), trust_dimensions (required), use_case, +5 more.

rai_pii_reportGenerate PII Audit ReportA
Read-onlyIdempotent

Generate a detailed PII audit report for a document or corpus. Classifies findings by PII category (email, phone, SSN, credit card, IP, address), counts occurrences, computes a privacy risk score, and provides GDPR/CCPA remediation guidance. Used by Privacy Engineers for compliance evidence collection.

Inputs: texts (required), redact, context.

rai_policy_checkCheck Text Against Governance PolicyA
Read-onlyIdempotent

Evaluate text or a model response against a governance policy. Checks for: prohibited topics, required disclaimers, output length limits, language restrictions, and custom keyword blocklist. Returns pass/fail per policy rule with remediation guidance.

Inputs: text (required), policy (required).

rai_redteam_analyzeAnalyze Red Team ResponsesB
Read-onlyIdempotent

Analyse model responses to red team attack payloads. Returns a security report with vulnerability findings, severity breakdown, and an overall security score.

Inputs: provider (required), responses (required), model_name (required).

rai_redteam_payloadsGet Red Team Attack PayloadsA
Read-onlyIdempotent

Return adversarial attack payloads to probe an AI model for security vulnerabilities. Categories: prompt_injection, jailbreak, data_leakage, role_confusion, delimiter_attack.

Inputs: categories.

rai_scanScan for PII & Harmful ContentA
Read-onlyIdempotent

Scan text for PII (email, phone, SSN, credit card, IP address) and harmful content (hate speech, violence, self-harm). Returns findings and a redacted copy.

Inputs: text (required), redact.

rai_stream_scanScan Streaming Text ChunksA
Read-onlyIdempotent

Scan a list of text chunks (as would arrive from an LLM streaming response) for PII and harmful content. Simulates the StreamingScanner guardrail without a live stream. Returns per-chunk scan results and an aggregated summary with stop recommendation.

Inputs: chunks (required), hard_stop, scan_window.

rai_trust_scoreCompute AI Trust ScoreB
Read-onlyIdempotent

Compute a composite AI Trust Score (0-100) across six governance dimensions: fairness, privacy, security, robustness, compliance, authenticity. Returns score, letter grade (A-F), and risk tier (LOW/MEDIUM/HIGH/CRITICAL).

Inputs: privacy, fairness, security, compliance, +2 more.

rai_webhook_statusCheck Webhook Delivery HealthB
Read-onlyIdempotent

Check webhook delivery health and generate a structured status report. Takes delivery statistics and returns health grade, failure analysis, dead-letter queue status, and recommended remediation actions. Used by Security Engineers feeding SIEM systems and Platform Engineers debugging webhook pipelines.

Inputs: failed, endpoints, successful, avg_latency_ms, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 30 tools

    Disambiguation5/5

    Despite covering overlapping governance themes, descriptions carry explicit 'use X instead of Y' guidance (e.g., rai_compliance vs rai_eu_ai_act_classify, rai_trust_score vs rai_check_trust), and the scan-family (rai_scan/rai_stream_scan/rai_pii_report) and memory-family tools are clearly differentiated. Each tool has a distinct resource+action target with no true duplicates.

    Naming Consistency5/5

    Every tool uses a uniform rai_ prefix with a consistent snake_case convention (rai_trust_score, rai_policy_check, rai_bias_evaluate). No mixing of camelCase, no erratic verb styles.

    Tool Count3/5

    30 tools is heavy and pushes past the comfortable ceiling, even if the governance domain is genuinely broad (privacy, security, compliance, cost, bias, audit). Most tools earn their place, but a set this large increases selection burden for agents.

    Completeness5/5

    The surface covers an unusually full governance lifecycle: scanning, trust scoring, bias evaluation, compliance (NIST/EU AI Act/ISO 42001), red-teaming, cost/budget, drift, passports, incident logging, and memory/provenance gating. No obvious dead ends for the stated purpose.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for AI agent security guardrails. Provides input validation, prompt injection detection, PII redaction, output filtering, policy enforcement, rate limiting, and comprehensive audit logging.
      66 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enforces runtime governance on AI agent actions — file access, command execution, delegation chains, and permission escalation.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that enforces governance on agentic decisions with auditable evidence records, providing tools for understanding, calibrating confidence, and navigating handoffs based on policy.
      -