Internet-Draft PSI Agent October 2026
Singh Expires 16 April 2027 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-singh-psi-agent-01
Published:
Intended Status:
Informational
Expires:
Author:
K. Singh
APEX Infrastructure

PSI Receipts for AI Agent Actions

Abstract

This document defines a profile of Proof of Stateful Integrity (PSI) for recording actions taken by software agents, including calls to language models and tools. The agent runtime computes a digest of each action locally and seals only the digest, so later alteration or omission of a recorded action is detectable. A receipt shows that a specific action record existed unchanged at a time; it does not show that the action was correct, safe, authorised, or lawful, and it allocates no liability.

This revision withdraws the liability-allocation language of revision 00 and aligns the Merkle commitment with draft-singh-psi-merkle-01.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 16 April 2027.

▲

Table of Contents

1. Introduction

Agents act without a human reviewing each step. When a result is disputed, parties need to know which actions were recorded and whether the record was edited. The key words "MUST", "MUST NOT", "SHOULD", and "MAY" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

2. Action Record

An action record is a JSON object that MUST contain event (for example llm_end, tool_end, decision), name (the function or tool), and result or outputs; it MAY contain args and prev, the digest of the previous action in the same run. The digest is SHA-256 over the canonical form of [RFC8785]. Records SHOULD NOT contain personal data; if they must, a salt of at least 128 bits MUST be included.

3. Sealing

The runtime submits sha256:<digest> to the issuer and receives a receipt per [PSI]. Sealing SHOULD be asynchronous so the agent does not wait on the network, and a sealing failure MUST NOT alter the agent's action. A run is chained by including prev; sealing the final digest of the chain commits the whole run.

4. Verification

A verifier recomputes the digest from the held record, checks the receipt signature (Ed25519 [RFC8032], and ML-DSA-65 [FIPS204] when present), and checks inclusion per [I-D.merkle].

5. Security Considerations

A runtime that is compromised can seal false records; sealing does not attest to the runtime. Unsealed actions are not detected unless runs are chained. Digests of low-entropy records can be guessed; use a salt.

6. IANA Considerations

This document has no IANA actions.

7. References

7.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, , <https://www.rfc-editor.org/info/rfc8785>.
[PSI]
Singh, K., "Proof of Stateful Integrity (PSI): Signed, Merkle-Committed Receipts for Digital Records", Work in Progress, Internet-Draft, draft-singh-psi-02, , <https://datatracker.ietf.org/doc/draft-singh-psi/>.

7.2. Informative References

[I-D.merkle]
Singh, K., "PSI Merkle Commitment Profile (RFC6962-SHA256)", Work in Progress, Internet-Draft, draft-singh-psi-merkle-01, , <https://datatracker.ietf.org/doc/draft-singh-psi-merkle/>.
[RFC8032]
Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, , <https://www.rfc-editor.org/info/rfc8032>.
[FIPS204]
NIST, "Module-Lattice-Based Digital Signature Standard", FIPS 204, , <https://doi.org/10.6028/NIST.FIPS.204>.

Author's Address

Kawaljeet Singh
APEX Infrastructure
Melbourne Victoria
Australia