Control Before Trust: Putting Agents Into Production

Most agent projects stall at the risk committee, not on accuracy. Six risks and the controls to demand from any vendor, how a write reaches production in CloudThinker, the Vietnam data rules in force since 2026, and a 90-day path from read-only to running on its own.

PerspectiveUpdated Nov 2, 2026

Cover Image for Control Before Trust: Putting Agents Into Production

Control Before Trust: Putting Agents Into Production

The pilot goes well. The agent finds root causes your team agrees with, faster than your team finds them. Then the proposal reaches the risk committee, and the first question isn't about accuracy. It's this: if the agent does something wrong at 3 a.m., can we see it, limit it and stop it?

If the answer is a pause, the project stalls there. In my experience, that's where most agent projects stop, long before accuracy becomes the issue. Before an agent can earn trust in production, the controls around it have to exist, and you should be able to demonstrate each one, not describe it.

This part of the Agentic IT Operational Excellence series is written for that committee.

Why agent projects stall at the pilot

When agentic AI projects get canceled, it's usually for one of three reasons: escalating costs, unclear business value or inadequate risk controls.

None of the three is about whether the model can reason. Cost and value get their own part, the economics of operational excellence. This part takes risk controls, because they come first: until the risk is under control, nobody will give an agent enough access to create any value.

The control gap, in numbers

Security surveys show how wide the gap is today.

01Inventory

82%

found AI agents in their environment they had not known about, in the past year.

02Scope

53%

have had AI agents go beyond the permissions they were meant to have.

03Identity

68%

cannot clearly tell an agent’s actions apart from a person’s.

04Retirement

21%

have a formal process to decommission an agent.

The control gap, in four numbers. Cloud Security Alliance surveys, March and April 2026, each commissioned by a security vendor. Sources at the end.

In April 2026 the Cloud Security Alliance reported that 82% of enterprises had found unknown AI agents in their environment in the past year, and only 21% had a formal process to decommission one.[1] In a second study, 53% said agents had gone beyond their intended permissions.[2] A third found more than two thirds couldn't clearly tell an agent's actions from a person's.[3]

Each number is a missing control: an inventory of agents, a limit on what they can touch, an identity that separates them from people, and a way to retire them. An agent you can't trace, scope and stop won't get past a risk committee, however accurate it is. The organizations that succeed design the controls before they grant the first access.

Six risks, six controls

This is the table I'd use to evaluate any vendor, including us. Ask for the third column as a live demonstration.

RiskControl to ask forAsk to see
Acting beyond its authorityLeast privilege. The agent reaches only what its credential allowsThe role behind each connection, and who can widen it
Prompt injection in a log line or ticketCommands run in isolation, and every write is checked before it runsA write that was blocked, and the record of why
Sensitive data sent to a modelSecrets and personal data masked before the model sees themA tool output with placeholders in it
No traceable accountabilityA clear identity for each agent, and a log from evidence to outcomeOne action traced from request to approval to result
No way to stop itA stop that a named person can use at any timeSomeone stopping a live run
Cost out of controlBudgets and caps, and cost checked against valueLast month's spend per workflow

If a vendor can only describe a row, treat it as missing.

Every write passes the same checkpoints

The controls in that table come together in one architectural rule: the model never holds a credential, and no write to a connected system skips a checkpoint. Here's how an action reaches your systems in CloudThinker.

01Model

Sees placeholders

Secrets and personal data in tool output are masked before the model reads them.

02Approvals

Every write checked

Reads run. Each write is checked before it runs, and waits for a person when it should.

03Sandbox

Credential at run time

The credential is injected only when the command runs, and never shown in chat.

04Your systems

Credential is the ceiling

A read-only role stays read-only, whatever anyone approves.

How an agent's action reaches production in CloudThinker. The agent can be fooled into asking. It can't skip a step.

Commands run in CloudThinker's Sandbox. Connection credentials are encrypted at rest and injected there only when a command runs. For AWS, CloudThinker assumes an IAM role you create, locked to an External ID, and gets short-lived STS credentials. Every write goes through Auto Mode, so you decide what runs on its own and what waits for approval. On Scale plans and above, Audit Logs record user, agent and system actions, and nobody can edit or delete an entry.

That's what limits the damage of an instruction hidden in a log line. The agent can be fooled into asking. The checkpoints decide whether the write runs, and the credential's own permissions set the ceiling.

Each piece has its own deep dive:

Four data questions to ask any vendor

