What happened
Tokenetes architecture utilizes RFC 8693 token exchange protocol through PingFederate to mint a Txn-Token. This implementation assigns the role of validating the exchange to PingFederate itself.
The process involves sending a request containing a subject token, an actor token, and requesting a txn_token. The subject token—the user's OAuth access token—identifies who authorized the external invocation. Crucially, it’s not forwarded to downstream services or the MCP gateway, preserving security. Simultaneously, the SPIRE actor token is a JWT-SVID issued by SPIRE, providing agent-specific evidence of the workload requesting the exchange. This eliminates ambiguity about which instance is performing the operation.
Why it matters
This design addresses a critical challenge in deploying AI agents: accurately verifying their identity and scope within complex environments like MCP gateways.
By explicitly linking an agent workload to its runtime through SPIFFE, Tokenetes provides significantly tighter control over invocation authorization compared to relying solely on traditional user authentication. The use of JWT-SVIDs also allows for granular attestation—proving the agent's trustworthiness without exposing sensitive user information.
But, but, but…
Despite the sophistication, there are inherent challenges with this architecture. The reliance on PingFederate as the central token exchange point introduces a potential single point of failure.
Furthermore, the complexity of SPIFFE and JWT-SVID management could pose operational overhead for developers. The system’s true value hinges on well-defined policies governing agent lifecycle management and revocation procedures—a common area where organizations struggle to maintain robust security controls. The architecture also assumes a mature SPIFFE infrastructure – a setup that is still not commonplace.
“the subject token answers who authorized the external invocation. the spire actor token is an agent-specific extension that proves which attested workload is requesting the exchange.”
— Dr Non
The counter-take
The prevailing model relies on relying primarily on usernames & passwords to authenticate users, often neglecting the critical need for granular control over who can invoke AI agents. Tokenetes challenges this assumption by emphasizing a more sophisticated, workload-centric approach to authorization.
The AI angle
This approach represents an upgrade in securing AI agent deployments by adding an asymmetric layer of verification based on workload identity—addressing the asymmetry between user authentication and workload attestation.
