iamops.dev Search
Argo on X RSS feed
ENEnglish

Knowledge Explainer · 6 min Beginners

Readers new to identity who want to understand why one service call is not enough to know who asked for an action.

Transaction tokens: keeping the original user in an AI agent's call chain

Transaction tokens carry the purpose and original requester through a chain of service calls. SPIFFE plans to help issue them. A plain explainer.

Sequence diagram: a user asks an agent to pay an invoice. A plain token hides who asked, a transaction token keeps it.
TL;DRA service identity tells the next service who called, not who asked.

An AI agent rarely makes one call. It calls a planning service, which calls a payments service, which calls a ledger. Each service can check that the caller is who it says it is. None of them can easily tell which user request started the chain, or whether the amount was changed on the way.

The problem: a chain of calls with no memory#

Picture a user who asks an agent to pay invoice 1042. The agent calls the payments API with its own token. The payments API checks the agent’s identity and accepts the call. The log says “the agent paid”, which is true but not enough. It does not show who asked, what they asked for, or whether the agent was told to pay this invoice or drifted to another one.

The sequence below shows the gap and the fix.

Sequence diagram: a user asks an agent to pay an invoice, the agent calls payments with a plain token, which hides the requester, then calls again with a transaction token that keeps the requester.
Same call, two tokens. A plain token proves the agent. A transaction token also proves what was asked and for whom.

Service identity answers “which workload is this”. It does not answer “on whose behalf, and for which request”. Across a dozen services, that gap grows.

What a transaction token carries#

A transaction token is a short-lived, signed JWT, described in an IETF draft, that travels with a request through the chain. The SPIFFE roadmap summarizes what it holds. It carries:

  • the purpose of the request,
  • who made it originally,
  • on whose behalf the current workload is acting,
  • and enough context to see whether the transferred amount or the target account changed in flight.

Because it is short-lived, a stolen copy is worth little for long. Because it is signed, each service can check it without calling back to the issuer. If you have read the access, refresh and ID token explainer, think of the transaction token as a different kind of token that answers a different question: not who you are, but why this call is happening.

It is not the same as token exchange, which swaps one OAuth token for another with narrower rights. Exchange narrows access. A transaction token records the chain.

Where SPIFFE fits#

The SPIFFE project’s roadmap, published on 18 August 2026, says the group wants SPIFFE to secure these chains end to end. Its reasoning is that issuing transaction tokens at scale comes down to two things SPIFFE already does: authenticating the requester and distributing signing keys across a trust domain. The roadmap names AI agents as one reason the change is needed, because non-deterministic workloads now enter these call chains.

Be clear about status. The roadmap says an experimental profile will be proposed later. It is a plan, not a shipped feature. The same roadmap also plans a remote Workload API for managed platforms, such as serverless functions, managed Kubernetes nodes and managed agent platforms, where no agent can run.

What to check before you rely on it#

  • Ask whether your agent platform passes any request context between services, or only a bearer token. Most do the second today.
  • Keep any user-linked token short-lived, and do not pass the user’s own token to every downstream service.
  • Watch the draft status. Pin the version you test, and treat field names as unstable until the specification is final.
  • Start with one flow you can explain on a whiteboard: a user, an agent, and one payment. If the log cannot show the user, the chain is not yet auditable.

For the wider picture of how agents get cross-app access, read the ID-JAG explainer. For the policy side, which decides whether the call is allowed at all, see the authorization models explainer.

Sources#

Discuss this on X or LinkedIn

Follow on X

New posts by email

One email a week with new posts and labs. Unsubscribe anytime.

Your address is stored with Kit, which sends the emails. Details

Related research and labs

Type to search every page. Use the arrow keys to move through the results.

    Open the full search page