# 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.

- URL: https://iamops.dev/transaction-tokens-agent-call-chains/
- Language: en
- Author: Argo
- Published: 2026-11-26
- Category: Knowledge
- Depth: Explainer
- Audience: Security leaders and architects
- Time: 6 min
- Topics: transaction tokens, SPIFFE, AI agents, delegation

## TL;DR

- A [service identity](https://iamops.dev/transaction-tokens-agent-call-chains/#the-problem-a-chain-of-calls-with-no-memory) tells the next service who called, not who asked.
- A transaction token [carries purpose, requester and the acting party](https://iamops.dev/transaction-tokens-agent-call-chains/#what-a-transaction-token-carries).
- Secure Production Identity Framework for Everyone (SPIFFE) plans [to help issue them at scale](https://iamops.dev/transaction-tokens-agent-call-chains/#where-spiffe-fits), but the work is still a proposal.

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

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 <abbr title="application programming interface">API</abbr> 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.](https://iamops.dev/img/transaction-tokens-agent-call-chains.svg)

*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 <abbr title="JSON Web Token">JWT</abbr>, described in an <abbr title="Internet Engineering Task Force">IETF</abbr> draft, that travels with a request through the chain. The <abbr title="Secure Production Identity Framework for Everyone">SPIFFE</abbr> 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 <abbr title="identifier">ID</abbr> token explainer](https://iamops.dev/access-refresh-id-tokens-explained/), 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](https://iamops.dev/oauth-token-exchange-delegation-impersonation/), which swaps one <abbr title="OAuth 2.0">OAuth</abbr> 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 [<abbr title="Identity Assertion JWT Authorization Grant">ID-JAG</abbr> explainer](https://iamops.dev/id-jag-explained/). For the policy side, which decides whether the call is allowed at all, see the [authorization models explainer](https://iamops.dev/rbac-abac-rebac-explained/).

## Sources

- [SPIFFE standard roadmap, August 2026](https://spiffe.io/blog/2026-08-18-spiffe-standard-roadmap/)
- [IETF draft: OAuth transaction tokens](https://datatracker.ietf.org/doc/draft-ietf-oauth-transaction-tokens/11/)

Discuss: [X](https://x.com/iamopsdev) | [LinkedIn](https://www.linkedin.com/company/iamops-dev/)
