TORKING-X Metrics
A standardized 9-metric system for measuring AI governance health. Track your score over time to measure and improve governance.
Overview
TORKING-X provides a comprehensive, weighted scoring system that evaluates 9 dimensions of AI governance. Each metric is scored 0-100 and weighted based on its importance to overall governance health.
Your TORKING-X Score
View in DashboardExample score. Your actual score is calculated based on your configuration and usage.
Score Calculation
The overall TORKING-X score is a weighted average of all 9 metrics:
TORKING-X = (T × 0.10) + (P × 0.15) + (E × 0.10) + (Q × 0.15) +
(C × 0.15) + (S × 0.10) + (L × 0.10) + (M × 0.10) + (H × 0.05)| Score Range | Grade | Description |
|---|---|---|
| 90-100 | A | Excellent - Industry-leading governance |
| 80-89 | B | Good - Strong governance practices |
| 70-79 | C | Fair - Room for improvement |
| 60-69 | D | Needs Work - Significant gaps |
| <60 | F | Critical - Immediate action required |
The 9 Metrics
Tamper-Evidence
10% weightMeasures the integrity of your audit logs and chain verification.
Privacy Protection
15% weightEvaluates PII detection and redaction effectiveness.
Ephemeral Identity
10% weightAssesses session isolation and credential management.
Quality Guardrails
15% weightMeasures output validation and safety checks.
Circuit Breakers
15% weightEvaluates failure handling and recovery mechanisms.
Supply Chain
10% weightAssesses dependency security and verification.
Tool Safety
10% weightMeasures tool governance and permission controls.
Memory Integrity
10% weightEvaluates memory trust and drift detection.
HITL Enforcement
5% weightAssesses human oversight and approval workflows.
API Access
TORKING-X scores are computed server-side from the governance activity Tork has recorded for your organisation, so they are read back from the cloud API rather than from an SDK running on your machine.
There is no Python cloud client — @torknetwork/sdk is npm-only. From Python, call the REST endpoint with a Bearer token. Note that tork-governance (the on-device family, entry class Tork) is a different package and does not read scores.
import os
import requests
resp = requests.get(
"https://tork.network/api/v1/reports",
headers={"Authorization": f"Bearer {os.environ['TORK_API_KEY']}"},
params={"action": "torking"},
timeout=10,
)
resp.raise_for_status()
data = resp.json()
scores = data["torkingScores"]
print(f"Overall Score: {scores['overall']}/100")
print(f"Period: {data['period']['start']} to {data['period']['end']}")
print()
print("Individual Metrics (score, weight, label):")
for key in [
"tamperEvidence", "privacyProtection", "ephemeralIdentity",
"qualityGuardrails", "circuitBreakers", "supplyChain",
"toolSafety", "memoryIntegrity", "hitlEnforcement",
]:
m = scores[key]
print(f" {key}: {m['score']} (weight {m['weight']}) - {m['label']}")From JavaScript or TypeScript the same key works with the cloud SDK:
// npm install @torknetwork/sdk
import { TorkClient } from '@torknetwork/sdk';
const client = new TorkClient({ apiKey: process.env.TORK_API_KEY });
// TorkClient covers the governance surface (govern, evaluate, redact,
// getAuditLogs). Scores are read from the reports endpoint directly:
const res = await fetch('https://tork.network/api/v1/reports?action=torking', {
headers: { Authorization: `Bearer ${process.env.TORK_API_KEY}` },
});
const { torkingScores } = await res.json();
console.log(torkingScores.overall);Improving Your Score
The dashboard provides specific recommendations for each metric. Common improvements include:
- T:Enable chain verification for audit logs
- P:Add PII scanning to all agent interactions
- E:Use ephemeral credentials instead of long-lived tokens
- Q:Enable jailbreak detection and output validation
- C:Configure fallback chains for all providers
- S:Register and verify all dependencies
- L:Add governance policies for all tools
- M:Enable memory snapshots and drift detection
- H:Require HITL for critical actions