| Internet-Draft | How Far Can an Agent's Authority Spread | December 2026 |
| Das | Expires 5 June 2027 | [Page] |
When an AI agent delegates to other agents or tools, authority can spread in two directions: deeper (a chain of hops) and wider (many parallel sub-delegations). Several 2026 drafts and vendor guides address depth: they carry a maximum hop count in the token or the issuer. Limits on fan-out (the number of children a single delegation may create) were not found in the drafts and guides reviewed; rate limiting and quotas are the usual operational controls. This document proposes carrying both a depth limit and a fan-out budget in the authorization object and enforcing both atomically at the enforcement point, so that a runaway or compromised cascade is bounded by construction. It shows how to implement this with counters in tokens, an atomic budget store, attenuating token formats (macaroons, Biscuit, UCAN-style chains) and gateway rate limiting.¶
Related patent application. This document is based on international application PCT/IB2026/054453 (publication WO 2026/150381 A2), which was published at WIPO PATENTSCOPE on 16 July 2026. Full text: https://patentscope.wipo.int/search/en/detail.jsf?docId=WO2026150381 (also at https://patents.google.com/patent/WO2026150381A2/en). The application is a pending application only; nothing in this document states or implies that any patent has been granted. Check current status only on official registers (WIPO PATENTSCOPE and national patent offices).¶
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 5 June 2027.¶
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.¶
OAuth 2.0 Token Exchange (RFC 8693) records prior actors in a nested actor claim, which is informational: it does not enforce that authority narrows along a chain. Recent drafts (draft-asor-wimse-agent-delegation-chain, draft-liu-oauth-chain-delegation, draft-coetzee-oauth-spt-txn-tokens) define attenuating delegation and bound depth. Vendor guidance suggests a maximum depth in application code.¶
An independent analyst's August 2026 survey (a third-party source whose scripts were not rerun for this document) reports that protocol specifications for agent-to-agent calls lacked call-chain vocabulary, and that cycles and very deep chains were accepted by the verifiers it tested. This is a lead to check, not an established fact.¶
This document concentrates on the second dimension, fan-out, and on enforcing depth and fan-out together.¶
The original grant states a maximum depth, a per-node fan-out limit and optionally a total budget for the whole cascade. Each derived token states its current depth and the remaining budget it may pass on.¶
When a holder asks to derive a child, the enforcement point verifies the parent, checks depth less than maximum, checks the parent's remaining fan-out, and decrements the parent's counter and the cascade budget in one atomic step before issuing the child. Cycle detection rejects a child whose identity already appears in the chain.¶
A child cannot exceed its parent's authority, depth allowance or fan-out. Offline attenuation (token formats that allow a holder to add restrictions without contacting the issuer) can narrow scope but cannot create budget; creating a child that consumes budget needs the enforcement point.¶
This section shows how to limit the depth and the fan-out of delegation when agents hand authority to other agents. The problem is easy to state: an agent with a grant may create sub-agents, which create more sub-agents. Without a limit on how deep and how wide this goes, authority multiplies beyond what the original grantor intended, and a loop in agent logic can create a runaway number of delegations. Formats are illustrative.¶
With D and F alone, the maximum tree size is the sum of F to the power i for i from 1 to D. Choose small values and state them. A tree budget B bounds the total directly, whatever D and F are.¶
A rule that only looks at one chain (depth) can be checked from the token alone. A rule that involves siblings (fan-out, tree budget) needs shared state. Be clear which you are building.¶
This is the main trade-off. Offline delegation (as with macaroons, Biscuit tokens and similar capability formats) is fast and needs no online party, and it enforces depth and narrowing only. If fan-out or tree budget must be enforced, delegation must pass an online counter, or the budget must be enforced at use.¶
Children are created only by asking the issuer.¶
Data kept per node and per root:¶
roots(id, budget_remaining, max_depth, max_children) nodes(id, root, parent, depth, children_count, status)¶
The delegate operation, in SQL form:¶
BEGIN; UPDATE nodes SET children_count = children_count + 1 WHERE id = $parent AND status = 'active' AND depth < $max_depth AND children_count < $max_children; -- must affect 1 row UPDATE roots SET budget_remaining = budget_remaining - 1 WHERE id = $root AND budget_remaining > 0; -- must affect 1 row INSERT INTO nodes(id, root, parent, depth, children_count, status) VALUES ($child, $root, $parent, $depth + 1, 0, 'active'); COMMIT;¶
If either UPDATE affects no row, roll back and refuse with the uniform denial. The same operation can be written as a Lua script on one Redis shard (if both counters are on the same shard), a DynamoDB transaction over two items, or an etcd transaction. Use the storage rules in the common core on consistency and failover.¶
Properties: exact limits, immediate effect, one online dependency at delegation time. Use when delegations are not extremely frequent or the issuer is already online for each delegation.¶
Give each child a slice of the parent's budget instead of drawing from one shared pool.¶
root: budget 20
child1: slice 8 (parent remaining 12)
gc1: slice 3 (child1 remaining 5)
child2: slice 6 (parent remaining 6)
¶
Slicing lets offline delegation keep a sum rule, but only if the holder cannot over-allocate. A holder with a local counter can mint children whose slices add up to more than its own slice, and nothing in a single chain shows it. Over-allocation shows up only if the effects are counted somewhere that sees all siblings. So slicing helps honest software avoid accidents. It does not stop a dishonest holder. For that, count at use (Design 3).¶
Let delegation be free (and offline) but count effects at the sink or EP against the root.¶
Use Design 3 when the real concern is effects (cost, side effects) and not the count of agents.¶
A practical deployment combines:¶
An illustrative token:¶
{
"jti": "n-0042",
"root": "g-17",
"parent": "n-0017",
"depth": 2,
"limits": {
"max-depth": 3,
"max-children": 4,
"tree-budget": 20,
"child-ttl-factor": 0.5
},
"exp": 1790000900,
"caveats": [ ... narrowing conditions ... ]
}
¶
Every hop may only narrow. Enforce these at delegation and re-check at use:¶
Field Child value must be -------------------- ------------------------------------------ max-depth remaining at most parent's remaining minus one max-children at most parent's max-children tree-budget / slice at most parent's remaining budget exp not later than parent's exp purpose / caveats the parent's, plus more restrictions audience same or narrower¶
A check that a child is not wider than its parent must be done by the verifier, not by trust in the delegator. In capability formats that support attenuation (macaroons, Biscuit, UCAN and similar), narrowing is part of how tokens are built, but the specific limits above (children count, tree budget) are not features of those formats, so state how each is enforced.¶
Simplest, offline. Good for low-risk grants with trusted agents.¶
Needs a per-node counter (Design 1). Good for orchestrators that spawn workers.¶
One counter on the root (Design 1 or 3). Simple to explain: "this task may use at most N sub-agents" or "at most N effects."¶
Limit delegations per time interval, for example per minute per root. Stops bursts without limiting the long-run total. Use a token bucket in the counter store.¶
Each child's lifetime is at most a fraction of the parent's remaining lifetime ("child-ttl-factor" above). Deep chains then expire quickly by themselves. Cheap and offline.¶
Replace "one unit per delegation" with a cost in a unit that matters (money, compute time, API calls). The atomic operation decrements by the cost. Needs reliable cost estimates at delegation time.¶
Above a given depth, or above a given tree size, delegation needs a named human approval. Implement as a required signature on the delegation request, as in the two-party approval variation in the API profile in this series.¶
The expected outcome of a small test, with max-depth 2, max-children 2 and budget 10:¶
step result root budget ----------------------------- --------- ----------- n0 delegates to a allowed 9 n0 delegates to b allowed 8 n0 delegates to c refused 8 (fan-out) a delegates to d allowed 7 d delegates to e refused 7 (depth)¶
A refused request changes nothing, because the transaction rolls back.¶
Q: Is depth enough? A: Depth stops long chains. It does not stop a wide tree. A node that creates thousands of children at depth one stays within a depth limit. Add fan-out or a tree budget if width matters.¶
Q: Should the budget count delegations or effects? A: Count what you want to bound. Counting delegations bounds the number of agents. Counting effects bounds what the tree can do. Many deployments need the effect bound as the final guard.¶
Q: Can I enforce fan-out with offline tokens only? A: Not for a dishonest holder, because no one sees the siblings together. Use an online counter at delegation or count effects at the EP.¶
Q: What is a good starting value? A: There is no general answer. Start with small values (a depth of two or three and a fan-out of a few) based on the real task shapes you see in shadow mode, and raise them with evidence.¶
Q: Does this interfere with legitimate large fan-out, such as a map-reduce style task? A: Then the root grant is given a larger budget and a higher fan-out by an authorized human or policy for that task class. The limit becomes a reviewed choice instead of an accident.¶
Q: How do I explain a refusal to the agent's developer? A: Through a separate authorized channel, since the agent must not learn limits by probing. Give developers the limits of their own grants in advance.¶
This section is repeated in each document of the series so that an engineer can build from one document without reading the others. It describes one concrete way to build an enforcement point (EP) and its surrounding parts. Names of products are examples of existing technology. Message layouts and code are illustrative sketches written for this document. They are not tested reference code, and no performance figure is claimed anywhere in this document.¶
An engineer can build the mechanism in this order. Each step can be tested alone before the next one starts.¶
requester --> [ EP ] --> token --> [ effect sink ] --> effect
| \ |
| +--> receipt log +--> replay table (jti)
v
state store (atomic consume)
^
policy bundle (signed, versioned)
[ EP key in HSM/TEE ] <-- attested by verifier (RFC 9334)
¶
The EP is the only component that can mint a token. The sink is the only component that can cause the effect. The state store is the only place where quota changes. Keep these three roles in separate failure domains if the risk justifies it.¶
An illustrative token claim set in CDDL (RFC 8610) follows. The names are not registered. A deployment can map them to registered claims where they exist.¶
capability-token = {
"iss": tstr,
"aud": tstr, ; the sink
"jti": bstr .size 16, ; single-use identifier
"nbf": uint,
"exp": uint, ; seconds, short lifetime
"cnf": { "kid": bstr }, ; proof of possession (RFC 7800)
"purpose": tstr,
"params-hash": bstr .size 32, ; hash of canonical action
"state-version": uint,
? "profile": tstr
}
receipt = {
"id": bstr .size 16,
"decision": "released" / "refused",
"ep": tstr,
"ts": uint,
"req-digest": bstr .size 32,
"policy-digest": bstr .size 32,
"state-version": uint,
? "token-jti": bstr .size 16,
? "internal-reason": tstr ; never sent to the requester
}
¶
The "internal-reason" field is for operators and auditors. The response to the requester must carry no reason, as described under uniform denial.¶
def decide(req):
ctx = authenticate(req) # who is asking
if ctx is None:
return deny()
cand = canonicalize(req.action)
h = sha256(cand)
pol = policy.load(ctx.tenant) # signed bundle
now = trusted_time()
ok = True
reasons = []
for p in pol.predicates: # evaluate all, no early exit
r = p.check(ctx, cand, now)
ok = ok and r.ok
reasons.append(r)
if not ok:
log_internal(req, reasons)
return deny()
if not store.consume(ctx.grant, 1, pol.version):
return deny()
tok = sign(make_token(ctx, h, pol.version))
log_receipt("released", tok.jti, h)
return tok
¶
Notes for the engineer:¶
The consume operation must be one indivisible step: check the quota and the state version, and decrement. Five common ways to build it follow. Pick by consistency need, not by habit.¶
Variant A: Redis with a Lua script.¶
-- KEYS[1] = grant key, ARGV[1] = expected version
local v = redis.call('HGET', KEYS[1], 'ver')
local q = tonumber(redis.call('HGET', KEYS[1], 'quota'))
if v ~= ARGV[1] or q < 1 then return 0 end
redis.call('HINCRBY', KEYS[1], 'quota', -1)
return 1
¶
The script runs atomically on one Redis node. Redis replication is asynchronous by default, so a failover can lose the last writes and allow a second use. Use this only where a rare double use is tolerable, or add replica acknowledgement (the WAIT command) and accept the latency.¶
Variant B: relational database, single statement.¶
UPDATE grants SET quota = quota - 1 WHERE grant_id = $1 AND ver = $2 AND quota > 0 AND not_after > now() RETURNING quota;¶
A returned row means the unit was consumed. Zero rows means deny. A single UPDATE takes a row lock, so concurrent callers are serialized. Use a synchronous replica or a consensus-based distributed SQL database if loss on failover is not acceptable.¶
Variant C: DynamoDB conditional update.¶
UpdateItem Key={grant_id}
UpdateExpression: SET quota = quota - :one
ConditionExpression: ver = :v AND quota >= :one
¶
A failed condition means deny. Keep the authority in one region. Multi-region replication of such tables is eventually consistent, and two regions could each consume the same unit.¶
Variant D: etcd or another Raft key-value store, compare-and-swap transaction.¶
txn: if value(grant/ver) == V and value(grant/quota) > 0 then put(grant/quota, quota-1) else fail¶
This gives linearizable consume at the cost of write latency on every release. It suits low to medium rates and high-value actions.¶
Variant E: hardware counter. A TPM 2.0 non-volatile counter or an HSM counter can hold a monotonic count. Hardware counters have limited write endurance and low rates. Use them for high-value, low-rate grants or as an anchor for a periodic checkpoint of a faster store.¶
At the sink, add a replay table keyed by jti and keep entries until the token expires. This catches a token presented twice even if the EP store had a fault.¶
Return one response for every refusal: the same status, body shape and, as far as practical, timing. Put the reason only in the internal log. Do not return which predicate failed, whether a grant exists, or how much quota remains. Rate-limit refusals per requester so that an attacker cannot use the EP as an oracle.¶
A request can time out after the sink applied the effect. The requester then does not know whether to retry. Handle it this way:¶
Every release and every refusal is a signed receipt. Options for the log, from simplest to strongest:¶
Whatever the option, publish the checkpoint to a place the operator cannot rewrite alone (a second organization, a public log, or a write-once store). Without that, the log shows what the operator chose to keep.¶
The same mechanism can be placed in five ways. Choose by where the choke point is.¶
A conformance suite for the mechanism contains at least these tests. Each is a pass or fail test, not a measurement.¶
Measure these in the engineer's own environment before making any claim. The document gives no numbers on purpose.¶
This section gives small reference sketches in Python. They show the logic in running form. They were run against unit tests in a sandbox on 2 December 2026 (Python 3.13, the "cryptography" package, SQLite) and the tests passed. They are teaching sketches. They are not hardened code and have had no security review. The SQLite store stands in for a real store. It serializes through a lock. A production system would use the storage variants in the common core.¶
Tests for this sketch: a valid release and one use; replay refused at the sink; one grant with quota one gives exactly one token under 30 concurrent requests; every refusal returns the same result; a changed action or the wrong sink is refused; a repeated request with the same idempotency key returns the same token and does not consume twice; a revoked or not yet valid grant is refused.¶
# Reference sketch: enforcement point (EP) and sink.
# Requires Python 3.9+ and the "cryptography" package.
import base64, hashlib, json, sqlite3, threading, time, uuid
from cryptography.exceptions import InvalidSignature
from cryptography.hazmat.primitives.asymmetric.ed25519 import (
Ed25519PrivateKey,
)
def canon(obj):
# Stand-in for RFC 8785 canonical JSON.
return json.dumps(
obj, sort_keys=True, separators=(",", ":")
).encode()
def b64(b):
return base64.urlsafe_b64encode(b).rstrip(b"=").decode()
def unb64(s):
return base64.urlsafe_b64decode(s + "=" * (-len(s) % 4))
class Store:
def __init__(self):
self.db = sqlite3.connect(
":memory:",
isolation_level=None,
check_same_thread=False,
)
self.lock = threading.RLock() # sqlite sketch only
self.db.executescript("""
CREATE TABLE grants(id TEXT PRIMARY KEY, agent TEXT,
action TEXT, target TEXT, nbf INT, naf INT,
quota INT, ver INT, revoked INT DEFAULT 0);
CREATE TABLE idem(k TEXT PRIMARY KEY, h TEXT, tok TEXT);
""")
def q(self, sql, args=()):
with self.lock:
return self.db.execute(sql, args)
def add_grant(
self, gid, agent, action, target, nbf, naf, q
):
self.q(
"INSERT INTO grants VALUES(?,?,?,?,?,?,?,?,0)",
(gid, agent, action, target, nbf, naf, q, 1),
)
def grant(self, gid):
return self.q(
"SELECT agent,action,target,nbf,naf,quota,ver,revoked"
" FROM grants WHERE id=?",
(gid,),
).fetchone()
def consume(self, gid, ver, now):
# One statement: check and decrement together.
with self.lock:
cur = self.q(
"UPDATE grants SET quota=quota-1 WHERE id=?"
" AND ver=? AND quota>0 AND revoked=0"
" AND nbf<=? AND naf>?",
(gid, ver, now, now),
)
return cur.rowcount == 1
def revoke(self, gid):
self.q(
"UPDATE grants SET revoked=1, ver=ver+1 WHERE id=?",
(gid,),
)
class EP:
def __init__(
self, store, sink_id, clock=time.time, life=30
):
self.store, self.sink_id = store, sink_id
self.key = Ed25519PrivateKey.generate()
self.pub = self.key.public_key()
self.clock, self.life = clock, life
self.receipts = [] # replace with a signed log
def _receipt(self, decision, h, jti=None):
self.receipts.append(
{
"decision": decision,
"h": h,
"jti": jti,
"ts": int(self.clock()),
}
)
def release(self, agent, gid, action, idem_key):
now = int(self.clock())
h = hashlib.sha256(canon(action)).hexdigest()
row = self.store.q(
"SELECT h,tok FROM idem WHERE k=?", (idem_key,)
).fetchone()
if row and row[0] == h:
return row[1] # repeat request, same token
g = self.store.grant(gid)
ok = g is not None
if ok: # evaluate every predicate
a, act, tgt, nbf, naf, q, ver, rev = g
checks = [
a == agent,
act == action.get("type"),
tgt == action.get("target"),
nbf <= now < naf,
q > 0,
rev == 0,
]
ok = all(checks)
if not ok or not self.store.consume(gid, g[6], now):
self._receipt("refused", h)
return None # uniform denial
claims = {
"iss": "ep",
"aud": self.sink_id,
"jti": uuid.uuid4().hex,
"nbf": now,
"exp": now + self.life,
"agent": agent,
"params-hash": h,
"state-version": g[6],
}
body = canon(claims)
tok = b64(body) + "." + b64(self.key.sign(body))
self.store.q(
"INSERT INTO idem VALUES(?,?,?)",
(idem_key, h, tok),
)
self._receipt("released", h, claims["jti"])
return tok
class Sink:
def __init__(self, ep_pub, sink_id, clock=time.time):
self.pub, self.sink_id = ep_pub, sink_id
self.clock = clock
self.seen, self.lock = set(), threading.Lock()
self.effects = []
def apply(self, token, action):
try:
p, s = token.split(".")
body = unb64(p)
self.pub.verify(unb64(s), body)
c = json.loads(body)
except (ValueError, InvalidSignature):
return False
now = self.clock()
want = hashlib.sha256(canon(action)).hexdigest()
if (
c["aud"] != self.sink_id
or c["params-hash"] != want
or not c["nbf"] <= now < c["exp"]
):
return False
with self.lock: # replay table
if c["jti"] in self.seen:
return False
self.seen.add(c["jti"])
self.effects.append(action) # the effect happens here
return True
¶
Atomic delegation with depth, fan-out and tree budget counters. Tests: fan-out limit, depth limit, budget exhaustion with repeated requests.¶
# Reference sketch: atomic delegation with depth, fan-out, budget.
import sqlite3, uuid
class Tree:
def __init__(self, max_depth, max_children, budget):
self.db = sqlite3.connect(
":memory:",
isolation_level=None,
check_same_thread=False,
)
self.md, self.mc = max_depth, max_children
self.db.executescript("""
CREATE TABLE roots(id TEXT PRIMARY KEY, budget INT);
CREATE TABLE nodes(id TEXT PRIMARY KEY, root TEXT,
parent TEXT, depth INT, children INT);""")
self.root = "r"
self.db.execute(
"INSERT INTO roots VALUES('r',?)", (budget,)
)
self.db.execute(
"INSERT INTO nodes VALUES('n0','r',NULL,0,0)"
)
def delegate(self, parent):
"""Child id or None. Both counters move together."""
self.db.execute("BEGIN IMMEDIATE")
a = self.db.execute(
"UPDATE nodes SET children=children+1 WHERE id=?"
" AND depth<? AND children<?",
(parent, self.md, self.mc),
)
b = (
self.db.execute(
"UPDATE roots SET budget=budget-1 WHERE id='r'"
" AND budget>0"
)
if a.rowcount == 1
else None
)
if a.rowcount != 1 or b.rowcount != 1:
self.db.execute("ROLLBACK")
return None
child = "n" + uuid.uuid4().hex[:6]
d = self.db.execute(
"SELECT depth FROM nodes WHERE id=?", (parent,)
).fetchone()[0]
self.db.execute(
"INSERT INTO nodes VALUES(?, 'r', ?, ?, 0)",
(child, parent, d + 1),
)
self.db.execute("COMMIT")
return child
¶
This section is repeated in each document of the series. It covers what an operator needs after the mechanism is built.¶
Threat Mitigation Residual risk
-------------------------- -------------------------- ------------
Requester forges a token Signature by EP key in Key theft
HSM/TEE; sink verifies
Requester replays a token jti replay table at sink; Table loss
short lifetime after crash
Requester alters action Token bound to action hash Hash scheme
mismatch
Stolen token used by other Proof of possession (cnf, Key theft
DPoP, mutual TLS) of holder
Compromised requester asks Predicates, quota, scope, Wrong grants
for allowed things envelope, rate limits stay wrong
Compromised EP Attestation, split key, Total loss of
federation (V5), audit guarantee
Bypass of the EP Single choke point; sink Second route
refuses without token left by error
Store rollback or fork Synchronous consensus Operator
store; counters logged error
Oracle probing of the EP Uniform denial; rate limit Timing leak
Log tampering External checkpoints Collusion
Clock manipulation Trusted time; bounds Time source
compromise
Policy mistakes Review, tests, shadow Human error
mode, signed bundles
¶
No row removes the need for judgement. The mechanism limits what a wrong decision can do and makes it visible afterwards.¶
### Signing key rotation¶
### Policy update¶
### Suspected EP compromise¶
### Store restore¶
Alert on a fail-open event every time it happens. A fail-open class that triggers often is a design problem.¶
This document gives no throughput figure. To size a deployment:¶
Roles: a policy owner (decides what is allowed), a platform team (runs the EP, store and keys), a sink owner (owns the effect and its check), a security reviewer (owns the test plan and bypass tests) and an auditor (reads receipts).¶
RFC 7519 JSON Web Token (JWT) RFC 7800 Proof-of-possession key semantics for JWTs RFC 8392 CBOR Web Token (CWT) RFC 8610 Concise Data Definition Language (CDDL) RFC 8693 OAuth 2.0 Token Exchange RFC 8785 JSON Canonicalization Scheme RFC 8949 Concise Binary Object Representation (CBOR) RFC 9052 COSE: structures and process RFC 9162 Certificate Transparency version 2.0 RFC 9334 Remote ATtestation procedureS (RATS) architecture RFC 9396 OAuth 2.0 Rich Authorization Requests RFC 9449 OAuth 2.0 Demonstrating Proof of Possession (DPoP) RFC 9711 Entity Attestation Token (EAT) RFC 5869 HMAC-based key derivation function (HKDF) RFC 4082 TESLA broadcast authentication¶
Check the current status of each document before relying on it, and read the document itself. This list is a reading aid, not a substitute.¶
This section is repeated in each document of the series.¶
Answer these questions in order. Each answer narrows the design.¶
Question If yes If no
------------------------------- ------------------- ---------------
Is the effect irreversible or Use V4 (attested EP) V2 or V3 may do
costly to other parties? and single-use tokens
Can the sink verify signatures Self-contained MAC token or
at the needed rate? signed token reference token
Is immediate revocation needed? Reference token or Short lifetime
push events is enough
Can the sink reach the EP in Per-action release Pre-issued
the time budget? window
Must two parties agree? Federated EP (V5) One EP
Must an outsider check later? Merkle log with Hash chain log
external checkpoint
Is the requester untrusted or Proof of possession Bearer token
an AI agent? plus envelope may do
Does a sweep of the target Random token, rate Normal controls
space matter? limits
¶
Where two answers conflict, choose by the cost of a wrong decision in the deployment, and write the choice down with the reason.¶
### Failure 1: the sink applies the effect but the reply is lost¶
### Failure 2: the EP crashes after consume and before returning the token¶
### Failure 3: two sinks receive the same token¶
### Failure 4: the clock of the EP is wrong¶
### Failure 5: a policy bundle with a mistake is deployed¶
Use this list before putting the mechanism into production. A "no" is a finding to resolve or to accept in writing.¶
A compromised agent can use its full budget quickly; budgets bound but do not prevent misuse. Counter manipulation is prevented only if counters live in the protected enforcement point. Cycle detection depends on stable identities. Confused-deputy attacks where an agent is tricked into delegating are limited by parameter binding and plan envelopes described in the framework document. Error messages should not reveal remaining budget to untrusted parties.¶
This Internet-Draft is submitted as an individual contribution. It is not an IETF standard, has no working group status and does not represent IETF consensus.¶
Intellectual property: the author is aware of the pending patent applications listed in the section "Related Patent Applications and Public Disclosures". If this draft is submitted to the IETF, the author will make the disclosure required by BCP 79 before or with submission.¶
Origin and AI assistance. The underlying invention is human-originated and is described in the PCT application named above. AI-assisted tools were used to prepare this document (summaries, mapping to existing technology and threat scenarios). It may contain errors. Readers must cross-check it against the original publicly available PCT filing and against the original sources linked in the references before drawing any conclusion.¶
Industry names. Company, product and standards names appear only to identify existing technology and the technical problems it addresses. Their appearance is not an endorsement, validation, adoption, partnership or infringement statement, and nothing here presumes patent validity, licensing obligations or technical superiority.¶
This document has no IANA actions.¶
This section lists plain, industry-standard search terms. It is an aid to prior-art searching and is not a claim construction or a statement about scope.¶
delegation depth limit; fan-out limit; agent delegation chain; multi-agent security; token exchange act claim; attenuating tokens; macaroons; Biscuit token; UCAN; confused deputy; cycle detection; SPIFFE; WIMSE; MCP authorization; A2A protocol; cascade budget; atomic counter; rate limiting; runaway agent containment; machine-to-machine authorization.¶
Indicative only; not an official classification of the application. H04L 9/32 (authentication); H04L 63/10 (access control); H04L 63/08 (authentication of entities); H04L 47/20 (traffic policing); H04W 4/70 (machine-to-machine services); G06F 21/62 (access protection).¶
The following references identify the existing specifications and drafts against which this document should be read: [AGENT-DELEGATION-CHAIN], [AI-AGENT-AUTH], [OAUTH-DELEGATION-CHAIN], [RFC8693], [SPT-TXN].¶