An employee asks a travel assistant to find a hotel near the London office and arrange the booking. The application can read the employee’s travel profile, search for hotels, and submit a reservation through the company’s booking provider. In a conventional implementation, code connects those capabilities in a defined sequence. It chooses which profile fields go to the provider and which information belongs in a public hotel search. The service may have broader credentials than that sequence needs, but the programmed workflow determines how it normally uses them.

Now let inference choose the next operation. The actor reads the profile, searches for suitable accommodation, and decides that sending the profile to a hotel website would help it obtain a more personalized recommendation. If it has both private-record access and an unrestricted web tool, each operation can succeed under the permissions we gave it. Nobody needed to steal a credential or bypass an access check. The actor connected two permitted capabilities in a way the business never intended.

That path was already possible in the distributed system. A bug or exploit could have exposed it before we introduced an agent. Inference makes it reachable through the ordinary decision loop, where requests and retrieved content influence which operation comes next. Agents use the same authority mechanisms as other distributed systems; what changes is the path through them. Boundaries previously maintained by the programmed workflow must become explicit limits on what the actor can do, so a different interpretation cannot quietly become a different grant of authority.

Make the available paths match the job

In the tool-call essay, we established that tools connect the actor to independently operating systems. Their individual permissions describe only part of the resulting capability. A read permission provides information; an outbound operation provides somewhere to send it. Once both are available within the same decision loop, we have to assess their combination. Checking each tool in isolation would tell us that our travel assistant is allowed to read a profile and allowed to fetch a website, without answering whether it should be able to put the profile into that request.

I would begin by giving the actor operations that express the work being delegated. Looking up the relevant travel profile, requesting hotel options, and submitting an approved reservation are specific responsibilities. A general HTTP client offers many more ways to perform those responsibilities, including destinations and payloads the business did not approve. A booking integration can fix the destination and select the fields that provider needs. The actor may choose a hotel and dates within the workflow, while the integration controls how that choice becomes an external request.

Public research can still be useful without sharing the booking actor’s access. A separate research component can look for hotels using a destination, dates, and other fields approved for disclosure. It receives neither the private profile nor booking credentials. That separation has to exist in the handoff: passing the whole conversation to a research subagent would carry the private information across with it. The application should construct the research request from permitted fields, with validation appropriate to those fields, rather than let a model place arbitrary private text in a supposedly harmless search query.

The travel actor can accidentally combine private-profile access with arbitrary web requests. A bounded design gives private data only to the booking actor, sends approved search fields to a separate public-research component, and uses a dedicated integration to send required booking fields to the approved provider.

The workload’s credentials and network access must support that separation. Removing an HTTP tool achieves little if a shell can make the same request, and separating two actors by name achieves little if both run with the same broad credentials and private context. Give each workload the destinations and records its responsibility requires, including the approved inference endpoint, and constrain other outbound routes. An approved destination also needs an appropriate payload: access to a booking provider does not make every field in the employee record necessary for a reservation. We are applying familiar isolation and least-privilege design to the paths inference can compose, rather than relying on it to keep choosing the path we demonstrated.

Carry authority through the chosen path

With those routes constrained, the booking actor still needs to establish whose work it is performing. The employee’s login lets the application identify the person who asked. When the actor calls the profile service, however, that service sees another workload making a request. A shared service credential can prove which application is calling without establishing which employee’s records this particular request may use. If that credential permits reading every profile, the application must enforce the employee boundary somewhere before returning data. Allowing inference to supply an employee identifier does not provide that enforcement.

We therefore need to keep the requester and the acting workload distinct. The profile service may need both to decide whether the call is allowed, and its audit should preserve the relationship. A name in the tool arguments is just a claim the model supplied. Verified identity has to come from the application’s authentication path, and the receiving service needs evidence it trusts. For an access token, that includes who issued it, whether it is valid, which service it is intended for, and what access it grants. The intended service is its audience; scopes describe permitted capabilities. A token accepted by the travel actor is not automatically a token the profile service should accept.

