
The Runtime Protocol
for AI Governance
A wire-level specification for how governance signals flow between AI runtimes, control planes, policy engines, and audit ledgers.
AIRGP Specification
Artificial Intelligence Runtime Governance Protocol — wire-level specification for runtime AI governance. Licensed under CC-BY-ND-4.0. Steward: ThinkNEO AI Technology Company Limited (Hong Kong).
1.Abstract
The Artificial Intelligence Runtime Governance Protocol (AIRGP) defines a wire-level protocol for runtime AI governance. AIRGP specifies how governance signals — including policies, guardrail verdicts, telemetry data, audit records, cost accounting events, and provenance attestations — flow between AI runtimes, control planes, policy engines, and audit ledgers.
AIRGP addresses a critical gap in the current AI governance landscape: while organizational frameworks (NIST AI RMF, ISO/IEC 42001) and regulations (EU AI Act) establish what governance outcomes are required, no existing standard defines how governance decisions are communicated, enforced, and recorded at the wire level during AI system execution.
The protocol specifies a JSON-based message format transported over HTTPS (REQUIRED) with optional gRPC support. All messages use the media type application/airgp+json. The protocol defines seven policy primitive types, a tamper-evident audit ledger using SHA-256 hash chains, Ed25519 message signatures, and three conformance levels (Basic, Enterprise, Sovereign).
2.Introduction & Motivation
2.1 The Runtime Governance Gap
Organizations deploying AI systems today face a fragmented landscape of vendor-specific governance implementations. A toxicity verdict from one vendor's guardrail system cannot be understood by another vendor's audit system. The result is governance silos: each AI deployment carries its own bespoke governance implementation, none of which interoperate, and none of which produce audit trails in a common format that regulators can inspect.
2.3 Design Principles
AIRGP is designed according to seven principles:
Vendor-Neutral. Any conformant implementation MUST interoperate with any other conformant implementation at the wire level.
Transport-Agnostic. HTTPS is REQUIRED; gRPC is OPTIONAL. Future versions MAY specify additional transports.
Enterprise-Grade. Designed for production deployments with cost accounting, multi-tenancy, and OpenTelemetry integration.
Auditable. Every governance decision produces a tamper-evident audit record. Hash chains ensure records cannot be modified without detection.
Fail-Closed. When governance cannot be decided, implementations MUST deny the AI operation by default.
Incrementally Adoptable. Three conformance levels allow incremental adoption from Basic through Sovereign.
Consolidating. Builds on prior work — existing policy formats and guardrail implementations can be wrapped with AIRGP adapters.
3.Relation to Prior Work
AIRGP is a consolidator protocol. It provides a unified wire format that allows existing approaches to interoperate.
| Prior Work | Relationship to AIRGP |
|---|---|
| OpenPort (arXiv:2602.20196) | Complementary — AIRGP Routing Rule can express OpenPort-style tool authorization as one of seven primitive types. |
| Policy Cards (arXiv:2510.24383) | Influential — a Policy Card can be compiled into AIRGP Policy Primitives and evaluated at runtime. |
| MI9 (arXiv:2508.03858) | Complementary — MI9 defines the conceptual architecture; AIRGP provides the wire protocol it requires. |
| EU Apply AI Alliance | Direct implementation — "execution-time guardrails" maps to Guardrail Verdict; "runtime audit" maps to Audit Ledger. |
| NIST AI RMF | AIRGP implements the Measure and Manage functions at the wire level. |
| ISO/IEC 42001 | AIRGP provides the technical protocol through which AIMS management decisions are communicated at runtime. |
| EU AI Act (2024/1689) | Compliance Mapping primitive directly maps regulatory requirements (Art. 9, Art. 13, Art. 14) to runtime controls. |
| Anthropic MCP | Orthogonal — MCP governs tool use and context; AIRGP provides the governance envelope surrounding AI operations. |
4.Terminology
The key words MUST, MUST NOT, REQUIRED, SHALL, SHOULD, RECOMMENDED, and OPTIONAL are interpreted per BCP 14 [RFC 2119] [RFC 8174].
Control Plane
Central coordination hub that routes governance signals between Runtime Adapters, Policy Engines, and Audit Ledgers.
Policy Engine
Evaluates Policy Primitives against runtime context to produce Guardrail Verdicts.
Runtime Adapter
Sits between an AI provider SDK and application code; intercepts all AI calls.
Audit Ledger
Tamper-evident, append-only store of governance records in a hash-chained format.
Governance Signal
Any message exchanged via AIRGP. Six signal types: Policy Evaluation, Guardrail Verdict, Audit Record, Telemetry, Cost Event, Provenance Attestation.
Policy Primitive
Single atomic governance rule. Seven types: Guardrail, Routing Rule, Cost Cap, Data Boundary, Provenance Requirement, Rate Limit, Compliance Mapping.
Guardrail Verdict
Result of evaluating Policy Primitives: allow | deny | modify | escalate. MUST include a reason string.
Conformance Level
One of three cumulative tiers: Basic, Enterprise, Sovereign.
5.Conformance Levels
- Implement a Runtime Adapter for at least one AI provider SDK.
- Support Guardrail policy primitives with allow/deny verdicts.
- Generate Audit Records in a hash-chained format with SHA-256 links.
- Sign all Wire Messages using Ed25519.
- Expose /.well-known/airgp over HTTPS.
- Implement fail-closed: if Control Plane is unreachable, deny all AI operations.
- Standalone Policy Engine as a separate service.
- Support all seven policy primitive types.
- Cost accounting with per-request, per-user, per-tenant budget tracking.
- Provenance Attestations for all AI models in use.
- OpenTelemetry export with AIRGP semantic conventions.
- Batch mode for high-throughput deployments (>1000 signals/second).
- Multi-tenancy in the Control Plane.
- Data residency: all signals, audit records, and telemetry stay within geographic boundaries.
- Regulatory mapping: Compliance Mapping primitives reference specific regulatory clauses.
- Sovereign cloud deployment with no external dependencies.
- Key escrow to designated regulatory authorities upon lawful request.
- Real-time regulatory reporting from Audit Ledger.
- Cross-jurisdictional routing: apply the most restrictive policy from all applicable jurisdictions.
6.Architecture
AIRGP defines a four-layer architecture. Each layer has defined responsibilities, interfaces, and interoperability requirements.
+---------------------------------------------------------------------+
| Application Code |
+---------------------------------------------------------------------+
| ^
| AI call (e.g., LLM inference) | Governed response
v |
+---------------------------------------------------------------------+
| RUNTIME ADAPTER (Layer 1) |
| Intercepts AI calls · Attaches governance context · Enforces verdicts
+---------------------------------------------------------------------+
| ^ | ^
| policy_eval | verdict | audit_record | ack
v | v |
+-------------------------------+ +-----------------------------+
| CONTROL PLANE (Layer 2) | | AUDIT LEDGER (Layer 4) |
| Routes signals | | Hash-chained records |
| Distributes policies | | Merkle tree anchoring |
| Fail-closed enforcement | | Query interface |
+-------------------------------+ +-----------------------------+
| ^
| eval_request | eval_result
v |
+-------------------------------+
| POLICY ENGINE (Layer 3) |
| Evaluates primitives |
| Produces verdicts |
| Manages policy lifecycle |
+-------------------------------+Layer 1 — Runtime Adapter
Interception point for all AI operations. Constructs governance context, sends policy evaluation requests to the Control Plane, and enforces verdicts (allow / deny / modify / escalate). On escalation timeout, MUST deny (fail-closed).
Layer 2 — Control Plane
Central hub. Routes signals between all layers. Distributes policy updates within 30 seconds. MUST return deny if no Policy Engine is reachable.
Layer 3 — Policy Engine
Evaluates Policy Primitives and returns verdicts. Stateless evaluation model — each request includes full governance context. Supports hot policy reload without service interruption.
Layer 4 — Audit Ledger
Append-only, hash-chained record store. Supports Merkle tree anchoring at Enterprise/Sovereign. Minimum retention: 365 days. Query interface at /.well-known/airgp/audit.
7.Wire Protocol
7.1 Transport
AIRGP uses HTTPS as the REQUIRED transport. gRPC is OPTIONAL. All endpoints MUST use TLS 1.2 or later. The service discovery endpoint is /.well-known/airgp.
7.2 Wire Message Envelope
{
"airgp_version": "1.0",
"message_id": "uuid-v7",
"timestamp": "2026-05-01T12:00:00.000000000Z",
"source": { "component": "runtime_adapter", "instance_id": "ra-prod-001" },
"destination": { "component": "control_plane", "instance_id": "cp-prod-001" },
"signal_type": "policy_evaluation",
"payload": { ... },
"signature": "base64url-Ed25519-over-canonical-JSON",
"prev_hash": "sha256:a1b2c3d4..."
}The prev_hash for the first message in a chain MUST be sha256:0000...0000 (64 zeroes). This creates a tamper-evident hash chain per component.
7.3 Communication Patterns
Synchronous Request/Response — used for policy evaluation. Runtime Adapter blocks until verdict received. Default timeout: 5 seconds. On timeout: fail-closed (deny).
Asynchronous Fire-and-Forget — used for telemetry, cost events, and audit records. At-least-once delivery via persistent queues or write-ahead logs.
7.4 Error Codes
| Code | Meaning | Action |
|---|---|---|
| AIRGP-4001 | Malformed message | Reject, do not retry |
| AIRGP-4003 | Invalid signature | Reject, log security event |
| AIRGP-4004 | Hash chain broken | Reject, trigger integrity alert |
| AIRGP-5001 | Policy engine unavailable | Deny (fail-closed), retry after delay |
| AIRGP-5002 | Audit ledger unavailable | Deny (fail-closed), buffer locally |
| AIRGP-5004 | Evaluation timeout | Deny (fail-closed), retry with backoff |
8.Policy Primitives
AIRGP v1.0 defines seven policy primitive types. All primitives share a common envelope and are evaluated by Policy Engines to produce verdicts.
8.1 Guardrail
Content-level governance: toxicity filtering, PII detection, output safety.
{
"primitive_type": "guardrail",
"primitive_id": "grd-001",
"config": {
"guardrail_type": "toxicity",
"direction": "output",
"threshold": 0.7,
"action_on_trigger": "deny",
"categories": ["hate_speech", "harassment", "violence"]
}
}8.2 Routing Rule
AI provider and model selection, fallback chains, model attestation verification.
{
"primitive_type": "routing_rule",
"config": {
"primary": { "provider": "anthropic", "model": "claude-sonnet-4-20250514" },
"fallback_chain": [{ "provider": "openai", "model": "gpt-4o",
"condition": "primary_unavailable" }],
"require_model_attestation": true
}
}8.3 Cost Cap
Budget limits at per-request, per-user, and per-tenant levels with soft/hard thresholds.
{
"primitive_type": "cost_cap",
"config": {
"cap_type": "tenant",
"budget_amount": 10000.00,
"budget_currency": "USD",
"budget_period": "monthly",
"soft_limit_percentage": 80,
"action_on_soft_limit": "escalate",
"action_on_hard_limit": "deny"
}
}8.4 Data Boundary
Geographic data residency enforcement and PII masking before AI operations.
{
"primitive_type": "data_boundary",
"config": {
"boundary_type": "geographic",
"allowed_regions": ["eu-west-1", "eu-central-1"],
"denied_regions": ["us-*", "cn-*"],
"pii_handling": "mask",
"pii_categories": ["email", "phone", "national_id"],
"cross_border_policy": "deny"
}
}8.5 Provenance Requirement
Mandates verifiable provenance attestations for AI models. Checks issuer trust and attestation freshness.
{
"primitive_type": "provenance_requirement",
"config": {
"require_model_attestation": true,
"require_fine_tuning_history": true,
"attestation_max_age_days": 90,
"trusted_attestation_issuers": ["anthropic.com", "openai.com"]
}
}8.6 Rate Limit
Throughput limits per user, tenant, or application across requests, tokens, and concurrent sessions.
{
"primitive_type": "rate_limit",
"config": {
"limit_scope": "user",
"limits": [
{ "metric": "requests", "value": 100, "window": "minute" },
{ "metric": "tokens", "value": 100000, "window": "minute" }
],
"action_on_limit": "deny",
"burst_allowance_percentage": 20
}
}8.7 Compliance Mapping
Maps regulatory requirements (EU AI Act, GDPR, NIST) to technical runtime controls. Produces evidence artifacts.
{
"primitive_type": "compliance_mapping",
"config": {
"regulation": "eu_ai_act",
"regulation_version": "2024/1689",
"article": "14",
"requirement_summary": "High-risk AI systems shall allow human oversight",
"technical_controls": [{
"control_type": "escalation",
"trigger": "high_risk_classification",
"action": "escalate",
"escalation_target": "human_reviewer",
"timeout_action": "deny"
}],
"evidence_requirements": ["escalation_count", "human_review_response_time"]
}
}9.Observability Signals
9.1 Required Telemetry Shape
Every Runtime Adapter MUST emit telemetry signals for each AI operation:
{
"operation_id": "op-uuid-v7",
"operation_type": "inference",
"provider": "anthropic",
"model": "claude-sonnet-4-20250514",
"latency_ms": 1234,
"input_tokens": 150,
"output_tokens": 500,
"verdict": "allow",
"verdict_latency_ms": 12,
"policies_evaluated": ["grd-001", "cc-001"],
"tenant_id": "tenant-001",
"application_id": "app-001",
"status": "success"
}9.2 OpenTelemetry Semantic Conventions
At Enterprise/Sovereign levels, implementations MUST export using OTel with AIRGP-specific span attributes:
| Attribute | Type | Description |
|---|---|---|
| airgp.version | string | Protocol version |
| airgp.operation.id | string | UUIDv7 of the AI operation |
| airgp.verdict | string | Governance verdict applied |
| airgp.verdict.latency_ms | int | Policy evaluation latency |
| airgp.tokens.total | int | Total token count |
| airgp.cost.estimated_usd | double | Estimated cost in USD |
| airgp.conformance.level | string | Basic | Enterprise | Sovereign |
Required spans per operation: airgp.governance (root) → airgp.policy_evaluation + airgp.ai_operation + airgp.audit_record.
10.Audit Ledger Format
The Audit Ledger is tamper-evident through three mechanisms: SHA-256 hash chaining, Ed25519 signatures, and Merkle tree anchoring.
{
"record_id": "ar-uuid-v7",
"record_type": "governance_decision",
"timestamp": "2026-05-01T12:00:01.234567890Z",
"operation_id": "op-uuid-v7",
"sequence_number": 42,
"governance_context": {
"user_id": "pseudonymized-hash",
"tenant_id": "tenant-001",
"provider": "anthropic",
"model": "claude-sonnet-4-20250514",
"input_hash": "sha256:...",
"output_hash": "sha256:..."
},
"aggregate_verdict": "allow",
"prev_hash": "sha256:a1b2c3d4...",
"record_hash": "sha256:e5f6a7b8...",
"signature": "base64url-ed25519-signature"
}To verify the audit chain, a verifier MUST: recompute record_hash, check it matches prev_hash of the next record, verify the Ed25519 signature, and confirm sequence numbers are contiguous. Any failure triggers an integrity alert.
At Enterprise/Sovereign, a Merkle tree is computed over batches of 1000 records (default, configurable) and its root published to an RFC 3161 TSA, public blockchain, or regulatory endpoint.
11.Identity & Attestation
Every AIRGP component MUST have a workload identity (component_type, instance_id). Implementations SHOULD use platform-native mechanisms (Kubernetes ServiceAccount, SPIFFE/SPIRE, cloud IAM).
11.4 Model Provenance Attestation
{
"attestation_id": "att-uuid-v7",
"attestation_type": "model_provenance",
"subject": {
"provider": "anthropic",
"model": "claude-sonnet-4-20250514",
"model_hash": "sha256:..."
},
"claims": {
"training_data_cutoff": "2025-04-01",
"safety_evaluations": [{
"evaluation_name": "Responsible Scaling Policy",
"result": "passed"
}],
"prohibited_use_cases": ["weapons_development", "surveillance"]
},
"issuer": { "issuer_id": "anthropic.com" },
"issued_at": "2026-03-15T00:00:00Z",
"expires_at": "2026-09-15T00:00:00Z",
"signature": "base64url-ed25519"
}11.5 Key Rotation
Components MUST support key rotation without service interruption. Old key remains active for 24 hours (configurable overlap). Every rotation is recorded as a system_event audit record. At Enterprise/Sovereign, root CA keys MUST be stored in an HSM.
12.Security Considerations
Control Plane as High-Value Target
Deploy in a private network segment. Administrative access requires MFA. At Enterprise/Sovereign, run in a hardware-attested TEE.
Replay Protection
Hash chain provides replay protection. Recipients SHOULD reject messages with timestamps > 5 minutes old. Maintain a sliding window of 10,000+ message IDs to detect duplicates.
Confidentiality of Governance Signals
All AIRGP signals MUST use TLS 1.2 or later. Audit records and policy configs MUST be encrypted at rest using AES-256-GCM. Certificate pinning RECOMMENDED between components.
Timing Side-Channels
Policy evaluation timing can leak information about applied policies. Add constant-time padding to equalize response times.
Supply-Chain Integrity
Publish cryptographic hashes of all component binaries. Support SBOM in SPDX/CycloneDX format. At Sovereign: reproducible builds + SLSA Level 3.
13.Privacy Considerations
AIRGP is a machine-to-machine protocol. Governance signals MUST NOT contain raw PII. The governance_context.user_id field MUST contain a pseudonymized identifier.
At Sovereign conformance, audit records MUST comply with applicable data protection regulations (GDPR, LGPD). Right-to-erasure requests MUST be supported with hash chain repair (verifiable "compaction" event). Telemetry MUST follow data minimization: no raw AI inputs or outputs — content hashes only.
AIRGP supports the right to explanation (GDPR Art. 22(3), EU AI Act Art. 86): the reason field in every verdict provides a machine-readable explanation. The full evaluation context in the audit record enables post-hoc regulatory inspection.
14.IANA Considerations
This specification requests the following registrations with IANA:
Media type: application/airgp+json — file extension .airgp.json, intended usage: COMMON, change controller: ThinkNEO AI Technology Company Limited.
Well-Known URI: airgp — /.well-known/airgp for service discovery and governance signal exchange, per RFC 8615.
Custom OID: Extended Key Usage OID for AIRGP governance signal signing (assignment pending).
15.References
Normative
Informative
Copyright 2026 ThinkNEO AI Technology Company Limited. Licensed under CC-BY-ND-4.0. AIRGP is a trademark of ThinkNEO AI Technology Company Limited.
// The Gap
Why AIRGP
Every existing AI standard addresses a valid concern. None of them define a wire-level protocol for runtime governance signals.
NIST AI RMF
FrameworkRisk management framework, not wire protocol
EU AI Act
RegulationRegulation/law, not protocol
ISO/IEC 42001
CertificationManagement system certification, not runtime
IEEE 7000
ProcessDesign process standards, pre-deployment
MCP (Anthropic)
Tool ProtocolTool-use protocol, different layer
OWASP LLM Top 10
TaxonomyVulnerability taxonomy, not protocol
AIRGP unifies the runtime governance layer.
A wire-level protocol that defines how governance signals -- policies, guardrail verdicts, telemetry, audit records, cost accounting, provenance attestations -- flow between AI runtimes and their governance infrastructure. Not a framework. Not a regulation. A protocol.
// Protocol Architecture
Four-Layer Governance Stack
AIRGP defines a layered architecture where governance signals flow through four distinct planes, from runtime to ledger.
Audit Ledger
Layer 4Tamper-evident, hash-chained, Merkle-anchored audit records
Policy Engine
Layer 3Evaluates governance policies and emits guardrail verdicts
Control Plane
Layer 2Orchestrates governance signal flow between components
Runtime Adapter
Layer 1Bridges AI runtimes to the governance protocol layer
Media Type
application/airgp+json- Workload identity for all governance actors
- Cryptographic policy signing
- Provenance attestation chains
- Mutual TLS between governance endpoints
All AIRGP governance signals map to OpenTelemetry spans and metrics. Traces carry governance context across service boundaries. Audit events are emitted as structured log records with hash-chain references.
// Policy Primitives
Seven Policy Primitives
Guardrails
Input/output policy enforcement at wire level
Routing Rules
Traffic steering based on governance signals
Cost Caps
Per-request and per-session cost accounting
Data Boundaries
Data residency and boundary enforcement
Provenance Requirements
Cryptographic attestation of AI models and outputs
Rate Limits
Throughput limits per user, tenant, or application across requests, tokens, and concurrent sessions
Compliance Mapping
Maps regulatory requirements (EU AI Act, GDPR, NIST) to technical runtime controls with evidence artifacts
// Conformance Levels
Three Tiers of Conformance
AIRGP conformance follows the Bluetooth SIG model -- implementations must pass conformance testing and obtain a license to claim compliance.
Basic
Essential runtime governance signals
- JSON/HTTPS transport (MUST)
- Guardrail request/response cycle
- Basic telemetry emission
- Audit event logging
- Policy acknowledgment signals
Enterprise
Full policy engine + audit ledger integration
- Everything in Basic
- Full policy engine integration
- Hash-chained audit ledger
- Workload identity & mTLS
- OpenTelemetry governance spans
- Cost accounting signals
- Provenance attestation
Sovereign
Data residency, regulatory compliance, sovereign cloud
- Everything in Enterprise
- Data residency enforcement
- Regulatory compliance signals
- Sovereign cloud support
- Merkle-anchored audit proof
- Cross-jurisdiction attestation
- National AI policy mapping
Following the Bluetooth SIG model, the AIRGP Conformance License grants implementors the right to claim AIRGP compliance after passing conformance testing. The license is free for Basic, fee-based for Enterprise and Sovereign.
The conformance test suite and the formal application portal will launch alongside the v1.0 final specification. To register interest in conformance certification, to discuss tier suitability, or to coordinate as a founding implementer, contact licensing@thinkneo.ai.
Authors of prior work cited in §3 of the specification (OpenPort, Policy Cards, MI9) are invited to join the founding Steering Committee — direct outreach is in progress.
// Layered Governance
AIRGP + A2ASTC
Two complementary protocols that together provide complete AI governance coverage: per-agent and per-team.
AIRGP
Per-Agent GovernanceEvery AI runtime participant carries AIRGP governance signals at all times. Guardrails, cost caps, provenance, and audit records flow continuously through every request.
- Wire-level governance signals
- Per-request policy enforcement
- Continuous audit trail
- Individual agent compliance
A2ASTC
Per-Team ComplianceA2ASTC activates when two or more agents form a bidirectional A2A pair. It governs team-level compliance, delegation rules, and cross-agent accountability.
- Team-level compliance rules
- Bidirectional A2A pair governance
- Delegation and accountability chains
- Multi-agent coordination compliance
// About AIRGP
Stewardship, Not Ownership
AIRGP is stewarded by ThinkNEO as a public specification. The protocol is openly published; implementations require conformance licensing.
Protocol Steward
ThinkNEO AI Technology Company LimitedThinkNEO acts as steward, not vendor. The protocol specification is openly published under CC-BY-ND-4.0. ThinkNEO maintains the conformance testing suite, chairs the initial steering committee, and provides the first reference implementation.

NVIDIA Inception
Member of the NVIDIA Inception Program
Published openly under Creative Commons Attribution-NoDerivatives 4.0.
CC-BY-ND-4.0Require an AIRGP Conformance License to claim compliance. Modeled after the Bluetooth SIG licensing framework.
AIRGP Conformance LicenseThe AIRGP Steering Committee will include representatives from industry, academia, and government. Composition and charter details will be published alongside the v1.0 final specification.
Coming SoonSubscribe to receive updates on AIRGP specification releases, conformance testing availability, and steering committee announcements.