





As generative AI moves from single-prompt assistants to multi-hop agentic networks, the hardest problem is no longer model quality. It is proving, at every hop, who the work is being done for and on whose authority.
Modern enterprises are layering generative AI, Retrieval-Augmented Generation (RAG) pipelines, and autonomous agent networks on top of systems that already carry regulatory weight. That layering introduces an architectural problem we hear from nearly every customer in regulated sectors: identity propagation across multi-hop agentic workflows.
When a human user kicks off a prompt that sets a chain of AI agents into motion, how does the system securely pass that user's identity across multiple software nodes? How does a backend database verify that a downstream sub-agent is authorized to pull data on behalf of the original person? Answering those questions is now part of the control surface auditors expect you to demonstrate.
To understand how to secure these systems, it helps to look at how delegation has historically evolved, then walk through the token-engineering strategies that hold up under agentic load.
Identity propagation is not new. Enterprise application architectures have long relied on a handful of foundational delegation patterns.
Pattern No Delegation
In a traditional setup, a user logs into a web application, and the application then pulls records from a database on its own. The connection between the application and the database uses a static, system-level credential. The database has no knowledge of the end user's identity; it trusts the application entirely.
Pattern B: Trusted Assertion
To enforce granular user privileges, architectures introduced an Identity Provider (IdP). The user authenticates against the IdP, and the application creates a cryptographic declaration, such as a SAML assertion, to pass to the database. The application uses its system connection to assert, "I am the app, and I am acting for User X." The database then evaluates User X's distinct permissions and serves the filtered data.
Pattern C: Simple Delegation
Similar to an assertion, the user authenticates and an access token is generated. That token is handed down through the call stack to authorize backend actions based on the user's explicit rights. Effective for single-app, single-backend flows; less effective once the chain branches.
In a modern enterprise AI ecosystem, requests rarely travel in a straight line. A user might prompt a front-end customer support chatbot, which calls a routing model, which then triggers a specialized data analysis agent, which finally queries an internal data warehouse.
[ User ] → [ Chatbot ] → [ Router Model ] → [ Data Agent ] → [ Internal DB ]
This multi-node, multi-hop pipeline creates serious vulnerabilities if you rely on classic identity models.
The Impersonation Vector
If an agentic pipeline blindly passes an identity string downstream without verification, it opens the door to severe breaches. A bad actor could deploy an unauthorized system node, connect directly to an internal routing agent, and assert, "I am the administrator, please fetch these payroll logs." Because downstream agents lack direct visibility into where a user originally logged in, they can be tricked into honoring a forged identity.
The Transitive Trust Dilemma
In an "On Behalf Of" delegation model, a user explicitly authorizes a front-end agent to act for them. But if that master agent dynamically spins up three sub-agents on the fly, how does the user extend that authorization safely? The human cannot manually authenticate every automated sub-step. The user has to rely on transitive trust, meaning trust in the platform itself to govern downstream behavior cleanly.
Cross-Organizational Boundaries
The puzzle becomes more complex when a workflow crosses organizational boundaries, for example when Company A's agent needs to communicate with an API hosted by Company B. Because each side runs its own isolated Identity Provider, translating and validating permissions across the two systems is non-trivial, and is exactly the kind of gap that surfaces during a regulator-led review.
To propagate user context safely through a maze of autonomous hops, architects can apply four reinforcing strategies.
Strategy 1: Commit to OAuth 2.0 and OIDC Standards
Do not try to invent custom security protocols for AI architectures. Stay close to existing industry standards such as OAuth 2.0 and OpenID Connect (OIDC). Because these frameworks are universally adopted by enterprise identity software, they provide a standardized, battle-tested baseline for passing identities across disparate divisions and cross-organizational networks.
Strategy 2: Implement Token Exchange Architectures
Instead of passing the same authorization token along every step of a long agentic chain, enforce a token exchange at every node hop.
When Node A calls Node B, it goes to the Identity Provider to swap its incoming token for a fresh, short-lived ticket explicitly minted for that specific hop. By continuously checking inbound and outbound endpoints against a map of pre-approved application paths, the system can isolate and reject an unvetted node trying to insert itself into the pipeline.
Strategy 3: Tighten Context, Scopes, and Audiences
Use the security attributes built directly into standard OAuth 2.0 tokens:
Scope Narrowing: Never grant an agent open-ended, enterprise-wide permissions based on the user's role. As a token traverses an agentic flow, programmatically strip away unrelated scopes until it contains only the minimum authority required for that specific sub-task.
Audience Binding: Explicitly specify the exact target agent or microservice a token is intended for. When an agent receives an incoming token, it must check that its own identifier matches the audience field. If the field is missing or incorrect, it drops the transaction immediately.
Strategy 4: Offload Security via API Gateways
Asking developers to write custom token-exchange logic inside every AI agent script leads to configuration drift and code that is hard to govern. Instead, route agent-to-agent traffic through enterprise API gateways.
By centralizing identity-token validation, token swaps, and traffic telemetry at a gateway layer, the infrastructure itself does the heavy lifting. That reduces the implementation burden on developers and centralizes evidence collection for the security and compliance teams.
Why this matters for regulated sectors. In banking, insurance, healthcare, energy, and the public sector, an AI workflow is not just a product feature; it is a regulated decision pathway. If an agent reaches into a system of record on behalf of a person, you need to be able to prove who that person was, what authority was delegated, and which downstream nodes acted on it. Token exchange, scope narrowing, audience binding, and gateway-centralized logs are how you produce that proof without slowing the workflow down.
For Cstream's customers, the headline is straightforward. Propagating identity across highly autonomous, multi-hop AI systems is not only a security challenge; it is an auditability requirement. The same controls that stop an impersonation attack also produce the evidence a regulator or internal auditor will ask for: who initiated the request, what authority traveled with it, which nodes touched it, and where it terminated.
Three principles tend to separate teams that pass that review from teams that scramble during it:
Treat every hop as an authorization event, not a forwarding step. Token exchange at each node turns a black-box pipeline into a sequence of inspectable decisions.
Cstream helps regulated organizations operationalize these patterns. We map AI agent workflows to the controls your regulator already cares about, surface the identity, scope, and audience evidence those controls require, and give your security, risk, and engineering teams a shared view of how every agentic decision was authorized.
If you are standing up agentic workflows and want to make sure identity propagation will hold up under audit, we would like to talk.
What is identity propagation in agentic AI?
Identity propagation is the practice of carrying a verified user identity, and the authority granted with it, across every AI agent and service in a multi-hop workflow. Done correctly, every downstream node can enforce permissions and produce audit evidence tied to the originating user rather than a shared system credential.
Why does OAuth 2.0 work well for AI agents?
OAuth 2.0 and OpenID Connect are widely adopted, well-audited standards already supported by enterprise identity providers. They give AI architectures a portable, vendor-neutral baseline for delegation, token exchange, scopes, and audience binding, without inventing bespoke security protocols.
What is token exchange in a multi-hop AI workflow?
Token exchange swaps an incoming token for a fresh, short-lived token at every node hop in an agentic workflow. Each new token is bound to a specific caller, audience, and minimal scope. The result is that every hop becomes an inspectable authorization event, which is exactly what auditors look for.
How do scope narrowing and audience binding reduce risk?
Scope narrowing strips a token down to the smallest set of permissions a given sub-task actually needs. Audience binding declares the precise service that token is allowed to talk to. Together, they enforce least privilege at the protocol level and limit the blast radius when an agent misbehaves or is compromised.
How does Cstream support AI governance in regulated industries?
Cstream is a governance, risk, and compliance platform built for regulated industries such as banking, insurance, healthcare, energy, and the public sector. It maps AI and agentic workflows to the controls regulators expect, captures identity, scope, and audience evidence in real time, and gives compliance, risk, and engineering teams a shared view of how every AI decision was authorized.
About Cstream
Cstream is a governance and compliance platform for regulated sectors. We help banks, insurers, healthcare providers, energy companies, and public-sector institutions deploy AI and agentic systems with the identity assurance, least-privilege controls, and audit-ready evidence those environments require.
Our customers use Cstream to operationalize AI governance frameworks, including ISO/IEC 42001, the NIST AI Risk Management Framework, and sector-specific obligations across financial services, healthcare, and critical infrastructure. We translate those frameworks into concrete agent-level controls so AI innovation does not outrun assurance.