Token exchange gives us a familiar mechanism for carrying that delegation across services. The workload authenticates to an authorization server and requests a downstream credential under the configured delegation rules. Those rules establish whether it can act for this caller, toward this service, with this access. Application code obtains and attaches the resulting credential outside the model’s context. Inference proposes the operation’s business arguments; it does not select an administrator identity or expand the permitted scopes because the first attempt was refused.

An authenticated employee request reaches the travel actor. Its code obtains a downstream token through configured delegation, then sends the proposed booking with that credential. The booking service checks the verified caller, permitted operation, applicable record, and required approval before changing anything.

The receiving service authorizes the operation against its records. Permission to submit a reservation does not establish that this employee may book for another person, or that an above-limit hotel has the required approval. Those checks depend on business state as well as identity. The service should verify the traveler relationship and the approval associated with the proposed booking when it applies the change. If the hotel or amount changes, an earlier approval must not silently carry over to different work. A statement in the conversation that “my manager said it was fine” supplies something to investigate, not an approval record.

This is the separation demonstrated by intake in my AI on AWS playground. The agent exchanges the incoming token for authority to reach the case service, which records the acting workload and the caller it acted for. Recording information and approving it use different permissions. That distinction lets inference interpret the report without giving the intake path authority to approve its own work. The mechanism is ordinary service authorization; its importance grows when the caller can choose the next operation from natural-language content.

Keep the content from granting permission

The hotel website adds another source of instructions to the conversation. It might tell an automated assistant to upload the travel profile to a different site for verification. The actor was supposed to read the page as information about accommodation, but the text is now attempting to direct its behavior. This is prompt injection, and the underlying mistake is familiar: content supplied to an interpreter crosses into instructions executed with the application’s authority.

SQL injection crosses that boundary when an application incorporates untrusted input into a query. Parameterized queries separate the query structure from its values, so a customer’s name cannot become another database command. With a language model, both the task instructions and the document are language being interpreted. Marking a passage as untrusted helps communicate its role, but does not create the same enforced separation as binding a database parameter. The OWASP prompt-injection guidance therefore combines content defenses with restrictions on tools and privileges.

Our architectural response is already taking shape in the travel system. The public-research component never receives the private profile, so following that page’s instruction cannot make it upload data it does not possess. Its result remains untrusted when returned to the booking actor. If the instruction influences that actor too, the actor still has only the approved booking integration and its constrained outbound routes. The text may change what inference proposes, but it cannot create a new destination, supply a different identity, or satisfy the booking service’s approval check.

The same reasoning applies without a malicious page. An employee can misunderstand policy, and the model can infer permission that was never given. Required approval should therefore be a transition enforced by the workflow and booking service, even when the conversation makes proceeding sound reasonable. Where a person confirms an action, show the traveler, destination, dates, and amount being authorized, then bind that confirmation to the operation that will execute. An unconstrained “go ahead” followed by another planning turn leaves room for the proposed work to change. These controls limit the effects of a mistaken interpretation; checking the quality of interpretations within the permitted scope remains an evaluation responsibility.

Keep delayed work within the accepted authority

The employee may close the browser before the booking completes, or the provider may be unavailable until later. We already addressed retaining the operation across interruptions in the tool-call essay. Its authority needs an equally deliberate treatment. A worker resuming tomorrow cannot assume that the original access token is still valid, or that a conversation saying the employee approved travel is enough to authorize whatever the worker now chooses to do.

One possible contract is that execution continues to require valid user delegation. The worker obtains access through that grant and stops or requests renewed authorization when the grant is unavailable. This fits work that should remain dependent on the person’s access at execution time. Switching to a more privileged service credential when delegation fails would change the contract precisely when its control is supposed to take effect.

Other work becomes a business obligation once accepted. A booking service might accept an authorized reservation request and take responsibility for completing it, even after the employee signs out. Its worker then acts under a narrowly scoped service identity, retaining who requested the work and exactly what was accepted. That authority belongs to the service’s responsibility for accepted bookings. It does not mean the employee is still present, and it does not let the worker start a new trip because inference found a useful alternative.

Accepted work waits in a durable record with its requester, proposed booking, and approval. When execution resumes, the workflow either requires valid user delegation or uses scoped service authority to complete an accepted business obligation. An unavailable grant stops the first path; a material change to the booking requires a new decision on either path.

