diff --git a/workspace/drafts/README-pdf.md b/workspace/drafts/README-pdf.md new file mode 100644 index 0000000..bf711fd --- /dev/null +++ b/workspace/drafts/README-pdf.md @@ -0,0 +1,67 @@ +# PDF Generation for IETF Drafts + +## Status + +`xml2rfc --pdf` is wired up on this machine. PDFs are generated automatically +as part of `build.sh` in each draft directory. + +## How it works + +`xml2rfc` is installed via `pipx` in its own venv +(`/home/c/.local/share/pipx/venvs/xml2rfc/`). The `--pdf` switch requires +several extra dependencies that had to be injected into that venv: + +```bash +pipx inject xml2rfc "weasyprint<60" pycairo pangocffi +/home/c/.local/share/pipx/venvs/xml2rfc/bin/python -m pip install "pydyf<0.10" +``` + +Version pins matter: +- `weasyprint 59.x` — xml2rfc's `--pdf` code path calls weasyprint's + `write_pdf(target, stylesheets=[...], presentational_hints=True)`. + Newer weasyprint (60+) changes the signature. +- `pydyf <0.10` — weasyprint 59 calls `pydyf.PDF(version, identifier)` with + two positional args. pydyf 0.10+ removed those. + +System libs used via ctypes: `pango`, `pangocairo`, `cairo`, `harfbuzz` +(all already present via Fedora packages). + +Fonts: xml2rfc uses Noto + Roboto Mono embedded in the weasyprint output. +Not installed system-wide but weasyprint fonttools handles them. + +## Build step (pattern for build.sh) + +After the HTML step, add: + +```bash +# Step 4: XML -> PDF +echo "Generating PDF output..." +if "$XML2RFC" "$DIR/$DRAFT.xml" --pdf --quiet 2>/dev/null; then + PDF_OK=1 +else + echo " xml2rfc --pdf failed; falling back to weasyprint on HTML" + if command -v weasyprint >/dev/null 2>&1; then + weasyprint "$DIR/$DRAFT.html" "$DIR/$DRAFT.pdf" >/dev/null 2>&1 \ + && PDF_OK=1 || PDF_OK=0 + else + PDF_OK=0 + fi +fi +``` + +## Verification + +`ietf-wimse-ect/draft-nennemann-wimse-ect-02.pdf` — 178 KB, generated via +`xml2rfc --pdf` (IETF-idiomatic layout with Noto fonts, title page, +bookmarks, and proper TOC). The fallback `weasyprint html->pdf` produces a +172 KB PDF that works but renders the html2rfc template instead of the +official IETF print layout; use it only if xml2rfc --pdf is unavailable. + +## Reinstallation checklist (on a new machine) + +1. `pipx install xml2rfc` +2. `pipx inject xml2rfc "weasyprint<60" pycairo pangocffi` +3. `/home/c/.local/share/pipx/venvs/xml2rfc/bin/python -m pip install "pydyf<0.10"` +4. Install system libs: `dnf install pango cairo harfbuzz` (Fedora) or + `apt install libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz0b` (Debian) +5. Test: `xml2rfc some-draft.xml --pdf` diff --git a/workspace/drafts/act/.refcache/reference.I-D.ietf-scitt-architecture.xml b/workspace/drafts/act/.refcache/reference.I-D.ietf-scitt-architecture.xml new file mode 100644 index 0000000..05820e1 --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.I-D.ietf-scitt-architecture.xml @@ -0,0 +1,35 @@ + + + + An Architecture for Trustworthy and Transparent Digital Supply Chains + + Fraunhofer SIT + + + Microsoft Research + + + Microsoft Research + + + ARM + + + + + + Traceability in supply chains is a growing security concern. While + verifiable data structures have addressed specific issues, such as + equivocation over digital certificates, they lack a universal + architecture for all supply chains. This document defines such an + architecture for single-issuer signed statement transparency. It + ensures extensibility, interoperability between different + transparency services, and compliance with various auditing + procedures and regulatory requirements. + + + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.2119.xml b/workspace/drafts/act/.refcache/reference.RFC.2119.xml new file mode 100644 index 0000000..770cfb3 --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.2119.xml @@ -0,0 +1,13 @@ + + + Key words for use in RFCs to Indicate Requirement Levels + + + + In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements. + + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.7009.xml b/workspace/drafts/act/.refcache/reference.RFC.7009.xml new file mode 100644 index 0000000..1371c4e --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.7009.xml @@ -0,0 +1,14 @@ + + + OAuth 2.0 Token Revocation + + + + + + This document proposes an additional endpoint for OAuth authorization servers, which allows clients to notify the authorization server that a previously obtained refresh or access token is no longer needed. This allows the authorization server to clean up security credentials. A revocation request will invalidate the actual token and, if applicable, other tokens based on the same authorization grant. + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.7515.xml b/workspace/drafts/act/.refcache/reference.RFC.7515.xml new file mode 100644 index 0000000..935705e --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.7515.xml @@ -0,0 +1,14 @@ + + + JSON Web Signature (JWS) + + + + + + JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and an IANA registry defined by that specification. Related encryption capabilities are described in the separate JSON Web Encryption (JWE) specification. + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.7517.xml b/workspace/drafts/act/.refcache/reference.RFC.7517.xml new file mode 100644 index 0000000..f895d9c --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.7517.xml @@ -0,0 +1,12 @@ + + + JSON Web Key (JWK) + + + + A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. This specification also defines a JWK Set JSON data structure that represents a set of JWKs. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and IANA registries established by that specification. + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.7518.xml b/workspace/drafts/act/.refcache/reference.RFC.7518.xml new file mode 100644 index 0000000..58b91d3 --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.7518.xml @@ -0,0 +1,12 @@ + + + JSON Web Algorithms (JWA) + + + + This specification registers cryptographic algorithms and identifiers to be used with the JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK) specifications. It defines several IANA registries for these identifiers. + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.7519.xml b/workspace/drafts/act/.refcache/reference.RFC.7519.xml new file mode 100644 index 0000000..c0776c4 --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.7519.xml @@ -0,0 +1,14 @@ + + + JSON Web Token (JWT) + + + + + + JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted. + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.8037.xml b/workspace/drafts/act/.refcache/reference.RFC.8037.xml new file mode 100644 index 0000000..34b469a --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.8037.xml @@ -0,0 +1,12 @@ + + + CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE) + + + + This document defines how to use the Diffie-Hellman algorithms "X25519" and "X448" as well as the signature algorithms "Ed25519" and "Ed448" from the IRTF CFRG elliptic curves work in JSON Object Signing and Encryption (JOSE). + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.8174.xml b/workspace/drafts/act/.refcache/reference.RFC.8174.xml new file mode 100644 index 0000000..6ac1bee --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.8174.xml @@ -0,0 +1,13 @@ + + + Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words + + + + RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings. + + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.8693.xml b/workspace/drafts/act/.refcache/reference.RFC.8693.xml new file mode 100644 index 0000000..40d9241 --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.8693.xml @@ -0,0 +1,16 @@ + + + OAuth 2.0 Token Exchange + + + + + + + + This specification defines a protocol for an HTTP- and JSON-based Security Token Service (STS) by defining how to request and obtain security tokens from OAuth 2.0 authorization servers, including security tokens employing impersonation and delegation. + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.9110.xml b/workspace/drafts/act/.refcache/reference.RFC.9110.xml new file mode 100644 index 0000000..831f695 --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.9110.xml @@ -0,0 +1,16 @@ + + + HTTP Semantics + + + + + + The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol elements, extensibility mechanisms, and the "http" and "https" Uniform Resource Identifier (URI) schemes. + This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230. + + + + + + diff --git a/workspace/drafts/act/.refcache/reference.RFC.9562.xml b/workspace/drafts/act/.refcache/reference.RFC.9562.xml new file mode 100644 index 0000000..0a47afe --- /dev/null +++ b/workspace/drafts/act/.refcache/reference.RFC.9562.xml @@ -0,0 +1,24 @@ + + + Universally Unique IDentifiers (UUIDs) + + + + + + This specification defines UUIDs (Universally Unique IDentifiers) -- +also known as GUIDs (Globally Unique IDentifiers) -- and a Uniform +Resource Name namespace for UUIDs. A UUID is 128 bits long and is +intended to guarantee uniqueness across space and time. UUIDs were +originally used in the Apollo Network Computing System (NCS), later +in the Open Software Foundation's (OSF's) Distributed Computing +Environment (DCE), and then in Microsoft Windows platforms. + This specification is derived from the OSF DCE specification with the +kind permission of the OSF (now known as "The Open Group"). Information from earlier versions of the OSF DCE specification have +been incorporated into this document. This document obsoletes RFC +4122. + + + + + diff --git a/workspace/drafts/act/build.sh b/workspace/drafts/act/build.sh new file mode 100755 index 0000000..6dbfe06 --- /dev/null +++ b/workspace/drafts/act/build.sh @@ -0,0 +1,69 @@ +#!/bin/bash +set -e + +DIR="$(cd "$(dirname "$0")" && pwd)" +SRC="$DIR/draft-nennemann-act-01.md" + +# Extract docname from YAML front matter +DRAFT=$(grep '^docname:' "$SRC" | head -1 | awk '{print $2}') +if [ -z "$DRAFT" ]; then + echo "Error: could not extract docname from $SRC" + exit 1 +fi + +# Tool paths +KRAMDOWN="$(which kramdown-rfc2629 2>/dev/null)" +XML2RFC="$(which xml2rfc 2>/dev/null)" + +if [ -z "$KRAMDOWN" ]; then + echo "Error: kramdown-rfc2629 not found. Install with: gem install kramdown-rfc2629" + exit 1 +fi +if [ -z "$XML2RFC" ]; then + echo "Error: xml2rfc not found. Install with: pip install xml2rfc" + exit 1 +fi + +export PYTHONWARNINGS="ignore::UserWarning" + +echo "Building: $DRAFT" +echo "Using kramdown-rfc2629: $KRAMDOWN" +echo "Using xml2rfc: $XML2RFC" +echo "" + +# Step 1: Markdown -> XML +echo "Converting markdown to XML..." +"$KRAMDOWN" "$SRC" > "$DIR/$DRAFT.xml" + +# Step 2: XML -> TXT +echo "Generating text output..." +"$XML2RFC" "$DIR/$DRAFT.xml" --text --quiet 2>/dev/null + +# Step 3: XML -> HTML +echo "Generating HTML output..." +"$XML2RFC" "$DIR/$DRAFT.xml" --html --quiet 2>/dev/null + +# Step 4: XML -> PDF (requires weasyprint + pangocffi + pycairo injected into xml2rfc venv +# and pydyf<0.10 pinned; see /home/c/projects/research.ietf/workspace/drafts/README-pdf.md) +echo "Generating PDF output..." +if "$XML2RFC" "$DIR/$DRAFT.xml" --pdf --quiet 2>/dev/null; then + PDF_OK=1 +else + echo " xml2rfc --pdf failed; falling back to weasyprint on HTML" + if command -v weasyprint >/dev/null 2>&1; then + weasyprint "$DIR/$DRAFT.html" "$DIR/$DRAFT.pdf" >/dev/null 2>&1 && PDF_OK=1 || PDF_OK=0 + else + PDF_OK=0 + fi +fi + +echo "" +echo "Build complete:" +echo " $DRAFT.xml (submit this to datatracker)" +echo " $DRAFT.txt" +echo " $DRAFT.html" +if [ "${PDF_OK:-0}" = "1" ]; then + echo " $DRAFT.pdf" +else + echo " (PDF generation skipped — missing deps)" +fi diff --git a/workspace/drafts/act/draft-nennemann-act-01.html b/workspace/drafts/act/draft-nennemann-act-01.html new file mode 100644 index 0000000..c002b37 --- /dev/null +++ b/workspace/drafts/act/draft-nennemann-act-01.html @@ -0,0 +1,3979 @@ + + + + + + +Agent Context Token (ACT) + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Internet-DraftACTApril 2026
NennemannExpires 14 October 2026[Page]
+
+
+
+
Workgroup:
+
Network Working Group
+
Internet-Draft:
+
draft-nennemann-act-01
+
Published:
+
+ +
+
Intended Status:
+
Standards Track
+
Expires:
+
+
Author:
+
+
+
C. Nennemann
+
Independent Researcher
+
+
+
+
+

Agent Context Token (ACT)

+
+

Abstract

+

This document defines the Agent Context Token (ACT), a self-contained +JWT-based format that captures the full invocation context of an +autonomous AI agent — its capabilities, constraints, delegation +provenance, oversight requirements, task metadata, and DAG position — +and unifies authorization and execution accountability in a single +token lifecycle. An ACT begins as a signed authorization mandate and +transitions into a tamper-evident execution record once the agent +completes its task, appending cryptographic hashes of inputs and +outputs and linking to predecessor tasks via a directed acyclic graph +(DAG). ACT requires no Authorization Server, no workload identity +infrastructure, and no transparency service for basic operation. Trust +is bootstrapped via pre-shared keys and is upgradeable to PKI or +Decentralized Identifiers (DIDs). ACT is designed for +cross-organizational agent federation in regulated and unregulated +environments alike. ACT is the general-purpose agent context +primitive; the WIMSE Execution Context Token (ECT) +[I-D.nennemann-wimse-ect] is a sibling profile specialized for +workload-identity-bound execution recording in WIMSE deployments.

+
+
+
+

+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 14 October 2026.

+
+
+ +
+
+

+Table of Contents +

+ +
+
+
+
+

+1. Introduction +

+

Autonomous AI agents increasingly operate across organizational +boundaries, executing multi-step workflows where individual tasks are +delegated from one agent to another. These workflows create two +distinct, inseparable compliance requirements:

+
    +
  1. +

    Authorization: was the agent permitted to perform the action, +under what constraints, and by whose authority?

    +
  2. +
  3. +

    Accountability: what did the agent actually do, with what +inputs, producing what outputs, in what causal relationship to +prior tasks?

    +
  4. +
+

Existing specifications address these requirements in isolation. +The Agent Authorization Profile (AAP) [I-D.aap-oauth-profile] +provides structured authorization via OAuth 2.0 but requires a +central Authorization Server. The WIMSE Execution Context Token +[I-D.nennemann-wimse-ect] provides execution accountability but +requires WIMSE workload identity infrastructure (SPIFFE/SPIRE).

+

This document defines the Agent Context Token (ACT), which addresses +both requirements in a single, self-contained token that requires no +shared infrastructure beyond the ability to verify asymmetric +signatures. The word "Context" in the name reflects what the token +carries: the complete invocation context of an agent — DAG references, +task metadata, capabilities, delegation chain, and oversight claims +— bound together in one cryptographically verifiable envelope. ACT +is positioned as the general agent context primitive, with the +WIMSE Execution Context Token (ECT) [I-D.nennemann-wimse-ect] as a +sibling profile specialized for workload-identity-bound execution +contexts in WIMSE deployments.

+
+
+

+1.1. Problem Statement +

+

Cross-organizational agent federation today faces a bootstrapping +problem: deploying shared OAuth infrastructure or a common SPIFFE +trust domain requires organizational agreement before the first +message is exchanged. In practice this means either:

+

(a) agents operate without cryptographic authorization or audit + trails, relying on application-layer access control only; or

+

(b) organizations adopt one party's identity infrastructure, creating + a hub-and-spoke dependency that contradicts the decentralized + nature of agent networks.

+

ACT solves this by making pre-shared keys the mandatory-to-implement +trust baseline — two agents can begin a secure, auditable interaction +with nothing more than an out-of-band key exchange — while providing +a clean upgrade path to PKI or DID-based trust without changing the +token format.

+
+
+
+
+

+1.2. Design Goals +

+
    +
  • +

    G1 — Zero infrastructure baseline: ACT MUST be deployable with +no shared servers, no common identity provider, and no transparency +service.

    +
  • +
  • +

    G2 — Single token lifecycle: Authorization and accountability +MUST be expressed in the same token format to prevent +authorization-accountability gaps.

    +
  • +
  • +

    G3 — Peer-to-peer delegation: Delegation chains MUST be +verifiable without contacting an Authorization Server, using +cryptographic chaining of agent signatures.

    +
  • +
  • +

    G4 — DAG-native causal ordering: Workflows with parallel +branches and fan-in dependencies MUST be expressible natively, +without flattening to a linear chain.

    +
  • +
  • +

    G5 — Cross-organizational interoperability: ACTs issued by +agents in different trust domains MUST be verifiable by any +participant holding the issuing agent's public key.

    +
  • +
  • +

    G6 — Regulatory applicability: ACT MUST provide sufficient +evidence for audit requirements in DORA [DORA], EU AI Act +Article 12 [EUAIA], and IEC 62304 [IEC62304] without requiring +additional log formats.

    +
  • +
  • +

    G7 — Upgrade path: The trust model MUST support migration from +pre-shared keys to PKI or DID without breaking existing ACT chains.

    +
  • +
+
+
+
+
+

+1.3. Non-Goals +

+

The following are explicitly out of scope:

+
    +
  • +

    Defining internal AI model behavior or decision logic.

    +
  • +
  • +

    Replacing organizational security policies or procedures.

    +
  • +
  • +

    Defining storage formats for audit ledgers.

    +
  • +
  • +

    Specifying token revocation infrastructure (deployments MAY use +existing mechanisms such as [RFC7009] for this purpose).

    +
  • +
  • +

    Providing non-equivocation guarantees in standalone mode (see +Section 11.5 for the equivocation discussion and optional +transparency anchoring).

    +
  • +
+
+
+ +
+
+

+1.5. Applicability +

+

ACT is designed as a general-purpose primitive for AI agent +authorization and execution accountability. While a sibling +specification [I-D.nennemann-wimse-ect] profiles execution context +tokens specifically for the WIMSE working group's workload identity +infrastructure, ACT operates without any shared identity plane. This +section identifies deployment contexts where ACT applies independently +of WIMSE, and clarifies how ACT complements — rather than competes +with — ecosystem-specific agent protocols.

+
+
+

+1.5.1. Model Context Protocol (MCP) Tool-Use Flows +

+

The Model Context Protocol [MCP-SPEC] defines a client-server +interface by which LLM hosts invoke external tools via structured +JSON-RPC calls. MCP 2025-11-25 mandates OAuth 2.1 for transport-layer +authentication, but provides no mechanism for carrying per-invocation +authorization constraints or for producing a tamper-evident record +of what arguments were passed and what result was returned.

+

ACT addresses this gap as follows: when an MCP host is about to +dispatch a tool call on behalf of an agent, it SHOULD issue a Phase 1 +ACT Mandate encoding the permitted tool name (e.g., as a capability +constraint), the declaring scope, and any parameter-level constraints +applicable to that invocation. The MCP server, upon receiving the +request, MAY validate the ACT Mandate and, upon completing the tool +execution, SHOULD transition the token to Phase 2 by appending +SHA-256 hashes of the serialized input arguments and the JSON +response, then re-sign. The resulting Phase 2 ACT constitutes an +unforgeable record that a specific tool was called with specific +arguments and returned a specific result, independently of MCP's +OAuth layer.

+

This integration requires no modification to MCP transport; the ACT +SHOULD be carried in the ACT-Mandate and ACT-Record HTTP headers +defined in Section 9.1 of this document.

+
+
+
+
+

+1.5.2. OpenAI Agents SDK and Function Calling +

+

The OpenAI Agents SDK [OPENAI-AGENTS-SDK] enables composition of +agents via handoffs — structured transfers of control from one agent +to another, each potentially invoking registered function tools. The +SDK provides no built-in mechanism for a receiving agent to verify +that the handoff was authorized by a named principal, nor for the +invoking agent to produce a verifiable record of what functions it +called.

+

ACT is applicable at the handoff boundary: the orchestrating agent +SHOULD issue a Phase 1 ACT Mandate to the receiving agent at the +moment of handoff, encoding the permitted function set as +capability constraints and the maximum privilege the receiving agent +MAY exercise. The receiving agent SHOULD attach its Phase 2 ACT +Record to any callback or downstream response, providing the +orchestrator with cryptographic evidence of the actions taken. In +multi-turn chains involving multiple handoffs, the DAG linkage +(Section 7) allows each handoff to be expressed as a +parent-child edge, preserving the full causal ordering of the agent +invocation sequence.

+

Implementations that use the OpenAI function calling API directly, +without the Agents SDK, MAY apply ACT at the application layer: the +calling process issues a Phase 1 ACT before the function call +parameter block is finalized, and the receiving function handler +returns a Phase 2 ACT alongside its JSON result.

+
+
+
+
+

+1.5.3. LangGraph and LangChain Agent Graphs +

+

LangGraph [LANGGRAPH] models agent workflows as typed StateGraphs in +which nodes represent agent invocations or tool calls and edges +represent conditional transitions. The DAG structure of ACT +(Section 7) is a natural fit for this model: each LangGraph +node that performs an observable action corresponds to exactly one +ACT task identifier (tid), and directed edges in the LangGraph +correspond to pred (predecessor) references in successor ACTs.

+

ACT is applicable at the node boundary: when a LangGraph node +dispatches a sub-agent or invokes a tool with side effects, it SHOULD +issue a Phase 1 ACT Mandate encoding the node's permitted actions +before any external call is made. Upon transition out of the node, +a Phase 2 ACT Record SHOULD be produced and attached to the +LangGraph state object alongside the node's output. Downstream nodes +that fan-in from multiple predecessors MAY retrieve the set of parent +ACT identifiers from the shared state to populate their pred array, +thereby expressing LangGraph's fan-in semantics within the ACT DAG +without any additional infrastructure.

+

In contrast to LangGraph's built-in state audit trail, which is +mutable in-process memory, Phase 2 ACTs are cryptographically signed +and portable: they can be exported from a LangGraph run and +submitted to an external audit ledger, satisfying compliance +requirements that cannot be met by in-process logging alone.

+
+
+
+
+

+1.5.4. Google Agent2Agent (A2A) Protocol +

+

The Agent2Agent protocol [A2A-SPEC] defines a task-oriented JSON-RPC +interface for inter-agent communication, with authentication +delegated to OAuth 2.0 or API key schemes declared in each agent's +Agent Card. A2A provides no mechanism for a receiving agent to +verify the authorization provenance of a task request beyond the +transport-layer credential, and produces no token that represents +the execution of the task in a verifiable, portable form.

+

ACT is applicable as a session-layer accountability complement to +A2A: a client agent SHOULD include a Phase 1 ACT Mandate in the +metadata field of the A2A Task object, encoding the task type as +a capability constraint and the delegating agent's identity as the +ACT issuer. The receiving agent SHOULD validate the Mandate before +beginning task execution and SHOULD return a Phase 2 ACT Record +as an artifact in the A2A TaskResult, enabling the client agent to +retain cryptographic proof of what was executed on its behalf.

+

This integration does not require modification to A2A's transport or +authentication scheme; ACT and A2A's OAuth credentials operate at +independent layers and are not redundant. A2A's credential answers +"is this client permitted to contact this server?"; the ACT Mandate +answers "is this agent permitted to request this specific task +under these constraints?".

+
+
+
+
+

+1.5.5. Enterprise Orchestration Without WIMSE (CrewAI, AutoGen) +

+

Enterprise orchestration frameworks such as CrewAI [CREWAI] and +AutoGen [AUTOGEN] deploy multi-agent systems within a single +organizational boundary, typically without SPIFFE/SPIRE workload +identity infrastructure. In these environments, OAuth Authorization +Servers are often unavailable or impractical to deploy for +intra-process agent communication.

+

ACT is applicable in this context via its Tier 1 (pre-shared key) +trust model (Section 5.2): each agent role in a CrewAI Crew or +AutoGen ConversableAgent graph is assigned an Ed25519 keypair at +instantiation time. The orchestrating agent issues Phase 1 Mandates +to worker agents before delegating tasks, constraining each worker +to only the tools and actions relevant to its role. Worker agents +produce Phase 2 Records on task completion. The resulting ACT chain +is exportable as a structured audit trail that satisfies the +per-action logging requirements of DORA [DORA] and EU AI Act +Article 12 [EUAIA] without requiring shared infrastructure beyond +the ability to exchange public keys at deployment time.

+

Implementations SHOULD NOT use ACT's self-assertion mode (where an +agent issues and records its own mandate without external sign-off) +in regulated workflows; at minimum, the orchestrating agent MUST +sign the initial Mandate so that accountability is anchored to a +principal outside the executing agent.

+
+
+
+
+

+1.5.6. Relationship to WIMSE ECT +

+

Where WIMSE infrastructure is deployed, ACT and the WIMSE Execution +Context Token [I-D.nennemann-wimse-ect] serve complementary and +non-overlapping functions. The ECT records workload-level execution +in WIMSE terms — which SPIFFE workload executed, in which trust +domain, against which service. ACT records the authorization +provenance — which agent was permitted to request which action, +under what capability constraints, by whose authority — and +transitions that authorization record into an execution record upon +task completion.

+

In mixed environments, both tokens SHOULD be carried simultaneously: +the Workload-Identity header carries the WIMSE ECT; the +ACT-Record header carries the ACT. Verifiers MAY correlate the +two by matching the ACT tid claim against application-layer +identifiers present in the ECT's task context. Neither token is a +profile or extension of the other; they operate at different +abstraction layers and their co-presence is additive.

+
+
+
+
+
+
+
+
+

+2. Conventions and Definitions +

+

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", +"MAY", and "OPTIONAL" 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.

+

Agent: An autonomous software entity that executes tasks, issues +ACTs as mandates for sub-agents, and produces ACTs as execution +records of its own actions.

+

Authorization Mandate: An ACT in Phase 1, encoding what an agent +is permitted to do, under what constraints, and by whose authority.

+

Execution Record: An ACT in Phase 2, encoding what an agent +actually did, including cryptographic hashes of inputs and outputs +and causal links to predecessor tasks.

+

Directed Acyclic Graph (DAG): A graph structure representing task +dependency ordering where edges are directed and no cycles exist. Used +by ACT to model causal relationships between tasks in a workflow.

+

Delegation Chain: A cryptographically verifiable sequence of ACT +issuances from a root authority through one or more agents, each +signing a new ACT that reduces privileges relative to the one it +received.

+

Trust Tier: A level of key management infrastructure used to +establish the public key of an ACT issuer. Tiers range from +pre-shared keys (Tier 1, mandatory) to PKI (Tier 2) and DIDs +(Tier 3).

+

Workflow: A set of related tasks, identified by a shared wid +claim, forming a single logical unit of work.

+
+
+
+
+

+3. ACT Lifecycle +

+

An ACT has a two-phase lifecycle. The same token format is used in +both phases; the presence or absence of execution claims determines +which phase a token represents.

+

A token is a Phase 2 Execution Record if and only if the claim +exec_act is present. A token that does not contain exec_act is +a Phase 1 Authorization Mandate. Verifiers MUST determine the +phase before applying verification rules, and MUST reject a token +that is presented in the wrong phase for the operation being +performed.

+
+
+

+3.1. Phase 1: Authorization Mandate +

+

In Phase 1, an ACT is created by a delegating agent (or a human +operator) to authorize a target agent to perform a specific task. The +token carries:

+
    +
  • +

    The identity of the issuing agent and the target agent.

    +
  • +
  • +

    The capabilities granted, with associated constraints.

    +
  • +
  • +

    Human oversight requirements for high-impact actions.

    +
  • +
  • +

    The delegation provenance (who authorized the issuer to delegate).

    +
  • +
  • +

    A task identifier and declared purpose.

    +
  • +
+

The Phase 1 ACT is signed by the issuing agent using its private key. +The target agent receives the ACT and uses it as a bearer mandate — +evidence that it is authorized to proceed.

+

Phase 1 ACTs are short-lived. Implementations SHOULD set expiration +(exp) to no more than 15 minutes after issuance (iat) for +automated agent-to-agent workflows. Longer lifetimes MAY be used for +human-initiated mandates where the agent may not act immediately.

+
+
+
+
+

+3.2. Phase 2: Execution Record +

+

Upon completing the authorized task, the executing agent MUST +transition the ACT to Phase 2 by:

+
    +
  1. +

    Adding the exec_act claim describing the action performed.

    +
  2. +
  3. +

    Optionally adding inp_hash and/or out_hash SHA-256 hashes +of task inputs and outputs (RECOMMENDED for regulated environments).

    +
  4. +
  5. +

    Adding the pred array referencing predecessor task identifiers (DAG +dependencies).

    +
  6. +
  7. +

    Adding exec_ts and status claims.

    +
  8. +
  9. +

    Re-signing the complete token with its own private key.

    +
  10. +
+

The re-signing is critical: it produces a new signature over the +combined authorization + execution claims, binding the executing +agent's cryptographic identity to both the mandate it received and +the execution it performed. This creates a single, non-repudiable +record that answers both "was this agent authorized?" and "what +did it do?"

+

Note on issuer signature preservation: re-signing replaces the +Phase 1 signature produced by the issuing agent (iss). The +integrity of the original mandate is preserved through the +del.chain mechanism: the chain entry's sig field is the iss +agent's signature over the Phase 1 ACT, and this signature remains +intact and verifiable in the Phase 2 token. For root mandates where +del.chain is empty, the issuer's signature is not independently +preserved in Phase 2. Deployments requiring independent +verifiability of the original mandate SHOULD retain the Phase 1 +ACT separately alongside the Phase 2 record.

+

The resulting Phase 2 ACT SHOULD be submitted to an audit ledger +(Section 10) and MAY be sent to the next agent in the workflow +as evidence of completed prerequisites.

+
+
+
+
+

+3.3. Lifecycle State Machine +

+
+
+  [Issuer creates Phase 1 ACT]
+           |
+           | sign(issuer_key)
+           v
+    +------------------+
+    |  MANDATE         |  Phase 1: Authorization Mandate
+    |  (unsigned by    |  Carried as bearer token by target agent
+    |   target agent)  |
+    +------------------+
+           |
+           | Target agent executes task
+           | adds exec_act, inp_hash, out_hash, pred
+           | re-signs with target_agent_key
+           v
+    +------------------+
+    |  RECORD          |  Phase 2: Execution Record
+    |  (signed by      |  Submitted to ledger, passed to next agent
+    |   target agent)  |
+    +------------------+
+           |
+           | (optional) anchor to SCITT Transparency Service
+           v
+    +------------------+
+    |  ANCHORED        |  Phase 2 + external non-equivocation
+    +------------------+
+
+
+
+
+
+
+
+
+

+4. ACT Token Format +

+

An ACT is a JSON Web Token [RFC7519] signed as a JSON Web Signature +[RFC7515] using JWS Compact Serialization. All ACTs MUST use JWS +Compact Serialization to ensure they can be carried in a single HTTP +header value.

+
+
+

+4.1. JOSE Header +

+

The ACT JOSE header MUST contain:

+
+
+{
+  "alg": "ES256",
+  "typ": "act+jwt",
+  "kid": "agent-a-key-2026-03"
+}
+
+
+

alg (REQUIRED): The digital signature algorithm. Implementations +MUST support ES256 [RFC7518]. EdDSA (Ed25519) [RFC8037] is +RECOMMENDED for new deployments due to smaller signatures and +resistance to side-channel attacks. Symmetric algorithms (HS256, +HS384, HS512) MUST NOT be used. The "alg" value MUST NOT be "none".

+

typ (REQUIRED): MUST be "act+jwt" to distinguish ACTs from other +JWT types.

+

