Production AI-agent control

What permissions and audit records does an enterprise AI agent need?

Treat an agent as an actor with bounded authority, not as a chatbot with API keys. Every tool action should resolve to a tenant, user or service identity, allowed operation, evidence record, and safe recovery path.

Authority tiersRead, recommend, draft, approve, execute
Least privilegeIdentity, tenant, object, and action scope
Action evidenceIntent, arguments, result, and recovery

Design the authority model before tools

A single “agent access” permission is too coarse for production.

Separate authority tiers

Define read, recommend, draft, approve, and execute independently; promotion to a higher tier requires explicit evidence and ownership.

Map real identities

Resolve the requesting user, tenant, service account, source session, and target-system identity; never rely only on a shared model credential.

Constrain every tool

Allow specific systems, objects, fields, actions, amounts, time windows, and environments; deny everything else by default.

Make every consequential action reconstructable

The audit record should explain what the system attempted and what actually happened.

Intent and evidence

Record the user request, applicable policy, retrieved evidence, model and prompt version, decision, and human confirmation where required.

Execution result

Record tool name, validated arguments, target identity, idempotency key, timestamp, response, resulting state, and verification readback.

Operating controls

Provide revoke and kill paths, separation of duties, exception queues, retries, compensating actions, alerting, incident review, and retention rules.

How to audit an agent action path

Inventory tools and actions

List every system the agent can reach and classify each operation by data sensitivity, reversibility, financial effect, and user consequence.

Map identities and policy

Connect users, tenants, roles, service accounts, approval thresholds, and target-system permissions to enforceable rules.

Test forbidden and failure cases

Attempt cross-tenant access, missing confirmation, duplicate execution, stale state, partial failure, timeout, revocation, and recovery.

Release authority gradually

Start with read or recommendation, measure exceptions, and promote only the actions whose evidence and recovery controls pass the agreed gates.

Frequently asked questions

Are application logs enough?

Usually not. Generic logs may omit the requesting identity, policy decision, validated arguments, confirmation, resulting state, and recovery evidence needed to reconstruct an action.

Can an agent use one service account?

Only if downstream authorisation still preserves tenant and user policy, action limits, and attribution. A shared credential must not erase who requested or approved the action.

Which actions require human approval?

At minimum, irreversible, external, regulated, high-value, or privilege-changing actions should use explicit confirmation unless a documented risk decision approves a narrower automated envelope.

Is this a complete security standard?

No. This provider-authored engineering checklist complements, but does not replace, the organisation’s security architecture, threat model, legal duties, and incident procedures.

Start with one concrete operating problem.

We will first clarify the workflow, evidence, data boundary, and outcome standard before recommending the next step.

Contact Onyx