| 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.
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.
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.
Requirement: Every agent action MUST be evaluated against a policy before execution.
Specification:
Expires, MaxExecutions, ValueLimit, PathRestricted.Expires is an RFC 3339 instant evaluated against the verifier’s clock; once passed, the grant MUST be denied (not paused). MaxExecutions is a hard count enforced across concurrent calls; the (N+1)th execution under MaxExecutions = N MUST be denied. Renewal issues a new grant and MUST NOT extend an existing one in place.Requirement: In multi-agent systems, decisions affecting high-value actions MUST require Byzantine Fault Tolerant consensus.
Specification:
(voter_id, request_id, decision, outcome_hash, signature).voter_id MUST NOT satisfy the threshold (see conformance/issue-18/duplicate_vote.json).Requirement: Every evaluated action MUST be recorded in a tamper-evident audit trail.
Specification:
parent_hash = "0" * 64.Event hash MUST be SHA-256 over the RFC 8785 (JCS) canonical JSON of the ordered fields above. Implementations MUST NOT build the preimage by joining fields with a delimiter: a field value that contains the delimiter makes two different events produce the same preimage (see conformance/issue-18/preimage_reproducibility.json).conformance/issue-18/tamper_detection.json).conformance/issue-18/truncation.json and T-4.1).Requirement: Agent state and audit trails MUST persist across restarts with self-verifying integrity.
Specification:
This section defines the canonical data structures for delegations and invocations within NTI-1.
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..."
}
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..."
}
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
(Implementation MUST pass these tests to claim compliance)
valid_after instant has been reached. Result: MUST be Deny.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_basisfield 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
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:
tryLater: Temporary network unavailability.not_authoritative: Queried registry cannot provide authoritative status.internal_error: Unhandled exception during status resolution.When incomplete_check is encountered, the runtime sidecar MUST NOT allow the action to proceed.
resume_basis fieldWhen the REVERIFY -> RESUMED edge is taken, the RESUME receipt MUST carry a resume_basis value from the closed set:
evidence - the registered restore condition was verified in full (evidence list, verifier role, validity window): the condition that caused the halt was confirmed restored.exemption - an accountability layer accepted the risk; the reason is recorded, not evaluated. Both values permit RESUMED.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):
exemption_covers = policy_violationexemption_does_not_cover = authority_revoked, authority_not_determinedauthority_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.
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:
lgd-medai-demo (lgd_medai_demo.py, zero-dependency, independently verifiable via VERIFICATION.md) — https://github.com/zhaoxinghua09-cell/lgd-medai-demoTymofii (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.
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.
The reference implementation is ube-foundation.
Framework Integrations: langchain-nti, crewai-nti, autogen-nti.
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.
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