TL;DR
- A service identity tells the next service who called, not who asked.
- A transaction token carries purpose, requester and the acting party.
- Secure Production Identity Framework for Everyone (SPIFFE) plans to help issue them at scale, but the work is still a proposal.
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.
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#
This post as Markdown · RSS · JSON feed
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