AI engineering / 2026

Before your AI agent gets production access

A useful pilot can become a production risk in one tool call. Here is how to give an agent a clear identity, a limited job and a way to stop.

8 min readMOCHIKABU Insights

Consider a support agent investigating a failed overnight batch. It reads a ticket, finds a runbook and proposes a sensible fix. Then someone connects a deployment tool. The same conversation can now change a live system.

That transition deserves more attention than the demo usually gives it. The team has changed the agent’s authority. A good answer and a permitted action are separate decisions, and the application needs a reliable way to make both.

For a bank, an insurer or any business running critical services, the useful question is specific: what can this agent do, on whose behalf, to which resource, and under which conditions? Start there before adding another connector.

Why this is a November engineering decision

On 29 September 2026, NIST’s NCCoE published feedback on software and AI agent identity and authorization, identifying DevSecOps as its first implementation use case. That is a research and implementation effort, not a new compliance deadline. Read the NCCoE update.

OWASP’s September announcements also brought agent controls and runtime enforcement into focus. Together, these are useful signals for teams moving beyond chat interfaces. Neither initiative makes a particular product safe by default. See OWASP’s announcement.

The engineering work is already familiar: define an owner, constrain access, test failure and retain evidence. The unusual part is the caller. Its next request may depend on a document, a tool response or a fragment of text that nobody in your organization wrote.

A document can explain a task. It cannot grant permission.

Return to that support ticket. An attachment contains a paragraph asking the reader to export diagnostic records to an external address. A person might recognize the request as irrelevant. An agent may incorporate it into a plan, especially if the attachment resembles an internal procedure. This is an illustrative scenario, not a reported client incident.

The boundary should hold even when the model follows that instruction. Put a separate authorization check between the proposed tool call and the system that carries it out. Check the resource, operation, destination and acting identity. A permitted search does not authorize a later export.

Give the worker a task-specific identity with an accountable owner. Keep credentials out of retrieved text and model-visible prompts. Avoid a shared service account whose privileges reflect everything the team might ever need. If the job is diagnosing one batch, access to every deployment in the estate is hard to justify.

01 / Engineering model · illustrative

Keep the decision to act outside the model

Follow a proposed tool call through an independent control boundary.

01Retrieved contentTickets, documents and tool output
02Agent proposalA concrete operation with arguments
03AuthorizationIdentity, scope, resource and approval
04Tool executionAllowed action and recorded outcome
Untrusted content enters on the left. Only an independently permitted operation crosses into execution. The diagram is a recommended design, not a claim about a deployed MOCHIKABU system.

Write down the permission budget

A short table often reveals more than an architecture deck. List the tools the agent can call, the records it can read, the actions it can propose and the actions it can execute. Include data movement: a read operation can still disclose sensitive information to the wrong recipient.

For the batch example, the starting profile might allow selected runbooks and redacted incident records. A second profile could let the agent prepare a pull request. Production deployment stays behind a separate release decision. These profiles describe one possible design; they are not universal defaults.

OWASP’s MCP guidance discusses narrow credentials and the risk of a service acting with broader privileges than its caller. The same review is useful whether your tools use MCP or a custom API. A standard connector does not settle the authorization question. Read the MCP security guidance.

Ask a less comfortable question during review: if this agent produces a completely wrong plan, which operations can the surrounding software still prevent? The answer should refer to enforced rules, not the wording of its system prompt.

02 / Engineering model · illustrative

Compare three access profiles

Select a profile to see how an example support workflow’s permissions change.

OperationExample permission
Read approved runbooks✓ Scoped access
Summarize a redacted ticket✓ Scoped access
Create a change request— Blocked
Deploy to production— Blocked
Send an external message— Blocked

Investigation profile: selected information only. No writes or external messages.

Illustrative access profiles, not risk ratings or a compliance checklist. “Read” still requires data-access and disclosure checks.

Make approval refer to the actual change

A button labelled “Approve plan” leaves too much room for interpretation. Show the reviewer the target environment, exact change, affected resource, external destination if any, and the result expected. A deployment approval should identify the artifact being deployed. An email approval should identify the recipients and message.

Bind that decision to the reviewed arguments. If the agent changes the destination or the artifact afterward, ask for a new decision. Give approvals an appropriate lifetime and prevent reuse for unrelated work. A human click is meaningful only if the execution layer honors its limits.

Retries need the same care. When a tool times out, the worker may not know whether the action happened. Before retrying a write, check its recorded outcome or use an operation identifier that the receiving system can deduplicate. Otherwise, an attempt to recover from a network error can create a second business error.

Test what happens when you withdraw access

A stop button is easy to draw on a slide. Test it while a workflow is active. Can an operator stop new tool calls, revoke the relevant credentials and identify actions already accepted downstream? Revocation does not undo a completed action, so recovery needs its own procedure.

Run a few deliberately awkward cases: a runbook with an embedded instruction, a changed tool definition, an unavailable policy service, an approval that has expired and a timeout after a write. Decide which cases must stop the workflow and which can fall back to a draft for human review. Test downstream effects as well as the agent’s final message.

Keep the evidence useful and proportionate. Capture the task identifier, effective identity, requested operation, policy decision, approval reference and outcome. Use access controls, retention limits and redaction for sensitive material. A transcript containing customer data should not quietly become a new general-purpose knowledge base.

03 / Engineering model · illustrative

Expand access when the evidence is ready

Suggested review gates, rather than a timetable or mandatory maturity standard.

01Observe

Compare proposed actions with real operator decisions.

02Draft

Review the exact artifact or message before release.

03Bound the action

Test approval expiry, duplicate writes and access withdrawal.

04Review the evidence

Expand one permission at a time; keep a route back.

Advancement requires an explicit owner decision. A successful demonstration alone is not the gate.

What to put on Monday’s agenda

Choose one workflow, one owner and a small set of permitted operations. Write the access profile together with the team responsible for the target system. Walk through one successful case and one hostile input before discussing a broader rollout.

Measure whether the workflow finishes useful tasks, how often reviewers correct it, how long an operator needs to stop it and whether an investigator can reconstruct an action. A high completion rate means little if nobody can explain a production write. Avoid combining these different questions into one impressive-looking score.

There is plenty of room for useful automation inside a modest boundary. An agent that prepares a clear incident summary and a reviewable change can save real work. Extend its reach when the operating evidence supports that decision, with the people who own the consequences in the room.

Sources and editorial note

Researched on 1 November 2026 for publication on Monday, 2 November 2026. The models and workflow examples are our engineering recommendations, not statistical findings, legal requirements or descriptions of a client implementation.

  1. NIST NCCoE · 29 September 2026
  2. OWASP GenAI Security Project · September 2026
  3. OWASP · MCP Security Cheat Sheet
← Back to insights