Data, AI & Integration · Architecture

Agentic AI Platform Architecture and Tool Governance

Defines secure agent runtimes, model and tool mediation, memory, approvals, isolation, observability, evaluation, and emergency controls.

Document class: Data, AI & Integration architecture reference model Normative terms: MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY are requirements levels. Applicability: AI systems that plan, maintain state, call tools, or take actions on behalf of users or workloads. Exception process: Deviations require a documented risk assessment, compensating controls, named risk owner, and expiry date.

Control fieldValue
Document IDDAI-16
OwnerCloud Center of Excellence
Review cycleAt least annually and after material platform, provider, data, security, or operating-model changes
EvidenceThreat model, tool registry, authorization tests, evaluation results, and operational readiness evidence

Decision in brief: Keep agent reasoning inside a deterministic control envelope. Authorize tools from authenticated context and policy, not from model text.

Purpose

This standard governs AI systems that plan, maintain state, call tools, or take actions. An agent is an untrusted decision component operating inside a deterministic security envelope; model output never constitutes authorization.

Reference architecture

flowchart LR U[Authenticated user or workload] --> GW[AI gateway and policy] GW --> OR[Agent orchestrator] OR --> M[Approved model endpoints] OR --> K[Authorized knowledge retrieval] OR --> MEM[Scoped memory] OR --> TB[Tool broker] TB --> AP[Approval and policy decision] AP --> T[Allowlisted APIs and automation] OR --> OBS[Trace, evaluation, audit, cost] T --> OBS KILL[Kill switch and credential revocation] --> OR

Trust boundaries

Treat prompts, retrieved content, tool descriptions, model responses, memory, and external API data as untrusted. Separate the model identity from user and tool identities. The tool broker MUST derive authorization from authenticated user/workload context, approved policy, and requested action—not from text produced by the model.

Action classes

ClassExampleMinimum control
Read-onlySearch approved knowledgeEntitlement filtering, audit
ReversibleCreate draft ticketScoped identity, validation, rate limit
ConsequentialSend message, alter resourceExplicit confirmation or policy approval
High impactFinancial, identity, production, deletionHuman approval, separation of duties, transaction limits
ProhibitedDisable controls, reveal secretsHard deny outside model context

Mandatory controls

  • Register each agent, owner, purpose, models, tools, data classes, autonomy level, and risk tier.
  • Allowlist tools and validate typed inputs and outputs against schemas.
  • Use short-lived, per-tool identities with minimal scope and transaction limits.
  • Require human approval for irreversible, privileged, financial, safety, or externally binding actions.
  • Isolate memory by user, tenant, purpose, environment, and retention policy.
  • Defend against prompt injection with content provenance, instruction/data separation, tool policy, and output validation.
  • Record decisions, model and prompt version, retrieved sources, tool request, approval, result, and correlation ID without leaking secrets.
  • Provide kill switch, queue pause, credential revocation, and safe degraded modes.

Multi-cloud mapping

CapabilityAzureAWSGCPOCI
Agent/model platformMicrosoft Foundry/Azure OpenAIAmazon Bedrock AgentsVertex AI Agent BuilderOCI Generative AI Agents
API mediationAPI Management/FunctionsAPI Gateway/LambdaApigee/Cloud RunAPI Gateway/Functions
IdentityEntra/workload identityIAM rolesIAM/service accountsIAM/resource principals
SecretsKey VaultSecrets ManagerSecret ManagerVault
ObservabilityAzure Monitor/Application InsightsCloudWatch/X-RayCloud Logging/TraceLogging/APM

Evaluation and release

Test task success, refusal, tool selection, argument correctness, authorization, injection resistance, data leakage, unsafe action, loops, latency, and cost. Use fixed regression suites plus adversarial and human evaluation. Production promotion requires approved model/prompt/tool versions, threat model, runbook, rollback, limits, and observable canary behavior.

Validation

Attempt cross-user memory access, unauthorized tool calls, malicious retrieved instructions, forged approval, excessive iterations, unavailable model/tool, and replayed actions. Confirm idempotency and compensation. Track unsafe-action blocks, approval rates, tool failure, loop termination, evaluation regression, token/tool cost, and incidents by agent version.

Operational considerations

Platform teams own gateway, tool broker, identities, policy, traces, and evaluation frameworks. Product owners own intended behavior and outcomes. Security owns risk tiers and incident controls. Tool owners retain authority over APIs and may revoke an agent independently.

Tool Registration Contract

Every tool exposed to an agent MUST have a versioned registration record.

tool_id: service-desk.create-draft
owner: service-management
action_class: reversible
input_schema: v2
identity: agent-service-desk-draft
allowed_resources:
  - incident-drafts
approval: not-required
limits:
  calls_per_run: 3
  timeout_seconds: 10
compensation: delete-draft

The record SHOULD define purpose, permitted callers, data classes, network destinations, identity, scopes, schemas, transaction limits, timeout, retry behavior, idempotency, approval, logging, compensation, and kill-switch owner.

Generic shell, SQL, browser, or cloud-administrator tools SHOULD NOT be registered for production agents when a narrow domain API can be provided.

Approval, Idempotency, and Compensation

Approval interfaces MUST display the proposed action, target, material arguments, expected effect, data disclosure, cost or transaction limit, and agent reasoning summary. The approver decision must be bound to the exact action payload; the agent may not change arguments after approval.

Consequential actions SHOULD use an idempotency key derived from the run and action. Where a reversible action is possible, define and test a compensation operation. Compensation is not equivalent to rollback when external parties, notifications, financial settlement, or irreversible deletion are involved.

Memory Governance

Classify memory as session, task, user preference, business record, or learned summary. Each class requires a source, owner, tenant scope, purpose, retention, correction, deletion, and conflict rule.

Agents MUST NOT silently convert transient prompts into durable memory. Users or system policy SHOULD control whether durable memory is created. Sensitive memory should use encrypted stores, fine-grained access, and content minimization.

Test cross-user and cross-tenant isolation, stale-memory effects, contradictory records, prompt injection stored in memory, deletion propagation, and recovery from corrupt memory.

Agent Run Envelope

Each run SHOULD enforce maximum elapsed time, planning iterations, model calls, tool calls, tokens, external cost, and number of consequential actions. Exceeding a limit must terminate safely, preserve evidence, and avoid partially repeated side effects.

References