nti-spec

NTI-1 Specification: Neutral Trust Infrastructure — Specification 1

License: Community Specification License 1.0 (CSL) Version: 1.0.0-draft

Status (read first). This is a draft proposal (version 1.0.0-draft) under public discussion, principally in the W3C AI Agent Protocol Community Group (public-agentprotocol). It is not a ratified standard and not the output of any accredited standards-development organization. Normative language (MUST/SHOULD) should be read as proposal language pending community review.

Table of Contents

  1. Introduction
  2. Terminology
  3. The 5 Pillars & Data Structures
  4. Compliance Levels
  5. Testable Requirements
  6. Runtime Halt & Revocation (LGD State Machine)
  7. Ecosystem Interoperability (ASL Conformance Kit)
  8. Reference Implementation
  9. Certification Process
  10. Governance
  11. Security Considerations
  12. Appendix

1. Introduction

This document specifies NTI-1, a draft specification for post-quantum, zero-trust governance of autonomous AI agents. NTI-1 defines formal technical requirements across five core pillars, establishing verifiable trust, non-repudiation, and BFT multi-agent consensus for enterprise deployment environments.

2. Terminology

3. The 5 Pillars & Data Structures

3.1 Pillar 1: Principal-Bound Identity

Requirement: Every agent MUST possess a principal-bound identity that cryptographically ties its actions to a responsible legal party (human or enterprise).

Specification:

Rationale: An AI agent is code and lacks legal standing. Cryptographic identity must bind agent actions to a responsible legal principal.

3.2 Pillar 2: Governance

Requirement: Every agent action MUST be evaluated against a policy before execution.

Specification:

3.3 Pillar 3: Consensus

Requirement: In multi-agent systems, decisions affecting high-value actions MUST require Byzantine Fault Tolerant consensus.

Specification:

3.4 Pillar 4: Audit

Requirement: Every evaluated action MUST be recorded in a tamper-evident audit trail.

Specification:

3.5 Pillar 5: Persistence

Requirement: Agent state and audit trails MUST persist across restarts with self-verifying integrity.

Specification:

3.6 Data Structures

This section defines the canonical data structures for delegations and invocations within NTI-1.

3.6.1 Capability Delegation

A delegation issues authority from an issuer principal to a subject agent, attaching attenuation rules and caveats.

{
  "delegation_id": "del-8f2a1b9c-44e2-411a-8bb7-d4f107f9104a",
  "issuer": "did:nti:principal:org-corp-enterprise-99",
  "subject": "did:nti:agent:ag-8834-worker-finance",
  "resource": "arn:nti:resource:ledger/treasury/*",
  "actions": [
    "transfer",
    "query_balance"
  ],
  "attenuation": {
    "expires_at": "2026-11-06T00:00:00Z",
    "valid_after": "2026-11-05T00:00:00Z",
    "max_executions": 50,
    "value_limit": {
      "currency": "USD",
      "max_amount_per_action": 10000,
      "total_cumulative_limit": 50000
    },
    "path_restricted": [
      "/accounts/operations/*"
    ]
  },
  "revocation_registry_uri": "urn:nti:revocation-registry:merkle-root",
  "algorithm": "CRYSTALS-Dilithium5",
  "issuer_signature": "3045022100e4...dsa87_signature_bytes..."
}

3.6.2 Capability Invocation

An invocation passes capability delegation chains alongside concrete operation arguments, explicitly conveying resource references as arguments to prevent confused deputy attacks.

{
  "invocation_id": "inv-20261105-9988-410a-b31c-ef80918ca120",
  "target_service": "arn:nti:service:treasury-dispatcher",
  "operation": "transfer",
  "arguments": {
    "source_resource_ref": "arn:nti:resource:ledger/treasury/operating-account",
    "destination_resource_ref": "arn:nti:resource:ledger/treasury/settlement-account",
    "amount": 2500,
    "currency": "USD",
    "memo": "Supplier settlement #48102"
  },
  "delegation_chain": [
    "del-8f2a1b9c-44e2-411a-8bb7-d4f107f9104a"
  ],
  "invoker_id": "did:nti:agent:ag-8834-worker-finance",
  "timestamp": "2026-11-05T14:30:00Z",
  "algorithm": "CRYSTALS-Dilithium5",
  "invoker_signature": "3046022100c8...agent_secret_key_signed_invocation..."
}

3.7 The NTI Sidecar

The NTI sidecar sits between the agent and the network. It addresses two primary threats: agents going rogue and agents failing to keep secrets. The sidecar holds the agent’s secret keys, signs on behalf of the agent, and enforces a policy on what goes in and out of the agent. The agent itself never has access to the raw secret keys, protecting it from prompt injection attacks that attempt to exfiltrate credentials.

flowchart LR
    AGENT["Agent"] -->|"action request (unsigned)"| SIDECAR["NTI Sidecar"]
    SIDECAR -->|"signed action + policy check"| NETWORK["Network / Target Resource"]
    NETWORK -->|"response"| SIDECAR
    SIDECAR -->|"policy-filtered response"| AGENT
    KEYS["Agent secret keys (ML-DSA-87 (Dilithium5))"] -.->|"held by, never exposed to agent"| SIDECAR