This distinction becomes especially important when the next model call can revise the plan. If the selected hotel is no longer available, proposing an alternative is different work from delivering the retained reservation. The actor can help find another option, but the replacement must pass whatever approval the new details require. Persist the accepted operation and its scope outside the conversation, then let code determine which continuations fit that acceptance. Queueing, retries, and agent delegation should preserve the authority attached to the work instead of becoming ways to acquire a broader one.

Use the platform to enforce the same design

Start with the identity provider the organization already uses to sign people in and grant access. If employees use Microsoft Entra ID, that tenant can remain the source of their identity whether the actor runs on Azure or AWS. The agent platform connects to that provider to validate incoming requests and obtain credentials for downstream calls. This is how we extend the existing identity infrastructure into the actor’s workflow.

For our travel actor on AWS, the employee signs in through Entra and the application sends an Entra-issued access token to AgentCore Runtime. We configure Runtime to trust that tenant’s issuer and accept tokens intended for the travel application. AWS documents Entra integration for both incoming authentication and outgoing access. When the actor needs a protected business API, AgentCore Identity’s on-behalf-of exchange requests the downstream token from Entra through the configured credential provider. Entra supplies the identity and delegated grant; AgentCore Identity handles obtaining the credential for the call. An Azure-hosted implementation can use Entra’s on-behalf-of flow with the same tenant and its configured API permissions.

Cognito can occupy that provider role too, including when it already brokers sign-in from an enterprise directory. With Cognito federation, the employee authenticates through the upstream provider, such as Entra over SAML or OIDC, and Cognito issues the tokens the application uses. AgentCore is configured to trust those Cognito tokens. For downstream delegation, AgentCore Identity can perform token exchange with Cognito, which acts as the authorization server issuing the scoped token. A team already using that arrangement can extend it; a team using Entra directly does not need to insert Cognito just to host an actor on AWS.

The workload’s own access fits alongside this user path. An Azure-hosted worker can use managed identity, while a Google Cloud workload can use its established workload identity or service account. These provide the service authority described in the accepted-work example. The platform team configures the actor’s delegated user access and its own service access according to the responsibilities it has been given.

As more actors share tools, common enforcement can help keep their access rules consistent. AgentCore Policy with Gateway, for example, can check a proposed tool call before forwarding it. That gives a platform team a shared place to enforce which actors may invoke booking operations and under what input conditions, so adding another actor does not require another copy of those rules.

Follow the alternative routes before declaring that boundary complete. AgentCore’s VPC connectivity provides controls around the runtime’s network reachability; equivalent placement and outbound controls belong in an Azure or Google Cloud deployment too. Configure them around the specific services the actor needs, so a gateway check cannot be bypassed through a general web tool or direct database connection.

Decide what the business is allowing to be composed

A demonstration with one employee, one profile, and a successful booking shows that the integrations work. It does not establish that the actor’s available paths match the responsibility the business meant to delegate. Before broadening access, bring the owners of the information and the downstream services into that decision. Review which information can reach which destinations, whose identity each operation uses, and what happens when the work changes or continues after the requester leaves. These questions describe the capability being introduced, including combinations that a happy-path demonstration never exercises.

I would begin with a bounded responsibility such as researching options and submitting a reservation for approval, then expand it where the business is prepared to delegate more. Each expansion should change explicit permissions and workflow rules, with an owner responsible for those changes. A better model may justify allowing more independent decisions, but connecting another tool also creates new paths through existing capabilities. Review those paths as part of the integration, including what leaves through responses and traces. An audit should establish who requested the work, which workload performed it, and why the operation was permitted, so the business can account for the delegation it made.

The travel assistant can interpret a loosely worded request, find useful information, and help arrange the trip. The architecture gives those interpretations a defined set of effects: approved data can reach approved destinations, delegated access remains attached to its caller, and accepted work retains its scope across time. Those are familiar distributed systems controls, made explicit where inference now chooses the path. With that design in place, the next responsibility is to observe which path the work actually took, where it stopped, and what happened along the way.