- Most DevOps services now put an AI agent somewhere in the work, and the first question is whose account the model runs in. If it runs in the partner's, none of your service control policies, logs or Region rules see what the agent reads from yours.
- An agent should assume its own IAM role with a source identity set, so CloudTrail can tell its actions from an engineer's. AWS says the value "cannot be changed during the role session" and that it persists through role chaining.
- On Amazon Bedrock, a global inference profile can send a prompt to "Any supported AWS commercial Region worldwide", and model invocation logging "is disabled by default". An agent in your own account can move prompts out of Mumbai with no record of what was asked.
- The RBI's FREE-AI committee report suggests outsourcing agreements carry "an obligation to disclose the use of AI by third-party vendors and their subcontractors". It is a recommendation, not a direction, and the cheapest clause you will add this year.
Ask a DevOps partner how they work today and somewhere in the answer is an agent. It reads your Terraform, summarises the incident channel, drafts the pull request, and sometimes runs the command. We should declare an interest straight away: DevLift builds AI agents that work inside customers' AWS accounts, so read this as what we think a buyer should ask us.
The questions buyers ask about DevOps services have not caught up. They ask who the engineers are, what the fee buys and which role the vendor gets. Almost nobody asks what the agent gets.
Our position: an agent in your account is fine, and often better than a tired engineer at 2am, provided it has its own role, its actions carry a name you can search for, and its prompts stay where your data has to stay. Most setups we review have none of the three.
Why do DevOps services now come with an agent nobody interviewed?
Because it is cheaper for the partner and often faster for you. Drafting a Terraform change or reading three days of logs, an agent does the first pass in minutes and an engineer reviews it. That is a real improvement.
The trouble is that the agent arrives inside an engagement scoped for people. The statement of work names engineers. The access model, which we went through in how an AWS managed service provider should get into your account, gives a role to the vendor. The agent borrows that role, or the engineer's terminal session, and from then on its reads and writes look exactly like a person's.
So start with one question: where does the model run? If it runs in the partner's account, or on a model provider's API under their contract, then everything the agent reads from yours leaves the moment it goes into a prompt. Log lines, state files, an error message with a customer ID in it. None of your controls watch it go. If the model runs in your account, on Bedrock, most of what follows is yours to set.
Which role is the agent actually using?
Ask to see it. In the accounts we review, the honest answer is usually "the same one as our engineers", because that was the role that already worked.
That fails twice. The agent inherits write permissions when nearly everything it does is read. And when production changes, CloudTrail shows the vendor role and a session name the vendor chose, nothing that says person or model.
Give the agent a role of its own, read-only by default, and route any write through the pipeline rather than the console. That is the pipeline from what the first month of DevOps consulting should deliver: a pull request, a reviewer who is not the author, the plan file that was approved. An agent that opens pull requests is easy to govern. An agent that runs terraform apply is a second on-call engineer nobody hired.
Can you tell the agent's changes from the engineer's?
Only if the role insists on it. IAM has a feature built for exactly this. Administrators "can configure roles to require identities to pass a custom string that identifies the person or application that is performing actions in AWS", and that string is stored as the source identity in CloudTrail.
Two properties make it evidence rather than a label. "The value that is set persists when a role is used to assume another role", so chaining roles does not wash it out, and "The value that is set cannot be changed during the role session." Every action the session takes carries it in userIdentity.
Setting it needs sts:SetSourceIdentity in the trust policy, and a condition on sts:SourceIdentity can require a value. Make the agent's start with agent- and make people use their own names. One CloudTrail query then separates the two, which is what an auditor will ask for.
Where does your prompt go when it leaves Mumbai?
On Bedrock, many models are called through an inference profile, and the profile decides where the work is done. With a geographic profile, Bedrock "automatically selects a commercial AWS Region within that geography to process your inference request". With a global one the answer is "Any supported AWS commercial Region worldwide", for "Approximately 10% savings".
AWS is plain about what moves. Your stored data stays where it is, but "Your input prompts and output results might move outside of your source Region during cross-Region inference", and "To the extent we store data for abuse detection, your input prompts and output results will be stored in the destination region." The comparison table puts the recommendation in five words: "Choose Geographic for compliance requirements".
For a payments company that is a localisation question, not a performance setting. A prompt carrying a transaction reference from an error log is payment data on the move. What the RBI expects of where that data sits is in the data localisation post; we will not tell you what your position is, only that a global profile is a choice somebody should make on purpose.
The control already exists. AWS documents an SCP that refuses global inference outright, and notes that "If any destination Region in a cross-Region inference profile is blocked in your SCPs, the request will fail even if other Regions remain allowed." A Region rule you already have may be doing this quietly. Check rather than assume.
Is anyone recording what the model was asked?
Probably not. "Model invocation logging is disabled by default."
CloudTrail does record the call. Bedrock logs InvokeModel and Converse as management events, and for a cross-Region call additionalEventData.inferenceRegion says where it was processed. That tells you an agent asked something, and where. Not what.
Invocation logging fills that gap, at a price: the log now holds whatever the agent put in its prompts, which can be the most sensitive text in the account. Destinations are CloudWatch Logs or S3, "Only destinations from the same account and Region are supported", and logs are kept "until the logging configuration is deleted". Decide who can read that bucket before you switch it on, and lock it down the way you lock down the CloudTrail one.
What does the RBI expect once an agent is in the change path?
Nothing written for agents yet, and the existing text covers them anyway. The 2026 NBFC directions ask at paragraph 112 that changes are "applied / implemented and reviewed in a secure and timely manner with necessary approvals", and at paragraph 114 that the NBFC "shall closely supervise personnel with elevated system access entitlements with all their system activities logged and periodically reviewed". An agent with a write role is elevated access. Whether it counts as personnel is for your counsel. The log is for you. The rest of that document is in what the 2026 directions change for an NBFC on AWS.
The RBI's FREE-AI committee report of August 2025 goes further, as recommendations rather than rules. Recommendation 16 asks for "human oversight, especially for medium and high-risk use cases and applications". An annexure on the outsourcing guidelines suggests "Specific clauses setting out an obligation to disclose the use of AI by third-party vendors and their subcontractors". That clause costs nothing to add to the outsourcing contract, and it is the quickest way to learn what your partner actually runs.
What can you run on Monday?
Three checks, in this order. First, whether anything records prompts in your main Region:
aws bedrock get-model-invocation-logging-configuration --region ap-south-1
If the response has no loggingConfig, nothing is recording what was asked. That may be the right call. Make it deliberately.
Second, where your recent Bedrock calls ran, and as whom, from CloudTrail event history:
aws cloudtrail lookup-events --region ap-south-1 \
--lookup-attributes AttributeKey=EventSource,AttributeValue=bedrock.amazonaws.com \
--max-results 50 --output json \
| jq -r '.Events[].CloudTrailEvent | fromjson
| [.eventTime, .eventName,
(.additionalEventData.inferenceRegion // "source Region"),
.userIdentity.arn] | @tsv'
Any Region in the third column outside India is a prompt that left. Any vendor role in the fourth without a source identity is an agent you cannot tell from a person.
Third, if global inference is not something you chose, refuse it at the organisation level:
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "DenyGlobalCrossRegionInference",
"Effect": "Deny",
"Action": "bedrock:*",
"Resource": "*",
"Condition": {
"StringEquals": { "aws:RequestedRegion": "unspecified" },
"ArnLike": {
"bedrock:InferenceProfileArn": "arn:aws:bedrock:*:*:inference-profile/global.*"
}
}
}]
}
Attach it to a sandbox OU first and call a global profile from there. If the call still succeeds, the policy is not where you think it is.
When is an agent with write access the honest answer?
When the alternative is a person doing the same thing at 3am with less context. An agent applying a pre-approved change from a runbook, such as renewing a certificate or scaling a node group, through the pipeline, under its own role, with a source identity, is easier to audit than an engineer doing it from a laptop. We would rather read that CloudTrail than the other one.
And if nothing in the account moves money or holds customer data, a sandbox or an internal tool, most of this is overhead. Spend the effort where paragraph 114 would land. We sell this work, so discount the enthusiasm accordingly.
The short version
Ask your DevOps partner three questions this week: where does the model run, which role does the agent assume, and what source identity does it set. If the answers are "our account", "the engineers' role" and a blank look, you have an agent with your engineers' access and none of their accountability.
Then run the first two commands. If prompts are leaving ap-south-1 through a global profile, find out whether anyone chose that. If nobody did, the SCP is sixteen lines and an afternoon in a sandbox.
At the next renewal, add the disclosure clause. The answer will tell you more about the partner than the agent will.
This is engineering guidance, not legal advice. Regulations and their annexures are amended over time; read the current text and take your compliance position from counsel.
We are a DevSecOps company in Kochi, working with fintech, crypto and AI teams across India, the UAE, the US and the UK. Infrastructure we build and run has secured over $3B in transaction volume at 99.9% uptime, for clients including BILLDESK and Coinshift and for teams backed by Y Combinator and Sequoia.
The work is built to survive an audit rather than to describe one: SOC 2 Type II, ISO 27001, PCI DSS and SLSA 3. Our VAPT team holds OSWE certification, has spoken at Defcon, BlackHat and OWASP, and has found critical CVEs in open source software.
We rank ourselves first in our guide to choosing a DevOps company for a fintech — and we say so on that page, in the second paragraph, rather than presenting it as a neutral list. Read the criteria there and hold us to them.
Find out what the agents in your account can reach
The free audit reads one production AWS account for the agent half of the access model: which roles vendors and their tools assume, whether any session carries a source identity, where your Bedrock calls were processed, and whether anything records what was asked. You get the list whether or not you work with us.
Book the free audit DevOps Consulting Services: What Should the First Month Deliver?