4. Compliance Levels

5. Testable Requirements

(Implementation MUST pass these tests to claim compliance)

6. Runtime Halt & Revocation (LGD State Machine)

To enforce continuous runtime revocation without corrupting atomic execution, NTI-1 standardizes the LGD (Lifecycle Governance Domain) state machine sequence:

REGISTERED -> GATE_PASSED -> ACTIVE -> ANOMALY -> PAUSE -> ROLLBACK -> REVERIFY -> RESUMED

Reference (draft for comment). The state-machine logic and the resume_basis field below are drawn from the NTI x LGD transition-contract spec - v0.1.4, prepared by Xinghua Zhao (2026-10-30). That document is draft for comment and explicitly “not agreed” by either side (see its sec.0.1 / sec.0.3); it carries no standards-body weight outside its originating thread. It is linked here as a working reference for implementers, not as a ratified normative annex. Canonical, byte-for-byte copy: https://github.com/zhaoxinghua09-cell/nti-lgd-transition-contract/blob/679b6e4445fb84e26cc051cda3b0ebed3d5526c3/nti-transition-contract-spec-v0.1.4.md

6.1 Fail-Closed Semantics (incomplete_check)

When a revocation registry or trust authority is unreachable, the system MUST enforce fail-closed execution.

Revocation Registry vs. Trust Registry: A Revocation registry is an authenticated Merkle accumulator publishing cryptographic proofs of revoked delegations and invalidated auth secret keys (dynamic status of negative claims). In contrast, a Trust registry publishes authoritative root public keys, issuer legal identity mappings, and governance schemas (static or epoch-based root-of-trust identity and admission authority).

If a status check cannot be completed, the runtime MUST emit an incomplete_check and halt. The reason field MUST be set to one of the following:

When incomplete_check is encountered, the runtime sidecar MUST NOT allow the action to proceed.

6.2 Resume Receipt - the resume_basis field

When the REVERIFY -> RESUMED edge is taken, the RESUME receipt MUST carry a resume_basis value from the closed set:

The field adds to the RESUME receipt only; it does not add, remove, or rename a state, and the sec.6 transition line is unchanged.

Exemption boundaries (MUST be in the schema):

authority_revoked is the issuing authority’s decision (only the direct delegator who granted the authority can revoke it), not the executing side’s; a signed justification cannot un-revoke it. authority_not_determined is an absence of information (registry unreachable / stale root), not a judgment; a signature cannot convert “unknown” into “known”. An exemption MUST NOT buy back the fail-closed property: authority_revoked and authority_not_determined MUST NOT be resumed on exemption.

6.3 Normative References — LGD Transition Contract

The state-machine sequence, the resume_basis field, and the incomplete_check reason set defined in §6.1–§6.2 are normatively specified in the NTI x LGD transition-contract spec — v0.1.4 (Xinghua Zhao, 2026-10-30). Canonical, byte-for-byte copy:

Tymofii (aeoess) has contributed candidate test vectors for the two finish-or-stop contracts FINISH_THEN_STOP and STOP_AT_CHECKPOINT in PR #206 to the APS conformance suite, derived from v0.1.4 and the public-agentprotocol thread (0108/0088/0090/0121). The cases are candidates for review — the author states no runtime has been run against them and they are not a conformance result.

Status note: v0.1.4 is published as “draft for comment”. It is adopted here as the working normative basis for the §6 state machine; any future ratified revision supersedes this reference.

7. Ecosystem Interoperability (ASL Conformance Kit)

NTI-1 standardizes interoperability with the ASL Conformance Kit. The NTI CI/CD pipeline executes ASL static test vectors to verify agent sandbox behavior and dynamic runtime drift.

8. Reference Implementation

The reference implementation is ube-foundation.

Framework Integrations: langchain-nti, crewai-nti, autogen-nti.

9. Certification Process

  1. Implement all applicable pillar requirements.
  2. Pass all testable requirements in Section 5.
  3. Submit a conformance report and a certification request to the project’s TSC (see GOVERNANCE.md).
  4. Complete a third-party audit.
  5. Receive certification valid for 12 months.

10. Governance

The NTI-1 specification is stewarded in the open by the project’s TSC (see GOVERNANCE.md). Proposed changes are submitted as RFCs. Amendments require public comment and a 30-day review period. The standard MUST remain neutral and MUST NOT favor any single vendor or jurisdiction. Stewardship and certification are separate: certification is granted by the independent third-party auditor named in Section 9, never by the stewards.

11. Security Considerations

12. Appendix

Acknowledgements: This specification builds on decades of work in cryptography, distributed systems, and AI safety, specifically incorporating W3C CG feedback on Principal-Bound Identity and the LGD state machine.

Feedback: Welcome at https://github.com/abisheakp197/nti-spec/issues