Rana Maninder Singh
Lesson 13 of 13AI Agents & Automation

AI Agent Governance Framework

Document ID: AIGOV-06

Audience: Platform engineers, agent builders, security, ERP owners, managers, risk/compliance

Status: Reference framework (illustrative; customize before adoption)

Related: Hub · Executive Policy · Project Approval · Monitoring · Incident Playbook

This framework governs AI agents and automation that plan, call tools, or act across systems. It is technology-neutral (enterprise assistants, custom agents, RAG copilots, RPA-plus-LLM patterns, and vendor “agents”).

Learning anchors: Security, Guardrails & Governance (Agents) · Security, Privacy & Adversarial Risk for LLM Platforms · Copilot / workplace AI practice · ERP foundations.

Non-negotiables:

Examples are illustrative only.


1. Scope

In scopeOut of scope (handle under other policies)
Agents that call tools, APIs, or connectorsPure offline research with no tools (still subject to data rules)
Agents that read or write enterprise systemsGeneral employee chat without connectors (Employee Guide)
Multi-step planners, tool routers, and “computer use” agentsNon-AI RPA without generative models (IT automation standards)
Vendor-hosted agents acting on org tenantsHardware robotics safety standards (separate)

2. Permission model (least privilege)

Design agent identities as workload identities, not shared human accounts.

PrincipleRequirement
Separate identityEach agent (or agent environment) has its own identity and credentials
Minimum toolsTool catalogue is allowlist-only; deny by default
Minimum dataScopes limited to named objects / queries; no “read all”
Minimum environmentDev / test / prod identities are distinct; prod secrets never in prompts
Time-bound elevationBreak-glass access is short-lived, logged, and dual-controlled
No credential in contextSecrets live in a vault; agents receive short-lived tokens only

Permission register (fill per agent)

Tool / APIPurposeRead / writeData classes reachableHuman gate before write?Owner
__________________
__________________

3. Tool and connector access

ControlExpectation
AllowlistOnly registered tools from the inventory may be bound
Input validationTool arguments validated against schemas; reject free-form shell where avoidable
Output handlingTool results treated as untrusted input (prompt-injection surface)
EgressNetwork egress limited to approved endpoints
File / email / chat sendExternal send requires higher risk class + human gate
Browser / desktop controlHigh risk by default; sandbox + recording + approval
LoggingTool name, args (redacted), result status, actor, correlation ID retained

Prohibited without exception approval: unrestricted code execution on production hosts; bulk export of confidential or highly restricted data; disabling security or logging controls.


4. ERP and system-of-record integration

ERP, finance, HR, CRM, and similar systems of record are high-impact. Align with #erp1 ownership and change controls.

PatternAllowed by default?Required controls
Read / query for advisory displayConditionalAuthZ, data-class rules, query limits, audit log
Draft transaction for human postPreferred write patternHuman reviews full payload; agent cannot post
Agent posts low-risk, reversible updateException onlyDual control or maker-checker; kill switch; evals; rollback
Agent posts material financial / master-data changeNot allowed autonomouslyNamed human approval in ERP or workflow; immutable audit
Agent approves credit, hire, fire, access, or legal outcomeForbiddenHuman decision only; agent may draft rationale

ERP integration checklist

#CheckY/NEvidence
1ERP process owner named______
2Agent service account scoped to least tables/APIs______
3Separation of duties preserved (agent ≠ approver)______
4Posting limits / company codes / tolerance rules enforced______
5Failed posts alert owner; no silent retry storms______
6Reconciliation / exception queue defined______

5. Approval workflows

Risk classBuild approvalRuntime action approval
Low (assistive, internal draft)Manager or technical ownerUser self-review of output
Medium (advisory on business data; limited reads)Business + security as needed; AIGOV-04/05Human confirms before external send or irreversible step
High (writes, people impact, regulated data)Governance forum + AIGOV-05Named human gate per consequential action; fail closed

Workflow fields to retain: requester, agent ID, proposed action, data touched, model/version, approver, timestamp, decision, correlation ID.


6. Escalation

ConditionEscalate toFail-safe
Tool auth failure / unexpected scopePlatform + securityDisable tool binding
Confidence / policy filter block on high-impact pathBusiness ownerNo write
Suspected prompt injection or tool-result poisoningSecurity (#llmops8, #agent9)Kill switch
ERP posting mismatch / reconciliation breakERP owner + finance controlQuarantine queue
Cost or rate anomalyFinOps / platformThrottle or pause
Policy violation by user or agentManager + complianceSuspend access

Escalation channel (customise): ___


7. Audit evidence

Retain enough to reconstruct who / what / when / which tools / which data class / which human gate.

EvidenceMinimum retention (customise)System of record
Agent inventory entryLife of agent + ______
Permission / tool allowlist versions______
Runtime action logs (redacted)______
Approval records______
Eval reports & model pins______
Kill-switch tests______
Incident tickets linked to agent ID______

Do not claim that log retention alone equals regulatory compliance.


8. Kill switch

Every production agent must have a tested kill switch.

CapabilityOwnerHow invokedLast test date
Disable agent runtime_________
Revoke workload identity / tokens_________
Disconnect tools / connectors_________
Quarantine outbound queues_________
Notify stakeholders_________

Kill criteria (examples, illustrative): confirmed data leakage; uncontrolled write loop; injection leading to tool abuse; eval regression beyond threshold; missing human-gate telemetry.


9. Operating model roles

RoleDuties
Business ownerPurpose, acceptable use, acceptance of residual risk
Agent technical ownerRuntime, versions, tools, kill switch
Data / ERP ownerSource-system integrity and SoD
SecurityAdversarial controls, access reviews (#agent9, #llmops8)
Workplace AI adminTenant settings for assistants (#copilot8)
Risk / compliancePolicy alignment and audit sampling

10. Build-time vs run-time control map

StageControls
DesignThreat model; data classes; SoD; human gates
BuildSchema-validated tools; red-team prompts; eval harness
ReleaseAIGOV-05 approval; pinned versions; inventory update
OperateMonitoring (AIGOV-07); access reviews; cost caps
IncidentPlaybook (AIGOV-09); kill switch; PIR
RetireRevoke identity; archive evidence; remove connectors

11. Document control (illustrative)

FieldValue
Version0.1
ClassificationInternal (customize)
Policy owner___
Next review___