kid (REQUIRED): An identifier for the signing key. In Tier 1 +deployments (pre-shared keys), this is an opaque string agreed +out-of-band. In Tier 2 deployments (PKI), this is the X.509 +certificate thumbprint. In Tier 3 deployments (DID), this is the +DID key fragment (e.g., did:key:z6Mk...#key-1).

+

x5c (OPTIONAL): In Tier 2 deployments, the X.509 certificate +chain MAY be included to enable verification without out-of-band +key distribution.

+

did (OPTIONAL): In Tier 3 deployments, the full DID of the +issuing agent MAY be included for resolution.

+
+
+
+
+

+4.2. JWT Claims: Authorization Phase +

+
+
+

+4.2.1. Standard JWT Claims +

+

iss (REQUIRED): The identifier of the agent issuing the mandate. +Format depends on trust tier: an opaque string (Tier 1), an X.509 +Subject DN (Tier 2), or a DID (Tier 3).

+

sub (REQUIRED): The identifier of the agent authorized to act. +MUST use the same format convention as iss.

+

aud (REQUIRED): The intended recipient(s). MUST include the +identifier of the target agent (sub). When an audit ledger is +deployed, MUST also include the ledger's identifier. When multiple +recipients are present, MUST be an array. Verifiers that are audit +ledgers MUST verify that their own identifier appears in aud.

+

iat (REQUIRED): Issuance time as a NumericDate [RFC7519].

+

exp (REQUIRED): Expiration time. Implementations SHOULD set to +no more than 15 minutes after iat for automated workflows.

+

jti (REQUIRED): A UUID [RFC9562] uniquely identifying this ACT +and, in Phase 2, the task it records. Used as the task identifier +for DAG predecessor references in pred.

+
+
+
+
+

+4.2.2. ACT Authorization Claims +

+

wid (OPTIONAL): A UUID identifying the workflow to which this +task belongs. When present, groups related ACTs and scopes jti +uniqueness to the workflow.

+

task (REQUIRED): An object describing the authorized task:

+
+
+{
+  "task": {
+    "purpose": "validate_patient_dosage",
+    "data_sensitivity": "restricted",
+    "created_by": "operator:clinical-admin-01",
+    "expires_at": 1772064750
+  }
+}
+
+
+
    +
  • +

    purpose (REQUIRED): A string describing the intended task. +Implementations SHOULD use a controlled vocabulary or reverse- +domain notation (e.g., "com.example.validate_dosage") to enable +semantic consistency checking by the receiving agent.

    +
  • +
  • +

    data_sensitivity (OPTIONAL): One of "public", "internal", +"confidential", "restricted". Receiving agents MUST NOT perform +actions that would expose data above this classification.

    +
  • +
  • +

    created_by (OPTIONAL): An identifier for the human or system +that initiated the workflow. SHOULD be pseudonymous (see +Section 12).

    +
  • +
  • +

    expires_at (OPTIONAL): A NumericDate after which the task +mandate is no longer valid, independent of exp.

    +
  • +
+

cap (REQUIRED): An array of capability objects, each specifying +an action the agent is authorized to perform and the constraints +under which it may do so:

+
+
+{
+  "cap": [
+    {
+      "action": "read.patient_record",
+      "constraints": {
+        "patient_id_scope": "current_task_only",
+        "max_records": 1,
+        "data_classification_max": "restricted"
+      }
+    },
+    {
+      "action": "write.dosage_recommendation",
+      "constraints": {
+        "status": "draft_only"
+      }
+    }
+  ]
+}
+
+
+

Action names MUST conform to the ABNF grammar:

+
+
+action-name = component *( "." component )
+component   = ALPHA *( ALPHA / DIGIT / "-" / "_" )
+
+
+

Receiving agents MUST perform exact string matching on action names. +Wildcard matching is NOT part of this specification.

+

When multiple capabilities match the same action, OR semantics +apply: if ANY capability grants the action, the request is +authorized subject to that capability's constraints. When multiple +constraints exist within a single capability, AND semantics apply: +ALL constraints MUST be satisfied. When the same constraint key +appears in both a capability-level and a policy-level context, the +more restrictive value applies: lower numeric limits, narrower +allow-lists (intersection), broader block-lists (union), and +narrower time windows.

+

oversight (OPTIONAL): Human oversight requirements:

+
+
+{
+  "oversight": {
+    "requires_approval_for": ["write.publish", "execute.payment"],
+    "approval_ref": "https://approval.example.com/workflow/w-123"
+  }
+}
+
+
+

When requires_approval_for lists an action, the receiving agent +MUST NOT execute that action autonomously. The approval mechanism +is out of scope for this specification.

+

del (OPTIONAL): Delegation provenance, establishing the chain +of authority from the root mandate to this ACT. If del is absent, +the ACT MUST be treated as a root mandate with depth = 0 and +further delegation is not permitted (i.e., the receiving agent MUST NOT issue sub-mandates based on this ACT).

+
+
+{
+  "del": {
+    "depth": 1,
+    "max_depth": 3,
+    "chain": [
+      {
+        "delegator": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
+        "jti": "550e8400-e29b-41d4-a716-446655440000",
+        "sig": "base64url-encoded-signature-of-parent-act-hash"
+      }
+    ]
+  }
+}
+
+
+
    +
  • +

    depth: The current delegation depth. 0 means this is a root +mandate issued by a human or root authority.

    +
  • +
  • +

    max_depth: The maximum permitted delegation depth. Receiving +agents MUST NOT issue sub-mandates that would exceed this depth.

    +
  • +
  • +

    chain: An array of delegation provenance records ordered from +root to immediate parent (chain[0] is the root authority, +chain[depth-1] is the direct parent of this ACT). Each entry +contains:

    +
      +
    • +

      delegator: The identifier of the agent that authorized this +delegation step (i.e., the iss of the parent ACT at that +depth).

      +
    • +
    • +

      jti: The jti of the parent ACT that authorized this +delegation step.

      +
    • +
    • +

      sig: The delegating agent's signature over the SHA-256 hash +of that parent ACT, providing cryptographic linkage without +requiring the full parent ACT to be transmitted.

      +
    • +
    +
  • +
+

The sig field in each chain entry is the critical departure from +AAP's delegation model: rather than requiring a central AS to +validate the chain, any verifier holding the delegating agent's +public key can independently verify each step by recomputing the +hash and checking the signature.

+
+
+
+
+
+
+

+4.3. JWT Claims: Execution Phase +

+

The following claims are added by the executing agent when +transitioning to Phase 2. Their presence distinguishes an Execution +Record from an Authorization Mandate.

+

exec_act (REQUIRED in Phase 2): A string identifying the action +actually performed. MUST conform to the same ABNF grammar as +capability action names. MUST match one of the action values in +the cap array of the Phase 1 claims.

+

pred (REQUIRED in Phase 2): An array of jti values of predecessor +tasks in the DAG. An empty array indicates a root task. Each value +MUST be the jti of a previously verified ACT (Phase 2) within +the same workflow (same wid) or the global ACT store if wid is +absent.

+

inp_hash (OPTIONAL): The base64url encoding (without padding) of +the SHA-256 hash of the task's input data, computed over the raw +octets of the serialized input. Provides cryptographic evidence of +what data the agent processed.

+

out_hash (OPTIONAL): The base64url encoding (without padding) of +the SHA-256 hash of the task's output data, using the same format +as inp_hash. Provides cryptographic evidence of what data the +agent produced.

+

exec_ts (REQUIRED in Phase 2): A NumericDate recording the +actual time of task execution. MAY differ from iat when the agent +queued the mandate before execution. MUST be greater than or equal +to iat. SHOULD be less than or equal to exp; execution after +mandate expiry is possible when tasks are long-running and MUST NOT +cause automatic rejection, but implementors SHOULD log a warning.

+

status (REQUIRED in Phase 2): One of "completed", "failed", +"partial". Allows audit systems to distinguish successful execution +from partial or failed attempts, which is essential for regulated +environments where failed attempts must be recorded.

+

err (OPTIONAL, present when status is "failed" or "partial"): +An object providing error context:

+
+
+{
+  "err": {
+    "code": "constraint_violation",
+    "detail": "data_classification_max exceeded"
+  }
+}
+
+
+

Error detail SHOULD NOT reveal internal system state beyond what is +necessary for audit purposes.

+
+
+
+
+

+4.4. Complete Examples +

+
+
+

+4.4.1. Example: Phase 1 — Authorization Mandate +

+
+
+{
+  "alg": "ES256",
+  "typ": "act+jwt",
+  "kid": "agent-clinical-key-2026-03"
+}
+.
+{
+  "iss": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
+  "sub": "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz",
+  "aud": [
+    "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz",
+    "https://ledger.hospital.example.com"
+  ],
+  "iat": 1772064000,
+  "exp": 1772064900,
+  "jti": "550e8400-e29b-41d4-a716-446655440001",
+
+  "wid": "a0b1c2d3-e4f5-6789-abcd-ef0123456789",
+
+  "task": {
+    "purpose": "validate_treatment_recommendation",
+    "data_sensitivity": "restricted",
+    "created_by": "operator:clinical-admin-01"
+  },
+
+  "cap": [
+    {
+      "action": "read.patient_record",
+      "constraints": {
+        "patient_id_scope": "current_task_only",
+        "max_records": 1
+      }
+    },
+    {
+      "action": "write.safety_assessment",
+      "constraints": {
+        "status": "draft_only"
+      }
+    }
+  ],
+
+  "oversight": {
+    "requires_approval_for": ["write.publish_assessment"]
+  },
+
+  "del": {
+    "depth": 0,
+    "max_depth": 2,
+    "chain": []
+  }
+}
+
+
+
+
+
+
+

+4.4.2. Example: Phase 2 — Execution Record (same token, re-signed by target agent) +

+
+
+{
+  "alg": "EdDSA",
+  "typ": "act+jwt",
+  "kid": "agent-safety-key-2026-03"
+}
+.
+{
+  "iss": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
+  "sub": "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz",
+  "aud": [
+    "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz",
+    "https://ledger.hospital.example.com"
+  ],
+  "iat": 1772064000,
+  "exp": 1772064900,
+  "jti": "550e8400-e29b-41d4-a716-446655440001",
+
+  "wid": "a0b1c2d3-e4f5-6789-abcd-ef0123456789",
+
+  "task": {
+    "purpose": "validate_treatment_recommendation",
+    "data_sensitivity": "restricted",
+    "created_by": "operator:clinical-admin-01"
+  },
+
+  "cap": [
+    {
+      "action": "read.patient_record",
+      "constraints": {
+        "patient_id_scope": "current_task_only",
+        "max_records": 1
+      }
+    },
+    {
+      "action": "write.safety_assessment",
+      "constraints": {
+        "status": "draft_only"
+      }
+    }
+  ],
+
+  "oversight": {
+    "requires_approval_for": ["write.publish_assessment"]
+  },
+
+  "del": {
+    "depth": 0,
+    "max_depth": 2,
+    "chain": []
+  },
+
+  "exec_act": "write.safety_assessment",
+  "pred": ["550e8400-e29b-41d4-a716-446655440000"],
+  "inp_hash": "n4bQgYhMfWWaL-qgxVrQFaO_TxsrC4Is0V1sFbDwCgg",
+  "out_hash": "LCa0a2j_xo_5m0U8HTBBNBNCLXBkg7-g-YpeiGJm564",
+  "exec_ts": 1772064300,
+  "status": "completed"
+}
+
+
+
+
+
+
+
+
+
+
+

+5. Trust Model +

+

ACT defines four trust tiers. Tier 1 is mandatory-to-implement; all +others are optional upgrades. An ACT verifier MUST be able to process +ACTs from any tier it has configured. The trust tier in use is +determined by the kid format and the presence of x5c or did +header parameters.

+
+
+

+5.1. Tier 0: Bootstrap (TOFU — Trust On First Use) +

+

Tier 0 is NOT part of the normative trust model and MUST NOT be used +in regulated environments. It is defined here for documentation +purposes only, to describe the common bootstrapping scenario.

+

In Tier 0, the first ACT received from an agent establishes its +public key. This is equivalent to SSH TOFU behavior: an attacker +who intercepts the first message can substitute their own key. Tier 0 +deployments MUST transition to Tier 1 or higher before exchanging +ACTs that carry sensitive capabilities.

+
+
+
+
+

+5.2. Tier 1: Pre-Shared Keys (Mandatory-to-Implement) +

+

In Tier 1, both parties exchange public keys out-of-band prior to +the first ACT exchange. The kid is an opaque string agreed during +the key exchange. Implementations MUST support Tier 1.

+

Key exchange MAY occur via any out-of-band mechanism: manual +configuration, a configuration management system, or a prior +authenticated channel. This specification does not mandate a +specific key exchange protocol.

+

Tier 1 public keys MUST be Ed25519 [RFC8037] or P-256 (ES256) +[RFC7518] keys. RSA keys SHOULD NOT be used in Tier 1 deployments due to +key size. Key rotation MUST be performed out-of-band using the same +mechanism as the initial exchange.

+
+
+
+
+

+5.3. Tier 2: PKI / X.509 +

+

In Tier 2, agent identity is bound to an X.509 certificate issued +by a mutually trusted Certificate Authority (CA). The kid is the +certificate thumbprint (SHA-256 of the DER-encoded certificate).

+

Cross-organizational ACT exchange in Tier 2 requires either:

+

(a) a mutually trusted root CA, or +(b) cross-certification between the organizations' CAs, or +(c) explicit trust anchoring (one organization's CA is added to + the other's trust store).

+

The x5c JOSE header parameter [RFC7515] MAY carry the full +certificate chain to enable verification without out-of-band trust +store configuration.

+
+
+
+
+

+5.4. Tier 3: Decentralized Identifiers (DID) +

+

In Tier 3, agent identity is expressed as a DID [W3C-DID]. The +kid is a DID key fragment. The did JOSE header parameter carries +the full DID for resolution.

+

Implementations SHOULD support at minimum did:key [DID-KEY] for +self-contained key distribution without external resolution, and +did:web [DID-WEB] for organizations that prefer DNS-anchored +identity.

+

DID resolution latency introduces a dependency on external +infrastructure. To preserve the zero-infrastructure baseline, +implementations using Tier 3 MAY cache DID Documents and MUST +specify a maximum cache TTL in their configuration.

+
+
+
+
+

+5.5. Cross-Tier Interoperability +

+

A delegation chain MAY include agents operating at different trust +tiers. Each step in the chain is verified using the trust tier of +the signing agent at that step. Verifiers MUST NOT reject a chain +solely because it mixes trust tiers, but MAY apply stricter +policy for chains that include Tier 0 or Tier 1 steps when +exchanging sensitive capabilities.

+
+
+
+
+
+
+

+6. Delegation Chain +

+

ACT delegation is peer-to-peer: no Authorization Server is involved. +Delegation is expressed as a cryptographically verifiable chain of +ACT issuances, where each step reduces privileges relative to the +previous step.

+
+
+

+6.1. Peer-to-Peer Delegation +

+

When Agent A authorizes Agent B to perform a sub-task, Agent A:

+
    +
  1. +

    Creates a new ACT with sub set to Agent B's identifier.

    +
  2. +
  3. +

    Sets cap to a subset of A's own authorized capabilities, +with constraints at least as restrictive as those in A's mandate.

    +
  4. +
  5. +

    Sets del.depth to A's own del.depth + 1.

    +
  6. +
  7. +

    Sets del.max_depth to no more than the del.max_depth value +in A's own mandate.

    +
  8. +
  9. +

    Adds a chain entry containing A's identifier as delegator, +the jti of A's own mandate, and a sig value computed as:

    +
    +
    +sig = Sign(A.private_key, SHA-256(canonical_ACT_phase1_bytes))
    +
    +
    +

    +where canonical_ACT_phase1_bytes is the UTF-8 encoded bytes +of the JWS Compact Serialization of A's Phase 1 ACT.

    +
  10. +
  11. +

    Signs the new ACT with A's private key.

    +
  12. +
+
+
+
+
+

+6.2. Privilege Reduction Requirements +

+

When issuing a delegated ACT, the issuing agent MUST reduce +privileges by one or more of:

+
    +
  • +

    Removing capabilities (sub-set of parent capabilities only).

    +
  • +
  • +

    Adding stricter constraints (lower rate limits, narrower domains, +shorter time windows, lower data classification ceiling).

    +
  • +
  • +

    Reducing token lifetime (exp closer to iat).

    +
  • +
  • +

    Reducing del.max_depth.

    +
  • +
+

The issuing agent MUST NOT grant capabilities not present in its +own mandate. Capability escalation via delegation is prohibited and +MUST be detected and rejected by verifiers.

+

For well-known numeric constraints (e.g., max_records, +max_requests_per_hour), "more restrictive" means a numerically +lower or equal value. For well-known enumerated constraints +(e.g., data_sensitivity), "more restrictive" means a value that +is equal or higher in the defined ordering +("public" < "internal" < "confidential" < "restricted"). +For unknown or domain-specific constraint keys, verifiers MUST +treat the constraint as non-comparable and MUST reject the +delegation unless the delegated constraint value is byte-for-byte +identical to the parent constraint value.

+
+
+
+
+

+6.3. Delegation Verification +

+

A verifier receiving a delegated ACT MUST:

+
    +
  1. +

    Verify the ACT's own signature (Section 8.1).

    +
  2. +
  3. +

    For each entry in del.chain, in order from index 0 to +del.depth - 1: +a. Retrieve the public key for entry.delegator. +b. Verify that entry.sig is a valid signature over the SHA-256 + hash of the referenced parent ACT (identified by entry.jti). +c. Verify that the capabilities in the current ACT are a subset + of the capabilities in the parent ACT, per the constraint + comparison rules in Section 6.2.

    +
  4. +
  5. +

    Verify that del.depth does not exceed del.max_depth.

    +
  6. +
  7. +

    Verify that del.chain length equals del.depth.

    +
  8. +
+

If any step fails, the ACT MUST be rejected.

+
+
+
+
+
+
+

+7. DAG Structure and Causal Ordering +

+

ACTs in Phase 2 form a DAG over the pred (predecessor) claim. The DAG +encodes causal dependencies: a task MAY NOT begin before all its +parent tasks are completed.

+
+
+

+7.1. DAG Validation +

+

When processing a Phase 2 ACT, implementations MUST:

+
    +
  1. +

    Uniqueness: Verify the jti is unique within the workflow +(wid) or globally if wid is absent.

    +
  2. +
  3. +

    Predecessor Existence: Verify every jti in pred corresponds to +a Phase 2 ACT available in the ACT store or audit ledger.

    +
  4. +
  5. +

    Temporal Ordering: Verify that for each parent: +parent.exec_ts < child.exec_ts + clock_skew_tolerance +(RECOMMENDED tolerance: 30 seconds). Causal ordering is +primarily enforced by DAG structure, not timestamps.

    +
  6. +
  7. +

    Acyclicity: Following parent references MUST NOT lead back +to the current ACT's jti. Implementations MUST enforce a +maximum ancestor traversal limit (RECOMMENDED: 10,000 nodes).

    +
  8. +
  9. +

    Capability Consistency: Verify that exec_act matches one +of the action values in the cap array from Phase 1.

    +
  10. +
+
+
+
+
+

+7.2. Root Tasks and Fan-in +

+

A root task has pred = []. A workflow MAY have multiple root tasks +representing parallel branches with no shared predecessor.

+

Fan-in — a task with multiple parents — is expressed naturally:

+
+
+{
+  "pred": [
+    "550e8400-e29b-41d4-a716-446655440001",
+    "550e8400-e29b-41d4-a716-446655440002"
+  ]
+}
+
+
+

This indicates the current task depends on the completion of both +referenced parent tasks, which MAY have been executed in parallel +by different agents.

+
+
+
+
+

+7.3. DAG vs Linear Delegation Chains +

+

Several concurrent proposals for agent authorization model delegation +as an ordered, linear chain of tokens or principals. Examples include +the actchain claim of +[I-D.oauth-transaction-tokens-for-agents], the Agentic JWT +construction of [AgenticJWT], the AIP / Interaction-Bound Context Token +(IBCT) model of [AIP-IBCT], and the delegation record defined in +[I-D.helixar-hdp-agentic-delegation]. In each of these +designs, the trail from the originator to the final executor is +represented as an ordered array recording one predecessor per hop.

+
+
+

+7.3.1. What Linear Chains Express Well +

+

Linear chains are a natural fit for simple sequential delegation: +agent A delegates to agent B, which delegates to agent C. The chain +records the history of that single hand-off in order, and verifiers +can walk from the current holder back to the originator without +branching. For interactive user-to-agent-to-service flows, where each +step has exactly one predecessor, a linear chain is both sufficient +and compact.

+
+
+
+
+

+7.3.2. Limitations of Linear Chains +

+

Agentic workflows in practice are rarely purely linear. Planner +agents dispatch parallel sub-tasks; synthesizer agents consume +results from multiple independent branches; tool calls execute +concurrently and their outputs are merged. A linear chain cannot +faithfully represent the following common topologies:

+
    +
  • +

    Fork: A single task spawns multiple independent sub-tasks. A +linear chain cannot express that two concurrent sub-executions +share a common parent authorization but are otherwise +independent; each sub-task would either omit its siblings or +fabricate a false ordering between them.

    +
  • +
  • +

    Join (fan-in): A task whose output depends on results from +several predecessors has no single prior hop. Linear chains +cannot express multiple-parent relationships without either +collapsing parallel branches into an arbitrary order or +duplicating records.

    +
  • +
  • +

    Diamond dependencies: A planner dispatches parallel work and +later synthesizes the results. The synthesis step depends on +every branch, and all branches depend on the same planner. +This diamond shape requires a DAG; a linear chain forces the +verifier to pick one branch and discard the others.

    +
  • +
  • +

    Cross-chain references: When two independently authorized +chains produce outputs that are later combined (e.g., a shared +cache lookup and a fresh retrieval), linear chains force a +single history and cannot record that the combined result has +two distinct provenances.

    +
  • +
+
+
+
+
+

+7.3.3. ACT's DAG Approach +

+

As specified in Section 4.3, the pred claim is +an array of parent jti values rather than a single scalar. This +allows an ACT to record:

+
    +
  • +

    Zero parents (a root task, pred = []);

    +
  • +
  • +

    Exactly one parent (a linear chain, equivalent to the +single-predecessor designs referenced above);

    +
  • +
  • +

    Multiple parents (fan-in from parallel branches); and

    +
  • +
  • +

    Any acyclic shape that matches the actual execution structure.

    +
  • +
+

The following example illustrates a diamond workflow. A research +agent (A) dispatches a web-search agent (B) and a code-analysis +agent (C) in parallel; both complete, and their outputs are +combined by a writer agent (D):

+
+
+        +-----+
+        |  A  |   pred = []
+        +-----+
+         /   \
+        v     v
+     +---+   +---+
+     | B |   | C |   pred = [A.jti]
+     +---+   +---+
+        \   /
+         v v
+        +-----+
+        |  D  |   pred = [B.jti, C.jti]
+        +-----+
+
+
+

A linear actchain representation cannot express that D depends on +both B and C. At best, it can record one of the two parents and lose +the other, or serialize B and C into a false sequential order.

+
+
+
+
+

+7.3.4. Verifiability Implications +

+

With a DAG representation, an auditor holding the set of Phase 2 +ACTs for a workflow can reconstruct the full execution graph, not +just one chain per final record. This matters for:

+
    +
  • +

    Debugging: identifying which branch contributed an erroneous +input to a downstream synthesis.

    +
  • +
  • +

    Compliance: demonstrating that every input to a regulated +decision was itself authorized, not only the most recent hop.

    +
  • +
  • +

    Tamper-evidence: detecting that a branch has been omitted, +since the surviving siblings' pred arrays name the missing +predecessor by jti.

    +
  • +
+
+
+
+
+

+7.3.5. Interoperability with Linear-Chain Designs +

+

ACT's DAG reduces to a linear chain in the degenerate case where +every pred array has length zero or one. An implementation that +requires linear-chain semantics MAY treat such ACTs as equivalent +to actchain-style records and ignore the fork/join capability. +The reverse reduction is not available: a linear-chain-only design +cannot represent ACT DAG topologies without loss of information.

+

ACT therefore takes the linear chain as a strict subset of its +model rather than as a competing approach. The DAG generalization +is deliberate and is motivated by the concurrent, branching nature +of real agentic executions rather than by any deficiency in the +linear-chain designs for the sequential cases they target.

+
+
+
+
+
+
+
+
+

+8. Verification Procedure +

+
+
+

+8.1. Authorization Phase Verification +

+

A receiving agent MUST verify a Phase 1 ACT as follows:

+
    +
  1. +

    Parse JWS Compact Serialization per [RFC7515].

    +
  2. +
  3. +

    Verify typ is "act+jwt".

    +
  4. +
  5. +

    Verify alg is in the verifier's algorithm allowlist. The +allowlist MUST NOT include "none" or any symmetric algorithm.

    +
  6. +
  7. +

    Retrieve the public key for kid per the applicable trust tier +(Section 5).

    +
  8. +
  9. +

    Verify the JWS signature.

    +
  10. +
  11. +

    Verify exp has not passed (with clock skew tolerance: +RECOMMENDED maximum 5 minutes).

    +
  12. +
  13. +

    Verify iat is not unreasonably in the future (RECOMMENDED: +no more than 30 seconds ahead).

    +
  14. +
  15. +

    Verify aud contains the verifier's own identifier.

    +
  16. +
  17. +

    Verify iss is a trusted agent identity per local policy.

    +
  18. +
  19. +

    Verify sub matches the verifier's own identifier (the agent +is the intended recipient of this mandate).

    +
  20. +
  21. +

    Verify all required claims are present and well-formed.

    +
  22. +
  23. +

    Verify delegation chain (Section 6.3) if +del.chain is non-empty.

    +
  24. +
  25. +

    Verify capabilities are within policy limits.

    +
  26. +
+
+
+
+
+

+8.2. Execution Phase Verification +

+

In addition to all Phase 1 verification steps, a verifier processing +a Phase 2 ACT MUST:

+
    +
  1. +

    Verify exec_act is present and matches an action in cap.

    +
  2. +
  3. +

    Verify pred is present and perform DAG validation +(Section 7.1).

    +
  4. +
  5. +

    Verify exec_ts is present and is greater than or equal to +iat. If exec_ts is after exp, implementations SHOULD log +a warning but MUST NOT reject the record solely on this basis.

    +
  6. +
  7. +

    Verify status is present and has a valid value.

    +
  8. +
  9. +

    Verify the re-signature was produced by the sub agent (the +executing agent), not the iss agent (the mandating agent). +This is verified by checking that the kid in the Phase 2 JOSE +header corresponds to the sub agent's public key.

    +
  10. +
  11. +

    If inp_hash or out_hash are present, verify them against +locally available input/output data when possible.

    +
  12. +
+
+
+
+
+
+
+

+9. Transport +

+
+
+

+9.1. HTTP Header Transport +

+

This specification defines two HTTP header fields for ACT transport:

+

ACT-Mandate: Carries a Phase 1 ACT issued by an upstream agent +or operator. Value is the JWS Compact Serialization of the ACT.

+
+
+GET /api/safety-check HTTP/1.1
+Host: safety-agent.example.com
+ACT-Mandate: eyJhbGci...Phase1ACT...
+
+
+

ACT-Record: Carries a Phase 2 ACT from a predecessor agent, +serving as evidence of completed prerequisites.

+
+
+POST /api/downstream HTTP/1.1
+Host: downstream-agent.example.com
+ACT-Mandate: eyJhbGci...Phase1ACT...
+ACT-Record: eyJhbGci...Phase2ACT...
+
+
+

Multiple ACT-Record header lines MAY be included when a task has +multiple completed predecessors (DAG fan-in). If any single ACT-Record +fails verification, the receiver MUST reject the entire request.

+
+
+
+
+

+9.2. Non-HTTP Transports +

+

For non-HTTP transports (MCP stdio, A2A message queues, AMQP, etc.), +ACTs SHOULD be carried as a dedicated field in the transport's +metadata envelope. The field name SHOULD be act_mandate for Phase 1 +ACTs and act_record for Phase 2 ACTs. Implementations MUST use the +JWS Compact Serialization form in all transports.

+
+
+
+
+
+
+

+10. Audit Ledger Interface +

+

Phase 2 ACTs SHOULD be submitted to an immutable audit ledger. +A ledger is RECOMMENDED for regulated environments but is not +required for basic ACT operation. This specification does not +mandate a specific storage technology.

+

When an audit ledger is deployed, the implementation MUST provide:

+
    +
  1. +

    Append-only semantics: Once an ACT is recorded, it MUST NOT +be modified or deleted.

    +
  2. +
  3. +

    Ordering: A monotonically increasing sequence number per +recorded ACT.

    +
  4. +
  5. +

    Lookup: Efficient retrieval by jti value.

    +
  6. +
  7. +

    Integrity: A cryptographic commitment scheme over recorded +ACTs (e.g., hash-chaining, Merkle tree anchoring, or SCITT +registration per [I-D.ietf-scitt-architecture]).

    +
  8. +
+
+
+
+
+

+11. Security Considerations +

+
+
+

+11.1. Threat Model +

+

ACT assumes an adversarial environment where:

+
    +
  • +

    Individual agents may be compromised.

    +
  • +
  • +

    Network paths may be intercepted (mitigated by transport security).

    +
  • +
  • +

    Attackers may attempt to replay valid ACTs from prior interactions.

    +
  • +
  • +

    Colluding agents may attempt to fabricate execution records.

    +
  • +
  • +

    Agents may attempt privilege escalation via manipulated delegation +chains.

    +
  • +
+

ACT does NOT assume:

+
    +
  • +

    A trusted central authority (by design).

    +
  • +
  • +

    Synchronized clocks beyond the stated skew tolerance.

    +
  • +
  • +

    Availability of external network services during verification.

    +
  • +
+
+
+
+
+

+11.2. Self-Assertion Limitation +

+

Phase 2 ACTs are self-asserted: an executing agent signs its own +execution record. A compromised agent with an intact private key can +produce Phase 2 ACTs claiming arbitrary inputs, outputs, and action +types, as long as the claimed exec_act matches an authorized +capability.

+

This is a fundamental limitation of self-sovereign attestation. It +is the same limitation affecting WIMSE ECT +[I-D.nennemann-wimse-ect].

+

Mitigations:

+
    +
  • +

    Cross-agent corroboration: A receiving agent that processes +an ACT-Record as a prerequisite independently verifies that the +claimed out_hash matches the data it actually received.

    +
  • +
  • +

    Ledger sequencing: An append-only ledger with monotonic +sequence numbers prevents retroactive insertion of fabricated +records.

    +
  • +
  • +

    SCITT anchoring: For high-assurance deployments, Phase 2 ACTs +SHOULD be anchored to a SCITT Transparency Service, providing +external witness that the record was submitted at a claimed time.

    +
  • +
+
+
+
+
+

+11.3. Key Compromise +

+

If an agent's private key is compromised, an attacker can issue +arbitrary Phase 1 mandates (impersonating the agent as an issuer) +and fabricate Phase 2 records (impersonating the agent as an +executor).

+

Key compromise response:

+
    +
  1. +

    The compromised agent's identifier MUST be added to all +verifiers' deny lists.

    +
  2. +
  3. +

    In Tier 2 (PKI) deployments, the certificate MUST be revoked +via CRL or OCSP.

    +
  4. +
  5. +

    In Tier 3 (DID) deployments, the DID Document MUST be updated +to revoke the compromised key.

    +
  6. +
  7. +

    In Tier 1 (pre-shared key) deployments, both parties MUST +perform an out-of-band key rotation.

    +
  8. +
+

ACT chains that include records signed by a compromised key MUST +be treated as potentially tainted from the point of compromise. +Audit systems MUST flag all ACTs signed after the estimated +compromise time.

+
+
+
+
+

+11.4. Replay Attack Prevention +

+

jti uniqueness within the applicable scope (workflow or global) +provides replay detection. Verifiers MUST reject ACTs whose jti +has already been seen and processed.

+

exp provides a time-bounded replay window. Verifiers MUST reject +expired ACTs. The combination of jti and exp means that replay +detection state only needs to be maintained for the duration of token +lifetimes.

+
+
+
+
+

+11.5. Equivocation +

+

In standalone deployment (no audit ledger, no SCITT anchoring), ACT +does NOT provide non-equivocation guarantees. A compromised agent +can maintain two valid ACT chains — presenting Phase 2 records with +different out_hash values to different verifiers — and both will +pass independent verification.

+

Deployments claiming DORA [DORA] Article 10/11 compliance or EU AI +Act [EUAIA] Article 12 compliance MUST use one of:

+

(a) A shared append-only audit ledger visible to all relevant parties, + with cryptographic integrity (hash chaining or Merkle trees).

+

(b) SCITT anchoring [I-D.ietf-scitt-architecture] providing external + Transparency Service receipts.

+

Standalone ACT provides tamper detection (a verifier can detect +modification of a record it has seen) but not split-view prevention +(a verifier cannot detect a different record shown to another +verifier).

+
+
+
+
+

+11.6. Privilege Escalation +

+

Verifiers MUST check that each step in del.chain reduces or +maintains (never increases) the capabilities relative to the +preceding step. Implementations MUST reject ACTs where:

+
    +
  • +

    del.depth exceeds del.max_depth.

    +
  • +
  • +

    cap contains actions not present in any referenced parent ACT.

    +
  • +
  • +

    Constraints in cap are less restrictive than those in the parent.

    +
  • +
+
+
+
+
+

+11.7. Denial of Service +

+

ACT verification is more computationally expensive than standard JWT +validation due to delegation chain verification and DAG traversal.

+

Mitigations:

+
    +
  • +

    Reject ACTs larger than 64KB before parsing.

    +
  • +
  • +

    Enforce maximum del.chain length (RECOMMENDED: 10 entries).

    +
  • +
  • +

    Enforce maximum DAG ancestor traversal depth (RECOMMENDED: 10,000 +nodes, Section 7.1).

    +
  • +
  • +

    Cache verification results for recently seen jti values within +the token lifetime window.

    +
  • +
+
+
+
+
+
+
+

+12. Privacy Considerations +

+

ACT tokens and audit ledger records may contain information that +identifies agents, organizations, or individuals. Implementations +SHOULD apply data minimization principles:

+ +

For GDPR Article 17 (right to erasure) compliance, audit ledgers +SHOULD store only ACT tokens (which contain hashes, not raw data) +and SHOULD implement crypto-shredding for any associated encrypted +payloads.

+
+
+
+
+

+13. IANA Considerations +

+
+
+

+13.1. Media Type Registration +

+

This document requests registration of the following media type:

+
    +
  • +

    Type name: application

    +
  • +
  • +

    Subtype name: act+jwt

    +
  • +
  • +

    Required parameters: none

    +
  • +
  • +

    Encoding considerations: binary (base64url-encoded JWT)

    +
  • +
  • +

    Security considerations: See Section 11.

    +
  • +
  • +

    Interoperability considerations: See Section 8.1.

    +
  • +
  • +

    Specification: This document.

    +
  • +
+
+
+
+
+

+13.2. HTTP Header Field Registration +

+

This document requests registration of the following HTTP header +fields in the "Hypertext Transfer Protocol (HTTP) Field Name +Registry":

+
    +
  • +

    Header field name: ACT-Mandate

    +
  • +
  • +

    Applicable protocol: HTTP

    +
  • +
  • +

    Status: permanent

    +
  • +
  • +

    Specification: This document, Section 9.1.

    +
  • +
  • +

    Header field name: ACT-Record

    +
  • +
  • +

    Applicable protocol: HTTP

    +
  • +
  • +

    Status: permanent

    +
  • +
  • +

    Specification: This document, Section 9.1.

    +
  • +
+
+
+
+
+

+13.3. JWT Claims Registration +

+

This document requests registration of the following claims in the +IANA "JSON Web Token Claims" registry:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1
Claim NameDescriptionReference
widWorkflow identifierThis document
taskTask authorization contextThis document
capCapabilities with constraintsThis document
oversightHuman oversight requirementsThis document
delDelegation provenance chainThis document
exec_actExecuted action identifierThis document
predPredecessor task identifiers (DAG)This document
inp_hashSHA-256 hash of task inputThis document
out_hashSHA-256 hash of task outputThis document
exec_tsActual execution timestampThis document
statusExecution statusThis document
errExecution error contextThis document
+
+
+
+
+
+
+

+14. References +

+
+
+

+14.1. Normative References +

+
+
[RFC2119]
+
+Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
+
+
[RFC7515]
+
+Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
+
+
[RFC7517]
+
+Jones, M., "JSON Web Key (JWK)", RFC 7517, DOI 10.17487/RFC7517, , <https://www.rfc-editor.org/rfc/rfc7517>.
+
+
[RFC7518]
+
+Jones, M., "JSON Web Algorithms (JWA)", RFC 7518, DOI 10.17487/RFC7518, , <https://www.rfc-editor.org/rfc/rfc7518>.
+
+
[RFC7519]
+
+Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, , <https://www.rfc-editor.org/rfc/rfc7519>.
+
+
[RFC8037]
+
+Liusvaara, I., "CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)", RFC 8037, DOI 10.17487/RFC8037, , <https://www.rfc-editor.org/rfc/rfc8037>.
+
+
[RFC8174]
+
+Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
+
+
[RFC9110]
+
+Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, , <https://www.rfc-editor.org/rfc/rfc9110>.
+
+
[RFC9562]
+
+Davis, K., Peabody, B., and P. Leach, "Universally Unique IDentifiers (UUIDs)", RFC 9562, DOI 10.17487/RFC9562, , <https://www.rfc-editor.org/rfc/rfc9562>.
+
+
+
+
+
+
+

+14.2. Informative References +

+
+
[A2A-SPEC]
+
+Google, "Agent2Agent (A2A) Protocol", <https://github.com/a2aproject/A2A>.
+
+
[AgenticJWT]
+
+"Agentic JWT: A JSON Web Token Profile for Delegated Agent Authorization", , <https://arxiv.org/abs/2509.13597>.
+
+
[AIP-IBCT]
+
+S., P., "AIP: Agent Interaction Protocol with Interaction-Bound Context Tokens", , <https://arxiv.org/abs/2603.24775>.
+
+
[AUTOGEN]
+
+Microsoft, "AutoGen Documentation", <https://microsoft.github.io/autogen/>.
+
+
[CREWAI]
+
+CrewAI, "CrewAI Documentation", <https://docs.crewai.com/>.
+
+
[DID-KEY]
+
+D., L., "The did:key Method v0.7", , <https://w3c-ccg.github.io/did-method-key/>.
+
+
[DID-WEB]
+
+O., S., "did:web Method Specification", , <https://w3c-ccg.github.io/did-method-web/>.
+
+
[DORA]
+
+European Parliament, "Digital Operational Resilience Act (DORA), Regulation (EU) 2022/2554", , <https://eur-lex.europa.eu/eli/reg/2022/2554/oj>.
+
+
[EUAIA]
+
+European Parliament, "EU Artificial Intelligence Act, Regulation (EU) 2024/1689", , <https://eur-lex.europa.eu/eli/reg/2024/1689/oj>.
+
+
[I-D.aap-oauth-profile]
+
+A., C., "Agent Authorization Profile (AAP) for OAuth 2.0", Work in Progress, Internet-Draft, draft-aap-oauth-profile-01, , <https://datatracker.ietf.org/doc/draft-aap-oauth-profile/>.
+
+
[I-D.emirdag-scitt-ai-agent-execution]
+
+Emirdag, "A SCITT Profile for AI Agent Execution Records", Work in Progress, Internet-Draft, draft-emirdag-scitt-ai-agent-execution-00, , <https://datatracker.ietf.org/doc/draft-emirdag-scitt-ai-agent-execution/>.
+
+
[I-D.helixar-hdp-agentic-delegation]
+
+Helixar, "Helixar Delegation Protocol (HDP) for Agentic Delegation", Work in Progress, Internet-Draft, draft-helixar-hdp-agentic-delegation-00, , <https://datatracker.ietf.org/doc/draft-helixar-hdp-agentic-delegation/>.
+
+
[I-D.ietf-scitt-architecture]
+
+Birkholz, H., Delignat-Lavaud, A., Fournet, C., Deshpande, Y., and S. Lasker, "An Architecture for Trustworthy and Transparent Digital Supply Chains", Work in Progress, Internet-Draft, draft-ietf-scitt-architecture-22, , <https://datatracker.ietf.org/doc/html/draft-ietf-scitt-architecture-22>.
+
+
[I-D.nennemann-wimse-ect]
+
+Nennemann, C., "Execution Context Tokens for Distributed Agentic Workflows", Work in Progress, Internet-Draft, draft-nennemann-wimse-ect-02, , <https://datatracker.ietf.org/doc/draft-nennemann-wimse-ect/>.
+
+
[I-D.oauth-transaction-tokens-for-agents]
+
+G., F., "Transaction Tokens for Agentic AI Systems", Work in Progress, Internet-Draft, draft-oauth-transaction-tokens-for-agents-06, , <https://datatracker.ietf.org/doc/draft-oauth-transaction-tokens-for-agents/>.
+
+
[IEC62304]
+
+IEC, "Medical device software — Software life cycle processes, IEC 62304:2006+AMD1:2015", , <https://www.iec.ch/>.
+
+
[LANGGRAPH]
+
+LangChain, "LangGraph Documentation", <https://langchain-ai.github.io/langgraph/>.
+
+
[MCP-SPEC]
+
+"Model Context Protocol Specification", , <https://modelcontextprotocol.io/specification/2025-11-25>.
+
+
[OPENAI-AGENTS-SDK]
+
+OpenAI, "OpenAI Agents SDK", <https://openai.github.io/openai-agents-python/>.
+
+
[RFC7009]
+
+Lodderstedt, T., Ed., Dronia, S., and M. Scurtescu, "OAuth 2.0 Token Revocation", RFC 7009, DOI 10.17487/RFC7009, , <https://www.rfc-editor.org/rfc/rfc7009>.
+
+
[RFC8693]
+
+Jones, M., Nadalin, A., Campbell, B., Ed., Bradley, J., and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, DOI 10.17487/RFC8693, , <https://www.rfc-editor.org/rfc/rfc8693>.
+
+
[SentinelAgent]
+
+Patil, "SentinelAgent: A Formal Delegation Chain Calculus for Verifiable Agent Authorization", , <https://arxiv.org/abs/2604.02767>.
+
+
[W3C-DID]
+
+M., S., "Decentralized Identifiers (DIDs) v1.0", , <https://www.w3.org/TR/did-core/>.
+
+
+
+
+
+
+
+
+

+Appendix A: Complete JSON Schema +

+

The normative JSON Schema for ACT Phase 1 and Phase 2 tokens is +available at [TODO: reference implementation repository].

+
+
+
+
+

+Appendix B: Test Vectors +

+
+
+

+B.1. Valid Phase 1 ACT — Root Mandate (Tier 1, Pre-Shared Key) +

+
+
+[TODO: include encoded test vector with signing key, payload,
+and expected JWS Compact Serialization]
+
+
+
+
+
+
+

+B.2. Valid Phase 2 ACT — Completed Execution +

+
+
+[TODO: include encoded test vector demonstrating Phase 1 -> Phase 2
+transition with re-signature by target agent]
+
+
+
+
+
+
+

+B.3. Valid Phase 2 ACT — Fan-in (Multiple Parents) +

+
+
+[TODO: demonstrate pred with two predecessor jti values from parallel
+workflow branches]
+
+
+
+
+
+
+

+B.4. Invalid ACT — Delegation Depth Exceeded +

+
+
+[TODO: demonstrate del.depth > del.max_depth rejection]
+
+
+
+
+
+
+

+B.5. Invalid ACT — Capability Escalation +

+
+
+[TODO: demonstrate rejection when delegated cap contains action
+not present in parent ACT]
+
+
+
+
+
+
+

+B.6. Invalid ACT — exec_act Mismatch +

+
+
+[TODO: demonstrate rejection when exec_act does not match any
+cap.action in the Phase 1 claims]
+
+
+
+
+
+
+
+
+

+Appendix C: Deployment Scenarios +

+
+
+

+C.1. Minimal Deployment (Zero Infrastructure) +

+

Two organizations exchange pre-shared public keys via secure email. +Each agent signs Phase 1 mandates and Phase 2 records with its +Ed25519 key. No ledger, no external services. Suitable for +development and low-risk workflows.

+

Limitation: No non-equivocation (Section 11.5).

+
+
+
+
+

+C.2. Regulated Deployment with Hash-Chained Ledger +

+

Phase 2 ACTs are submitted to a shared append-only ledger with +hash-chaining. Each recorded ACT extends a cryptographic chain, +providing tamper evidence for each ACT and the chain as a whole. +The ledger is shared between all regulated parties participating +in the workflow. Suitable for DORA compliance.

+
+
+
+
+

+C.3. High-Assurance Cross-Organizational Deployment +

+

Phase 2 ACTs are anchored to a SCITT Transparency Service. SCITT +receipts are attached to the audit record as non-equivocation proofs. +DID-based agent identities (Tier 3) enable self-sovereign key +management without shared CA infrastructure.

+
+
+
+
+

+C.4. WIMSE Environment Integration +

+

In environments where WIMSE is already deployed, ACT-Mandate and +ACT-Record headers are carried alongside the WIMSE Workload-Identity +header. The ECT and ACT serve different purposes: the ECT records +workload-level execution in WIMSE terms; the ACT records the +authorization provenance and capability constraints that governed +the action.

+
+
+
+
+
+
+

+Acknowledgments +

+

The author thanks the IETF WIMSE, OAuth, and SCITT working groups +for foundational work on workload identity, delegated authorization, +and transparent supply chain records that informs this specification.

+
+
+
+
+

+Author's Address +

+
+
Christian Nennemann
+
Independent Researcher
+ +
+
+
+ + + diff --git a/workspace/packages/act/draft-nennemann-act-01.md b/workspace/drafts/act/draft-nennemann-act-01.md similarity index 76% rename from workspace/packages/act/draft-nennemann-act-01.md rename to workspace/drafts/act/draft-nennemann-act-01.md index 92b364f..4468c71 100644 --- a/workspace/packages/act/draft-nennemann-act-01.md +++ b/workspace/drafts/act/draft-nennemann-act-01.md @@ -1,16 +1,170 @@ -# Agent Context Token (ACT) +--- +title: "Agent Context Token (ACT)" +abbrev: "ACT" +category: std +docname: draft-nennemann-act-01 +submissiontype: IETF +number: +date: +v: 3 +area: "SEC" +keyword: + - agent authorization + - execution accountability + - JWT + - DAG + - delegation -``` -Independent Submission C. Nennemann -Internet-Draft Independent -Intended status: Standards Track April 2026 -Expires: October 2026 +author: + - + fullname: Christian Nennemann + organization: Independent Researcher + email: ietf@nennemann.de - Agent Context Token (ACT) - draft-nennemann-act-01 -``` +normative: + RFC7515: + RFC7517: + RFC7518: + RFC7519: + RFC8037: + RFC9110: + RFC9562: -## Abstract +informative: + RFC7009: + RFC8693: + I-D.nennemann-wimse-ect: + title: "Execution Context Tokens for Distributed Agentic Workflows" + target: https://datatracker.ietf.org/doc/draft-nennemann-wimse-ect/ + seriesinfo: + Internet-Draft: draft-nennemann-wimse-ect-02 + date: 2026 + author: + - fullname: Christian Nennemann + # draft-ietf-scitt-architecture is currently in AUTH48 (RFC Editor + # queue) at version -22. To become RFC upon publication. Readers + # should use the RFC number once assigned. + I-D.ietf-scitt-architecture: + I-D.oauth-transaction-tokens-for-agents: + title: "Transaction Tokens for Agentic AI Systems" + target: https://datatracker.ietf.org/doc/draft-oauth-transaction-tokens-for-agents/ + seriesinfo: + Internet-Draft: draft-oauth-transaction-tokens-for-agents-06 + date: 2026 + author: + - fullname: Fletcher, G. + I-D.aap-oauth-profile: + title: "Agent Authorization Profile (AAP) for OAuth 2.0" + target: https://datatracker.ietf.org/doc/draft-aap-oauth-profile/ + seriesinfo: + Internet-Draft: draft-aap-oauth-profile-01 + date: 2026-02 + author: + - fullname: Cruz, A. + I-D.helixar-hdp-agentic-delegation: + title: "Helixar Delegation Protocol (HDP) for Agentic Delegation" + target: https://datatracker.ietf.org/doc/draft-helixar-hdp-agentic-delegation/ + seriesinfo: + Internet-Draft: draft-helixar-hdp-agentic-delegation-00 + date: 2026 + author: + - org: Helixar + I-D.emirdag-scitt-ai-agent-execution: + title: "A SCITT Profile for AI Agent Execution Records" + target: https://datatracker.ietf.org/doc/draft-emirdag-scitt-ai-agent-execution/ + seriesinfo: + Internet-Draft: draft-emirdag-scitt-ai-agent-execution-00 + date: 2026-04 + author: + - fullname: Emirdag + AgenticJWT: + title: "Agentic JWT: A JSON Web Token Profile for Delegated Agent Authorization" + target: https://arxiv.org/abs/2509.13597 + date: 2025 + AIP-IBCT: + title: "AIP: Agent Interaction Protocol with Interaction-Bound Context Tokens" + target: https://arxiv.org/abs/2603.24775 + date: 2026-03 + author: + - fullname: Prakash, S. + SentinelAgent: + title: "SentinelAgent: A Formal Delegation Chain Calculus for Verifiable Agent Authorization" + target: https://arxiv.org/abs/2604.02767 + date: 2026-04 + author: + - fullname: Patil + MCP-SPEC: + title: "Model Context Protocol Specification" + target: https://modelcontextprotocol.io/specification/2025-11-25 + date: 2025-11-25 + OPENAI-AGENTS-SDK: + title: "OpenAI Agents SDK" + target: https://openai.github.io/openai-agents-python/ + date: false + author: + - org: OpenAI + LANGGRAPH: + title: "LangGraph Documentation" + target: https://langchain-ai.github.io/langgraph/ + date: false + author: + - org: LangChain + A2A-SPEC: + title: "Agent2Agent (A2A) Protocol" + target: https://github.com/a2aproject/A2A + date: false + author: + - org: Google + CREWAI: + title: "CrewAI Documentation" + target: https://docs.crewai.com/ + date: false + author: + - org: CrewAI + AUTOGEN: + title: "AutoGen Documentation" + target: https://microsoft.github.io/autogen/ + date: false + author: + - org: Microsoft + W3C-DID: + title: "Decentralized Identifiers (DIDs) v1.0" + target: https://www.w3.org/TR/did-core/ + date: 2022-07 + author: + - fullname: Sporny, M. + DID-KEY: + title: "The did:key Method v0.7" + target: https://w3c-ccg.github.io/did-method-key/ + date: 2021 + author: + - fullname: Longley, D. + DID-WEB: + title: "did:web Method Specification" + target: https://w3c-ccg.github.io/did-method-web/ + date: 2022 + author: + - fullname: Steele, O. + DORA: + title: "Digital Operational Resilience Act (DORA), Regulation (EU) 2022/2554" + target: https://eur-lex.europa.eu/eli/reg/2022/2554/oj + date: 2022 + author: + - org: European Parliament + EUAIA: + title: "EU Artificial Intelligence Act, Regulation (EU) 2024/1689" + target: https://eur-lex.europa.eu/eli/reg/2024/1689/oj + date: 2024 + author: + - org: European Parliament + IEC62304: + title: "Medical device software — Software life cycle processes, IEC 62304:2006+AMD1:2015" + target: https://www.iec.ch/ + date: 2015 + author: + - org: IEC + +--- abstract This document defines the Agent Context Token (ACT), a self-contained JWT-based format that captures the full invocation context of an @@ -24,108 +178,16 @@ outputs and linking to predecessor tasks via a directed acyclic graph (DAG). ACT requires no Authorization Server, no workload identity infrastructure, and no transparency service for basic operation. Trust is bootstrapped via pre-shared keys and is upgradeable to PKI or -Decentralized Identifiers (DIDs). ACT is designed for cross- -organizational agent federation in regulated and unregulated +Decentralized Identifiers (DIDs). ACT is designed for +cross-organizational agent federation in regulated and unregulated environments alike. ACT is the general-purpose agent context primitive; the WIMSE Execution Context Token (ECT) -[I-D.nennemann-wimse-ect] is a sibling profile specialized for +{{I-D.nennemann-wimse-ect}} is a sibling profile specialized for workload-identity-bound execution recording in WIMSE deployments. ---- +--- middle -## 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/. - -This Internet-Draft will expire on 11 October 2026. - ---- - -## Copyright Notice - -Copyright (c) 2026 IETF Trust and the persons identified as the -document authors. All rights reserved. - -This document is subject to BCP 78 and the IETF Trust's Legal -Provisions Relating to IETF Documents -(https://trustee.ietf.org/license-info). - ---- - -## Table of Contents - -1. Introduction - - 1.1. Problem Statement - - 1.2. Design Goals - - 1.3. Non-Goals - - 1.4. Relationship to Related Work - - 1.4.1. Concurrent Agent Authorization Proposals - - 1.5. Applicability - - 1.5.1. Model Context Protocol (MCP) Tool-Use Flows - - 1.5.2. OpenAI Agents SDK and Function Calling - - 1.5.3. LangGraph and LangChain Agent Graphs - - 1.5.4. Google Agent2Agent (A2A) Protocol - - 1.5.5. Enterprise Orchestration Without WIMSE (CrewAI, AutoGen) - - 1.5.6. Relationship to WIMSE ECT -2. Conventions and Definitions -3. ACT Lifecycle - - 3.1. Phase 1: Authorization Mandate - - 3.2. Phase 2: Execution Record - - 3.3. Lifecycle State Machine -4. ACT Token Format - - 4.1. JOSE Header - - 4.2. JWT Claims: Authorization Phase - - 4.3. JWT Claims: Execution Phase - - 4.4. Complete Examples -5. Trust Model - - 5.1. Tier 0: Bootstrap (TOFU) - - 5.2. Tier 1: Pre-Shared Keys (Mandatory-to-Implement) - - 5.3. Tier 2: PKI / X.509 - - 5.4. Tier 3: Decentralized Identifiers (DID) - - 5.5. Cross-Tier Interoperability -6. Delegation Chain - - 6.1. Peer-to-Peer Delegation - - 6.2. Privilege Reduction Requirements - - 6.3. Delegation Verification -7. DAG Structure and Causal Ordering - - 7.1. DAG Validation - - 7.2. Root Tasks and Fan-in -8. Verification Procedure - - 8.1. Authorization Phase Verification - - 8.2. Execution Phase Verification -9. Transport - - 9.1. HTTP Header Transport - - 9.2. Non-HTTP Transports -10. Audit Ledger Interface -11. Security Considerations - - 11.1. Threat Model - - 11.2. Self-Assertion Limitation - - 11.3. Key Compromise - - 11.4. Replay Attack Prevention - - 11.5. Equivocation - - 11.6. Privilege Escalation - - 11.7. Denial of Service -12. Privacy Considerations -13. IANA Considerations - - 13.1. Media Type Registration - - 13.2. HTTP Header Field Registration - - 13.3. JWT Claims Registration -14. References - - 14.1. Normative References - - 14.2. Informative References -- Appendix A: Complete JSON Schema -- Appendix B: Test Vectors -- Appendix C: Deployment Scenarios - ---- - -## 1. Introduction +# Introduction Autonomous AI agents increasingly operate across organizational boundaries, executing multi-step workflows where individual tasks are @@ -140,10 +202,10 @@ distinct, inseparable compliance requirements: prior tasks? Existing specifications address these requirements in isolation. -The Agent Authorization Profile (AAP) [I-D.aap-oauth-profile] +The Agent Authorization Profile (AAP) {{I-D.aap-oauth-profile}} provides structured authorization via OAuth 2.0 but requires a central Authorization Server. The WIMSE Execution Context Token -[I-D.nennemann-wimse-ect] provides execution accountability but +{{I-D.nennemann-wimse-ect}} provides execution accountability but requires WIMSE workload identity infrastructure (SPIFFE/SPIRE). This document defines the Agent Context Token (ACT), which addresses @@ -154,11 +216,11 @@ carries: the complete invocation context of an agent — DAG references, task metadata, capabilities, delegation chain, and oversight claims — bound together in one cryptographically verifiable envelope. ACT is positioned as the general agent context primitive, with the -WIMSE Execution Context Token (ECT) [I-D.nennemann-wimse-ect] as a +WIMSE Execution Context Token (ECT) {{I-D.nennemann-wimse-ect}} as a sibling profile specialized for workload-identity-bound execution contexts in WIMSE deployments. -### 1.1. Problem Statement +## Problem Statement Cross-organizational agent federation today faces a bootstrapping problem: deploying shared OAuth infrastructure or a common SPIFFE @@ -178,7 +240,7 @@ with nothing more than an out-of-band key exchange — while providing a clean upgrade path to PKI or DID-based trust without changing the token format. -### 1.2. Design Goals +## Design Goals - **G1 — Zero infrastructure baseline**: ACT MUST be deployable with no shared servers, no common identity provider, and no transparency @@ -201,14 +263,14 @@ token format. participant holding the issuing agent's public key. - **G6 — Regulatory applicability**: ACT MUST provide sufficient - evidence for audit requirements in DORA [DORA], EU AI Act - Article 12 [EUAIA], and IEC 62304 [IEC62304] without requiring + evidence for audit requirements in DORA {{DORA}}, EU AI Act + Article 12 {{EUAIA}}, and IEC 62304 {{IEC62304}} without requiring additional log formats. - **G7 — Upgrade path**: The trust model MUST support migration from pre-shared keys to PKI or DID without breaking existing ACT chains. -### 1.3. Non-Goals +## Non-Goals The following are explicitly out of scope: @@ -216,21 +278,21 @@ The following are explicitly out of scope: - Replacing organizational security policies or procedures. - Defining storage formats for audit ledgers. - Specifying token revocation infrastructure (deployments MAY use - existing mechanisms such as [RFC7009] for this purpose). + existing mechanisms such as {{RFC7009}} for this purpose). - Providing non-equivocation guarantees in standalone mode (see - Section 11.5 for the equivocation discussion and optional + {{equivocation}} for the equivocation discussion and optional transparency anchoring). -### 1.4. Relationship to Related Work +## Relationship to Related Work -**AAP [I-D.aap-oauth-profile]**: ACT addresses the same authorization +**AAP {{I-D.aap-oauth-profile}}**: ACT addresses the same authorization problem as AAP but does not require an Authorization Server. ACT delegation is peer-to-peer via cryptographic signature chaining; -AAP delegation requires OAuth Token Exchange [RFC8693] against a -central AS. ACT is not a profile of AAP; it is an infrastructure- -independent alternative for the same problem class. +AAP delegation requires OAuth Token Exchange {{RFC8693}} against a +central AS. ACT is not a profile of AAP; it is an +infrastructure-independent alternative for the same problem class. -**WIMSE ECT [I-D.nennemann-wimse-ect]**: ACT addresses the same +**WIMSE ECT {{I-D.nennemann-wimse-ect}}**: ACT addresses the same execution accountability problem as the WIMSE Execution Context Token but does not require WIMSE workload identity infrastructure. ACT is not a profile of WIMSE; it is deployable in environments without @@ -238,24 +300,24 @@ SPIFFE/SPIRE. In environments where WIMSE is deployed, ACT MAY be carried alongside WIMSE tokens to augment accountability with authorization provenance. -**SCITT [I-D.ietf-scitt-architecture]**: For deployments requiring -non-equivocation guarantees (see Section 11.5), ACT execution records -MAY be anchored to a SCITT Transparency Service as a Layer 2 +**SCITT {{I-D.ietf-scitt-architecture}}**: For deployments requiring +non-equivocation guarantees (see {{equivocation}}), ACT execution +records MAY be anchored to a SCITT Transparency Service as a Layer 2 mechanism. This is OPTIONAL and not required for basic ACT operation. Note: The SCITT architecture draft is currently in AUTH48 (RFC Editor queue) at version -22 and is about to become an RFC; readers should use the RFC number once assigned. -#### 1.4.1. Concurrent Agent Authorization Proposals +### Concurrent Agent Authorization Proposals Several concurrent proposals in the IETF and academic communities address overlapping portions of the agent authorization problem space. This subsection situates ACT relative to those proposals. Protocol-layer comparison of linear versus DAG delegation -structure is deferred to Section 7.3; the summaries below focus on -scope and deployability. +structure is deferred to {{dag-vs-linear}}; the summaries below focus +on scope and deployability. -**AIP / IBCTs [AIP-IBCT]**: The Agent Interaction Protocol proposes +**AIP / IBCTs {{AIP-IBCT}}**: The Agent Interaction Protocol proposes Interaction-Bound Capability Tokens in two modes: compact signed JWTs for single-hop invocation and Biscuit/Datalog tokens for multi-hop delegation, motivated by a survey of approximately 2,000 @@ -268,7 +330,7 @@ supports DAG delegation structure. IBCTs are modeled as append-only chains at the protocol layer; ACT operates at the authorization graph layer with revocable lifecycle states. -**SentinelAgent [SentinelAgent]**: SentinelAgent defines a formal +**SentinelAgent {{SentinelAgent}}**: SentinelAgent defines a formal Delegation Chain Calculus with seven verifiable properties, a TLA+ mechanization, and reports 100% true-positive and 0% false-positive rates against the DelegationBench v4 benchmark. It addresses the @@ -280,7 +342,7 @@ invariants in IETF-standard JWT infrastructure (RFC 7519, RFC 7515, RFC 8032) already deployable in existing OAuth- and JOSE-aware stacks. -**Agentic JWT [AgenticJWT]**: Agentic JWT derives a per-agent +**Agentic JWT {{AgenticJWT}}**: Agentic JWT derives a per-agent identity as a one-way hash of the agent's prompt, registered tools, and configuration, and chains delegation assertions across invocations. It is the closest prior-art JWT-based construction @@ -291,7 +353,7 @@ via the array-valued `pred` claim rather than a strictly linear chain. **OAuth Transaction Tokens for Agents -[I-D.draft-oauth-transaction-tokens-for-agents-06]**: This draft +{{I-D.oauth-transaction-tokens-for-agents}}**: This draft extends OAuth Transaction Tokens with an `actchain` claim (an ordered delegation array), an `agentic_ctx` claim conveying intent and constraints, and flow-type markers distinguishing interactive @@ -301,10 +363,10 @@ infrastructure dependency: Transaction Tokens for Agents presume an OAuth Authorization Server and use a linear `actchain`, whereas ACT operates peer-to-peer without any AS and uses a DAG-valued `pred`. A detailed differencing document is referenced in -Section 11. +{{security-considerations}}. **Helixar Delegation Protocol (HDP) -[I-D.draft-helixar-hdp-agentic-delegation-00]**: HDP specifies +{{I-D.helixar-hdp-agentic-delegation}}**: HDP specifies Ed25519 signatures over RFC 8785-canonicalized JSON, an append-only linear delegation chain with session binding, and offline verification. ACT addresses the same problem but is @@ -313,31 +375,32 @@ ecosystem) rather than raw canonical JSON, and its `pred` claim admits DAG topologies rather than strictly linear chains. **SCITT Profile for AI Agent Execution Records -[I-D.draft-emirdag-scitt-ai-agent-execution-00]**: This draft +{{I-D.emirdag-scitt-ai-agent-execution}}**: This draft defines a SCITT profile in which AgentInteractionRecord (AIR) payloads are carried as COSE_Sign1 statements anchored to a SCITT Transparency Service. It is highly complementary to ACT: where ACT defines the two-phase lifecycle token issued and consumed by agents at runtime, the SCITT AI Agent Execution draft defines the payload format suitable for long-term anchoring. -Implementations that anchor Phase 2 ACTs to SCITT (Section 11) -SHOULD consider the AIR payload structure defined in that draft -as the canonical encoding for anchored records. +Implementations that anchor Phase 2 ACTs to SCITT +({{security-considerations}}) SHOULD consider the AIR payload +structure defined in that draft as the canonical encoding for +anchored records. -### 1.5. Applicability +## Applicability ACT is designed as a general-purpose primitive for AI agent authorization and execution accountability. While a sibling -specification [I-D.nennemann-wimse-ect] profiles execution context +specification {{I-D.nennemann-wimse-ect}} profiles execution context tokens specifically for the WIMSE working group's workload identity infrastructure, ACT operates without any shared identity plane. This section identifies deployment contexts where ACT applies independently of WIMSE, and clarifies how ACT complements — rather than competes with — ecosystem-specific agent protocols. -#### 1.5.1. Model Context Protocol (MCP) Tool-Use Flows +### Model Context Protocol (MCP) Tool-Use Flows -The Model Context Protocol [MCP-SPEC] defines a client-server +The Model Context Protocol {{MCP-SPEC}} defines a client-server interface by which LLM hosts invoke external tools via structured JSON-RPC calls. MCP 2025-11-25 mandates OAuth 2.1 for transport-layer authentication, but provides no mechanism for carrying per-invocation @@ -359,11 +422,11 @@ OAuth layer. This integration requires no modification to MCP transport; the ACT SHOULD be carried in the `ACT-Mandate` and `ACT-Record` HTTP headers -defined in Section 9.1 of this document. +defined in {{http-header-transport}} of this document. -#### 1.5.2. OpenAI Agents SDK and Function Calling +### OpenAI Agents SDK and Function Calling -The OpenAI Agents SDK [OPENAI-AGENTS-SDK] enables composition of +The OpenAI Agents SDK {{OPENAI-AGENTS-SDK}} enables composition of agents via handoffs — structured transfers of control from one agent to another, each potentially invoking registered function tools. The SDK provides no built-in mechanism for a receiving agent to verify @@ -379,9 +442,9 @@ MAY exercise. The receiving agent SHOULD attach its Phase 2 ACT Record to any callback or downstream response, providing the orchestrator with cryptographic evidence of the actions taken. In multi-turn chains involving multiple handoffs, the DAG linkage -(Section 7) allows each handoff to be expressed as a parent-child -edge, preserving the full causal ordering of the agent invocation -sequence. +({{dag-structure}}) allows each handoff to be expressed as a +parent-child edge, preserving the full causal ordering of the agent +invocation sequence. Implementations that use the OpenAI function calling API directly, without the Agents SDK, MAY apply ACT at the application layer: the @@ -389,15 +452,15 @@ calling process issues a Phase 1 ACT before the function call parameter block is finalized, and the receiving function handler returns a Phase 2 ACT alongside its JSON result. -#### 1.5.3. LangGraph and LangChain Agent Graphs +### LangGraph and LangChain Agent Graphs -LangGraph [LANGGRAPH] models agent workflows as typed StateGraphs in +LangGraph {{LANGGRAPH}} models agent workflows as typed StateGraphs in which nodes represent agent invocations or tool calls and edges -represent conditional transitions. The DAG structure of ACT (Section -7) is a natural fit for this model: each LangGraph node that performs -an observable action corresponds to exactly one ACT task identifier -(`tid`), and directed edges in the LangGraph correspond to `pred` -(predecessor) references in successor ACTs. +represent conditional transitions. The DAG structure of ACT +({{dag-structure}}) is a natural fit for this model: each LangGraph +node that performs an observable action corresponds to exactly one +ACT task identifier (`tid`), and directed edges in the LangGraph +correspond to `pred` (predecessor) references in successor ACTs. ACT is applicable at the node boundary: when a LangGraph node dispatches a sub-agent or invokes a tool with side effects, it SHOULD @@ -416,9 +479,9 @@ and portable: they can be exported from a LangGraph run and submitted to an external audit ledger, satisfying compliance requirements that cannot be met by in-process logging alone. -#### 1.5.4. Google Agent2Agent (A2A) Protocol +### Google Agent2Agent (A2A) Protocol -The Agent2Agent protocol [A2A-SPEC] defines a task-oriented JSON-RPC +The Agent2Agent protocol {{A2A-SPEC}} defines a task-oriented JSON-RPC interface for inter-agent communication, with authentication delegated to OAuth 2.0 or API key schemes declared in each agent's Agent Card. A2A provides no mechanism for a receiving agent to @@ -442,25 +505,25 @@ independent layers and are not redundant. A2A's credential answers answers "is this agent permitted to request this specific task under these constraints?". -#### 1.5.5. Enterprise Orchestration Without WIMSE (CrewAI, AutoGen) +### Enterprise Orchestration Without WIMSE (CrewAI, AutoGen) -Enterprise orchestration frameworks such as CrewAI [CREWAI] and -AutoGen [AUTOGEN] deploy multi-agent systems within a single +Enterprise orchestration frameworks such as CrewAI {{CREWAI}} and +AutoGen {{AUTOGEN}} deploy multi-agent systems within a single organizational boundary, typically without SPIFFE/SPIRE workload identity infrastructure. In these environments, OAuth Authorization -Servers are often unavailable or impractical to deploy for intra- -process agent communication. +Servers are often unavailable or impractical to deploy for +intra-process agent communication. ACT is applicable in this context via its Tier 1 (pre-shared key) -trust model (Section 5.2): each agent role in a CrewAI Crew or +trust model ({{tier1}}): each agent role in a CrewAI Crew or AutoGen ConversableAgent graph is assigned an Ed25519 keypair at instantiation time. The orchestrating agent issues Phase 1 Mandates to worker agents before delegating tasks, constraining each worker to only the tools and actions relevant to its role. Worker agents produce Phase 2 Records on task completion. The resulting ACT chain is exportable as a structured audit trail that satisfies the -per-action logging requirements of DORA [DORA] and EU AI Act -Article 12 [EUAIA] without requiring shared infrastructure beyond +per-action logging requirements of DORA {{DORA}} and EU AI Act +Article 12 {{EUAIA}} without requiring shared infrastructure beyond the ability to exchange public keys at deployment time. Implementations SHOULD NOT use ACT's self-assertion mode (where an @@ -469,10 +532,10 @@ in regulated workflows; at minimum, the orchestrating agent MUST sign the initial Mandate so that accountability is anchored to a principal outside the executing agent. -#### 1.5.6. Relationship to WIMSE ECT +### Relationship to WIMSE ECT Where WIMSE infrastructure is deployed, ACT and the WIMSE Execution -Context Token [I-D.nennemann-wimse-ect] serve complementary and +Context Token {{I-D.nennemann-wimse-ect}} serve complementary and non-overlapping functions. The ECT records workload-level execution in WIMSE terms — which SPIFFE workload executed, in which trust domain, against which service. ACT records the authorization @@ -489,15 +552,9 @@ identifiers present in the ECT's task context. Neither token is a profile or extension of the other; they operate at different abstraction layers and their co-presence is additive. ---- +# Conventions and Definitions -## 2. Conventions and Definitions - -The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", -"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and -"OPTIONAL" 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. +{::boilerplate bcp14-tagged} **Agent**: An autonomous software entity that executes tasks, issues ACTs as mandates for sub-agents, and produces ACTs as execution @@ -527,9 +584,7 @@ pre-shared keys (Tier 1, mandatory) to PKI (Tier 2) and DIDs **Workflow**: A set of related tasks, identified by a shared `wid` claim, forming a single logical unit of work. ---- - -## 3. ACT Lifecycle +# ACT Lifecycle An ACT has a two-phase lifecycle. The same token format is used in both phases; the presence or absence of execution claims determines @@ -542,7 +597,7 @@ phase before applying verification rules, and MUST reject a token that is presented in the wrong phase for the operation being performed. -### 3.1. Phase 1: Authorization Mandate +## Phase 1: Authorization Mandate In Phase 1, an ACT is created by a delegating agent (or a human operator) to authorize a target agent to perform a specific task. The @@ -563,7 +618,7 @@ Phase 1 ACTs are short-lived. Implementations SHOULD set expiration automated agent-to-agent workflows. Longer lifetimes MAY be used for human-initiated mandates where the agent may not act immediately. -### 3.2. Phase 2: Execution Record +## Phase 2: Execution Record Upon completing the authorized task, the executing agent MUST transition the ACT to Phase 2 by: @@ -595,12 +650,12 @@ verifiability of the original mandate SHOULD retain the Phase 1 ACT separately alongside the Phase 2 record. The resulting Phase 2 ACT SHOULD be submitted to an audit ledger -(Section 10) and MAY be sent to the next agent in the workflow as -evidence of completed prerequisites. +({{audit-ledger}}) and MAY be sent to the next agent in the workflow +as evidence of completed prerequisites. -### 3.3. Lifecycle State Machine +## Lifecycle State Machine -``` +~~~ [Issuer creates Phase 1 ACT] | | sign(issuer_key) @@ -626,31 +681,29 @@ evidence of completed prerequisites. +------------------+ | ANCHORED | Phase 2 + external non-equivocation +------------------+ -``` +~~~ ---- +# ACT Token Format -## 4. ACT Token Format - -An ACT is a JSON Web Token [RFC7519] signed as a JSON Web Signature -[RFC7515] using JWS Compact Serialization. All ACTs MUST use JWS +An ACT is a JSON Web Token {{RFC7519}} signed as a JSON Web Signature +{{RFC7515}} using JWS Compact Serialization. All ACTs MUST use JWS Compact Serialization to ensure they can be carried in a single HTTP header value. -### 4.1. JOSE Header +## JOSE Header The ACT JOSE header MUST contain: -```json +~~~ json { "alg": "ES256", "typ": "act+jwt", "kid": "agent-a-key-2026-03" } -``` +~~~ **alg** (REQUIRED): The digital signature algorithm. Implementations -MUST support ES256 [RFC7518]. EdDSA (Ed25519) [RFC8037] is +MUST support ES256 {{RFC7518}}. EdDSA (Ed25519) {{RFC8037}} is RECOMMENDED for new deployments due to smaller signatures and resistance to side-channel attacks. Symmetric algorithms (HS256, HS384, HS512) MUST NOT be used. The "alg" value MUST NOT be "none". @@ -671,9 +724,9 @@ key distribution. **did** (OPTIONAL): In Tier 3 deployments, the full DID of the issuing agent MAY be included for resolution. -### 4.2. JWT Claims: Authorization Phase +## JWT Claims: Authorization Phase -#### 4.2.1. Standard JWT Claims +### Standard JWT Claims **iss** (REQUIRED): The identifier of the agent issuing the mandate. Format depends on trust tier: an opaque string (Tier 1), an X.509 @@ -688,16 +741,16 @@ deployed, MUST also include the ledger's identifier. When multiple recipients are present, MUST be an array. Verifiers that are audit ledgers MUST verify that their own identifier appears in `aud`. -**iat** (REQUIRED): Issuance time as a NumericDate [RFC7519]. +**iat** (REQUIRED): Issuance time as a NumericDate {{RFC7519}}. **exp** (REQUIRED): Expiration time. Implementations SHOULD set to no more than 15 minutes after `iat` for automated workflows. -**jti** (REQUIRED): A UUID [RFC9562] uniquely identifying this ACT +**jti** (REQUIRED): A UUID {{RFC9562}} uniquely identifying this ACT and, in Phase 2, the task it records. Used as the task identifier for DAG predecessor references in `pred`. -#### 4.2.2. ACT Authorization Claims +### ACT Authorization Claims **wid** (OPTIONAL): A UUID identifying the workflow to which this task belongs. When present, groups related ACTs and scopes `jti` @@ -705,7 +758,7 @@ uniqueness to the workflow. **task** (REQUIRED): An object describing the authorized task: -```json +~~~ json { "task": { "purpose": "validate_patient_dosage", @@ -714,7 +767,7 @@ uniqueness to the workflow. "expires_at": 1772064750 } } -``` +~~~ - `purpose` (REQUIRED): A string describing the intended task. Implementations SHOULD use a controlled vocabulary or reverse- @@ -725,7 +778,7 @@ uniqueness to the workflow. actions that would expose data above this classification. - `created_by` (OPTIONAL): An identifier for the human or system that initiated the workflow. SHOULD be pseudonymous (see - Section 12). + {{privacy-considerations}}). - `expires_at` (OPTIONAL): A NumericDate after which the task mandate is no longer valid, independent of `exp`. @@ -733,7 +786,7 @@ uniqueness to the workflow. an action the agent is authorized to perform and the constraints under which it may do so: -```json +~~~ json { "cap": [ { @@ -752,14 +805,14 @@ under which it may do so: } ] } -``` +~~~ Action names MUST conform to the ABNF grammar: -``` +~~~ action-name = component *( "." component ) component = ALPHA *( ALPHA / DIGIT / "-" / "_" ) -``` +~~~ Receiving agents MUST perform exact string matching on action names. Wildcard matching is NOT part of this specification. @@ -776,14 +829,14 @@ narrower time windows. **oversight** (OPTIONAL): Human oversight requirements: -```json +~~~ json { "oversight": { "requires_approval_for": ["write.publish", "execute.payment"], "approval_ref": "https://approval.example.com/workflow/w-123" } } -``` +~~~ When `requires_approval_for` lists an action, the receiving agent MUST NOT execute that action autonomously. The approval mechanism @@ -795,7 +848,7 @@ the ACT MUST be treated as a root mandate with `depth` = 0 and further delegation is not permitted (i.e., the receiving agent MUST NOT issue sub-mandates based on this ACT). -```json +~~~ json { "del": { "depth": 1, @@ -809,15 +862,15 @@ NOT issue sub-mandates based on this ACT). ] } } -``` +~~~ - `depth`: The current delegation depth. 0 means this is a root mandate issued by a human or root authority. - `max_depth`: The maximum permitted delegation depth. Receiving agents MUST NOT issue sub-mandates that would exceed this depth. - `chain`: An array of delegation provenance records ordered from - root to immediate parent (chain[0] is the root authority, - chain[depth-1] is the direct parent of this ACT). Each entry + root to immediate parent (`chain[0]` is the root authority, + `chain[depth-1]` is the direct parent of this ACT). Each entry contains: - `delegator`: The identifier of the agent that authorized this delegation step (i.e., the `iss` of the parent ACT at that @@ -834,7 +887,7 @@ validate the chain, any verifier holding the delegating agent's public key can independently verify each step by recomputing the hash and checking the signature. -### 4.3. JWT Claims: Execution Phase +## JWT Claims: Execution Phase The following claims are added by the executing agent when transitioning to Phase 2. Their presence distinguishes an Execution @@ -876,23 +929,23 @@ environments where failed attempts must be recorded. **err** (OPTIONAL, present when `status` is "failed" or "partial"): An object providing error context: -```json +~~~ json { "err": { "code": "constraint_violation", "detail": "data_classification_max exceeded" } } -``` +~~~ Error detail SHOULD NOT reveal internal system state beyond what is necessary for audit purposes. -### 4.4. Complete Examples +## Complete Examples -#### Phase 1 — Authorization Mandate +### Example: Phase 1 — Authorization Mandate -```json +~~~ { "alg": "ES256", "typ": "act+jwt", @@ -944,11 +997,11 @@ necessary for audit purposes. "chain": [] } } -``` +~~~ -#### Phase 2 — Execution Record (same token, re-signed by target agent) +### Example: Phase 2 — Execution Record (same token, re-signed by target agent) -```json +~~~ { "alg": "EdDSA", "typ": "act+jwt", @@ -1007,11 +1060,9 @@ necessary for audit purposes. "exec_ts": 1772064300, "status": "completed" } -``` +~~~ ---- - -## 5. Trust Model +# Trust Model ACT defines four trust tiers. Tier 1 is mandatory-to-implement; all others are optional upgrades. An ACT verifier MUST be able to process @@ -1019,7 +1070,7 @@ ACTs from any tier it has configured. The trust tier in use is determined by the `kid` format and the presence of `x5c` or `did` header parameters. -### 5.1. Tier 0: Bootstrap (TOFU — Trust On First Use) +## Tier 0: Bootstrap (TOFU — Trust On First Use) Tier 0 is NOT part of the normative trust model and MUST NOT be used in regulated environments. It is defined here for documentation @@ -1031,7 +1082,7 @@ who intercepts the first message can substitute their own key. Tier 0 deployments MUST transition to Tier 1 or higher before exchanging ACTs that carry sensitive capabilities. -### 5.2. Tier 1: Pre-Shared Keys (Mandatory-to-Implement) +## Tier 1: Pre-Shared Keys (Mandatory-to-Implement) {#tier1} In Tier 1, both parties exchange public keys out-of-band prior to the first ACT exchange. The `kid` is an opaque string agreed during @@ -1042,12 +1093,12 @@ configuration, a configuration management system, or a prior authenticated channel. This specification does not mandate a specific key exchange protocol. -Tier 1 public keys MUST be Ed25519 [RFC8037] or P-256 (ES256) -[RFC7518] keys. RSA keys SHOULD NOT be used in Tier 1 deployments due to +Tier 1 public keys MUST be Ed25519 {{RFC8037}} or P-256 (ES256) +{{RFC7518}} keys. RSA keys SHOULD NOT be used in Tier 1 deployments due to key size. Key rotation MUST be performed out-of-band using the same mechanism as the initial exchange. -### 5.3. Tier 2: PKI / X.509 +## Tier 2: PKI / X.509 In Tier 2, agent identity is bound to an X.509 certificate issued by a mutually trusted Certificate Authority (CA). The `kid` is the @@ -1060,19 +1111,19 @@ Cross-organizational ACT exchange in Tier 2 requires either: (c) explicit trust anchoring (one organization's CA is added to the other's trust store). -The `x5c` JOSE header parameter [RFC7515] MAY carry the full +The `x5c` JOSE header parameter {{RFC7515}} MAY carry the full certificate chain to enable verification without out-of-band trust store configuration. -### 5.4. Tier 3: Decentralized Identifiers (DID) +## Tier 3: Decentralized Identifiers (DID) -In Tier 3, agent identity is expressed as a DID [W3C-DID]. The +In Tier 3, agent identity is expressed as a DID {{W3C-DID}}. The `kid` is a DID key fragment. The `did` JOSE header parameter carries the full DID for resolution. -Implementations SHOULD support at minimum `did:key` [DID-KEY] for +Implementations SHOULD support at minimum `did:key` {{DID-KEY}} for self-contained key distribution without external resolution, and -`did:web` [DID-WEB] for organizations that prefer DNS-anchored +`did:web` {{DID-WEB}} for organizations that prefer DNS-anchored identity. DID resolution latency introduces a dependency on external @@ -1080,7 +1131,7 @@ infrastructure. To preserve the zero-infrastructure baseline, implementations using Tier 3 MAY cache DID Documents and MUST specify a maximum cache TTL in their configuration. -### 5.5. Cross-Tier Interoperability +## Cross-Tier Interoperability A delegation chain MAY include agents operating at different trust tiers. Each step in the chain is verified using the trust tier of @@ -1089,16 +1140,14 @@ solely because it mixes trust tiers, but MAY apply stricter policy for chains that include Tier 0 or Tier 1 steps when exchanging sensitive capabilities. ---- - -## 6. Delegation Chain +# Delegation Chain ACT delegation is peer-to-peer: no Authorization Server is involved. Delegation is expressed as a cryptographically verifiable chain of ACT issuances, where each step reduces privileges relative to the previous step. -### 6.1. Peer-to-Peer Delegation +## Peer-to-Peer Delegation When Agent A authorizes Agent B to perform a sub-task, Agent A: @@ -1111,16 +1160,16 @@ When Agent A authorizes Agent B to perform a sub-task, Agent A: 5. Adds a chain entry containing A's identifier as `delegator`, the `jti` of A's own mandate, and a `sig` value computed as: - ``` + ~~~ sig = Sign(A.private_key, SHA-256(canonical_ACT_phase1_bytes)) - ``` + ~~~ where `canonical_ACT_phase1_bytes` is the UTF-8 encoded bytes of the JWS Compact Serialization of A's Phase 1 ACT. 6. Signs the new ACT with A's private key. -### 6.2. Privilege Reduction Requirements +## Privilege Reduction Requirements When issuing a delegated ACT, the issuing agent MUST reduce privileges by one or more of: @@ -1146,11 +1195,11 @@ treat the constraint as non-comparable and MUST reject the delegation unless the delegated constraint value is byte-for-byte identical to the parent constraint value. -### 6.3. Delegation Verification +## Delegation Verification A verifier receiving a delegated ACT MUST: -1. Verify the ACT's own signature (Section 8.1). +1. Verify the ACT's own signature ({{auth-verification}}). 2. For each entry in `del.chain`, in order from index 0 to `del.depth - 1`: a. Retrieve the public key for `entry.delegator`. @@ -1158,21 +1207,19 @@ A verifier receiving a delegated ACT MUST: hash of the referenced parent ACT (identified by `entry.jti`). c. Verify that the capabilities in the current ACT are a subset of the capabilities in the parent ACT, per the constraint - comparison rules in Section 6.2. + comparison rules in {{privilege-reduction-requirements}}. 3. Verify that `del.depth` does not exceed `del.max_depth`. 4. Verify that `del.chain` length equals `del.depth`. If any step fails, the ACT MUST be rejected. ---- - -## 7. DAG Structure and Causal Ordering +# DAG Structure and Causal Ordering {#dag-structure} ACTs in Phase 2 form a DAG over the `pred` (predecessor) claim. The DAG encodes causal dependencies: a task MAY NOT begin before all its parent tasks are completed. -### 7.1. DAG Validation +## DAG Validation {#dag-validation} When processing a Phase 2 ACT, implementations MUST: @@ -1194,39 +1241,39 @@ When processing a Phase 2 ACT, implementations MUST: 5. **Capability Consistency**: Verify that `exec_act` matches one of the `action` values in the `cap` array from Phase 1. -### 7.2. Root Tasks and Fan-in +## Root Tasks and Fan-in A root task has `pred = []`. A workflow MAY have multiple root tasks representing parallel branches with no shared predecessor. Fan-in — a task with multiple parents — is expressed naturally: -```json +~~~ json { "pred": [ "550e8400-e29b-41d4-a716-446655440001", "550e8400-e29b-41d4-a716-446655440002" ] } -``` +~~~ This indicates the current task depends on the completion of both referenced parent tasks, which MAY have been executed in parallel by different agents. -### 7.3. DAG vs Linear Delegation Chains +## DAG vs Linear Delegation Chains {#dag-vs-linear} Several concurrent proposals for agent authorization model delegation as an ordered, linear chain of tokens or principals. Examples include the `actchain` claim of -[I-D.draft-oauth-transaction-tokens-for-agents-06], the Agentic JWT -construction of [AgenticJWT], the AIP / Interaction-Bound Context Token -(IBCT) model of [AIP-IBCT], and the delegation record defined in -[I-D.draft-helixar-hdp-agentic-delegation-00]. In each of these +{{I-D.oauth-transaction-tokens-for-agents}}, the Agentic JWT +construction of {{AgenticJWT}}, the AIP / Interaction-Bound Context Token +(IBCT) model of {{AIP-IBCT}}, and the delegation record defined in +{{I-D.helixar-hdp-agentic-delegation}}. In each of these designs, the trail from the originator to the final executor is represented as an ordered array recording one predecessor per hop. -#### 7.3.1. What Linear Chains Express Well +### What Linear Chains Express Well Linear chains are a natural fit for simple sequential delegation: agent A delegates to agent B, which delegates to agent C. The chain @@ -1236,7 +1283,7 @@ branching. For interactive user-to-agent-to-service flows, where each step has exactly one predecessor, a linear chain is both sufficient and compact. -#### 7.3.2. Limitations of Linear Chains +### Limitations of Linear Chains Agentic workflows in practice are rarely purely linear. Planner agents dispatch parallel sub-tasks; synthesizer agents consume @@ -1268,11 +1315,11 @@ faithfully represent the following common topologies: single history and cannot record that the combined result has two distinct provenances. -#### 7.3.3. ACT's DAG Approach +### ACT's DAG Approach -As specified in Section 4.3, the `pred` claim is an array of parent -`jti` values rather than a single scalar. This allows an ACT to -record: +As specified in {{jwt-claims-execution-phase}}, the `pred` claim is +an array of parent `jti` values rather than a single scalar. This +allows an ACT to record: - Zero parents (a root task, `pred = []`); - Exactly one parent (a linear chain, equivalent to the @@ -1305,7 +1352,7 @@ A linear `actchain` representation cannot express that D depends on both B and C. At best, it can record one of the two parents and lose the other, or serialize B and C into a false sequential order. -#### 7.3.4. Verifiability Implications +### Verifiability Implications With a DAG representation, an auditor holding the set of Phase 2 ACTs for a workflow can reconstruct the full execution graph, not @@ -1319,7 +1366,7 @@ just one chain per final record. This matters for: since the surviving siblings' `pred` arrays name the missing predecessor by `jti`. -#### 7.3.5. Interoperability with Linear-Chain Designs +### Interoperability with Linear-Chain Designs ACT's DAG reduces to a linear chain in the degenerate case where every `pred` array has length zero or one. An implementation that @@ -1334,20 +1381,18 @@ is deliberate and is motivated by the concurrent, branching nature of real agentic executions rather than by any deficiency in the linear-chain designs for the sequential cases they target. ---- +# Verification Procedure -## 8. Verification Procedure - -### 8.1. Authorization Phase Verification +## Authorization Phase Verification {#auth-verification} A receiving agent MUST verify a Phase 1 ACT as follows: -1. Parse JWS Compact Serialization per [RFC7515]. +1. Parse JWS Compact Serialization per {{RFC7515}}. 2. Verify `typ` is "act+jwt". 3. Verify `alg` is in the verifier's algorithm allowlist. The allowlist MUST NOT include "none" or any symmetric algorithm. 4. Retrieve the public key for `kid` per the applicable trust tier - (Section 5). + ({{trust-model}}). 5. Verify the JWS signature. 6. Verify `exp` has not passed (with clock skew tolerance: RECOMMENDED maximum 5 minutes). @@ -1358,17 +1403,18 @@ A receiving agent MUST verify a Phase 1 ACT as follows: 10. Verify `sub` matches the verifier's own identifier (the agent is the intended recipient of this mandate). 11. Verify all required claims are present and well-formed. -12. Verify delegation chain (Section 6.3) if `del.chain` is - non-empty. +12. Verify delegation chain ({{delegation-verification}}) if + `del.chain` is non-empty. 13. Verify capabilities are within policy limits. -### 8.2. Execution Phase Verification +## Execution Phase Verification In addition to all Phase 1 verification steps, a verifier processing a Phase 2 ACT MUST: 1. Verify `exec_act` is present and matches an `action` in `cap`. -2. Verify `pred` is present and perform DAG validation (Section 7.1). +2. Verify `pred` is present and perform DAG validation + ({{dag-validation}}). 3. Verify `exec_ts` is present and is greater than or equal to `iat`. If `exec_ts` is after `exp`, implementations SHOULD log a warning but MUST NOT reject the record solely on this basis. @@ -1380,38 +1426,36 @@ a Phase 2 ACT MUST: 6. If `inp_hash` or `out_hash` are present, verify them against locally available input/output data when possible. ---- +# Transport -## 9. Transport - -### 9.1. HTTP Header Transport +## HTTP Header Transport {#http-header-transport} This specification defines two HTTP header fields for ACT transport: **ACT-Mandate**: Carries a Phase 1 ACT issued by an upstream agent or operator. Value is the JWS Compact Serialization of the ACT. -``` +~~~ GET /api/safety-check HTTP/1.1 Host: safety-agent.example.com ACT-Mandate: eyJhbGci...Phase1ACT... -``` +~~~ **ACT-Record**: Carries a Phase 2 ACT from a predecessor agent, serving as evidence of completed prerequisites. -``` +~~~ POST /api/downstream HTTP/1.1 Host: downstream-agent.example.com ACT-Mandate: eyJhbGci...Phase1ACT... ACT-Record: eyJhbGci...Phase2ACT... -``` +~~~ Multiple `ACT-Record` header lines MAY be included when a task has multiple completed predecessors (DAG fan-in). If any single ACT-Record fails verification, the receiver MUST reject the entire request. -### 9.2. Non-HTTP Transports +## Non-HTTP Transports For non-HTTP transports (MCP stdio, A2A message queues, AMQP, etc.), ACTs SHOULD be carried as a dedicated field in the transport's @@ -1419,9 +1463,7 @@ metadata envelope. The field name SHOULD be `act_mandate` for Phase 1 ACTs and `act_record` for Phase 2 ACTs. Implementations MUST use the JWS Compact Serialization form in all transports. ---- - -## 10. Audit Ledger Interface +# Audit Ledger Interface {#audit-ledger} Phase 2 ACTs SHOULD be submitted to an immutable audit ledger. A ledger is RECOMMENDED for regulated environments but is not @@ -1440,13 +1482,11 @@ When an audit ledger is deployed, the implementation MUST provide: 4. **Integrity**: A cryptographic commitment scheme over recorded ACTs (e.g., hash-chaining, Merkle tree anchoring, or SCITT - registration per [I-D.ietf-scitt-architecture]). + registration per {{I-D.ietf-scitt-architecture}}). ---- +# Security Considerations {#security-considerations} -## 11. Security Considerations - -### 11.1. Threat Model +## Threat Model ACT assumes an adversarial environment where: @@ -1463,7 +1503,7 @@ ACT does NOT assume: - Synchronized clocks beyond the stated skew tolerance. - Availability of external network services during verification. -### 11.2. Self-Assertion Limitation +## Self-Assertion Limitation Phase 2 ACTs are self-asserted: an executing agent signs its own execution record. A compromised agent with an intact private key can @@ -1473,7 +1513,7 @@ capability. This is a fundamental limitation of self-sovereign attestation. It is the same limitation affecting WIMSE ECT -[I-D.nennemann-wimse-ect] Section 8.2. +{{I-D.nennemann-wimse-ect}}. Mitigations: @@ -1487,7 +1527,7 @@ Mitigations: SHOULD be anchored to a SCITT Transparency Service, providing external witness that the record was submitted at a claimed time. -### 11.3. Key Compromise +## Key Compromise If an agent's private key is compromised, an attacker can issue arbitrary Phase 1 mandates (impersonating the agent as an issuer) @@ -1510,7 +1550,7 @@ be treated as potentially tainted from the point of compromise. Audit systems MUST flag all ACTs signed after the estimated compromise time. -### 11.4. Replay Attack Prevention +## Replay Attack Prevention `jti` uniqueness within the applicable scope (workflow or global) provides replay detection. Verifiers MUST reject ACTs whose `jti` @@ -1521,7 +1561,7 @@ expired ACTs. The combination of `jti` and `exp` means that replay detection state only needs to be maintained for the duration of token lifetimes. -### 11.5. Equivocation +## Equivocation {#equivocation} In standalone deployment (no audit ledger, no SCITT anchoring), ACT does NOT provide non-equivocation guarantees. A compromised agent @@ -1529,13 +1569,13 @@ can maintain two valid ACT chains — presenting Phase 2 records with different `out_hash` values to different verifiers — and both will pass independent verification. -**Deployments claiming DORA [DORA] Article 10/11 compliance or EU AI -Act [EUAIA] Article 12 compliance MUST use one of:** +**Deployments claiming DORA {{DORA}} Article 10/11 compliance or EU AI +Act {{EUAIA}} Article 12 compliance MUST use one of:** (a) A shared append-only audit ledger visible to all relevant parties, with cryptographic integrity (hash chaining or Merkle trees). -(b) SCITT anchoring [I-D.ietf-scitt-architecture] providing external +(b) SCITT anchoring {{I-D.ietf-scitt-architecture}} providing external Transparency Service receipts. Standalone ACT provides tamper detection (a verifier can detect @@ -1543,7 +1583,7 @@ modification of a record it has seen) but not split-view prevention (a verifier cannot detect a different record shown to another verifier). -### 11.6. Privilege Escalation +## Privilege Escalation Verifiers MUST check that each step in `del.chain` reduces or maintains (never increases) the capabilities relative to the @@ -1553,7 +1593,7 @@ preceding step. Implementations MUST reject ACTs where: - `cap` contains actions not present in any referenced parent ACT. - Constraints in `cap` are less restrictive than those in the parent. -### 11.7. Denial of Service +## Denial of Service ACT verification is more computationally expensive than standard JWT validation due to delegation chain verification and DAG traversal. @@ -1563,13 +1603,11 @@ Mitigations: - Reject ACTs larger than 64KB before parsing. - Enforce maximum `del.chain` length (RECOMMENDED: 10 entries). - Enforce maximum DAG ancestor traversal depth (RECOMMENDED: 10,000 - nodes, Section 7.1). + nodes, {{dag-validation}}). - Cache verification results for recently seen `jti` values within the token lifetime window. ---- - -## 12. Privacy Considerations +# Privacy Considerations {#privacy-considerations} ACT tokens and audit ledger records may contain information that identifies agents, organizations, or individuals. Implementations @@ -1592,11 +1630,9 @@ SHOULD store only ACT tokens (which contain hashes, not raw data) and SHOULD implement crypto-shredding for any associated encrypted payloads. ---- +# IANA Considerations -## 13. IANA Considerations - -### 13.1. Media Type Registration +## Media Type Registration This document requests registration of the following media type: @@ -1604,11 +1640,11 @@ This document requests registration of the following media type: - Subtype name: act+jwt - Required parameters: none - Encoding considerations: binary (base64url-encoded JWT) -- Security considerations: See Section 11. -- Interoperability considerations: See Section 8. +- Security considerations: See {{security-considerations}}. +- Interoperability considerations: See {{auth-verification}}. - Specification: This document. -### 13.2. HTTP Header Field Registration +## HTTP Header Field Registration This document requests registration of the following HTTP header fields in the "Hypertext Transfer Protocol (HTTP) Field Name @@ -1617,14 +1653,14 @@ Registry": - Header field name: ACT-Mandate - Applicable protocol: HTTP - Status: permanent -- Specification: This document, Section 9.1. +- Specification: This document, {{http-header-transport}}. - Header field name: ACT-Record - Applicable protocol: HTTP - Status: permanent -- Specification: This document, Section 9.1. +- Specification: This document, {{http-header-transport}}. -### 13.3. JWT Claims Registration +## JWT Claims Registration This document requests registration of the following claims in the IANA "JSON Web Token Claims" registry: @@ -1644,196 +1680,79 @@ IANA "JSON Web Token Claims" registry: | status | Execution status | This document | | err | Execution error context | This document | ---- +--- back -## 14. References - -### 14.1. Normative References - -[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate - Requirement Levels", BCP 14, RFC 2119, March 1997. - -[RFC7515] Jones, M., Bradley, J., and N. Sakimura, "JSON Web - Signature (JWS)", RFC 7515, May 2015. - -[RFC7517] Jones, M., "JSON Web Key (JWK)", RFC 7517, May 2015. - -[RFC7518] Jones, M., "JSON Web Algorithms (JWA)", RFC 7518, - May 2015. - -[RFC7519] Jones, M., Bradley, J., and N. Sakimura, "JSON Web - Token (JWT)", RFC 7519, May 2015. - -[RFC8037] Liusvaara, I., "CFRG Elliptic Curves for JOSE", - RFC 8037, January 2017. - -[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC - 2119 Key Words", BCP 14, RFC 8174, May 2017. - -[RFC9110] Fielding, R., et al., "HTTP Semantics", RFC 9110, - June 2022. - -[RFC9562] Davis, K., et al., "Universally Unique IDentifiers - (UUIDs)", RFC 9562, May 2024. - -### 14.2. Informative References - -[DORA] European Parliament, "Digital Operational Resilience - Act (DORA)", Regulation (EU) 2022/2554, 2022. - -[EUAIA] European Parliament, "EU Artificial Intelligence Act", - Regulation (EU) 2024/1689, 2024. - -[IEC62304] IEC, "Medical device software — Software life cycle - processes", IEC 62304:2006+AMD1:2015. - -[I-D.aap-oauth-profile] - Cruz, A., "Agent Authorization Profile (AAP) for - OAuth 2.0", draft-aap-oauth-profile-01, February 2026. - -[I-D.nennemann-wimse-ect] - Nennemann, C., "Execution Context Tokens for - Distributed Agentic Workflows", - draft-nennemann-wimse-ect-00, February 2026. - -[I-D.ietf-scitt-architecture] - Birkholz, H., et al., "An Architecture for Trustworthy - and Transparent Digital Supply Chains", - draft-ietf-scitt-architecture-22, October 2025. - Note: This draft is currently in AUTH48 (RFC Editor - queue). To become RFC upon publication. Readers should - use the RFC number once assigned. - -[RFC8693] Jones, M., et al., "OAuth 2.0 Token Exchange", - RFC 8693, January 2020. - -[MCP-SPEC] Model Context Protocol Specification, 2025-11-25, - - -[OPENAI-AGENTS-SDK] - OpenAI, "Agents SDK", - - -[LANGGRAPH] - LangChain, "LangGraph Documentation", - - -[A2A-SPEC] Google, "Agent2Agent (A2A) Protocol", - - -[CREWAI] CrewAI, "CrewAI Documentation", - - -[AUTOGEN] Microsoft, "AutoGen Documentation", - - -[W3C-DID] Sporny, M., et al., "Decentralized Identifiers (DIDs) - v1.0", W3C Recommendation, July 2022. - -[DID-KEY] Longley, D., et al., "The did:key Method v0.7", 2021. - -[I-D.draft-oauth-transaction-tokens-for-agents-06] - Fletcher, G., et al., "OAuth 2.0 Transaction Tokens for - Agents", draft-oauth-transaction-tokens-for-agents-06, - Work in Progress. - -[I-D.draft-helixar-hdp-agentic-delegation-00] - Helixar, "Helixar Delegation Protocol (HDP) for Agentic - Delegation", draft-helixar-hdp-agentic-delegation-00, - Work in Progress. - -[AgenticJWT] - "Agentic JWT: A JSON Web Token Profile for Delegated - Agent Authorization", arXiv:2509.13597, 2025, - . - -[AIP-IBCT] - Prakash, S., "AIP: Agent Interaction Protocol with - Interaction-Bound Context Tokens", arXiv:2603.24775, - March 2026, - . - -[SentinelAgent] - Patil, et al., "SentinelAgent: A Formal Delegation - Chain Calculus for Verifiable Agent Authorization", - arXiv:2604.02767, April 2026, - . - -[I-D.draft-emirdag-scitt-ai-agent-execution-00] - Emirdag, et al. (VERIDIC), "A SCITT Profile for AI - Agent Execution Records", - draft-emirdag-scitt-ai-agent-execution-00, April 2026, - Work in Progress. - -[DID-WEB] Steele, O., et al., "did:web Method Specification", - 2022. - ---- - -## Appendix A: Complete JSON Schema +# Appendix A: Complete JSON Schema +{:numbered="false"} The normative JSON Schema for ACT Phase 1 and Phase 2 tokens is -available at [TODO: reference implementation repository]. +available at \[TODO: reference implementation repository\]. ---- +# Appendix B: Test Vectors +{:numbered="false"} -## Appendix B: Test Vectors +## B.1. Valid Phase 1 ACT — Root Mandate (Tier 1, Pre-Shared Key) +{:numbered="false"} -### B.1. Valid Phase 1 ACT — Root Mandate (Tier 1, Pre-Shared Key) - -``` +~~~ [TODO: include encoded test vector with signing key, payload, and expected JWS Compact Serialization] -``` +~~~ -### B.2. Valid Phase 2 ACT — Completed Execution +## B.2. Valid Phase 2 ACT — Completed Execution +{:numbered="false"} -``` -[TODO: include encoded test vector demonstrating Phase 1 → Phase 2 +~~~ +[TODO: include encoded test vector demonstrating Phase 1 -> Phase 2 transition with re-signature by target agent] -``` +~~~ -### B.3. Valid Phase 2 ACT — Fan-in (Multiple Parents) +## B.3. Valid Phase 2 ACT — Fan-in (Multiple Parents) +{:numbered="false"} -``` +~~~ [TODO: demonstrate pred with two predecessor jti values from parallel workflow branches] -``` +~~~ -### B.4. Invalid ACT — Delegation Depth Exceeded +## B.4. Invalid ACT — Delegation Depth Exceeded +{:numbered="false"} -``` +~~~ [TODO: demonstrate del.depth > del.max_depth rejection] -``` +~~~ -### B.5. Invalid ACT — Capability Escalation +## B.5. Invalid ACT — Capability Escalation +{:numbered="false"} -``` +~~~ [TODO: demonstrate rejection when delegated cap contains action not present in parent ACT] -``` +~~~ -### B.6. Invalid ACT — exec_act Mismatch +## B.6. Invalid ACT — exec_act Mismatch +{:numbered="false"} -``` +~~~ [TODO: demonstrate rejection when exec_act does not match any cap.action in the Phase 1 claims] -``` +~~~ ---- +# Appendix C: Deployment Scenarios +{:numbered="false"} -## Appendix C: Deployment Scenarios - -### C.1. Minimal Deployment (Zero Infrastructure) +## C.1. Minimal Deployment (Zero Infrastructure) +{:numbered="false"} Two organizations exchange pre-shared public keys via secure email. Each agent signs Phase 1 mandates and Phase 2 records with its Ed25519 key. No ledger, no external services. Suitable for development and low-risk workflows. -Limitation: No non-equivocation (Section 11.5). +Limitation: No non-equivocation ({{equivocation}}). -### C.2. Regulated Deployment with Hash-Chained Ledger +## C.2. Regulated Deployment with Hash-Chained Ledger +{:numbered="false"} Phase 2 ACTs are submitted to a shared append-only ledger with hash-chaining. Each recorded ACT extends a cryptographic chain, @@ -1841,14 +1760,16 @@ providing tamper evidence for each ACT and the chain as a whole. The ledger is shared between all regulated parties participating in the workflow. Suitable for DORA compliance. -### C.3. High-Assurance Cross-Organizational Deployment +## C.3. High-Assurance Cross-Organizational Deployment +{:numbered="false"} Phase 2 ACTs are anchored to a SCITT Transparency Service. SCITT receipts are attached to the audit record as non-equivocation proofs. DID-based agent identities (Tier 3) enable self-sovereign key management without shared CA infrastructure. -### C.4. WIMSE Environment Integration +## C.4. WIMSE Environment Integration +{:numbered="false"} In environments where WIMSE is already deployed, ACT-Mandate and ACT-Record headers are carried alongside the WIMSE Workload-Identity @@ -1857,10 +1778,9 @@ workload-level execution in WIMSE terms; the ACT records the authorization provenance and capability constraints that governed the action. ---- +# Acknowledgments +{:numbered="false"} -## Author's Address - -Christian Nennemann -Independent -Email: [TODO] +The author thanks the IETF WIMSE, OAuth, and SCITT working groups +for foundational work on workload identity, delegated authorization, +and transparent supply chain records that informs this specification. diff --git a/workspace/drafts/act/draft-nennemann-act-01.pdf b/workspace/drafts/act/draft-nennemann-act-01.pdf new file mode 100644 index 0000000..51fd355 Binary files /dev/null and b/workspace/drafts/act/draft-nennemann-act-01.pdf differ diff --git a/workspace/drafts/act/draft-nennemann-act-01.txt b/workspace/drafts/act/draft-nennemann-act-01.txt new file mode 100644 index 0000000..bb34229 --- /dev/null +++ b/workspace/drafts/act/draft-nennemann-act-01.txt @@ -0,0 +1,2296 @@ + + + + +Network Working Group C. Nennemann +Internet-Draft Independent Researcher +Intended status: Standards Track 12 April 2026 +Expires: 14 October 2026 + + + Agent Context Token (ACT) + draft-nennemann-act-01 + +Abstract + + This document defines the Agent Context Token (ACT), a self-contained + JWT-based format that captures the full invocation context of an + autonomous AI agent — its capabilities, constraints, delegation + provenance, oversight requirements, task metadata, and DAG position — + and unifies authorization and execution accountability in a single + token lifecycle. An ACT begins as a signed authorization mandate and + transitions into a tamper-evident execution record once the agent + completes its task, appending cryptographic hashes of inputs and + outputs and linking to predecessor tasks via a directed acyclic graph + (DAG). ACT requires no Authorization Server, no workload identity + infrastructure, and no transparency service for basic operation. + Trust is bootstrapped via pre-shared keys and is upgradeable to PKI + or Decentralized Identifiers (DIDs). ACT is designed for cross- + organizational agent federation in regulated and unregulated + environments alike. ACT is the general-purpose agent context + primitive; the WIMSE Execution Context Token (ECT) + [I-D.nennemann-wimse-ect] is a sibling profile specialized for + workload-identity-bound execution recording in WIMSE deployments. + +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 14 October 2026. + + + + + +Nennemann Expires 14 October 2026 [Page 1] + +Internet-Draft ACT April 2026 + + +Copyright Notice + + Copyright (c) 2026 IETF Trust and the persons identified as the + document authors. All rights reserved. + + This document is subject to BCP 78 and the IETF Trust's Legal + Provisions Relating to IETF Documents (https://trustee.ietf.org/ + license-info) in effect on the date of publication of this document. + Please review these documents carefully, as they describe your rights + and restrictions with respect to this document. Code Components + extracted from this document must include Revised BSD License text as + described in Section 4.e of the Trust Legal Provisions and are + provided without warranty as described in the Revised BSD License. + +Table of Contents + + 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 + 1.1. Problem Statement . . . . . . . . . . . . . . . . . . . . 4 + 1.2. Design Goals . . . . . . . . . . . . . . . . . . . . . . 5 + 1.3. Non-Goals . . . . . . . . . . . . . . . . . . . . . . . . 5 + 1.4. Relationship to Related Work . . . . . . . . . . . . . . 6 + 1.4.1. Concurrent Agent Authorization Proposals . . . . . . 6 + 1.5. Applicability . . . . . . . . . . . . . . . . . . . . . . 8 + 1.5.1. Model Context Protocol (MCP) Tool-Use Flows . . . . . 8 + 1.5.2. OpenAI Agents SDK and Function Calling . . . . . . . 9 + 1.5.3. LangGraph and LangChain Agent Graphs . . . . . . . . 9 + 1.5.4. Google Agent2Agent (A2A) Protocol . . . . . . . . . . 10 + 1.5.5. Enterprise Orchestration Without WIMSE (CrewAI, + AutoGen) . . . . . . . . . . . . . . . . . . . . . . 11 + 1.5.6. Relationship to WIMSE ECT . . . . . . . . . . . . . . 11 + 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 12 + 3. ACT Lifecycle . . . . . . . . . . . . . . . . . . . . . . . . 12 + 3.1. Phase 1: Authorization Mandate . . . . . . . . . . . . . 13 + 3.2. Phase 2: Execution Record . . . . . . . . . . . . . . . . 13 + 3.3. Lifecycle State Machine . . . . . . . . . . . . . . . . . 14 + 4. ACT Token Format . . . . . . . . . . . . . . . . . . . . . . 15 + 4.1. JOSE Header . . . . . . . . . . . . . . . . . . . . . . . 15 + 4.2. JWT Claims: Authorization Phase . . . . . . . . . . . . . 15 + 4.2.1. Standard JWT Claims . . . . . . . . . . . . . . . . . 15 + 4.2.2. ACT Authorization Claims . . . . . . . . . . . . . . 16 + 4.3. JWT Claims: Execution Phase . . . . . . . . . . . . . . . 19 + 4.4. Complete Examples . . . . . . . . . . . . . . . . . . . . 20 + 4.4.1. Example: Phase 1 — Authorization Mandate . . . . . . 20 + 4.4.2. Example: Phase 2 — Execution Record (same token, + re-signed by target agent) . . . . . . . . . . . . . 21 + 5. Trust Model . . . . . . . . . . . . . . . . . . . . . . . . . 22 + 5.1. Tier 0: Bootstrap (TOFU — Trust On First Use) . . . . . . 22 + 5.2. Tier 1: Pre-Shared Keys (Mandatory-to-Implement) . . . . 23 + + + +Nennemann Expires 14 October 2026 [Page 2] + +Internet-Draft ACT April 2026 + + + 5.3. Tier 2: PKI / X.509 . . . . . . . . . . . . . . . . . . . 23 + 5.4. Tier 3: Decentralized Identifiers (DID) . . . . . . . . . 23 + 5.5. Cross-Tier Interoperability . . . . . . . . . . . . . . . 24 + 6. Delegation Chain . . . . . . . . . . . . . . . . . . . . . . 24 + 6.1. Peer-to-Peer Delegation . . . . . . . . . . . . . . . . . 24 + 6.2. Privilege Reduction Requirements . . . . . . . . . . . . 25 + 6.3. Delegation Verification . . . . . . . . . . . . . . . . . 25 + 7. DAG Structure and Causal Ordering . . . . . . . . . . . . . . 26 + 7.1. DAG Validation . . . . . . . . . . . . . . . . . . . . . 26 + 7.2. Root Tasks and Fan-in . . . . . . . . . . . . . . . . . . 26 + 7.3. DAG vs Linear Delegation Chains . . . . . . . . . . . . . 27 + 7.3.1. What Linear Chains Express Well . . . . . . . . . . . 27 + 7.3.2. Limitations of Linear Chains . . . . . . . . . . . . 27 + 7.3.3. ACT's DAG Approach . . . . . . . . . . . . . . . . . 28 + 7.3.4. Verifiability Implications . . . . . . . . . . . . . 28 + 7.3.5. Interoperability with Linear-Chain Designs . . . . . 29 + 8. Verification Procedure . . . . . . . . . . . . . . . . . . . 29 + 8.1. Authorization Phase Verification . . . . . . . . . . . . 29 + 8.2. Execution Phase Verification . . . . . . . . . . . . . . 30 + 9. Transport . . . . . . . . . . . . . . . . . . . . . . . . . . 30 + 9.1. HTTP Header Transport . . . . . . . . . . . . . . . . . . 30 + 9.2. Non-HTTP Transports . . . . . . . . . . . . . . . . . . . 31 + 10. Audit Ledger Interface . . . . . . . . . . . . . . . . . . . 31 + 11. Security Considerations . . . . . . . . . . . . . . . . . . . 31 + 11.1. Threat Model . . . . . . . . . . . . . . . . . . . . . . 31 + 11.2. Self-Assertion Limitation . . . . . . . . . . . . . . . 32 + 11.3. Key Compromise . . . . . . . . . . . . . . . . . . . . . 33 + 11.4. Replay Attack Prevention . . . . . . . . . . . . . . . . 33 + 11.5. Equivocation . . . . . . . . . . . . . . . . . . . . . . 33 + 11.6. Privilege Escalation . . . . . . . . . . . . . . . . . . 34 + 11.7. Denial of Service . . . . . . . . . . . . . . . . . . . 34 + 12. Privacy Considerations . . . . . . . . . . . . . . . . . . . 34 + 13. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 35 + 13.1. Media Type Registration . . . . . . . . . . . . . . . . 35 + 13.2. HTTP Header Field Registration . . . . . . . . . . . . . 35 + 13.3. JWT Claims Registration . . . . . . . . . . . . . . . . 36 + 14. References . . . . . . . . . . . . . . . . . . . . . . . . . 37 + 14.1. Normative References . . . . . . . . . . . . . . . . . . 37 + 14.2. Informative References . . . . . . . . . . . . . . . . . 37 + Appendix A: Complete JSON Schema . . . . . . . . . . . . . . . . 40 + Appendix B: Test Vectors . . . . . . . . . . . . . . . . . . . . 40 + B.1. Valid Phase 1 ACT — Root Mandate (Tier 1, Pre-Shared + Key) . . . . . . . . . . . . . . . . . . . . . . . . . . 40 + B.2. Valid Phase 2 ACT — Completed Execution . . . . . . . . . 40 + B.3. Valid Phase 2 ACT — Fan-in (Multiple Parents) . . . . . . 40 + B.4. Invalid ACT — Delegation Depth Exceeded . . . . . . . . . 40 + B.5. Invalid ACT — Capability Escalation . . . . . . . . . . . 40 + B.6. Invalid ACT — exec_act Mismatch . . . . . . . . . . . . . 40 + + + +Nennemann Expires 14 October 2026 [Page 3] + +Internet-Draft ACT April 2026 + + + Appendix C: Deployment Scenarios . . . . . . . . . . . . . . . . 40 + C.1. Minimal Deployment (Zero Infrastructure) . . . . . . . . 41 + C.2. Regulated Deployment with Hash-Chained Ledger . . . . . . 41 + C.3. High-Assurance Cross-Organizational Deployment . . . . . 41 + C.4. WIMSE Environment Integration . . . . . . . . . . . . . . 41 + Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 41 + Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 41 + +1. Introduction + + Autonomous AI agents increasingly operate across organizational + boundaries, executing multi-step workflows where individual tasks are + delegated from one agent to another. These workflows create two + distinct, inseparable compliance requirements: + + 1. *Authorization*: was the agent permitted to perform the action, + under what constraints, and by whose authority? + + 2. *Accountability*: what did the agent actually do, with what + inputs, producing what outputs, in what causal relationship to + prior tasks? + + Existing specifications address these requirements in isolation. The + Agent Authorization Profile (AAP) [I-D.aap-oauth-profile] provides + structured authorization via OAuth 2.0 but requires a central + Authorization Server. The WIMSE Execution Context Token + [I-D.nennemann-wimse-ect] provides execution accountability but + requires WIMSE workload identity infrastructure (SPIFFE/SPIRE). + + This document defines the Agent Context Token (ACT), which addresses + both requirements in a single, self-contained token that requires no + shared infrastructure beyond the ability to verify asymmetric + signatures. The word "Context" in the name reflects what the token + carries: the complete invocation context of an agent — DAG + references, task metadata, capabilities, delegation chain, and + oversight claims — bound together in one cryptographically verifiable + envelope. ACT is positioned as the general agent context primitive, + with the WIMSE Execution Context Token (ECT) + [I-D.nennemann-wimse-ect] as a sibling profile specialized for + workload-identity-bound execution contexts in WIMSE deployments. + +1.1. Problem Statement + + Cross-organizational agent federation today faces a bootstrapping + problem: deploying shared OAuth infrastructure or a common SPIFFE + trust domain requires organizational agreement before the first + message is exchanged. In practice this means either: + + + + +Nennemann Expires 14 October 2026 [Page 4] + +Internet-Draft ACT April 2026 + + + (a) agents operate without cryptographic authorization or audit + trails, relying on application-layer access control only; or + + (b) organizations adopt one party's identity infrastructure, creating + a hub-and-spoke dependency that contradicts the decentralized nature + of agent networks. + + ACT solves this by making pre-shared keys the mandatory-to-implement + trust baseline — two agents can begin a secure, auditable interaction + with nothing more than an out-of-band key exchange — while providing + a clean upgrade path to PKI or DID-based trust without changing the + token format. + +1.2. Design Goals + + * *G1 — Zero infrastructure baseline*: ACT MUST be deployable with + no shared servers, no common identity provider, and no + transparency service. + + * *G2 — Single token lifecycle*: Authorization and accountability + MUST be expressed in the same token format to prevent + authorization-accountability gaps. + + * *G3 — Peer-to-peer delegation*: Delegation chains MUST be + verifiable without contacting an Authorization Server, using + cryptographic chaining of agent signatures. + + * *G4 — DAG-native causal ordering*: Workflows with parallel + branches and fan-in dependencies MUST be expressible natively, + without flattening to a linear chain. + + * *G5 — Cross-organizational interoperability*: ACTs issued by + agents in different trust domains MUST be verifiable by any + participant holding the issuing agent's public key. + + * *G6 — Regulatory applicability*: ACT MUST provide sufficient + evidence for audit requirements in DORA [DORA], EU AI Act Article + 12 [EUAIA], and IEC 62304 [IEC62304] without requiring additional + log formats. + + * *G7 — Upgrade path*: The trust model MUST support migration from + pre-shared keys to PKI or DID without breaking existing ACT + chains. + +1.3. Non-Goals + + The following are explicitly out of scope: + + + + +Nennemann Expires 14 October 2026 [Page 5] + +Internet-Draft ACT April 2026 + + + * Defining internal AI model behavior or decision logic. + + * Replacing organizational security policies or procedures. + + * Defining storage formats for audit ledgers. + + * Specifying token revocation infrastructure (deployments MAY use + existing mechanisms such as [RFC7009] for this purpose). + + * Providing non-equivocation guarantees in standalone mode (see + Section 11.5 for the equivocation discussion and optional + transparency anchoring). + +1.4. Relationship to Related Work + + *AAP [I-D.aap-oauth-profile]*: ACT addresses the same authorization + problem as AAP but does not require an Authorization Server. ACT + delegation is peer-to-peer via cryptographic signature chaining; AAP + delegation requires OAuth Token Exchange [RFC8693] against a central + AS. ACT is not a profile of AAP; it is an infrastructure-independent + alternative for the same problem class. + + *WIMSE ECT [I-D.nennemann-wimse-ect]*: ACT addresses the same + execution accountability problem as the WIMSE Execution Context Token + but does not require WIMSE workload identity infrastructure. ACT is + not a profile of WIMSE; it is deployable in environments without + SPIFFE/SPIRE. In environments where WIMSE is deployed, ACT MAY be + carried alongside WIMSE tokens to augment accountability with + authorization provenance. + + *SCITT [I-D.ietf-scitt-architecture]*: For deployments requiring non- + equivocation guarantees (see Section 11.5), ACT execution records MAY + be anchored to a SCITT Transparency Service as a Layer 2 mechanism. + This is OPTIONAL and not required for basic ACT operation. Note: The + SCITT architecture draft is currently in AUTH48 (RFC Editor queue) at + version -22 and is about to become an RFC; readers should use the RFC + number once assigned. + +1.4.1. Concurrent Agent Authorization Proposals + + Several concurrent proposals in the IETF and academic communities + address overlapping portions of the agent authorization problem + space. This subsection situates ACT relative to those proposals. + Protocol-layer comparison of linear versus DAG delegation structure + is deferred to Section 7.3; the summaries below focus on scope and + deployability. + + + + + +Nennemann Expires 14 October 2026 [Page 6] + +Internet-Draft ACT April 2026 + + + *AIP / IBCTs [AIP-IBCT]*: The Agent Interaction Protocol proposes + Interaction-Bound Capability Tokens in two modes: compact signed JWTs + for single-hop invocation and Biscuit/Datalog tokens for multi-hop + delegation, motivated by a survey of approximately 2,000 Model + Context Protocol servers that found no authorization enforcement. + ACT addresses the same problem class but relies exclusively on JWT/ + JOSE throughout (no Biscuit or Datalog dependency), defines an + explicit two-phase lifecycle separating authorization (Mandate) from + proof-of-execution (Record), and supports DAG delegation structure. + IBCTs are modeled as append-only chains at the protocol layer; ACT + operates at the authorization graph layer with revocable lifecycle + states. + + *SentinelAgent [SentinelAgent]*: SentinelAgent defines a formal + Delegation Chain Calculus with seven verifiable properties, a TLA+ + mechanization, and reports 100% true-positive and 0% false-positive + rates against the DelegationBench v4 benchmark. It addresses the + same accountability question as ACT — namely, which principal + authorized a given chain of actions. The differentiator is + deployment substrate: SentinelAgent expresses its guarantees in a + domain-specific formal calculus, whereas ACT encodes the same + invariants in IETF-standard JWT infrastructure (RFC 7519, RFC 7515, + RFC 8032) already deployable in existing OAuth- and JOSE-aware + stacks. + + *Agentic JWT [AgenticJWT]*: Agentic JWT derives a per-agent identity + as a one-way hash of the agent's prompt, registered tools, and + configuration, and chains delegation assertions across invocations. + It is the closest prior-art JWT-based construction for agentic + delegation. ACT differs in that it adds an explicit two-phase + lifecycle — separating the authorization mandate from the proof-of- + execution record — and expresses delegation as a DAG via the array- + valued pred claim rather than a strictly linear chain. + + *OAuth Transaction Tokens for Agents + [I-D.oauth-transaction-tokens-for-agents]*: This draft extends OAuth + Transaction Tokens with an actchain claim (an ordered delegation + array), an agentic_ctx claim conveying intent and constraints, and + flow-type markers distinguishing interactive from autonomous + invocations. It is complementary to ACT at the OAuth layer. The + primary differentiators are topology and infrastructure dependency: + Transaction Tokens for Agents presume an OAuth Authorization Server + and use a linear actchain, whereas ACT operates peer-to-peer without + any AS and uses a DAG-valued pred. A detailed differencing document + is referenced in Section 11. + + + + + + +Nennemann Expires 14 October 2026 [Page 7] + +Internet-Draft ACT April 2026 + + + *Helixar Delegation Protocol (HDP) + [I-D.helixar-hdp-agentic-delegation]*: HDP specifies Ed25519 + signatures over RFC 8785-canonicalized JSON, an append-only linear + delegation chain with session binding, and offline verification. ACT + addresses the same problem but is encoded in JWT/JOSE (aligning with + the broader IETF token ecosystem) rather than raw canonical JSON, and + its pred claim admits DAG topologies rather than strictly linear + chains. + + *SCITT Profile for AI Agent Execution Records + [I-D.emirdag-scitt-ai-agent-execution]*: This draft defines a SCITT + profile in which AgentInteractionRecord (AIR) payloads are carried as + COSE_Sign1 statements anchored to a SCITT Transparency Service. It + is highly complementary to ACT: where ACT defines the two-phase + lifecycle token issued and consumed by agents at runtime, the SCITT + AI Agent Execution draft defines the payload format suitable for + long-term anchoring. Implementations that anchor Phase 2 ACTs to + SCITT (Section 11) SHOULD consider the AIR payload structure defined + in that draft as the canonical encoding for anchored records. + +1.5. Applicability + + ACT is designed as a general-purpose primitive for AI agent + authorization and execution accountability. While a sibling + specification [I-D.nennemann-wimse-ect] profiles execution context + tokens specifically for the WIMSE working group's workload identity + infrastructure, ACT operates without any shared identity plane. This + section identifies deployment contexts where ACT applies + independently of WIMSE, and clarifies how ACT complements — rather + than competes with — ecosystem-specific agent protocols. + +1.5.1. Model Context Protocol (MCP) Tool-Use Flows + + The Model Context Protocol [MCP-SPEC] defines a client-server + interface by which LLM hosts invoke external tools via structured + JSON-RPC calls. MCP 2025-11-25 mandates OAuth 2.1 for transport- + layer authentication, but provides no mechanism for carrying per- + invocation authorization constraints or for producing a tamper- + evident record of what arguments were passed and what result was + returned. + + ACT addresses this gap as follows: when an MCP host is about to + dispatch a tool call on behalf of an agent, it SHOULD issue a Phase 1 + ACT Mandate encoding the permitted tool name (e.g., as a capability + constraint), the declaring scope, and any parameter-level constraints + applicable to that invocation. The MCP server, upon receiving the + request, MAY validate the ACT Mandate and, upon completing the tool + execution, SHOULD transition the token to Phase 2 by appending + + + +Nennemann Expires 14 October 2026 [Page 8] + +Internet-Draft ACT April 2026 + + + SHA-256 hashes of the serialized input arguments and the JSON + response, then re-sign. The resulting Phase 2 ACT constitutes an + unforgeable record that a specific tool was called with specific + arguments and returned a specific result, independently of MCP's + OAuth layer. + + This integration requires no modification to MCP transport; the ACT + SHOULD be carried in the ACT-Mandate and ACT-Record HTTP headers + defined in Section 9.1 of this document. + +1.5.2. OpenAI Agents SDK and Function Calling + + The OpenAI Agents SDK [OPENAI-AGENTS-SDK] enables composition of + agents via handoffs — structured transfers of control from one agent + to another, each potentially invoking registered function tools. The + SDK provides no built-in mechanism for a receiving agent to verify + that the handoff was authorized by a named principal, nor for the + invoking agent to produce a verifiable record of what functions it + called. + + ACT is applicable at the handoff boundary: the orchestrating agent + SHOULD issue a Phase 1 ACT Mandate to the receiving agent at the + moment of handoff, encoding the permitted function set as capability + constraints and the maximum privilege the receiving agent MAY + exercise. The receiving agent SHOULD attach its Phase 2 ACT Record + to any callback or downstream response, providing the orchestrator + with cryptographic evidence of the actions taken. In multi-turn + chains involving multiple handoffs, the DAG linkage (Section 7) + allows each handoff to be expressed as a parent-child edge, + preserving the full causal ordering of the agent invocation sequence. + + Implementations that use the OpenAI function calling API directly, + without the Agents SDK, MAY apply ACT at the application layer: the + calling process issues a Phase 1 ACT before the function call + parameter block is finalized, and the receiving function handler + returns a Phase 2 ACT alongside its JSON result. + +1.5.3. LangGraph and LangChain Agent Graphs + + LangGraph [LANGGRAPH] models agent workflows as typed StateGraphs in + which nodes represent agent invocations or tool calls and edges + represent conditional transitions. The DAG structure of ACT + (Section 7) is a natural fit for this model: each LangGraph node that + performs an observable action corresponds to exactly one ACT task + identifier (tid), and directed edges in the LangGraph correspond to + pred (predecessor) references in successor ACTs. + + + + + +Nennemann Expires 14 October 2026 [Page 9] + +Internet-Draft ACT April 2026 + + + ACT is applicable at the node boundary: when a LangGraph node + dispatches a sub-agent or invokes a tool with side effects, it SHOULD + issue a Phase 1 ACT Mandate encoding the node's permitted actions + before any external call is made. Upon transition out of the node, a + Phase 2 ACT Record SHOULD be produced and attached to the LangGraph + state object alongside the node's output. Downstream nodes that fan- + in from multiple predecessors MAY retrieve the set of parent ACT + identifiers from the shared state to populate their pred array, + thereby expressing LangGraph's fan-in semantics within the ACT DAG + without any additional infrastructure. + + In contrast to LangGraph's built-in state audit trail, which is + mutable in-process memory, Phase 2 ACTs are cryptographically signed + and portable: they can be exported from a LangGraph run and submitted + to an external audit ledger, satisfying compliance requirements that + cannot be met by in-process logging alone. + +1.5.4. Google Agent2Agent (A2A) Protocol + + The Agent2Agent protocol [A2A-SPEC] defines a task-oriented JSON-RPC + interface for inter-agent communication, with authentication + delegated to OAuth 2.0 or API key schemes declared in each agent's + Agent Card. A2A provides no mechanism for a receiving agent to + verify the authorization provenance of a task request beyond the + transport-layer credential, and produces no token that represents the + execution of the task in a verifiable, portable form. + + ACT is applicable as a session-layer accountability complement to + A2A: a client agent SHOULD include a Phase 1 ACT Mandate in the + metadata field of the A2A Task object, encoding the task type as a + capability constraint and the delegating agent's identity as the ACT + issuer. The receiving agent SHOULD validate the Mandate before + beginning task execution and SHOULD return a Phase 2 ACT Record as an + artifact in the A2A TaskResult, enabling the client agent to retain + cryptographic proof of what was executed on its behalf. + + This integration does not require modification to A2A's transport or + authentication scheme; ACT and A2A's OAuth credentials operate at + independent layers and are not redundant. A2A's credential answers + "is this client permitted to contact this server?"; the ACT Mandate + answers "is this agent permitted to request this specific task under + these constraints?". + + + + + + + + + +Nennemann Expires 14 October 2026 [Page 10] + +Internet-Draft ACT April 2026 + + +1.5.5. Enterprise Orchestration Without WIMSE (CrewAI, AutoGen) + + Enterprise orchestration frameworks such as CrewAI [CREWAI] and + AutoGen [AUTOGEN] deploy multi-agent systems within a single + organizational boundary, typically without SPIFFE/SPIRE workload + identity infrastructure. In these environments, OAuth Authorization + Servers are often unavailable or impractical to deploy for intra- + process agent communication. + + ACT is applicable in this context via its Tier 1 (pre-shared key) + trust model (Section 5.2): each agent role in a CrewAI Crew or + AutoGen ConversableAgent graph is assigned an Ed25519 keypair at + instantiation time. The orchestrating agent issues Phase 1 Mandates + to worker agents before delegating tasks, constraining each worker to + only the tools and actions relevant to its role. Worker agents + produce Phase 2 Records on task completion. The resulting ACT chain + is exportable as a structured audit trail that satisfies the per- + action logging requirements of DORA [DORA] and EU AI Act Article 12 + [EUAIA] without requiring shared infrastructure beyond the ability to + exchange public keys at deployment time. + + Implementations SHOULD NOT use ACT's self-assertion mode (where an + agent issues and records its own mandate without external sign-off) + in regulated workflows; at minimum, the orchestrating agent MUST sign + the initial Mandate so that accountability is anchored to a principal + outside the executing agent. + +1.5.6. Relationship to WIMSE ECT + + Where WIMSE infrastructure is deployed, ACT and the WIMSE Execution + Context Token [I-D.nennemann-wimse-ect] serve complementary and non- + overlapping functions. The ECT records workload-level execution in + WIMSE terms — which SPIFFE workload executed, in which trust domain, + against which service. ACT records the authorization provenance — + which agent was permitted to request which action, under what + capability constraints, by whose authority — and transitions that + authorization record into an execution record upon task completion. + + In mixed environments, both tokens SHOULD be carried simultaneously: + the Workload-Identity header carries the WIMSE ECT; the ACT-Record + header carries the ACT. Verifiers MAY correlate the two by matching + the ACT tid claim against application-layer identifiers present in + the ECT's task context. Neither token is a profile or extension of + the other; they operate at different abstraction layers and their co- + presence is additive. + + + + + + +Nennemann Expires 14 October 2026 [Page 11] + +Internet-Draft ACT April 2026 + + +2. Conventions and Definitions + + The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", + "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and + "OPTIONAL" 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. + + *Agent*: An autonomous software entity that executes tasks, issues + ACTs as mandates for sub-agents, and produces ACTs as execution + records of its own actions. + + *Authorization Mandate*: An ACT in Phase 1, encoding what an agent is + permitted to do, under what constraints, and by whose authority. + + *Execution Record*: An ACT in Phase 2, encoding what an agent + actually did, including cryptographic hashes of inputs and outputs + and causal links to predecessor tasks. + + *Directed Acyclic Graph (DAG)*: A graph structure representing task + dependency ordering where edges are directed and no cycles exist. + Used by ACT to model causal relationships between tasks in a + workflow. + + *Delegation Chain*: A cryptographically verifiable sequence of ACT + issuances from a root authority through one or more agents, each + signing a new ACT that reduces privileges relative to the one it + received. + + *Trust Tier*: A level of key management infrastructure used to + establish the public key of an ACT issuer. Tiers range from pre- + shared keys (Tier 1, mandatory) to PKI (Tier 2) and DIDs (Tier 3). + + *Workflow*: A set of related tasks, identified by a shared wid claim, + forming a single logical unit of work. + +3. ACT Lifecycle + + An ACT has a two-phase lifecycle. The same token format is used in + both phases; the presence or absence of execution claims determines + which phase a token represents. + + A token is a *Phase 2 Execution Record* if and only if the claim + exec_act is present. A token that does not contain exec_act is a + *Phase 1 Authorization Mandate*. Verifiers MUST determine the phase + before applying verification rules, and MUST reject a token that is + presented in the wrong phase for the operation being performed. + + + + +Nennemann Expires 14 October 2026 [Page 12] + +Internet-Draft ACT April 2026 + + +3.1. Phase 1: Authorization Mandate + + In Phase 1, an ACT is created by a delegating agent (or a human + operator) to authorize a target agent to perform a specific task. + The token carries: + + * The identity of the issuing agent and the target agent. + + * The capabilities granted, with associated constraints. + + * Human oversight requirements for high-impact actions. + + * The delegation provenance (who authorized the issuer to delegate). + + * A task identifier and declared purpose. + + The Phase 1 ACT is signed by the issuing agent using its private key. + The target agent receives the ACT and uses it as a bearer mandate — + evidence that it is authorized to proceed. + + Phase 1 ACTs are short-lived. Implementations SHOULD set expiration + (exp) to no more than 15 minutes after issuance (iat) for automated + agent-to-agent workflows. Longer lifetimes MAY be used for human- + initiated mandates where the agent may not act immediately. + +3.2. Phase 2: Execution Record + + Upon completing the authorized task, the executing agent MUST + transition the ACT to Phase 2 by: + + 1. Adding the exec_act claim describing the action performed. + + 2. Optionally adding inp_hash and/or out_hash SHA-256 hashes of task + inputs and outputs (RECOMMENDED for regulated environments). + + 3. Adding the pred array referencing predecessor task identifiers + (DAG dependencies). + + 4. Adding exec_ts and status claims. + + 5. Re-signing the complete token with its own private key. + + The re-signing is critical: it produces a new signature over the + combined authorization + execution claims, binding the executing + agent's cryptographic identity to both the mandate it received and + the execution it performed. This creates a single, non-repudiable + record that answers both "was this agent authorized?" and "what did + it do?" + + + +Nennemann Expires 14 October 2026 [Page 13] + +Internet-Draft ACT April 2026 + + + Note on issuer signature preservation: re-signing replaces the Phase + 1 signature produced by the issuing agent (iss). The integrity of + the original mandate is preserved through the del.chain mechanism: + the chain entry's sig field is the iss agent's signature over the + Phase 1 ACT, and this signature remains intact and verifiable in the + Phase 2 token. For root mandates where del.chain is empty, the + issuer's signature is not independently preserved in Phase 2. + Deployments requiring independent verifiability of the original + mandate SHOULD retain the Phase 1 ACT separately alongside the Phase + 2 record. + + The resulting Phase 2 ACT SHOULD be submitted to an audit ledger + (Section 10) and MAY be sent to the next agent in the workflow as + evidence of completed prerequisites. + +3.3. Lifecycle State Machine + + [Issuer creates Phase 1 ACT] + | + | sign(issuer_key) + v + +------------------+ + | MANDATE | Phase 1: Authorization Mandate + | (unsigned by | Carried as bearer token by target agent + | target agent) | + +------------------+ + | + | Target agent executes task + | adds exec_act, inp_hash, out_hash, pred + | re-signs with target_agent_key + v + +------------------+ + | RECORD | Phase 2: Execution Record + | (signed by | Submitted to ledger, passed to next agent + | target agent) | + +------------------+ + | + | (optional) anchor to SCITT Transparency Service + v + +------------------+ + | ANCHORED | Phase 2 + external non-equivocation + +------------------+ + + + + + + + + + +Nennemann Expires 14 October 2026 [Page 14] + +Internet-Draft ACT April 2026 + + +4. ACT Token Format + + An ACT is a JSON Web Token [RFC7519] signed as a JSON Web Signature + [RFC7515] using JWS Compact Serialization. All ACTs MUST use JWS + Compact Serialization to ensure they can be carried in a single HTTP + header value. + +4.1. JOSE Header + + The ACT JOSE header MUST contain: + + { + "alg": "ES256", + "typ": "act+jwt", + "kid": "agent-a-key-2026-03" + } + + *alg* (REQUIRED): The digital signature algorithm. Implementations + MUST support ES256 [RFC7518]. EdDSA (Ed25519) [RFC8037] is + RECOMMENDED for new deployments due to smaller signatures and + resistance to side-channel attacks. Symmetric algorithms (HS256, + HS384, HS512) MUST NOT be used. The "alg" value MUST NOT be "none". + + *typ* (REQUIRED): MUST be "act+jwt" to distinguish ACTs from other + JWT types. + + *kid* (REQUIRED): An identifier for the signing key. In Tier 1 + deployments (pre-shared keys), this is an opaque string agreed out- + of-band. In Tier 2 deployments (PKI), this is the X.509 certificate + thumbprint. In Tier 3 deployments (DID), this is the DID key + fragment (e.g., did:key:z6Mk...#key-1). + + *x5c* (OPTIONAL): In Tier 2 deployments, the X.509 certificate chain + MAY be included to enable verification without out-of-band key + distribution. + + *did* (OPTIONAL): In Tier 3 deployments, the full DID of the issuing + agent MAY be included for resolution. + +4.2. JWT Claims: Authorization Phase + +4.2.1. Standard JWT Claims + + *iss* (REQUIRED): The identifier of the agent issuing the mandate. + Format depends on trust tier: an opaque string (Tier 1), an X.509 + Subject DN (Tier 2), or a DID (Tier 3). + + + + + +Nennemann Expires 14 October 2026 [Page 15] + +Internet-Draft ACT April 2026 + + + *sub* (REQUIRED): The identifier of the agent authorized to act. + MUST use the same format convention as iss. + + *aud* (REQUIRED): The intended recipient(s). MUST include the + identifier of the target agent (sub). When an audit ledger is + deployed, MUST also include the ledger's identifier. When multiple + recipients are present, MUST be an array. Verifiers that are audit + ledgers MUST verify that their own identifier appears in aud. + + *iat* (REQUIRED): Issuance time as a NumericDate [RFC7519]. + + *exp* (REQUIRED): Expiration time. Implementations SHOULD set to no + more than 15 minutes after iat for automated workflows. + + *jti* (REQUIRED): A UUID [RFC9562] uniquely identifying this ACT and, + in Phase 2, the task it records. Used as the task identifier for DAG + predecessor references in pred. + +4.2.2. ACT Authorization Claims + + *wid* (OPTIONAL): A UUID identifying the workflow to which this task + belongs. When present, groups related ACTs and scopes jti uniqueness + to the workflow. + + *task* (REQUIRED): An object describing the authorized task: + + { + "task": { + "purpose": "validate_patient_dosage", + "data_sensitivity": "restricted", + "created_by": "operator:clinical-admin-01", + "expires_at": 1772064750 + } + } + + * purpose (REQUIRED): A string describing the intended task. + Implementations SHOULD use a controlled vocabulary or reverse- + domain notation (e.g., "com.example.validate_dosage") to enable + semantic consistency checking by the receiving agent. + + * data_sensitivity (OPTIONAL): One of "public", "internal", + "confidential", "restricted". Receiving agents MUST NOT perform + actions that would expose data above this classification. + + * created_by (OPTIONAL): An identifier for the human or system that + initiated the workflow. SHOULD be pseudonymous (see Section 12). + + + + + +Nennemann Expires 14 October 2026 [Page 16] + +Internet-Draft ACT April 2026 + + + * expires_at (OPTIONAL): A NumericDate after which the task mandate + is no longer valid, independent of exp. + + *cap* (REQUIRED): An array of capability objects, each specifying an + action the agent is authorized to perform and the constraints under + which it may do so: + + { + "cap": [ + { + "action": "read.patient_record", + "constraints": { + "patient_id_scope": "current_task_only", + "max_records": 1, + "data_classification_max": "restricted" + } + }, + { + "action": "write.dosage_recommendation", + "constraints": { + "status": "draft_only" + } + } + ] + } + + Action names MUST conform to the ABNF grammar: + + action-name = component *( "." component ) + component = ALPHA *( ALPHA / DIGIT / "-" / "_" ) + + Receiving agents MUST perform exact string matching on action names. + Wildcard matching is NOT part of this specification. + + When multiple capabilities match the same action, OR semantics apply: + if ANY capability grants the action, the request is authorized + subject to that capability's constraints. When multiple constraints + exist within a single capability, AND semantics apply: ALL + constraints MUST be satisfied. When the same constraint key appears + in both a capability-level and a policy-level context, the more + restrictive value applies: lower numeric limits, narrower allow-lists + (intersection), broader block-lists (union), and narrower time + windows. + + *oversight* (OPTIONAL): Human oversight requirements: + + + + + + +Nennemann Expires 14 October 2026 [Page 17] + +Internet-Draft ACT April 2026 + + + { + "oversight": { + "requires_approval_for": ["write.publish", "execute.payment"], + "approval_ref": "https://approval.example.com/workflow/w-123" + } + } + + When requires_approval_for lists an action, the receiving agent MUST + NOT execute that action autonomously. The approval mechanism is out + of scope for this specification. + + *del* (OPTIONAL): Delegation provenance, establishing the chain of + authority from the root mandate to this ACT. If del is absent, the + ACT MUST be treated as a root mandate with depth = 0 and further + delegation is not permitted (i.e., the receiving agent MUST NOT issue + sub-mandates based on this ACT). + + { + "del": { + "depth": 1, + "max_depth": 3, + "chain": [ + { + "delegator": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK", + "jti": "550e8400-e29b-41d4-a716-446655440000", + "sig": "base64url-encoded-signature-of-parent-act-hash" + } + ] + } + } + + * depth: The current delegation depth. 0 means this is a root + mandate issued by a human or root authority. + + * max_depth: The maximum permitted delegation depth. Receiving + agents MUST NOT issue sub-mandates that would exceed this depth. + + * chain: An array of delegation provenance records ordered from root + to immediate parent (chain[0] is the root authority, chain[depth- + 1] is the direct parent of this ACT). Each entry contains: + + - delegator: The identifier of the agent that authorized this + delegation step (i.e., the iss of the parent ACT at that + depth). + + - jti: The jti of the parent ACT that authorized this delegation + step. + + + + +Nennemann Expires 14 October 2026 [Page 18] + +Internet-Draft ACT April 2026 + + + - sig: The delegating agent's signature over the SHA-256 hash of + that parent ACT, providing cryptographic linkage without + requiring the full parent ACT to be transmitted. + + The sig field in each chain entry is the critical departure from + AAP's delegation model: rather than requiring a central AS to + validate the chain, any verifier holding the delegating agent's + public key can independently verify each step by recomputing the hash + and checking the signature. + +4.3. JWT Claims: Execution Phase + + The following claims are added by the executing agent when + transitioning to Phase 2. Their presence distinguishes an Execution + Record from an Authorization Mandate. + + *exec_act* (REQUIRED in Phase 2): A string identifying the action + actually performed. MUST conform to the same ABNF grammar as + capability action names. MUST match one of the action values in the + cap array of the Phase 1 claims. + + *pred* (REQUIRED in Phase 2): An array of jti values of predecessor + tasks in the DAG. An empty array indicates a root task. Each value + MUST be the jti of a previously verified ACT (Phase 2) within the + same workflow (same wid) or the global ACT store if wid is absent. + + *inp_hash* (OPTIONAL): The base64url encoding (without padding) of + the SHA-256 hash of the task's input data, computed over the raw + octets of the serialized input. Provides cryptographic evidence of + what data the agent processed. + + *out_hash* (OPTIONAL): The base64url encoding (without padding) of + the SHA-256 hash of the task's output data, using the same format as + inp_hash. Provides cryptographic evidence of what data the agent + produced. + + *exec_ts* (REQUIRED in Phase 2): A NumericDate recording the actual + time of task execution. MAY differ from iat when the agent queued + the mandate before execution. MUST be greater than or equal to iat. + SHOULD be less than or equal to exp; execution after mandate expiry + is possible when tasks are long-running and MUST NOT cause automatic + rejection, but implementors SHOULD log a warning. + + *status* (REQUIRED in Phase 2): One of "completed", "failed", + "partial". Allows audit systems to distinguish successful execution + from partial or failed attempts, which is essential for regulated + environments where failed attempts must be recorded. + + + + +Nennemann Expires 14 October 2026 [Page 19] + +Internet-Draft ACT April 2026 + + + *err* (OPTIONAL, present when status is "failed" or "partial"): An + object providing error context: + + { + "err": { + "code": "constraint_violation", + "detail": "data_classification_max exceeded" + } + } + + Error detail SHOULD NOT reveal internal system state beyond what is + necessary for audit purposes. + +4.4. Complete Examples + +4.4.1. Example: Phase 1 — Authorization Mandate + + { + "alg": "ES256", + "typ": "act+jwt", + "kid": "agent-clinical-key-2026-03" + } + . + { + "iss": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK", + "sub": "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz", + "aud": [ + "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz", + "https://ledger.hospital.example.com" + ], + "iat": 1772064000, + "exp": 1772064900, + "jti": "550e8400-e29b-41d4-a716-446655440001", + + "wid": "a0b1c2d3-e4f5-6789-abcd-ef0123456789", + + "task": { + "purpose": "validate_treatment_recommendation", + "data_sensitivity": "restricted", + "created_by": "operator:clinical-admin-01" + }, + + "cap": [ + { + "action": "read.patient_record", + "constraints": { + "patient_id_scope": "current_task_only", + "max_records": 1 + + + +Nennemann Expires 14 October 2026 [Page 20] + +Internet-Draft ACT April 2026 + + + } + }, + { + "action": "write.safety_assessment", + "constraints": { + "status": "draft_only" + } + } + ], + + "oversight": { + "requires_approval_for": ["write.publish_assessment"] + }, + + "del": { + "depth": 0, + "max_depth": 2, + "chain": [] + } + } + +4.4.2. Example: Phase 2 — Execution Record (same token, re-signed by + target agent) + + { + "alg": "EdDSA", + "typ": "act+jwt", + "kid": "agent-safety-key-2026-03" + } + . + { + "iss": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK", + "sub": "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz", + "aud": [ + "did:key:z6MknGc3omCyas4b1GmEn4xySHgLuSHxrKrUBnrhJekxZHFz", + "https://ledger.hospital.example.com" + ], + "iat": 1772064000, + "exp": 1772064900, + "jti": "550e8400-e29b-41d4-a716-446655440001", + + "wid": "a0b1c2d3-e4f5-6789-abcd-ef0123456789", + + "task": { + "purpose": "validate_treatment_recommendation", + "data_sensitivity": "restricted", + "created_by": "operator:clinical-admin-01" + }, + + + +Nennemann Expires 14 October 2026 [Page 21] + +Internet-Draft ACT April 2026 + + + "cap": [ + { + "action": "read.patient_record", + "constraints": { + "patient_id_scope": "current_task_only", + "max_records": 1 + } + }, + { + "action": "write.safety_assessment", + "constraints": { + "status": "draft_only" + } + } + ], + + "oversight": { + "requires_approval_for": ["write.publish_assessment"] + }, + + "del": { + "depth": 0, + "max_depth": 2, + "chain": [] + }, + + "exec_act": "write.safety_assessment", + "pred": ["550e8400-e29b-41d4-a716-446655440000"], + "inp_hash": "n4bQgYhMfWWaL-qgxVrQFaO_TxsrC4Is0V1sFbDwCgg", + "out_hash": "LCa0a2j_xo_5m0U8HTBBNBNCLXBkg7-g-YpeiGJm564", + "exec_ts": 1772064300, + "status": "completed" + } + +5. Trust Model + + ACT defines four trust tiers. Tier 1 is mandatory-to-implement; all + others are optional upgrades. An ACT verifier MUST be able to + process ACTs from any tier it has configured. The trust tier in use + is determined by the kid format and the presence of x5c or did header + parameters. + +5.1. Tier 0: Bootstrap (TOFU — Trust On First Use) + + Tier 0 is NOT part of the normative trust model and MUST NOT be used + in regulated environments. It is defined here for documentation + purposes only, to describe the common bootstrapping scenario. + + + + +Nennemann Expires 14 October 2026 [Page 22] + +Internet-Draft ACT April 2026 + + + In Tier 0, the first ACT received from an agent establishes its + public key. This is equivalent to SSH TOFU behavior: an attacker who + intercepts the first message can substitute their own key. Tier 0 + deployments MUST transition to Tier 1 or higher before exchanging + ACTs that carry sensitive capabilities. + +5.2. Tier 1: Pre-Shared Keys (Mandatory-to-Implement) + + In Tier 1, both parties exchange public keys out-of-band prior to the + first ACT exchange. The kid is an opaque string agreed during the + key exchange. Implementations MUST support Tier 1. + + Key exchange MAY occur via any out-of-band mechanism: manual + configuration, a configuration management system, or a prior + authenticated channel. This specification does not mandate a + specific key exchange protocol. + + Tier 1 public keys MUST be Ed25519 [RFC8037] or P-256 (ES256) + [RFC7518] keys. RSA keys SHOULD NOT be used in Tier 1 deployments + due to key size. Key rotation MUST be performed out-of-band using + the same mechanism as the initial exchange. + +5.3. Tier 2: PKI / X.509 + + In Tier 2, agent identity is bound to an X.509 certificate issued by + a mutually trusted Certificate Authority (CA). The kid is the + certificate thumbprint (SHA-256 of the DER-encoded certificate). + + Cross-organizational ACT exchange in Tier 2 requires either: + + (a) a mutually trusted root CA, or (b) cross-certification between + the organizations' CAs, or (c) explicit trust anchoring (one + organization's CA is added to the other's trust store). + + The x5c JOSE header parameter [RFC7515] MAY carry the full + certificate chain to enable verification without out-of-band trust + store configuration. + +5.4. Tier 3: Decentralized Identifiers (DID) + + In Tier 3, agent identity is expressed as a DID [W3C-DID]. The kid + is a DID key fragment. The did JOSE header parameter carries the + full DID for resolution. + + Implementations SHOULD support at minimum did:key [DID-KEY] for self- + contained key distribution without external resolution, and did:web + [DID-WEB] for organizations that prefer DNS-anchored identity. + + + + +Nennemann Expires 14 October 2026 [Page 23] + +Internet-Draft ACT April 2026 + + + DID resolution latency introduces a dependency on external + infrastructure. To preserve the zero-infrastructure baseline, + implementations using Tier 3 MAY cache DID Documents and MUST specify + a maximum cache TTL in their configuration. + +5.5. Cross-Tier Interoperability + + A delegation chain MAY include agents operating at different trust + tiers. Each step in the chain is verified using the trust tier of + the signing agent at that step. Verifiers MUST NOT reject a chain + solely because it mixes trust tiers, but MAY apply stricter policy + for chains that include Tier 0 or Tier 1 steps when exchanging + sensitive capabilities. + +6. Delegation Chain + + ACT delegation is peer-to-peer: no Authorization Server is involved. + Delegation is expressed as a cryptographically verifiable chain of + ACT issuances, where each step reduces privileges relative to the + previous step. + +6.1. Peer-to-Peer Delegation + + When Agent A authorizes Agent B to perform a sub-task, Agent A: + + 1. Creates a new ACT with sub set to Agent B's identifier. + + 2. Sets cap to a subset of A's own authorized capabilities, with + constraints at least as restrictive as those in A's mandate. + + 3. Sets del.depth to A's own del.depth + 1. + + 4. Sets del.max_depth to no more than the del.max_depth value in A's + own mandate. + + 5. Adds a chain entry containing A's identifier as delegator, the + jti of A's own mandate, and a sig value computed as: + + sig = Sign(A.private_key, SHA-256(canonical_ACT_phase1_bytes)) + + where canonical_ACT_phase1_bytes is the UTF-8 encoded bytes of + the JWS Compact Serialization of A's Phase 1 ACT. + + 6. Signs the new ACT with A's private key. + + + + + + + +Nennemann Expires 14 October 2026 [Page 24] + +Internet-Draft ACT April 2026 + + +6.2. Privilege Reduction Requirements + + When issuing a delegated ACT, the issuing agent MUST reduce + privileges by one or more of: + + * Removing capabilities (sub-set of parent capabilities only). + + * Adding stricter constraints (lower rate limits, narrower domains, + shorter time windows, lower data classification ceiling). + + * Reducing token lifetime (exp closer to iat). + + * Reducing del.max_depth. + + The issuing agent MUST NOT grant capabilities not present in its own + mandate. Capability escalation via delegation is prohibited and MUST + be detected and rejected by verifiers. + + For well-known numeric constraints (e.g., max_records, + max_requests_per_hour), "more restrictive" means a numerically lower + or equal value. For well-known enumerated constraints (e.g., + data_sensitivity), "more restrictive" means a value that is equal or + higher in the defined ordering ("public" < "internal" < + "confidential" < "restricted"). For unknown or domain-specific + constraint keys, verifiers MUST treat the constraint as non- + comparable and MUST reject the delegation unless the delegated + constraint value is byte-for-byte identical to the parent constraint + value. + +6.3. Delegation Verification + + A verifier receiving a delegated ACT MUST: + + 1. Verify the ACT's own signature (Section 8.1). + + 2. For each entry in del.chain, in order from index 0 to del.depth - + 1: a. Retrieve the public key for entry.delegator. b. Verify + that entry.sig is a valid signature over the SHA-256 hash of the + referenced parent ACT (identified by entry.jti). c. Verify that + the capabilities in the current ACT are a subset of the + capabilities in the parent ACT, per the constraint comparison + rules in Section 6.2. + + 3. Verify that del.depth does not exceed del.max_depth. + + 4. Verify that del.chain length equals del.depth. + + If any step fails, the ACT MUST be rejected. + + + +Nennemann Expires 14 October 2026 [Page 25] + +Internet-Draft ACT April 2026 + + +7. DAG Structure and Causal Ordering + + ACTs in Phase 2 form a DAG over the pred (predecessor) claim. The + DAG encodes causal dependencies: a task MAY NOT begin before all its + parent tasks are completed. + +7.1. DAG Validation + + When processing a Phase 2 ACT, implementations MUST: + + 1. *Uniqueness*: Verify the jti is unique within the workflow (wid) + or globally if wid is absent. + + 2. *Predecessor Existence*: Verify every jti in pred corresponds to + a Phase 2 ACT available in the ACT store or audit ledger. + + 3. *Temporal Ordering*: Verify that for each parent: parent.exec_ts + < child.exec_ts + clock_skew_tolerance (RECOMMENDED tolerance: 30 + seconds). Causal ordering is primarily enforced by DAG + structure, not timestamps. + + 4. *Acyclicity*: Following parent references MUST NOT lead back to + the current ACT's jti. Implementations MUST enforce a maximum + ancestor traversal limit (RECOMMENDED: 10,000 nodes). + + 5. *Capability Consistency*: Verify that exec_act matches one of the + action values in the cap array from Phase 1. + +7.2. Root Tasks and Fan-in + + A root task has pred = []. A workflow MAY have multiple root tasks + representing parallel branches with no shared predecessor. + + Fan-in — a task with multiple parents — is expressed naturally: + + { + "pred": [ + "550e8400-e29b-41d4-a716-446655440001", + "550e8400-e29b-41d4-a716-446655440002" + ] + } + + This indicates the current task depends on the completion of both + referenced parent tasks, which MAY have been executed in parallel by + different agents. + + + + + + +Nennemann Expires 14 October 2026 [Page 26] + +Internet-Draft ACT April 2026 + + +7.3. DAG vs Linear Delegation Chains + + Several concurrent proposals for agent authorization model delegation + as an ordered, linear chain of tokens or principals. Examples + include the actchain claim of + [I-D.oauth-transaction-tokens-for-agents], the Agentic JWT + construction of [AgenticJWT], the AIP / Interaction-Bound Context + Token (IBCT) model of [AIP-IBCT], and the delegation record defined + in [I-D.helixar-hdp-agentic-delegation]. In each of these designs, + the trail from the originator to the final executor is represented as + an ordered array recording one predecessor per hop. + +7.3.1. What Linear Chains Express Well + + Linear chains are a natural fit for simple sequential delegation: + agent A delegates to agent B, which delegates to agent C. The chain + records the history of that single hand-off in order, and verifiers + can walk from the current holder back to the originator without + branching. For interactive user-to-agent-to-service flows, where + each step has exactly one predecessor, a linear chain is both + sufficient and compact. + +7.3.2. Limitations of Linear Chains + + Agentic workflows in practice are rarely purely linear. Planner + agents dispatch parallel sub-tasks; synthesizer agents consume + results from multiple independent branches; tool calls execute + concurrently and their outputs are merged. A linear chain cannot + faithfully represent the following common topologies: + + * *Fork*: A single task spawns multiple independent sub-tasks. A + linear chain cannot express that two concurrent sub-executions + share a common parent authorization but are otherwise independent; + each sub-task would either omit its siblings or fabricate a false + ordering between them. + + * *Join (fan-in)*: A task whose output depends on results from + several predecessors has no single prior hop. Linear chains + cannot express multiple-parent relationships without either + collapsing parallel branches into an arbitrary order or + duplicating records. + + * *Diamond dependencies*: A planner dispatches parallel work and + later synthesizes the results. The synthesis step depends on + every branch, and all branches depend on the same planner. This + diamond shape requires a DAG; a linear chain forces the verifier + to pick one branch and discard the others. + + + + +Nennemann Expires 14 October 2026 [Page 27] + +Internet-Draft ACT April 2026 + + + * *Cross-chain references*: When two independently authorized chains + produce outputs that are later combined (e.g., a shared cache + lookup and a fresh retrieval), linear chains force a single + history and cannot record that the combined result has two + distinct provenances. + +7.3.3. ACT's DAG Approach + + As specified in Section 4.3, the pred claim is an array of parent jti + values rather than a single scalar. This allows an ACT to record: + + * Zero parents (a root task, pred = []); + + * Exactly one parent (a linear chain, equivalent to the single- + predecessor designs referenced above); + + * Multiple parents (fan-in from parallel branches); and + + * Any acyclic shape that matches the actual execution structure. + + The following example illustrates a diamond workflow. A research + agent (A) dispatches a web-search agent (B) and a code-analysis agent + (C) in parallel; both complete, and their outputs are combined by a + writer agent (D): + + +-----+ + | A | pred = [] + +-----+ + / \ + v v + +---+ +---+ + | B | | C | pred = [A.jti] + +---+ +---+ + \ / + v v + +-----+ + | D | pred = [B.jti, C.jti] + +-----+ + + A linear actchain representation cannot express that D depends on + both B and C. At best, it can record one of the two parents and lose + the other, or serialize B and C into a false sequential order. + +7.3.4. Verifiability Implications + + With a DAG representation, an auditor holding the set of Phase 2 ACTs + for a workflow can reconstruct the full execution graph, not just one + chain per final record. This matters for: + + + +Nennemann Expires 14 October 2026 [Page 28] + +Internet-Draft ACT April 2026 + + + * *Debugging*: identifying which branch contributed an erroneous + input to a downstream synthesis. + + * *Compliance*: demonstrating that every input to a regulated + decision was itself authorized, not only the most recent hop. + + * *Tamper-evidence*: detecting that a branch has been omitted, since + the surviving siblings' pred arrays name the missing predecessor + by jti. + +7.3.5. Interoperability with Linear-Chain Designs + + ACT's DAG reduces to a linear chain in the degenerate case where + every pred array has length zero or one. An implementation that + requires linear-chain semantics MAY treat such ACTs as equivalent to + actchain-style records and ignore the fork/join capability. The + reverse reduction is not available: a linear-chain-only design cannot + represent ACT DAG topologies without loss of information. + + ACT therefore takes the linear chain as a strict subset of its model + rather than as a competing approach. The DAG generalization is + deliberate and is motivated by the concurrent, branching nature of + real agentic executions rather than by any deficiency in the linear- + chain designs for the sequential cases they target. + +8. Verification Procedure + +8.1. Authorization Phase Verification + + A receiving agent MUST verify a Phase 1 ACT as follows: + + 1. Parse JWS Compact Serialization per [RFC7515]. + + 2. Verify typ is "act+jwt". + + 3. Verify alg is in the verifier's algorithm allowlist. The + allowlist MUST NOT include "none" or any symmetric algorithm. + + 4. Retrieve the public key for kid per the applicable trust tier + (Section 5). + + 5. Verify the JWS signature. + + 6. Verify exp has not passed (with clock skew tolerance: + RECOMMENDED maximum 5 minutes). + + 7. Verify iat is not unreasonably in the future (RECOMMENDED: no + more than 30 seconds ahead). + + + +Nennemann Expires 14 October 2026 [Page 29] + +Internet-Draft ACT April 2026 + + + 8. Verify aud contains the verifier's own identifier. + + 9. Verify iss is a trusted agent identity per local policy. + + 10. Verify sub matches the verifier's own identifier (the agent is + the intended recipient of this mandate). + + 11. Verify all required claims are present and well-formed. + + 12. Verify delegation chain (Section 6.3) if del.chain is non-empty. + + 13. Verify capabilities are within policy limits. + +8.2. Execution Phase Verification + + In addition to all Phase 1 verification steps, a verifier processing + a Phase 2 ACT MUST: + + 1. Verify exec_act is present and matches an action in cap. + + 2. Verify pred is present and perform DAG validation (Section 7.1). + + 3. Verify exec_ts is present and is greater than or equal to iat. + If exec_ts is after exp, implementations SHOULD log a warning but + MUST NOT reject the record solely on this basis. + + 4. Verify status is present and has a valid value. + + 5. Verify the re-signature was produced by the sub agent (the + executing agent), not the iss agent (the mandating agent). This + is verified by checking that the kid in the Phase 2 JOSE header + corresponds to the sub agent's public key. + + 6. If inp_hash or out_hash are present, verify them against locally + available input/output data when possible. + +9. Transport + +9.1. HTTP Header Transport + + This specification defines two HTTP header fields for ACT transport: + + *ACT-Mandate*: Carries a Phase 1 ACT issued by an upstream agent or + operator. Value is the JWS Compact Serialization of the ACT. + + GET /api/safety-check HTTP/1.1 + Host: safety-agent.example.com + ACT-Mandate: eyJhbGci...Phase1ACT... + + + +Nennemann Expires 14 October 2026 [Page 30] + +Internet-Draft ACT April 2026 + + + *ACT-Record*: Carries a Phase 2 ACT from a predecessor agent, serving + as evidence of completed prerequisites. + + POST /api/downstream HTTP/1.1 + Host: downstream-agent.example.com + ACT-Mandate: eyJhbGci...Phase1ACT... + ACT-Record: eyJhbGci...Phase2ACT... + + Multiple ACT-Record header lines MAY be included when a task has + multiple completed predecessors (DAG fan-in). If any single ACT- + Record fails verification, the receiver MUST reject the entire + request. + +9.2. Non-HTTP Transports + + For non-HTTP transports (MCP stdio, A2A message queues, AMQP, etc.), + ACTs SHOULD be carried as a dedicated field in the transport's + metadata envelope. The field name SHOULD be act_mandate for Phase 1 + ACTs and act_record for Phase 2 ACTs. Implementations MUST use the + JWS Compact Serialization form in all transports. + +10. Audit Ledger Interface + + Phase 2 ACTs SHOULD be submitted to an immutable audit ledger. A + ledger is RECOMMENDED for regulated environments but is not required + for basic ACT operation. This specification does not mandate a + specific storage technology. + + When an audit ledger is deployed, the implementation MUST provide: + + 1. *Append-only semantics*: Once an ACT is recorded, it MUST NOT be + modified or deleted. + + 2. *Ordering*: A monotonically increasing sequence number per + recorded ACT. + + 3. *Lookup*: Efficient retrieval by jti value. + + 4. *Integrity*: A cryptographic commitment scheme over recorded ACTs + (e.g., hash-chaining, Merkle tree anchoring, or SCITT + registration per [I-D.ietf-scitt-architecture]). + +11. Security Considerations + +11.1. Threat Model + + ACT assumes an adversarial environment where: + + + + +Nennemann Expires 14 October 2026 [Page 31] + +Internet-Draft ACT April 2026 + + + * Individual agents may be compromised. + + * Network paths may be intercepted (mitigated by transport + security). + + * Attackers may attempt to replay valid ACTs from prior + interactions. + + * Colluding agents may attempt to fabricate execution records. + + * Agents may attempt privilege escalation via manipulated delegation + chains. + + ACT does NOT assume: + + * A trusted central authority (by design). + + * Synchronized clocks beyond the stated skew tolerance. + + * Availability of external network services during verification. + +11.2. Self-Assertion Limitation + + Phase 2 ACTs are self-asserted: an executing agent signs its own + execution record. A compromised agent with an intact private key can + produce Phase 2 ACTs claiming arbitrary inputs, outputs, and action + types, as long as the claimed exec_act matches an authorized + capability. + + This is a fundamental limitation of self-sovereign attestation. It + is the same limitation affecting WIMSE ECT [I-D.nennemann-wimse-ect]. + + Mitigations: + + * *Cross-agent corroboration*: A receiving agent that processes an + ACT-Record as a prerequisite independently verifies that the + claimed out_hash matches the data it actually received. + + * *Ledger sequencing*: An append-only ledger with monotonic sequence + numbers prevents retroactive insertion of fabricated records. + + * *SCITT anchoring*: For high-assurance deployments, Phase 2 ACTs + SHOULD be anchored to a SCITT Transparency Service, providing + external witness that the record was submitted at a claimed time. + + + + + + + +Nennemann Expires 14 October 2026 [Page 32] + +Internet-Draft ACT April 2026 + + +11.3. Key Compromise + + If an agent's private key is compromised, an attacker can issue + arbitrary Phase 1 mandates (impersonating the agent as an issuer) and + fabricate Phase 2 records (impersonating the agent as an executor). + + Key compromise response: + + 1. The compromised agent's identifier MUST be added to all + verifiers' deny lists. + + 2. In Tier 2 (PKI) deployments, the certificate MUST be revoked via + CRL or OCSP. + + 3. In Tier 3 (DID) deployments, the DID Document MUST be updated to + revoke the compromised key. + + 4. In Tier 1 (pre-shared key) deployments, both parties MUST perform + an out-of-band key rotation. + + ACT chains that include records signed by a compromised key MUST be + treated as potentially tainted from the point of compromise. Audit + systems MUST flag all ACTs signed after the estimated compromise + time. + +11.4. Replay Attack Prevention + + jti uniqueness within the applicable scope (workflow or global) + provides replay detection. Verifiers MUST reject ACTs whose jti has + already been seen and processed. + + exp provides a time-bounded replay window. Verifiers MUST reject + expired ACTs. The combination of jti and exp means that replay + detection state only needs to be maintained for the duration of token + lifetimes. + +11.5. Equivocation + + In standalone deployment (no audit ledger, no SCITT anchoring), ACT + does NOT provide non-equivocation guarantees. A compromised agent + can maintain two valid ACT chains — presenting Phase 2 records with + different out_hash values to different verifiers — and both will pass + independent verification. + + *Deployments claiming DORA [DORA] Article 10/11 compliance or EU AI + Act [EUAIA] Article 12 compliance MUST use one of:* + + + + + +Nennemann Expires 14 October 2026 [Page 33] + +Internet-Draft ACT April 2026 + + + (a) A shared append-only audit ledger visible to all relevant + parties, with cryptographic integrity (hash chaining or Merkle + trees). + + (b) SCITT anchoring [I-D.ietf-scitt-architecture] providing external + Transparency Service receipts. + + Standalone ACT provides tamper detection (a verifier can detect + modification of a record it has seen) but not split-view prevention + (a verifier cannot detect a different record shown to another + verifier). + +11.6. Privilege Escalation + + Verifiers MUST check that each step in del.chain reduces or maintains + (never increases) the capabilities relative to the preceding step. + Implementations MUST reject ACTs where: + + * del.depth exceeds del.max_depth. + + * cap contains actions not present in any referenced parent ACT. + + * Constraints in cap are less restrictive than those in the parent. + +11.7. Denial of Service + + ACT verification is more computationally expensive than standard JWT + validation due to delegation chain verification and DAG traversal. + + Mitigations: + + * Reject ACTs larger than 64KB before parsing. + + * Enforce maximum del.chain length (RECOMMENDED: 10 entries). + + * Enforce maximum DAG ancestor traversal depth (RECOMMENDED: 10,000 + nodes, Section 7.1). + + * Cache verification results for recently seen jti values within the + token lifetime window. + +12. Privacy Considerations + + ACT tokens and audit ledger records may contain information that + identifies agents, organizations, or individuals. Implementations + SHOULD apply data minimization principles: + + + + + +Nennemann Expires 14 October 2026 [Page 34] + +Internet-Draft ACT April 2026 + + + * task.created_by SHOULD use a pseudonymous identifier rather than a + personal email address or real name. + + * task.purpose SHOULD use a controlled vocabulary code rather than + free-text descriptions that may contain personal data. + + * del.chain entries reveal organizational structure. Cross- + organizational delegation chains SHOULD use Tier 3 (DID) + identifiers that do not reveal organizational affiliation. + + * inp_hash and out_hash are hashes of data, not the data itself, and + do not constitute personal data under GDPR Article 4(1) provided + the underlying data is not trivially reversible (e.g., hashes of + very short strings). + + For GDPR Article 17 (right to erasure) compliance, audit ledgers + SHOULD store only ACT tokens (which contain hashes, not raw data) and + SHOULD implement crypto-shredding for any associated encrypted + payloads. + +13. IANA Considerations + +13.1. Media Type Registration + + This document requests registration of the following media type: + + * Type name: application + + * Subtype name: act+jwt + + * Required parameters: none + + * Encoding considerations: binary (base64url-encoded JWT) + + * Security considerations: See Section 11. + + * Interoperability considerations: See Section 8.1. + + * Specification: This document. + +13.2. HTTP Header Field Registration + + This document requests registration of the following HTTP header + fields in the "Hypertext Transfer Protocol (HTTP) Field Name + Registry": + + * Header field name: ACT-Mandate + + + + +Nennemann Expires 14 October 2026 [Page 35] + +Internet-Draft ACT April 2026 + + + * Applicable protocol: HTTP + + * Status: permanent + + * Specification: This document, Section 9.1. + + * Header field name: ACT-Record + + * Applicable protocol: HTTP + + * Status: permanent + + * Specification: This document, Section 9.1. + +13.3. JWT Claims Registration + + This document requests registration of the following claims in the + IANA "JSON Web Token Claims" registry: + + +============+====================================+===============+ + | Claim Name | Description | Reference | + +============+====================================+===============+ + | wid | Workflow identifier | This document | + +------------+------------------------------------+---------------+ + | task | Task authorization context | This document | + +------------+------------------------------------+---------------+ + | cap | Capabilities with constraints | This document | + +------------+------------------------------------+---------------+ + | oversight | Human oversight requirements | This document | + +------------+------------------------------------+---------------+ + | del | Delegation provenance chain | This document | + +------------+------------------------------------+---------------+ + | exec_act | Executed action identifier | This document | + +------------+------------------------------------+---------------+ + | pred | Predecessor task identifiers (DAG) | This document | + +------------+------------------------------------+---------------+ + | inp_hash | SHA-256 hash of task input | This document | + +------------+------------------------------------+---------------+ + | out_hash | SHA-256 hash of task output | This document | + +------------+------------------------------------+---------------+ + | exec_ts | Actual execution timestamp | This document | + +------------+------------------------------------+---------------+ + | status | Execution status | This document | + +------------+------------------------------------+---------------+ + | err | Execution error context | This document | + +------------+------------------------------------+---------------+ + + Table 1 + + + +Nennemann Expires 14 October 2026 [Page 36] + +Internet-Draft ACT April 2026 + + +14. References + +14.1. Normative References + + [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate + Requirement Levels", BCP 14, RFC 2119, + DOI 10.17487/RFC2119, March 1997, + . + + [RFC7515] Jones, M., Bradley, J., and N. Sakimura, "JSON Web + Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, May + 2015, . + + [RFC7517] Jones, M., "JSON Web Key (JWK)", RFC 7517, + DOI 10.17487/RFC7517, May 2015, + . + + [RFC7518] Jones, M., "JSON Web Algorithms (JWA)", RFC 7518, + DOI 10.17487/RFC7518, May 2015, + . + + [RFC7519] Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token + (JWT)", RFC 7519, DOI 10.17487/RFC7519, May 2015, + . + + [RFC8037] Liusvaara, I., "CFRG Elliptic Curve Diffie-Hellman (ECDH) + and Signatures in JSON Object Signing and Encryption + (JOSE)", RFC 8037, DOI 10.17487/RFC8037, January 2017, + . + + [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC + 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, + May 2017, . + + [RFC9110] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, + Ed., "HTTP Semantics", STD 97, RFC 9110, + DOI 10.17487/RFC9110, June 2022, + . + + [RFC9562] Davis, K., Peabody, B., and P. Leach, "Universally Unique + IDentifiers (UUIDs)", RFC 9562, DOI 10.17487/RFC9562, May + 2024, . + +14.2. Informative References + + [A2A-SPEC] Google, "Agent2Agent (A2A) Protocol", + . + + + + +Nennemann Expires 14 October 2026 [Page 37] + +Internet-Draft ACT April 2026 + + + [AgenticJWT] + "Agentic JWT: A JSON Web Token Profile for Delegated Agent + Authorization", 2025, . + + [AIP-IBCT] S., P., "AIP: Agent Interaction Protocol with Interaction- + Bound Context Tokens", March 2026, + . + + [AUTOGEN] Microsoft, "AutoGen Documentation", + . + + [CREWAI] CrewAI, "CrewAI Documentation", + . + + [DID-KEY] D., L., "The did:key Method v0.7", 2021, + . + + [DID-WEB] O., S., "did:web Method Specification", 2022, + . + + [DORA] European Parliament, "Digital Operational Resilience Act + (DORA), Regulation (EU) 2022/2554", 2022, + . + + [EUAIA] European Parliament, "EU Artificial Intelligence Act, + Regulation (EU) 2024/1689", 2024, + . + + [I-D.aap-oauth-profile] + A., C., "Agent Authorization Profile (AAP) for OAuth 2.0", + Work in Progress, Internet-Draft, draft-aap-oauth-profile- + 01, February 2026, . + + [I-D.emirdag-scitt-ai-agent-execution] + Emirdag, "A SCITT Profile for AI Agent Execution Records", + Work in Progress, Internet-Draft, draft-emirdag-scitt-ai- + agent-execution-00, April 2026, + . + + [I-D.helixar-hdp-agentic-delegation] + Helixar, "Helixar Delegation Protocol (HDP) for Agentic + Delegation", Work in Progress, Internet-Draft, draft- + helixar-hdp-agentic-delegation-00, 2026, + . + + + + +Nennemann Expires 14 October 2026 [Page 38] + +Internet-Draft ACT April 2026 + + + [I-D.ietf-scitt-architecture] + Birkholz, H., Delignat-Lavaud, A., Fournet, C., Deshpande, + Y., and S. Lasker, "An Architecture for Trustworthy and + Transparent Digital Supply Chains", Work in Progress, + Internet-Draft, draft-ietf-scitt-architecture-22, 10 + October 2025, . + + [I-D.nennemann-wimse-ect] + Nennemann, C., "Execution Context Tokens for Distributed + Agentic Workflows", Work in Progress, Internet-Draft, + draft-nennemann-wimse-ect-02, 2026, + . + + [I-D.oauth-transaction-tokens-for-agents] + G., F., "Transaction Tokens for Agentic AI Systems", Work + in Progress, Internet-Draft, draft-oauth-transaction- + tokens-for-agents-06, 2026, + . + + [IEC62304] IEC, "Medical device software — Software life cycle + processes, IEC 62304:2006+AMD1:2015", 2015, + . + + [LANGGRAPH] + LangChain, "LangGraph Documentation", + . + + [MCP-SPEC] "Model Context Protocol Specification", 25 November 2025, + . + + [OPENAI-AGENTS-SDK] + OpenAI, "OpenAI Agents SDK", + . + + [RFC7009] Lodderstedt, T., Ed., Dronia, S., and M. Scurtescu, "OAuth + 2.0 Token Revocation", RFC 7009, DOI 10.17487/RFC7009, + August 2013, . + + [RFC8693] Jones, M., Nadalin, A., Campbell, B., Ed., Bradley, J., + and C. Mortimore, "OAuth 2.0 Token Exchange", RFC 8693, + DOI 10.17487/RFC8693, January 2020, + . + + + + + +Nennemann Expires 14 October 2026 [Page 39] + +Internet-Draft ACT April 2026 + + + [SentinelAgent] + Patil, "SentinelAgent: A Formal Delegation Chain Calculus + for Verifiable Agent Authorization", April 2026, + . + + [W3C-DID] M., S., "Decentralized Identifiers (DIDs) v1.0", July + 2022, . + +Appendix A: Complete JSON Schema + + The normative JSON Schema for ACT Phase 1 and Phase 2 tokens is + available at [TODO: reference implementation repository]. + +Appendix B: Test Vectors + +B.1. Valid Phase 1 ACT — Root Mandate (Tier 1, Pre-Shared Key) + + [TODO: include encoded test vector with signing key, payload, + and expected JWS Compact Serialization] + +B.2. Valid Phase 2 ACT — Completed Execution + + [TODO: include encoded test vector demonstrating Phase 1 -> Phase 2 + transition with re-signature by target agent] + +B.3. Valid Phase 2 ACT — Fan-in (Multiple Parents) + + [TODO: demonstrate pred with two predecessor jti values from parallel + workflow branches] + +B.4. Invalid ACT — Delegation Depth Exceeded + + [TODO: demonstrate del.depth > del.max_depth rejection] + +B.5. Invalid ACT — Capability Escalation + + [TODO: demonstrate rejection when delegated cap contains action + not present in parent ACT] + +B.6. Invalid ACT — exec_act Mismatch + + [TODO: demonstrate rejection when exec_act does not match any + cap.action in the Phase 1 claims] + +Appendix C: Deployment Scenarios + + + + + + +Nennemann Expires 14 October 2026 [Page 40] + +Internet-Draft ACT April 2026 + + +C.1. Minimal Deployment (Zero Infrastructure) + + Two organizations exchange pre-shared public keys via secure email. + Each agent signs Phase 1 mandates and Phase 2 records with its + Ed25519 key. No ledger, no external services. Suitable for + development and low-risk workflows. + + Limitation: No non-equivocation (Section 11.5). + +C.2. Regulated Deployment with Hash-Chained Ledger + + Phase 2 ACTs are submitted to a shared append-only ledger with hash- + chaining. Each recorded ACT extends a cryptographic chain, providing + tamper evidence for each ACT and the chain as a whole. The ledger is + shared between all regulated parties participating in the workflow. + Suitable for DORA compliance. + +C.3. High-Assurance Cross-Organizational Deployment + + Phase 2 ACTs are anchored to a SCITT Transparency Service. SCITT + receipts are attached to the audit record as non-equivocation proofs. + DID-based agent identities (Tier 3) enable self-sovereign key + management without shared CA infrastructure. + +C.4. WIMSE Environment Integration + + In environments where WIMSE is already deployed, ACT-Mandate and ACT- + Record headers are carried alongside the WIMSE Workload-Identity + header. The ECT and ACT serve different purposes: the ECT records + workload-level execution in WIMSE terms; the ACT records the + authorization provenance and capability constraints that governed the + action. + +Acknowledgments + + The author thanks the IETF WIMSE, OAuth, and SCITT working groups for + foundational work on workload identity, delegated authorization, and + transparent supply chain records that informs this specification. + +Author's Address + + Christian Nennemann + Independent Researcher + Email: ietf@nennemann.de + + + + + + + +Nennemann Expires 14 October 2026 [Page 41] diff --git a/workspace/drafts/act/draft-nennemann-act-01.xml b/workspace/drafts/act/draft-nennemann-act-01.xml new file mode 100644 index 0000000..7593966 --- /dev/null +++ b/workspace/drafts/act/draft-nennemann-act-01.xml @@ -0,0 +1,2741 @@ + + + + + + + + + + +]> + + + + + Agent Context Token (ACT) + + + Independent Researcher +
+ ietf@nennemann.de +
+
+ + + + SEC + + agent authorization execution accountability JWT DAG delegation + + + + + + +This document defines the Agent Context Token (ACT), a self-contained +JWT-based format that captures the full invocation context of an +autonomous AI agent — its capabilities, constraints, delegation +provenance, oversight requirements, task metadata, and DAG position — +and unifies authorization and execution accountability in a single +token lifecycle. An ACT begins as a signed authorization mandate and +transitions into a tamper-evident execution record once the agent +completes its task, appending cryptographic hashes of inputs and +outputs and linking to predecessor tasks via a directed acyclic graph +(DAG). ACT requires no Authorization Server, no workload identity +infrastructure, and no transparency service for basic operation. Trust +is bootstrapped via pre-shared keys and is upgradeable to PKI or +Decentralized Identifiers (DIDs). ACT is designed for +cross-organizational agent federation in regulated and unregulated +environments alike. ACT is the general-purpose agent context +primitive; the WIMSE Execution Context Token (ECT) + is a sibling profile specialized for +workload-identity-bound execution recording in WIMSE deployments. + + + + + + + +
+ + + + + + +
Introduction + +Autonomous AI agents increasingly operate across organizational +boundaries, executing multi-step workflows where individual tasks are +delegated from one agent to another. These workflows create two +distinct, inseparable compliance requirements: + + + Authorization: was the agent permitted to perform the action, +under what constraints, and by whose authority? + Accountability: what did the agent actually do, with what +inputs, producing what outputs, in what causal relationship to +prior tasks? + + +Existing specifications address these requirements in isolation. +The Agent Authorization Profile (AAP) +provides structured authorization via OAuth 2.0 but requires a +central Authorization Server. The WIMSE Execution Context Token + provides execution accountability but +requires WIMSE workload identity infrastructure (SPIFFE/SPIRE). + +This document defines the Agent Context Token (ACT), which addresses +both requirements in a single, self-contained token that requires no +shared infrastructure beyond the ability to verify asymmetric +signatures. The word "Context" in the name reflects what the token +carries: the complete invocation context of an agent — DAG references, +task metadata, capabilities, delegation chain, and oversight claims +— bound together in one cryptographically verifiable envelope. ACT +is positioned as the general agent context primitive, with the +WIMSE Execution Context Token (ECT) as a +sibling profile specialized for workload-identity-bound execution +contexts in WIMSE deployments. + +
Problem Statement + +Cross-organizational agent federation today faces a bootstrapping +problem: deploying shared OAuth infrastructure or a common SPIFFE +trust domain requires organizational agreement before the first +message is exchanged. In practice this means either: + +(a) agents operate without cryptographic authorization or audit + trails, relying on application-layer access control only; or + +(b) organizations adopt one party's identity infrastructure, creating + a hub-and-spoke dependency that contradicts the decentralized + nature of agent networks. + +ACT solves this by making pre-shared keys the mandatory-to-implement +trust baseline — two agents can begin a secure, auditable interaction +with nothing more than an out-of-band key exchange — while providing +a clean upgrade path to PKI or DID-based trust without changing the +token format. + +
+
Design Goals + + + G1 — Zero infrastructure baseline: ACT MUST be deployable with +no shared servers, no common identity provider, and no transparency +service. + G2 — Single token lifecycle: Authorization and accountability +MUST be expressed in the same token format to prevent +authorization-accountability gaps. + G3 — Peer-to-peer delegation: Delegation chains MUST be +verifiable without contacting an Authorization Server, using +cryptographic chaining of agent signatures. + G4 — DAG-native causal ordering: Workflows with parallel +branches and fan-in dependencies MUST be expressible natively, +without flattening to a linear chain. + G5 — Cross-organizational interoperability: ACTs issued by +agents in different trust domains MUST be verifiable by any +participant holding the issuing agent's public key. + G6 — Regulatory applicability: ACT MUST provide sufficient +evidence for audit requirements in DORA , EU AI Act +Article 12 , and IEC 62304 without requiring +additional log formats. + G7 — Upgrade path: The trust model MUST support migration from +pre-shared keys to PKI or DID without breaking existing ACT chains. + + +
+
Non-Goals + +The following are explicitly out of scope: + + + Defining internal AI model behavior or decision logic. + Replacing organizational security policies or procedures. + Defining storage formats for audit ledgers. + Specifying token revocation infrastructure (deployments MAY use +existing mechanisms such as for this purpose). + Providing non-equivocation guarantees in standalone mode (see + for the equivocation discussion and optional +transparency anchoring). + + +
+
Relationship to Related Work + +AAP : ACT addresses the same authorization +problem as AAP but does not require an Authorization Server. ACT +delegation is peer-to-peer via cryptographic signature chaining; +AAP delegation requires OAuth Token Exchange against a +central AS. ACT is not a profile of AAP; it is an +infrastructure-independent alternative for the same problem class. + +WIMSE ECT : ACT addresses the same +execution accountability problem as the WIMSE Execution Context Token +but does not require WIMSE workload identity infrastructure. ACT is +not a profile of WIMSE; it is deployable in environments without +SPIFFE/SPIRE. In environments where WIMSE is deployed, ACT MAY be +carried alongside WIMSE tokens to augment accountability with +authorization provenance. + +SCITT : For deployments requiring +non-equivocation guarantees (see ), ACT execution +records MAY be anchored to a SCITT Transparency Service as a Layer 2 +mechanism. This is OPTIONAL and not required for basic ACT operation. +Note: The SCITT architecture draft is currently in AUTH48 (RFC +Editor queue) at version -22 and is about to become an RFC; readers +should use the RFC number once assigned. + +
Concurrent Agent Authorization Proposals + +Several concurrent proposals in the IETF and academic communities +address overlapping portions of the agent authorization problem +space. This subsection situates ACT relative to those proposals. +Protocol-layer comparison of linear versus DAG delegation +structure is deferred to ; the summaries below focus +on scope and deployability. + +AIP / IBCTs : The Agent Interaction Protocol proposes +Interaction-Bound Capability Tokens in two modes: compact signed +JWTs for single-hop invocation and Biscuit/Datalog tokens for +multi-hop delegation, motivated by a survey of approximately 2,000 +Model Context Protocol servers that found no authorization +enforcement. ACT addresses the same problem class but relies +exclusively on JWT/JOSE throughout (no Biscuit or Datalog +dependency), defines an explicit two-phase lifecycle separating +authorization (Mandate) from proof-of-execution (Record), and +supports DAG delegation structure. IBCTs are modeled as append-only +chains at the protocol layer; ACT operates at the authorization +graph layer with revocable lifecycle states. + +SentinelAgent : SentinelAgent defines a formal +Delegation Chain Calculus with seven verifiable properties, a TLA+ +mechanization, and reports 100% true-positive and 0% false-positive +rates against the DelegationBench v4 benchmark. It addresses the +same accountability question as ACT — namely, which principal +authorized a given chain of actions. The differentiator is +deployment substrate: SentinelAgent expresses its guarantees in a +domain-specific formal calculus, whereas ACT encodes the same +invariants in IETF-standard JWT infrastructure (RFC 7519, RFC 7515, +RFC 8032) already deployable in existing OAuth- and JOSE-aware +stacks. + +Agentic JWT : Agentic JWT derives a per-agent +identity as a one-way hash of the agent's prompt, registered tools, +and configuration, and chains delegation assertions across +invocations. It is the closest prior-art JWT-based construction +for agentic delegation. ACT differs in that it adds an explicit +two-phase lifecycle — separating the authorization mandate from +the proof-of-execution record — and expresses delegation as a DAG +via the array-valued pred claim rather than a strictly linear +chain. + +OAuth Transaction Tokens for Agents +: This draft +extends OAuth Transaction Tokens with an actchain claim (an +ordered delegation array), an agentic_ctx claim conveying intent +and constraints, and flow-type markers distinguishing interactive +from autonomous invocations. It is complementary to ACT at the +OAuth layer. The primary differentiators are topology and +infrastructure dependency: Transaction Tokens for Agents presume +an OAuth Authorization Server and use a linear actchain, whereas +ACT operates peer-to-peer without any AS and uses a DAG-valued +pred. A detailed differencing document is referenced in +. + +Helixar Delegation Protocol (HDP) +: HDP specifies +Ed25519 signatures over RFC 8785-canonicalized JSON, an +append-only linear delegation chain with session binding, and +offline verification. ACT addresses the same problem but is +encoded in JWT/JOSE (aligning with the broader IETF token +ecosystem) rather than raw canonical JSON, and its pred claim +admits DAG topologies rather than strictly linear chains. + +SCITT Profile for AI Agent Execution Records +: This draft +defines a SCITT profile in which AgentInteractionRecord (AIR) +payloads are carried as COSE_Sign1 statements anchored to a +SCITT Transparency Service. It is highly complementary to ACT: +where ACT defines the two-phase lifecycle token issued and +consumed by agents at runtime, the SCITT AI Agent Execution +draft defines the payload format suitable for long-term anchoring. +Implementations that anchor Phase 2 ACTs to SCITT +() SHOULD consider the AIR payload +structure defined in that draft as the canonical encoding for +anchored records. + +
+
+
Applicability + +ACT is designed as a general-purpose primitive for AI agent +authorization and execution accountability. While a sibling +specification profiles execution context +tokens specifically for the WIMSE working group's workload identity +infrastructure, ACT operates without any shared identity plane. This +section identifies deployment contexts where ACT applies independently +of WIMSE, and clarifies how ACT complements — rather than competes +with — ecosystem-specific agent protocols. + +
Model Context Protocol (MCP) Tool-Use Flows + +The Model Context Protocol defines a client-server +interface by which LLM hosts invoke external tools via structured +JSON-RPC calls. MCP 2025-11-25 mandates OAuth 2.1 for transport-layer +authentication, but provides no mechanism for carrying per-invocation +authorization constraints or for producing a tamper-evident record +of what arguments were passed and what result was returned. + +ACT addresses this gap as follows: when an MCP host is about to +dispatch a tool call on behalf of an agent, it SHOULD issue a Phase 1 +ACT Mandate encoding the permitted tool name (e.g., as a capability +constraint), the declaring scope, and any parameter-level constraints +applicable to that invocation. The MCP server, upon receiving the +request, MAY validate the ACT Mandate and, upon completing the tool +execution, SHOULD transition the token to Phase 2 by appending +SHA-256 hashes of the serialized input arguments and the JSON +response, then re-sign. The resulting Phase 2 ACT constitutes an +unforgeable record that a specific tool was called with specific +arguments and returned a specific result, independently of MCP's +OAuth layer. + +This integration requires no modification to MCP transport; the ACT +SHOULD be carried in the ACT-Mandate and ACT-Record HTTP headers +defined in of this document. + +
+
OpenAI Agents SDK and Function Calling + +The OpenAI Agents SDK enables composition of +agents via handoffs — structured transfers of control from one agent +to another, each potentially invoking registered function tools. The +SDK provides no built-in mechanism for a receiving agent to verify +that the handoff was authorized by a named principal, nor for the +invoking agent to produce a verifiable record of what functions it +called. + +ACT is applicable at the handoff boundary: the orchestrating agent +SHOULD issue a Phase 1 ACT Mandate to the receiving agent at the +moment of handoff, encoding the permitted function set as +capability constraints and the maximum privilege the receiving agent +MAY exercise. The receiving agent SHOULD attach its Phase 2 ACT +Record to any callback or downstream response, providing the +orchestrator with cryptographic evidence of the actions taken. In +multi-turn chains involving multiple handoffs, the DAG linkage +() allows each handoff to be expressed as a +parent-child edge, preserving the full causal ordering of the agent +invocation sequence. + +Implementations that use the OpenAI function calling API directly, +without the Agents SDK, MAY apply ACT at the application layer: the +calling process issues a Phase 1 ACT before the function call +parameter block is finalized, and the receiving function handler +returns a Phase 2 ACT alongside its JSON result. + +
+
LangGraph and LangChain Agent Graphs + +LangGraph models agent workflows as typed StateGraphs in +which nodes represent agent invocations or tool calls and edges +represent conditional transitions. The DAG structure of ACT +() is a natural fit for this model: each LangGraph +node that performs an observable action corresponds to exactly one +ACT task identifier (tid), and directed edges in the LangGraph +correspond to pred (predecessor) references in successor ACTs. + +ACT is applicable at the node boundary: when a LangGraph node +dispatches a sub-agent or invokes a tool with side effects, it SHOULD +issue a Phase 1 ACT Mandate encoding the node's permitted actions +before any external call is made. Upon transition out of the node, +a Phase 2 ACT Record SHOULD be produced and attached to the +LangGraph state object alongside the node's output. Downstream nodes +that fan-in from multiple predecessors MAY retrieve the set of parent +ACT identifiers from the shared state to populate their pred array, +thereby expressing LangGraph's fan-in semantics within the ACT DAG +without any additional infrastructure. + +In contrast to LangGraph's built-in state audit trail, which is +mutable in-process memory, Phase 2 ACTs are cryptographically signed +and portable: they can be exported from a LangGraph run and +submitted to an external audit ledger, satisfying compliance +requirements that cannot be met by in-process logging alone. + +
+
Google Agent2Agent (A2A) Protocol + +The Agent2Agent protocol defines a task-oriented JSON-RPC +interface for inter-agent communication, with authentication +delegated to OAuth 2.0 or API key schemes declared in each agent's +Agent Card. A2A provides no mechanism for a receiving agent to +verify the authorization provenance of a task request beyond the +transport-layer credential, and produces no token that represents +the execution of the task in a verifiable, portable form. + +ACT is applicable as a session-layer accountability complement to +A2A: a client agent SHOULD include a Phase 1 ACT Mandate in the +metadata field of the A2A Task object, encoding the task type as +a capability constraint and the delegating agent's identity as the +ACT issuer. The receiving agent SHOULD validate the Mandate before +beginning task execution and SHOULD return a Phase 2 ACT Record +as an artifact in the A2A TaskResult, enabling the client agent to +retain cryptographic proof of what was executed on its behalf. + +This integration does not require modification to A2A's transport or +authentication scheme; ACT and A2A's OAuth credentials operate at +independent layers and are not redundant. A2A's credential answers +"is this client permitted to contact this server?"; the ACT Mandate +answers "is this agent permitted to request this specific task +under these constraints?". + +
+
Enterprise Orchestration Without WIMSE (CrewAI, AutoGen) + +Enterprise orchestration frameworks such as CrewAI and +AutoGen deploy multi-agent systems within a single +organizational boundary, typically without SPIFFE/SPIRE workload +identity infrastructure. In these environments, OAuth Authorization +Servers are often unavailable or impractical to deploy for +intra-process agent communication. + +ACT is applicable in this context via its Tier 1 (pre-shared key) +trust model (): each agent role in a CrewAI Crew or +AutoGen ConversableAgent graph is assigned an Ed25519 keypair at +instantiation time. The orchestrating agent issues Phase 1 Mandates +to worker agents before delegating tasks, constraining each worker +to only the tools and actions relevant to its role. Worker agents +produce Phase 2 Records on task completion. The resulting ACT chain +is exportable as a structured audit trail that satisfies the +per-action logging requirements of DORA and EU AI Act +Article 12 without requiring shared infrastructure beyond +the ability to exchange public keys at deployment time. + +Implementations SHOULD NOT use ACT's self-assertion mode (where an +agent issues and records its own mandate without external sign-off) +in regulated workflows; at minimum, the orchestrating agent MUST +sign the initial Mandate so that accountability is anchored to a +principal outside the executing agent. + +
+
Relationship to WIMSE ECT + +Where WIMSE infrastructure is deployed, ACT and the WIMSE Execution +Context Token serve complementary and +non-overlapping functions. The ECT records workload-level execution +in WIMSE terms — which SPIFFE workload executed, in which trust +domain, against which service. ACT records the authorization +provenance — which agent was permitted to request which action, +under what capability constraints, by whose authority — and +transitions that authorization record into an execution record upon +task completion. + +In mixed environments, both tokens SHOULD be carried simultaneously: +the Workload-Identity header carries the WIMSE ECT; the +ACT-Record header carries the ACT. Verifiers MAY correlate the +two by matching the ACT tid claim against application-layer +identifiers present in the ECT's task context. Neither token is a +profile or extension of the other; they operate at different +abstraction layers and their co-presence is additive. + +
+
+
+
Conventions and Definitions + +The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL +NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", +"MAY", and "OPTIONAL" in this document are to be interpreted as +described in BCP 14 when, and only when, they +appear in all capitals, as shown here. + + + +Agent: An autonomous software entity that executes tasks, issues +ACTs as mandates for sub-agents, and produces ACTs as execution +records of its own actions. + +Authorization Mandate: An ACT in Phase 1, encoding what an agent +is permitted to do, under what constraints, and by whose authority. + +Execution Record: An ACT in Phase 2, encoding what an agent +actually did, including cryptographic hashes of inputs and outputs +and causal links to predecessor tasks. + +Directed Acyclic Graph (DAG): A graph structure representing task +dependency ordering where edges are directed and no cycles exist. Used +by ACT to model causal relationships between tasks in a workflow. + +Delegation Chain: A cryptographically verifiable sequence of ACT +issuances from a root authority through one or more agents, each +signing a new ACT that reduces privileges relative to the one it +received. + +Trust Tier: A level of key management infrastructure used to +establish the public key of an ACT issuer. Tiers range from +pre-shared keys (Tier 1, mandatory) to PKI (Tier 2) and DIDs +(Tier 3). + +Workflow: A set of related tasks, identified by a shared wid +claim, forming a single logical unit of work. + +
+
ACT Lifecycle + +An ACT has a two-phase lifecycle. The same token format is used in +both phases; the presence or absence of execution claims determines +which phase a token represents. + +A token is a Phase 2 Execution Record if and only if the claim +exec_act is present. A token that does not contain exec_act is +a Phase 1 Authorization Mandate. Verifiers MUST determine the +phase before applying verification rules, and MUST reject a token +that is presented in the wrong phase for the operation being +performed. + +
Phase 1: Authorization Mandate + +In Phase 1, an ACT is created by a delegating agent (or a human +operator) to authorize a target agent to perform a specific task. The +token carries: + + + The identity of the issuing agent and the target agent. + The capabilities granted, with associated constraints. + Human oversight requirements for high-impact actions. + The delegation provenance (who authorized the issuer to delegate). + A task identifier and declared purpose. + + +The Phase 1 ACT is signed by the issuing agent using its private key. +The target agent receives the ACT and uses it as a bearer mandate — +evidence that it is authorized to proceed. + +Phase 1 ACTs are short-lived. Implementations SHOULD set expiration +(exp) to no more than 15 minutes after issuance (iat) for +automated agent-to-agent workflows. Longer lifetimes MAY be used for +human-initiated mandates where the agent may not act immediately. + +
+
Phase 2: Execution Record + +Upon completing the authorized task, the executing agent MUST +transition the ACT to Phase 2 by: + + + Adding the exec_act claim describing the action performed. + Optionally adding inp_hash and/or out_hash SHA-256 hashes +of task inputs and outputs (RECOMMENDED for regulated environments). + Adding the pred array referencing predecessor task identifiers (DAG +dependencies). + Adding exec_ts and status claims. + Re-signing the complete token with its own private key. + + +The re-signing is critical: it produces a new signature over the +combined authorization + execution claims, binding the executing +agent's cryptographic identity to both the mandate it received and +the execution it performed. This creates a single, non-repudiable +record that answers both "was this agent authorized?" and "what +did it do?" + +Note on issuer signature preservation: re-signing replaces the +Phase 1 signature produced by the issuing agent (iss). The +integrity of the original mandate is preserved through the +del.chain mechanism: the chain entry's sig field is the iss +agent's signature over the Phase 1 ACT, and this signature remains +intact and verifiable in the Phase 2 token. For root mandates where +del.chain is empty, the issuer's signature is not independently +preserved in Phase 2. Deployments requiring independent +verifiability of the original mandate SHOULD retain the Phase 1 +ACT separately alongside the Phase 2 record. + +The resulting Phase 2 ACT SHOULD be submitted to an audit ledger +() and MAY be sent to the next agent in the workflow +as evidence of completed prerequisites. + +
+
Lifecycle State Machine + +
+ +
+
+
ACT Token Format + +An ACT is a JSON Web Token signed as a JSON Web Signature + using JWS Compact Serialization. All ACTs MUST use JWS +Compact Serialization to ensure they can be carried in a single HTTP +header value. + +
JOSE Header + +The ACT JOSE header MUST contain: + +
+ +alg (REQUIRED): The digital signature algorithm. Implementations +MUST support ES256 . EdDSA (Ed25519) is +RECOMMENDED for new deployments due to smaller signatures and +resistance to side-channel attacks. Symmetric algorithms (HS256, +HS384, HS512) MUST NOT be used. The "alg" value MUST NOT be "none". + +typ (REQUIRED): MUST be "act+jwt" to distinguish ACTs from other +JWT types. + +kid (REQUIRED): An identifier for the signing key. In Tier 1 +deployments (pre-shared keys), this is an opaque string agreed +out-of-band. In Tier 2 deployments (PKI), this is the X.509 +certificate thumbprint. In Tier 3 deployments (DID), this is the +DID key fragment (e.g., did:key:z6Mk...#key-1). + +x5c (OPTIONAL): In Tier 2 deployments, the X.509 certificate +chain MAY be included to enable verification without out-of-band +key distribution. + +did (OPTIONAL): In Tier 3 deployments, the full DID of the +issuing agent MAY be included for resolution. + +
+
JWT Claims: Authorization Phase + +
Standard JWT Claims + +iss (REQUIRED): The identifier of the agent issuing the mandate. +Format depends on trust tier: an opaque string (Tier 1), an X.509 +Subject DN (Tier 2), or a DID (Tier 3). + +sub (REQUIRED): The identifier of the agent authorized to act. +MUST use the same format convention as iss. + +aud (REQUIRED): The intended recipient(s). MUST include the +identifier of the target agent (sub). When an audit ledger is +deployed, MUST also include the ledger's identifier. When multiple +recipients are present, MUST be an array. Verifiers that are audit +ledgers MUST verify that their own identifier appears in aud. + +iat (REQUIRED): Issuance time as a NumericDate . + +exp (REQUIRED): Expiration time. Implementations SHOULD set to +no more than 15 minutes after iat for automated workflows. + +jti (REQUIRED): A UUID uniquely identifying this ACT +and, in Phase 2, the task it records. Used as the task identifier +for DAG predecessor references in pred. + +
+
ACT Authorization Claims + +wid (OPTIONAL): A UUID identifying the workflow to which this +task belongs. When present, groups related ACTs and scopes jti +uniqueness to the workflow. + +task (REQUIRED): An object describing the authorized task: + +
+ + + purpose (REQUIRED): A string describing the intended task. +Implementations SHOULD use a controlled vocabulary or reverse- +domain notation (e.g., "com.example.validate_dosage") to enable +semantic consistency checking by the receiving agent. + data_sensitivity (OPTIONAL): One of "public", "internal", +"confidential", "restricted". Receiving agents MUST NOT perform +actions that would expose data above this classification. + created_by (OPTIONAL): An identifier for the human or system +that initiated the workflow. SHOULD be pseudonymous (see +). + expires_at (OPTIONAL): A NumericDate after which the task +mandate is no longer valid, independent of exp. + + +cap (REQUIRED): An array of capability objects, each specifying +an action the agent is authorized to perform and the constraints +under which it may do so: + +
+ +Action names MUST conform to the ABNF grammar: + +
+ +Receiving agents MUST perform exact string matching on action names. +Wildcard matching is NOT part of this specification. + +When multiple capabilities match the same action, OR semantics +apply: if ANY capability grants the action, the request is +authorized subject to that capability's constraints. When multiple +constraints exist within a single capability, AND semantics apply: +ALL constraints MUST be satisfied. When the same constraint key +appears in both a capability-level and a policy-level context, the +more restrictive value applies: lower numeric limits, narrower +allow-lists (intersection), broader block-lists (union), and +narrower time windows. + +oversight (OPTIONAL): Human oversight requirements: + +
+ +When requires_approval_for lists an action, the receiving agent +MUST NOT execute that action autonomously. The approval mechanism +is out of scope for this specification. + +del (OPTIONAL): Delegation provenance, establishing the chain +of authority from the root mandate to this ACT. If del is absent, +the ACT MUST be treated as a root mandate with depth = 0 and +further delegation is not permitted (i.e., the receiving agent MUST +NOT issue sub-mandates based on this ACT). + +
+ + + depth: The current delegation depth. 0 means this is a root +mandate issued by a human or root authority. + max_depth: The maximum permitted delegation depth. Receiving +agents MUST NOT issue sub-mandates that would exceed this depth. + chain: An array of delegation provenance records ordered from +root to immediate parent (chain[0] is the root authority, +chain[depth-1] is the direct parent of this ACT). Each entry +contains: + + delegator: The identifier of the agent that authorized this +delegation step (i.e., the iss of the parent ACT at that +depth). + jti: The jti of the parent ACT that authorized this +delegation step. + sig: The delegating agent's signature over the SHA-256 hash +of that parent ACT, providing cryptographic linkage without +requiring the full parent ACT to be transmitted. + + + +The sig field in each chain entry is the critical departure from +AAP's delegation model: rather than requiring a central AS to +validate the chain, any verifier holding the delegating agent's +public key can independently verify each step by recomputing the +hash and checking the signature. + +
+
+
JWT Claims: Execution Phase + +The following claims are added by the executing agent when +transitioning to Phase 2. Their presence distinguishes an Execution +Record from an Authorization Mandate. + +exec_act (REQUIRED in Phase 2): A string identifying the action +actually performed. MUST conform to the same ABNF grammar as +capability action names. MUST match one of the action values in +the cap array of the Phase 1 claims. + +pred (REQUIRED in Phase 2): An array of jti values of predecessor +tasks in the DAG. An empty array indicates a root task. Each value +MUST be the jti of a previously verified ACT (Phase 2) within +the same workflow (same wid) or the global ACT store if wid is +absent. + +inp_hash (OPTIONAL): The base64url encoding (without padding) of +the SHA-256 hash of the task's input data, computed over the raw +octets of the serialized input. Provides cryptographic evidence of +what data the agent processed. + +out_hash (OPTIONAL): The base64url encoding (without padding) of +the SHA-256 hash of the task's output data, using the same format +as inp_hash. Provides cryptographic evidence of what data the +agent produced. + +exec_ts (REQUIRED in Phase 2): A NumericDate recording the +actual time of task execution. MAY differ from iat when the agent +queued the mandate before execution. MUST be greater than or equal +to iat. SHOULD be less than or equal to exp; execution after +mandate expiry is possible when tasks are long-running and MUST NOT +cause automatic rejection, but implementors SHOULD log a warning. + +status (REQUIRED in Phase 2): One of "completed", "failed", +"partial". Allows audit systems to distinguish successful execution +from partial or failed attempts, which is essential for regulated +environments where failed attempts must be recorded. + +err (OPTIONAL, present when status is "failed" or "partial"): +An object providing error context: + +
+ +Error detail SHOULD NOT reveal internal system state beyond what is +necessary for audit purposes. + +
+
Complete Examples + +
Example: Phase 1 — Authorization Mandate + +
+ +
+
Example: Phase 2 — Execution Record (same token, re-signed by target agent) + +
+ +
+
+
+
Trust Model + +ACT defines four trust tiers. Tier 1 is mandatory-to-implement; all +others are optional upgrades. An ACT verifier MUST be able to process +ACTs from any tier it has configured. The trust tier in use is +determined by the kid format and the presence of x5c or did +header parameters. + +
Tier 0: Bootstrap (TOFU — Trust On First Use) + +Tier 0 is NOT part of the normative trust model and MUST NOT be used +in regulated environments. It is defined here for documentation +purposes only, to describe the common bootstrapping scenario. + +In Tier 0, the first ACT received from an agent establishes its +public key. This is equivalent to SSH TOFU behavior: an attacker +who intercepts the first message can substitute their own key. Tier 0 +deployments MUST transition to Tier 1 or higher before exchanging +ACTs that carry sensitive capabilities. + +
+
Tier 1: Pre-Shared Keys (Mandatory-to-Implement) + +In Tier 1, both parties exchange public keys out-of-band prior to +the first ACT exchange. The kid is an opaque string agreed during +the key exchange. Implementations MUST support Tier 1. + +Key exchange MAY occur via any out-of-band mechanism: manual +configuration, a configuration management system, or a prior +authenticated channel. This specification does not mandate a +specific key exchange protocol. + +Tier 1 public keys MUST be Ed25519 or P-256 (ES256) + keys. RSA keys SHOULD NOT be used in Tier 1 deployments due to +key size. Key rotation MUST be performed out-of-band using the same +mechanism as the initial exchange. + +
+
Tier 2: PKI / X.509 + +In Tier 2, agent identity is bound to an X.509 certificate issued +by a mutually trusted Certificate Authority (CA). The kid is the +certificate thumbprint (SHA-256 of the DER-encoded certificate). + +Cross-organizational ACT exchange in Tier 2 requires either: + +(a) a mutually trusted root CA, or +(b) cross-certification between the organizations' CAs, or +(c) explicit trust anchoring (one organization's CA is added to + the other's trust store). + +The x5c JOSE header parameter MAY carry the full +certificate chain to enable verification without out-of-band trust +store configuration. + +
+
Tier 3: Decentralized Identifiers (DID) + +In Tier 3, agent identity is expressed as a DID . The +kid is a DID key fragment. The did JOSE header parameter carries +the full DID for resolution. + +Implementations SHOULD support at minimum did:key for +self-contained key distribution without external resolution, and +did:web for organizations that prefer DNS-anchored +identity. + +DID resolution latency introduces a dependency on external +infrastructure. To preserve the zero-infrastructure baseline, +implementations using Tier 3 MAY cache DID Documents and MUST +specify a maximum cache TTL in their configuration. + +
+
Cross-Tier Interoperability + +A delegation chain MAY include agents operating at different trust +tiers. Each step in the chain is verified using the trust tier of +the signing agent at that step. Verifiers MUST NOT reject a chain +solely because it mixes trust tiers, but MAY apply stricter +policy for chains that include Tier 0 or Tier 1 steps when +exchanging sensitive capabilities. + +
+
+
Delegation Chain + +ACT delegation is peer-to-peer: no Authorization Server is involved. +Delegation is expressed as a cryptographically verifiable chain of +ACT issuances, where each step reduces privileges relative to the +previous step. + +
Peer-to-Peer Delegation + +When Agent A authorizes Agent B to perform a sub-task, Agent A: + + + Creates a new ACT with sub set to Agent B's identifier. + Sets cap to a subset of A's own authorized capabilities, +with constraints at least as restrictive as those in A's mandate. + Sets del.depth to A's own del.depth + 1. + Sets del.max_depth to no more than the del.max_depth value +in A's own mandate. + Adds a chain entry containing A's identifier as delegator, +the jti of A's own mandate, and a sig value computed as: +
+ +where canonical_ACT_phase1_bytes is the UTF-8 encoded bytes +of the JWS Compact Serialization of A's Phase 1 ACT.
+ Signs the new ACT with A's private key. +
+ +
+
Privilege Reduction Requirements + +When issuing a delegated ACT, the issuing agent MUST reduce +privileges by one or more of: + + + Removing capabilities (sub-set of parent capabilities only). + Adding stricter constraints (lower rate limits, narrower domains, +shorter time windows, lower data classification ceiling). + Reducing token lifetime (exp closer to iat). + Reducing del.max_depth. + + +The issuing agent MUST NOT grant capabilities not present in its +own mandate. Capability escalation via delegation is prohibited and +MUST be detected and rejected by verifiers. + +For well-known numeric constraints (e.g., max_records, +max_requests_per_hour), "more restrictive" means a numerically +lower or equal value. For well-known enumerated constraints +(e.g., data_sensitivity), "more restrictive" means a value that +is equal or higher in the defined ordering +("public" < "internal" < "confidential" < "restricted"). +For unknown or domain-specific constraint keys, verifiers MUST +treat the constraint as non-comparable and MUST reject the +delegation unless the delegated constraint value is byte-for-byte +identical to the parent constraint value. + +
+
Delegation Verification + +A verifier receiving a delegated ACT MUST: + + + Verify the ACT's own signature (). + For each entry in del.chain, in order from index 0 to +del.depth - 1: +a. Retrieve the public key for entry.delegator. +b. Verify that entry.sig is a valid signature over the SHA-256 + hash of the referenced parent ACT (identified by entry.jti). +c. Verify that the capabilities in the current ACT are a subset + of the capabilities in the parent ACT, per the constraint + comparison rules in . + Verify that del.depth does not exceed del.max_depth. + Verify that del.chain length equals del.depth. + + +If any step fails, the ACT MUST be rejected. + +
+
+
DAG Structure and Causal Ordering + +ACTs in Phase 2 form a DAG over the pred (predecessor) claim. The DAG +encodes causal dependencies: a task MAY NOT begin before all its +parent tasks are completed. + +
DAG Validation + +When processing a Phase 2 ACT, implementations MUST: + + + Uniqueness: Verify the jti is unique within the workflow +(wid) or globally if wid is absent. + Predecessor Existence: Verify every jti in pred corresponds to +a Phase 2 ACT available in the ACT store or audit ledger. + Temporal Ordering: Verify that for each parent: +parent.exec_ts < child.exec_ts + clock_skew_tolerance +(RECOMMENDED tolerance: 30 seconds). Causal ordering is +primarily enforced by DAG structure, not timestamps. + Acyclicity: Following parent references MUST NOT lead back +to the current ACT's jti. Implementations MUST enforce a +maximum ancestor traversal limit (RECOMMENDED: 10,000 nodes). + Capability Consistency: Verify that exec_act matches one +of the action values in the cap array from Phase 1. + + +
+
Root Tasks and Fan-in + +A root task has pred = []. A workflow MAY have multiple root tasks +representing parallel branches with no shared predecessor. + +Fan-in — a task with multiple parents — is expressed naturally: + +
+ +This indicates the current task depends on the completion of both +referenced parent tasks, which MAY have been executed in parallel +by different agents. + +
+
DAG vs Linear Delegation Chains + +Several concurrent proposals for agent authorization model delegation +as an ordered, linear chain of tokens or principals. Examples include +the actchain claim of +, the Agentic JWT +construction of , the AIP / Interaction-Bound Context Token +(IBCT) model of , and the delegation record defined in +. In each of these +designs, the trail from the originator to the final executor is +represented as an ordered array recording one predecessor per hop. + +
What Linear Chains Express Well + +Linear chains are a natural fit for simple sequential delegation: +agent A delegates to agent B, which delegates to agent C. The chain +records the history of that single hand-off in order, and verifiers +can walk from the current holder back to the originator without +branching. For interactive user-to-agent-to-service flows, where each +step has exactly one predecessor, a linear chain is both sufficient +and compact. + +
+
Limitations of Linear Chains + +Agentic workflows in practice are rarely purely linear. Planner +agents dispatch parallel sub-tasks; synthesizer agents consume +results from multiple independent branches; tool calls execute +concurrently and their outputs are merged. A linear chain cannot +faithfully represent the following common topologies: + + + Fork: A single task spawns multiple independent sub-tasks. A +linear chain cannot express that two concurrent sub-executions +share a common parent authorization but are otherwise +independent; each sub-task would either omit its siblings or +fabricate a false ordering between them. + Join (fan-in): A task whose output depends on results from +several predecessors has no single prior hop. Linear chains +cannot express multiple-parent relationships without either +collapsing parallel branches into an arbitrary order or +duplicating records. + Diamond dependencies: A planner dispatches parallel work and +later synthesizes the results. The synthesis step depends on +every branch, and all branches depend on the same planner. +This diamond shape requires a DAG; a linear chain forces the +verifier to pick one branch and discard the others. + Cross-chain references: When two independently authorized +chains produce outputs that are later combined (e.g., a shared +cache lookup and a fresh retrieval), linear chains force a +single history and cannot record that the combined result has +two distinct provenances. + + +
+
ACT's DAG Approach + +As specified in , the pred claim is +an array of parent jti values rather than a single scalar. This +allows an ACT to record: + + + Zero parents (a root task, pred = []); + Exactly one parent (a linear chain, equivalent to the +single-predecessor designs referenced above); + Multiple parents (fan-in from parallel branches); and + Any acyclic shape that matches the actual execution structure. + + +The following example illustrates a diamond workflow. A research +agent (A) dispatches a web-search agent (B) and a code-analysis +agent (C) in parallel; both complete, and their outputs are +combined by a writer agent (D): + +
+ +A linear actchain representation cannot express that D depends on +both B and C. At best, it can record one of the two parents and lose +the other, or serialize B and C into a false sequential order. + +
+
Verifiability Implications + +With a DAG representation, an auditor holding the set of Phase 2 +ACTs for a workflow can reconstruct the full execution graph, not +just one chain per final record. This matters for: + + + Debugging: identifying which branch contributed an erroneous +input to a downstream synthesis. + Compliance: demonstrating that every input to a regulated +decision was itself authorized, not only the most recent hop. + Tamper-evidence: detecting that a branch has been omitted, +since the surviving siblings' pred arrays name the missing +predecessor by jti. + + +
+
Interoperability with Linear-Chain Designs + +ACT's DAG reduces to a linear chain in the degenerate case where +every pred array has length zero or one. An implementation that +requires linear-chain semantics MAY treat such ACTs as equivalent +to actchain-style records and ignore the fork/join capability. +The reverse reduction is not available: a linear-chain-only design +cannot represent ACT DAG topologies without loss of information. + +ACT therefore takes the linear chain as a strict subset of its +model rather than as a competing approach. The DAG generalization +is deliberate and is motivated by the concurrent, branching nature +of real agentic executions rather than by any deficiency in the +linear-chain designs for the sequential cases they target. + +
+
+
+
Verification Procedure + +
Authorization Phase Verification + +A receiving agent MUST verify a Phase 1 ACT as follows: + + + Parse JWS Compact Serialization per . + Verify typ is "act+jwt". + Verify alg is in the verifier's algorithm allowlist. The +allowlist MUST NOT include "none" or any symmetric algorithm. + Retrieve the public key for kid per the applicable trust tier +(). + Verify the JWS signature. + Verify exp has not passed (with clock skew tolerance: +RECOMMENDED maximum 5 minutes). + Verify iat is not unreasonably in the future (RECOMMENDED: +no more than 30 seconds ahead). + Verify aud contains the verifier's own identifier. + Verify iss is a trusted agent identity per local policy. + Verify sub matches the verifier's own identifier (the agent +is the intended recipient of this mandate). + Verify all required claims are present and well-formed. + Verify delegation chain () if +del.chain is non-empty. + Verify capabilities are within policy limits. + + +
+
Execution Phase Verification + +In addition to all Phase 1 verification steps, a verifier processing +a Phase 2 ACT MUST: + + + Verify exec_act is present and matches an action in cap. + Verify pred is present and perform DAG validation +(). + Verify exec_ts is present and is greater than or equal to +iat. If exec_ts is after exp, implementations SHOULD log +a warning but MUST NOT reject the record solely on this basis. + Verify status is present and has a valid value. + Verify the re-signature was produced by the sub agent (the +executing agent), not the iss agent (the mandating agent). +This is verified by checking that the kid in the Phase 2 JOSE +header corresponds to the sub agent's public key. + If inp_hash or out_hash are present, verify them against +locally available input/output data when possible. + + +
+
+
Transport + +
HTTP Header Transport + +This specification defines two HTTP header fields for ACT transport: + +ACT-Mandate: Carries a Phase 1 ACT issued by an upstream agent +or operator. Value is the JWS Compact Serialization of the ACT. + +
+ +ACT-Record: Carries a Phase 2 ACT from a predecessor agent, +serving as evidence of completed prerequisites. + +
+ +Multiple ACT-Record header lines MAY be included when a task has +multiple completed predecessors (DAG fan-in). If any single ACT-Record +fails verification, the receiver MUST reject the entire request. + +
+
Non-HTTP Transports + +For non-HTTP transports (MCP stdio, A2A message queues, AMQP, etc.), +ACTs SHOULD be carried as a dedicated field in the transport's +metadata envelope. The field name SHOULD be act_mandate for Phase 1 +ACTs and act_record for Phase 2 ACTs. Implementations MUST use the +JWS Compact Serialization form in all transports. + +
+
+
Audit Ledger Interface + +Phase 2 ACTs SHOULD be submitted to an immutable audit ledger. +A ledger is RECOMMENDED for regulated environments but is not +required for basic ACT operation. This specification does not +mandate a specific storage technology. + +When an audit ledger is deployed, the implementation MUST provide: + + + Append-only semantics: Once an ACT is recorded, it MUST NOT +be modified or deleted. + Ordering: A monotonically increasing sequence number per +recorded ACT. + Lookup: Efficient retrieval by jti value. + Integrity: A cryptographic commitment scheme over recorded +ACTs (e.g., hash-chaining, Merkle tree anchoring, or SCITT +registration per ). + + +
+
Security Considerations + +
Threat Model + +ACT assumes an adversarial environment where: + + + Individual agents may be compromised. + Network paths may be intercepted (mitigated by transport security). + Attackers may attempt to replay valid ACTs from prior interactions. + Colluding agents may attempt to fabricate execution records. + Agents may attempt privilege escalation via manipulated delegation +chains. + + +ACT does NOT assume: + + + A trusted central authority (by design). + Synchronized clocks beyond the stated skew tolerance. + Availability of external network services during verification. + + +
+
Self-Assertion Limitation + +Phase 2 ACTs are self-asserted: an executing agent signs its own +execution record. A compromised agent with an intact private key can +produce Phase 2 ACTs claiming arbitrary inputs, outputs, and action +types, as long as the claimed exec_act matches an authorized +capability. + +This is a fundamental limitation of self-sovereign attestation. It +is the same limitation affecting WIMSE ECT +. + +Mitigations: + + + Cross-agent corroboration: A receiving agent that processes +an ACT-Record as a prerequisite independently verifies that the +claimed out_hash matches the data it actually received. + Ledger sequencing: An append-only ledger with monotonic +sequence numbers prevents retroactive insertion of fabricated +records. + SCITT anchoring: For high-assurance deployments, Phase 2 ACTs +SHOULD be anchored to a SCITT Transparency Service, providing +external witness that the record was submitted at a claimed time. + + +
+
Key Compromise + +If an agent's private key is compromised, an attacker can issue +arbitrary Phase 1 mandates (impersonating the agent as an issuer) +and fabricate Phase 2 records (impersonating the agent as an +executor). + +Key compromise response: + + + The compromised agent's identifier MUST be added to all +verifiers' deny lists. + In Tier 2 (PKI) deployments, the certificate MUST be revoked +via CRL or OCSP. + In Tier 3 (DID) deployments, the DID Document MUST be updated +to revoke the compromised key. + In Tier 1 (pre-shared key) deployments, both parties MUST +perform an out-of-band key rotation. + + +ACT chains that include records signed by a compromised key MUST +be treated as potentially tainted from the point of compromise. +Audit systems MUST flag all ACTs signed after the estimated +compromise time. + +
+
Replay Attack Prevention + +jti uniqueness within the applicable scope (workflow or global) +provides replay detection. Verifiers MUST reject ACTs whose jti +has already been seen and processed. + +exp provides a time-bounded replay window. Verifiers MUST reject +expired ACTs. The combination of jti and exp means that replay +detection state only needs to be maintained for the duration of token +lifetimes. + +
+
Equivocation + +In standalone deployment (no audit ledger, no SCITT anchoring), ACT +does NOT provide non-equivocation guarantees. A compromised agent +can maintain two valid ACT chains — presenting Phase 2 records with +different out_hash values to different verifiers — and both will +pass independent verification. + +Deployments claiming DORA Article 10/11 compliance or EU AI +Act Article 12 compliance MUST use one of: + +(a) A shared append-only audit ledger visible to all relevant parties, + with cryptographic integrity (hash chaining or Merkle trees). + +(b) SCITT anchoring providing external + Transparency Service receipts. + +Standalone ACT provides tamper detection (a verifier can detect +modification of a record it has seen) but not split-view prevention +(a verifier cannot detect a different record shown to another +verifier). + +
+
Privilege Escalation + +Verifiers MUST check that each step in del.chain reduces or +maintains (never increases) the capabilities relative to the +preceding step. Implementations MUST reject ACTs where: + + + del.depth exceeds del.max_depth. + cap contains actions not present in any referenced parent ACT. + Constraints in cap are less restrictive than those in the parent. + + +
+
Denial of Service + +ACT verification is more computationally expensive than standard JWT +validation due to delegation chain verification and DAG traversal. + +Mitigations: + + + Reject ACTs larger than 64KB before parsing. + Enforce maximum del.chain length (RECOMMENDED: 10 entries). + Enforce maximum DAG ancestor traversal depth (RECOMMENDED: 10,000 +nodes, ). + Cache verification results for recently seen jti values within +the token lifetime window. + + +
+
+
Privacy Considerations + +ACT tokens and audit ledger records may contain information that +identifies agents, organizations, or individuals. Implementations +SHOULD apply data minimization principles: + + + task.created_by SHOULD use a pseudonymous identifier rather +than a personal email address or real name. + task.purpose SHOULD use a controlled vocabulary code rather +than free-text descriptions that may contain personal data. + del.chain entries reveal organizational structure. Cross- +organizational delegation chains SHOULD use Tier 3 (DID) +identifiers that do not reveal organizational affiliation. + inp_hash and out_hash are hashes of data, not the data +itself, and do not constitute personal data under GDPR +Article 4(1) provided the underlying data is not trivially +reversible (e.g., hashes of very short strings). + + +For GDPR Article 17 (right to erasure) compliance, audit ledgers +SHOULD store only ACT tokens (which contain hashes, not raw data) +and SHOULD implement crypto-shredding for any associated encrypted +payloads. + +
+
IANA Considerations + +
Media Type Registration + +This document requests registration of the following media type: + + + Type name: application + Subtype name: act+jwt + Required parameters: none + Encoding considerations: binary (base64url-encoded JWT) + Security considerations: See . + Interoperability considerations: See . + Specification: This document. + + +
+
HTTP Header Field Registration + +This document requests registration of the following HTTP header +fields in the "Hypertext Transfer Protocol (HTTP) Field Name +Registry": + + + Header field name: ACT-Mandate + Applicable protocol: HTTP + Status: permanent + Specification: This document, . + Header field name: ACT-Record + Applicable protocol: HTTP + Status: permanent + Specification: This document, . + + +
+
JWT Claims Registration + +This document requests registration of the following claims in the +IANA "JSON Web Token Claims" registry: + + + Claim Name + Description + Reference + wid + Workflow identifier + This document + task + Task authorization context + This document + cap + Capabilities with constraints + This document + oversight + Human oversight requirements + This document + del + Delegation provenance chain + This document + exec_act + Executed action identifier + This document + pred + Predecessor task identifiers (DAG) + This document + inp_hash + SHA-256 hash of task input + This document + out_hash + SHA-256 hash of task output + This document + exec_ts + Actual execution timestamp + This document + status + Execution status + This document + err + Execution error context + This document + + +
+
+ + +
+ + + + + + + + + + + + + JSON Web Signature (JWS) + + + + + + JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and an IANA registry defined by that specification. Related encryption capabilities are described in the separate JSON Web Encryption (JWE) specification. + + + + + + + + JSON Web Key (JWK) + + + + A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. This specification also defines a JWK Set JSON data structure that represents a set of JWKs. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and IANA registries established by that specification. + + + + + + + + JSON Web Algorithms (JWA) + + + + This specification registers cryptographic algorithms and identifiers to be used with the JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK) specifications. It defines several IANA registries for these identifiers. + + + + + + + + JSON Web Token (JWT) + + + + + + JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted. + + + + + + + + CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE) + + + + This document defines how to use the Diffie-Hellman algorithms "X25519" and "X448" as well as the signature algorithms "Ed25519" and "Ed448" from the IRTF CFRG elliptic curves work in JSON Object Signing and Encryption (JOSE). + + + + + + + + HTTP Semantics + + + + + + The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol elements, extensibility mechanisms, and the "http" and "https" Uniform Resource Identifier (URI) schemes. + This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230. + + + + + + + + + Universally Unique IDentifiers (UUIDs) + + + + + + This specification defines UUIDs (Universally Unique IDentifiers) -- +also known as GUIDs (Globally Unique IDentifiers) -- and a Uniform +Resource Name namespace for UUIDs. A UUID is 128 bits long and is +intended to guarantee uniqueness across space and time. UUIDs were +originally used in the Apollo Network Computing System (NCS), later +in the Open Software Foundation's (OSF's) Distributed Computing +Environment (DCE), and then in Microsoft Windows platforms. + This specification is derived from the OSF DCE specification with the +kind permission of the OSF (now known as "The Open Group"). Information from earlier versions of the OSF DCE specification have +been incorporated into this document. This document obsoletes RFC +4122. + + + + + + + + Key words for use in RFCs to Indicate Requirement Levels + + + + In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements. + + + + + + + + + Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words + + + + RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings. + + + + + + + + + + + + + + + + + + OAuth 2.0 Token Revocation + + + + + + This document proposes an additional endpoint for OAuth authorization servers, which allows clients to notify the authorization server that a previously obtained refresh or access token is no longer needed. This allows the authorization server to clean up security credentials. A revocation request will invalidate the actual token and, if applicable, other tokens based on the same authorization grant. + + + + + + + + OAuth 2.0 Token Exchange + + + + + + + + This specification defines a protocol for an HTTP- and JSON-based Security Token Service (STS) by defining how to request and obtain security tokens from OAuth 2.0 authorization servers, including security tokens employing impersonation and delegation. + + + + + + + + + Execution Context Tokens for Distributed Agentic Workflows + + + + + + + + + + + + + An Architecture for Trustworthy and Transparent Digital Supply Chains + + Fraunhofer SIT + + + Microsoft Research + + + Microsoft Research + + + ARM + + + + + + Traceability in supply chains is a growing security concern. While + verifiable data structures have addressed specific issues, such as + equivocation over digital certificates, they lack a universal + architecture for all supply chains. This document defines such an + architecture for single-issuer signed statement transparency. It + ensures extensibility, interoperability between different + transparency services, and compliance with various auditing + procedures and regulatory requirements. + + + + + + + + + + + Transaction Tokens for Agentic AI Systems + + + + + + + + + + Agent Authorization Profile (AAP) for OAuth 2.0 + + + + + + + + + + Helixar Delegation Protocol (HDP) for Agentic Delegation + + Helixar + + + + + + + + A SCITT Profile for AI Agent Execution Records + + + + + + + + + + Agentic JWT: A JSON Web Token Profile for Delegated Agent Authorization + + + + + + + + + AIP: Agent Interaction Protocol with Interaction-Bound Context Tokens + + + + + + + + + SentinelAgent: A Formal Delegation Chain Calculus for Verifiable Agent Authorization + + + + + + + + + Model Context Protocol Specification + + + + + + + + + OpenAI Agents SDK + + OpenAI + + + + + + + LangGraph Documentation + + LangChain + + + + + + + Agent2Agent (A2A) Protocol + + Google + + + + + + + CrewAI Documentation + + CrewAI + + + + + + + AutoGen Documentation + + Microsoft + + + + + + + Decentralized Identifiers (DIDs) v1.0 + + + + + + + + + The did:key Method v0.7 + + + + + + + + + did:web Method Specification + + + + + + + + + Digital Operational Resilience Act (DORA), Regulation (EU) 2022/2554 + + European Parliament + + + + + + + EU Artificial Intelligence Act, Regulation (EU) 2024/1689 + + European Parliament + + + + + + + Medical device software — Software life cycle processes, IEC 62304:2006+AMD1:2015 + + IEC + + + + + + + + + + + + + +
Appendix A: Complete JSON Schema + +The normative JSON Schema for ACT Phase 1 and Phase 2 tokens is +available at [TODO: reference implementation repository]. + +
+
Appendix B: Test Vectors + +
B.1. Valid Phase 1 ACT — Root Mandate (Tier 1, Pre-Shared Key) + +
+ +
+
B.2. Valid Phase 2 ACT — Completed Execution + +
Phase 2 +transition with re-signature by target agent] +]]>
+ +
+
B.3. Valid Phase 2 ACT — Fan-in (Multiple Parents) + +
+ +
+
B.4. Invalid ACT — Delegation Depth Exceeded + +
del.max_depth rejection] +]]>
+ +
+
B.5. Invalid ACT — Capability Escalation + +
+ +
+
B.6. Invalid ACT — exec_act Mismatch + +
+ +
+
+
Appendix C: Deployment Scenarios + +
C.1. Minimal Deployment (Zero Infrastructure) + +Two organizations exchange pre-shared public keys via secure email. +Each agent signs Phase 1 mandates and Phase 2 records with its +Ed25519 key. No ledger, no external services. Suitable for +development and low-risk workflows. + +Limitation: No non-equivocation (). + +
+
C.2. Regulated Deployment with Hash-Chained Ledger + +Phase 2 ACTs are submitted to a shared append-only ledger with +hash-chaining. Each recorded ACT extends a cryptographic chain, +providing tamper evidence for each ACT and the chain as a whole. +The ledger is shared between all regulated parties participating +in the workflow. Suitable for DORA compliance. + +
+
C.3. High-Assurance Cross-Organizational Deployment + +Phase 2 ACTs are anchored to a SCITT Transparency Service. SCITT +receipts are attached to the audit record as non-equivocation proofs. +DID-based agent identities (Tier 3) enable self-sovereign key +management without shared CA infrastructure. + +
+
C.4. WIMSE Environment Integration + +In environments where WIMSE is already deployed, ACT-Mandate and +ACT-Record headers are carried alongside the WIMSE Workload-Identity +header. The ECT and ACT serve different purposes: the ECT records +workload-level execution in WIMSE terms; the ACT records the +authorization provenance and capability constraints that governed +the action. + +
+
+
Acknowledgments + +The author thanks the IETF WIMSE, OAuth, and SCITT working groups +for foundational work on workload identity, delegated authorization, +and transparent supply chain records that informs this specification. + +
+ + +
+ + + +
+ diff --git a/workspace/drafts/ietf-wimse-ect b/workspace/drafts/ietf-wimse-ect index d47f041..3d01cb3 160000 --- a/workspace/drafts/ietf-wimse-ect +++ b/workspace/drafts/ietf-wimse-ect @@ -1 +1 @@ -Subproject commit d47f041265e1bc3a142fb14fdfe4431f5340c8b5 +Subproject commit 3d01cb32b64712db78ba0199b5920caa6527d9fd