Before a pilot starts, get clear answers to four questions:

  1. Where is the data stored and processed?
  2. Is it used to train a shared model?
  3. Which models can access it, and can we choose?
  4. What happens to our data, logs and learned context if we stop using the product?

The fourth is the easiest to forget. Company memory is the point of this whole approach, so know its exit terms before it holds anything valuable.

For regulated companies in Vietnam

In Vietnam, those questions connect directly to legal obligations. This is the context I'd brief a risk committee on. It isn't legal advice, so confirm the specifics with your own counsel.

  • Personal data. Vietnam's Personal Data Protection Law (Law 91/2025/QH15) and Decree 356/2025/ND-CP have been in force since January 1, 2026. Decree 356 replaced Decree 13/2023/ND-CP, so plans written against Decree 13 need a fresh look, including the assessments for processing and for transfers abroad.[4]
  • Credit institutions. Circular 09/2020/TT-NHNN on information system security in banking sets requirements for access control, monitoring and access logging.
  • Data location. Some types of business must store data in Vietnam under Decree 53/2022/ND-CP, which details the Law on Cybersecurity.

In that setting, three conditions stop being nice to have:

  1. Sensitive data is masked before it reaches a model.
  2. There's an option to run inside your own infrastructure or in-country.
  3. The agent's logs are detailed enough to stand as evidence in an inspection.

If a vendor can't meet all three, the pilot shouldn't start. Better to know that in week one than in month three. Data sovereignty for agentic AI in BFSI covers the regional picture in depth.

Earn trust in 90 days

Controls make it safe to start. They don't make it sensible to hand over everything on day one.

01Days 1 to 30

Read-only, in parallel

The agent investigates alongside the team. Compare its verdicts with your postmortems.

02Days 31 to 60

Propose, with approval

The agent leads triage and proposes fixes. Every change waits for an engineer.

03Day 61 on

Proven writes run alone

Low-risk writes with a clean record run on their own. Everything else still waits.

A 90-day plan. A kind of write moves up after repeated clean approvals and moves back down the moment it goes wrong.

Days 1 to 30: read-only, in parallel. Connect with read-only credentials. The agent investigates alongside the team, and you compare its conclusions with your postmortems. Start with the team that has the most repeat incidents, because that's where you'll get the most comparisons fastest.

Days 31 to 60: propose, with approval. Widen access only for the writes you want to test. The agent leads triage and proposes fixes, and every change waits for an engineer. You're now measuring two things: how often the proposal was right, and how often the engineer had to edit it before approving.

Day 61 on: proven writes run alone. Low-risk writes with a clean record can run on their own. Everything else still waits.

Two rules keep this honest. A kind of write moves up only after it's been approved many times without edits. And it moves back down the moment it goes wrong. That way, trust rests on evidence your own team collected, not on a vendor's promise. Ours included.

Where to start

  1. Bring security and compliance in during week one. Give them the six-risk table as the evaluation framework, not a slide at the end of the pilot.
  2. Settle the data questions first. Answer the four questions, and the Vietnam requirements if they apply, before anyone grants access.
  3. Run the 90 days on one team. Keep the logs. They're your answer the next time the committee asks.

A good first check is the ceiling itself:

"Look at the IAM role behind our production AWS connection and list every write action it allows, grouped by service."

See how Auto Mode decides what runs.

Sources

  1. Cloud Security Alliance, Autonomous but Not Controlled: AI Agent Incidents Now Common in Enterprises, April 21, 2026, commissioned by Token Security. cloudsecurityalliance.org
  2. Cloud Security Alliance, AI agent security study, April 16, 2026, commissioned by Zenity. cloudsecurityalliance.org
  3. Cloud Security Alliance, "More than two thirds of organizations cannot clearly distinguish AI agent from human actions," March 24, 2026, commissioned by Aembit. cloudsecurityalliance.org
  4. LuatVietnam, "New features of Decree 356/2025 compared with Decree 13/2023 on personal data protection." luatvietnam.vn

Vendor-commissioned surveys are paid for by companies that sell solutions in this space. Read them alongside independent sources. The payments incident that runs through this series is a composite.

About the author

ST

Steve Tran

Founder & CTO, CloudThinker

Steve Tran is the founder and CTO of CloudThinker, which builds Frontier Investigation Agents for production cloud operations. He writes about incident investigation, cloud cost, and the practices teams use to safely run autonomous AI agents against production AWS, GCP, and Azure environments.

securitygovernancecomplianceagentsriskvietnam