Release 2.0 · 1 December 2026

AI Agent Governance Framework.

A practical, risk-based framework for organisations that design, acquire, configure, deploy or operate AI Agents capable of accessing data, using tools, making recommendations or taking actions in business processes.

Start reading →
Governance Testing Continuous validation
// 00 · About this document

Document control

FieldValue
Owner / CreatorTesting4.ai — David Ruston
StatusR2.0 Core framework / adaptable baseline
Review frequencyAt least annually and after any material regulatory, technology or risk change
AudienceAll internal Testing4.ai staff.
Boards, executives, AI governance, product, risk, compliance, security, engineering, testing and internal audit.
ScopeAI Agents created, configured, procured, or operated by or for the organisation.
All AI Agents that Testing4.ai evaluates should be tested against this framework if adopted/approved by the customer.
⚠ Important

This is a governance and assurance baseline provided by Testing4.ai. It is not legal advice and by no means mandatory to adopt. Organisations must research any applicable regional, regulatory, sectoral and contractual obligations and tailor controls to their own risk appetite and technical architecture.

Testing4.ai offers it without warranty of any kind and with a strong belief that it might help organisations understand the measures available to mitigate the risks of creating and operating AI Agents within their estates.

// 01

Executive summary

AI Agents are rapidly becoming part of business ecosystems, and their adoption shows no sign of reversing. The key question is no longer whether to use them, but where they should be used and how their use should be governed to ensure transparency, human oversight and clear accountability.

AI Agents can interpret goals, plan a multi-step activity, use tools, retain context and make changes in connected systems and even spawn sub-Agents.

We must understand their behaviour may change autonomously because of changes to models, use of prompts, increased knowledge, memory, permissions, integrations and also the impact/interaction with other Agents.

Governance of AI Agents must therefore cover the complete operational system and context of the Agent, not only the underlying model used. Testing4.ai strongly believes that applying Governance on its own is not enough — therefore this framework aims to take a further step to encompass testing and continuous validation.

01 / Governance
What should be true

Governance defines what should be true about an AI Agent.

02 / Testing
Whether it is true

Testing establishes whether it is true.

03 / Continuous validation
Whether it remains true

Continuous validation establishes whether it remains true.

◆ Core proposition

Testing4.ai believes responsibility for performing a task may be delegated to an AI Agent. Accountability must remain human and organisational. Whilst accountability can be distributed across business, technical, security, data and risk roles, each domain needs a named owner, and each material decision needs one final approval authority.

// 02

Core governance principles

These are fundamental rules that you should apply to every AI Agent throughout its lifecycle, regardless of technology, model, provider or business function.

They are deliberately broader than individual controls. A control may specify how something must be done, whereas a governance principle explains why that control must exist and the outcome it is intended to protect.

P01
Lifecycle governance

Governance covers acquisition, creation, testing, deployment, operation, change, incident and retirement.

P02
Personal accountability

Every Agent has named business, technical and risk owners. Shared accountability must not become collective ambiguity.

P03
Purpose limitation

Use is confined to approved purposes, users, data, systems, tools, geographies and outcomes.

P04
Risk proportionality

Controls scale with impact, autonomy, reach, data sensitivity, reversibility and regulatory exposure.

P05
Least agency

Grant the minimum autonomy, permissions, tools, memory, duration and transaction value needed to achieve the stated purpose.

P06
Explicit authority

The technical ability to perform an action must not be interpreted as authority to perform it.

P07
Defence in depth

Prompts are not security boundaries. Use identity, authorisation, validation, segregation, sandboxing, monitoring and kill switches.

P08
Evidence before trust

Safety and compliance claims require repeatable tests, logs, review records and known limitations — use Guardian4ai where possible.

P09
Independent challenge

Material Agents receive review or testing sufficiently independent of the build team.

P10
Continuous validation

Controls are re-tested after relevant changes and at a frequency proportionate to risk.

P11
Traceability

Material actions can be reconstructed by Agent/version, initiating identity, context, tool call, approval and outcome.

P12
Safe failure

The Agent fails safely, limits cascades, escalates uncertainty and supports rapid rollback.

P13
Transparency

Affected users receive appropriate notice, explanation and routes to challenge or correct outcomes.

// 03

Accountability and decision rights

Accountability may only be shared across a team when the scope of each person's accountability is explicit.

The objective is to prevent gaps, overlaps and accountability diffusion. Examples of the relationship between business roles and their accountability can be seen below. This is not a definitive or exhaustive list but is indicative of many organisations and can be adapted accordingly.

Business roleCore accountability
Board / Executive Risk OwnerRisk approach, resources and acceptance above delegated thresholds.
AI Governance CommitteePolicy, risk method, exceptions and approval of high-risk Agents.
Business Process OwnerBusiness suitability, outcomes, human oversight and continuing fitness.
AI Product / Agent OwnerRequirements, boundaries, documentation and lifecycle coordination.
Technical OwnerArchitecture, configuration, integration and change control.
Security & Identity OwnerThreat model, identity, permissions, secrets and containment.
Data Protection / Data OwnerLawfulness, DPIA, UK GDPR, minimisation, quality, retention and rights.
Independent Assurance LeadTest design, execution, limitations and pass/conditional/fail recommendation.
Deployment AuthorityCompleteness of evidence and final release decision within delegated authority.
Operations / Service OwnerMonitoring, incidents, validation schedule, suspension and rollback.
Internal Audit / Second LineIndependent review of governance effectiveness and systemic issues.
◆ Shared accountability rule

Use and systematically review a RACI or equivalent matrix, but identify exactly one Accountable owner for each material decision: approves the use case, accepts residual risk, authorises deployment, approves material change, authorises continued operation and retires the Agent.

// 04

AI Agent Register and Governance Passport

◆ Core proposition

Every AI Agent operating within the organisation must have an identifiable governance record before it enters production.

Agent Register
Organisation-wide portfolio/index — held internally or outsourced to platforms such as Microsoft Agent 365.
Governance Passport
Detailed control record for an individual Agent + version combination.

The minimum record

The register is not simply an inventory of technology. It establishes the governance boundary against which the Agent must subsequently be tested, approved and continuously validated. The minimum information we believe you should record per Agent version is:

  • Unique ID, name, version and lifecycle status
  • Business purpose, prohibited purposes and intended users
  • Business owner, Agent owner, technical owner, security owner, data owner and final approver
  • Provider, model, hosting location and material subcontractors
  • Prompts/instructions, knowledge sources, memory and retention
  • Tools, APIs, connectors, environments, identities and permissions
  • Data categories, personal data and confidentiality level
  • Autonomy, human approval points and action/transaction limits
  • Affected persons, jurisdictions and applicable obligations
  • Risk tier, approval expiry date and continuous validation schedule
  • Logging, monitoring, incident response, rollback and kill switch
  • Dependencies on other Agents and consequences of cascading failure

Standard IT governance processes normally maintain inventories of applications, servers, users and data assets. With AI Agents, that isn't enough because an AI Agent might have:

  • a model from one provider
  • its own system instructions
  • access to SharePoint or other knowledge sources
  • memory
  • API connections
  • identities and permissions
  • the ability to execute transactions
  • connections to other Agents
  • behaviour that changes when any of those components change

In the Testing4.ai framework the Agent Register becomes the authoritative governance record for each AI Agent, and the ‘minimum record’ should be considered as the AI Agent's governance passport.

AI Agent Governance Passport
The version-controlled governance record that defines an AI Agent's approved identity, purpose, ownership, risk classification, autonomy, data, tools, permissions, controls, dependencies, approval conditions and assurance requirements.

Full definitions and illustrative examples for each field are in Appendix A.

Why these fields?

Why did Testing4.ai choose that specific information for the ‘minimum record’?

FieldWhy Testing4.ai believes governance needs it
PurposeEstablishes what the Agent is authorised to do
Prohibited purposesCreates an explicit boundary around what it must never do
Business ownerIdentifies who is accountable for its business use
Technical / security / data ownersIdentifies accountability for specific control domains
Model / providerAllows changes and supplier dependencies to be tracked and maintained
Knowledge sourcesShows what information can influence the Agent
MemoryIdentifies what the Agent can retain and reuse
Tools / APIsShows what the Agent is capable of doing across systems
Identity & permissionsShows what resources the Agent is authorised to access
Data classificationsIdentifies privacy/confidentiality exposure
AutonomyEstablishes whether it advises a human or acts independently
Human approval pointsDefines where human intervention is mandatory
Action limitsLimits the potential consequence of an error
Risk tierDetermines the level of governance and testing required
Validation scheduleEstablishes how frequently assurance must be repeated
Kill switch / rollbackEstablishes how the organisation can stop the Agent
Agent dependenciesIdentifies risks from Agent-to-Agent interactions

Case study: Agent Register record

Consider a Testing4.ai customer that has an Accounts Payable Supplier Agent, whose job is to process requests relating to supplier accounts. A basic minimum ‘AI Register Record’ for that Agent would be:

Accounts Payable Supplier AgentAgent REGISTER RECORD
Purpose
Validate requests for supplier master-data changes.
Prohibited purposes
The Agent cannot independently alter supplier bank details.
Business owner
Head of Accounts Payable.
Technical Owner
IT Technical Architect.
Security Owner
AI Security Lead.
Data Owner
Head of Finance.
Model provider
Anthropic - Claude Opus 5.5
Knowledge sources
Supplier procedures and finance policies.
Memory
Persistent
Tools / APIs
Microsoft Dynamics 365 ERP MCP Server
Identity & permissions
Act as pre-defined user only, read supplier master data and submit proposed amendments.
Data classifications
Personal data (supplier contact details); confidential commercial and financial data
Autonomy
Medium.
Critical restriction
The Agent cannot independently alter supplier bank details.
Human approval points
Proposed bank-account changes require approval from an authorised AP employee.
Action limits
The Agent can propose updates to supplier name details for human approval but cannot update contact names, work emails, phone numbers and delivery addresses.
Risk tier
Tier 3 — because compromise could result in financial loss.
Validation schedule
Daily permissions/control probe, monthly adversarial regression and revalidation following any material model, prompt, connector or permissions change.
Containment / kill switch
Containment: D365 ERP MCP connector can be disabled independently; Agent Managed Identity can be revoked; queued supplier changes can be quarantined. MCT: 2 minutes. Rollback: Restore Agent configuration v7.02 following approval and successful revalidation.
Agent dependencies
Godfrey — an Agent that checks the address of a supplier record.
// 05

AI Agent risk classification

Risk classification determines how much governance, testing, approval and ongoing validation an AI Agent requires. It should not be treated as a general description of whether an Agent feels “safe” or “unsafe”.

The assessment has two linked steps because the organisation must first understand the characteristics that create risk and then translate that assessment into a consistent governance response.

  • The first step assesses risk factors. It prompts reviewers to examine the Agent from several dimensions, including impact, autonomy, reach, data, permissions, reversibility, detectability and complexity. These factors describe where risk comes from and prevent a single feature from dominating the assessment. For example, an Agent may perform a simple task but still be high risk because it can change supplier bank details, uses sensitive data or can act without human approval.
  • The second step assigns the overall risk tier. Once the factors have been assessed together, the Agent is placed into a tier that determines the minimum control response. The tier drives the level of approval, independence of testing, monitoring, validation frequency and seniority of residual-risk acceptance. In short, the factor table supports the judgement; the tier table turns that judgement into action.

Assessing risk factors

Consider the factor table below a structured decision aid rather than a mechanical scorecard. Reviewers should record evidence for each factor and consider both the likely impact of failure and credible worst-case outcomes. An Agent does not need to be high risk in every factor to justify a higher tier. A single dominant factor, such as autonomous payments, employment decisions, production code execution or access to special-category personal data, may be sufficient to escalate the classification.

FactorLower riskHigher risk
ImpactConvenience, drafting, reversible supportLegal, financial, employment, safety, rights or customer impact
AutonomyRecommendation; human actsAgent executes or delegates consequential action
ReachSmall trained groupPublic, customers, vulnerable persons or enterprise-wide
DataPublic or low sensitivityPersonal, special-category, financial or confidential
PermissionsRead-only and narrowWrite/delete/admin, payment or code execution
ReversibilityImmediate low-cost reversalIrreversible, external or cascading
DetectabilityErrors obvious before reliancePlausible hidden errors found after harm
ComplexitySingle bounded AgentMulti-Agent, adaptive memory or dynamic tools

Converting the assessment into a risk tier

The tier is the governance conclusion reached from the factor assessment. It is not simply an average of the rows. The assessor should consider the combined exposure, any dominant high-risk characteristic, the effectiveness of proposed controls and the organisation's risk approach. Where evidence is incomplete or reasonable reviewers disagree, the higher tier should be applied until the uncertainty is resolved.

Controls can reduce residual risk, but they do not erase the Agent's inherent risk. For example, mandatory human approval and transaction limits may make a financially consequential Agent acceptable to operate, yet it may remain Tier 3 because the potential impact requires senior approval, independent testing and frequent validation.

Inherent risk
The level of risk arising from the Agent's purpose, capabilities and operating context before considering mitigating controls.
Residual risk
The level of risk remaining after the effectiveness of applicable controls has been considered.
TIER 1
Limited

Low impact, low autonomy, reversible and bounded.

Minimum responseOwner approval, baseline testing, quarterly/change validation.
TIER 2
Material

Meaningful operational, data or customer impact.

Minimum responseRisk assessment, independent testing, governance approval, monthly critical-control validation.
TIER 3
High

Consequential action, sensitive data, broad permission or regulatory exposure.

Minimum responseFormal impact assessment, adversarial testing, senior risk acceptance, continuous monitoring and frequent validation.
TIER 4
Prohibited

Conflicts with law, policy, rights or risk appetite, or cannot be controlled.

Minimum responseDo not deploy; disable or redesign.

Risk tier represents the governance criticality of the Agent, considering its inherent characteristics and potential consequences. Controls determine whether its residual risk is acceptable for operation, but do not automatically reduce its governance tier.

Case study

Consider an accounts-payable Agent that validates supplier records in a finance system. If it only reads low-sensitivity data and prepares a recommendation for an authorised employee to act upon, most factors may be lower risk and so Tier 1 or Tier 2 may be appropriate.

If that same Agent can directly change supplier bank details, its autonomy, permissions, financial impact and reversibility move towards the higher-risk end of the factor table. The appropriate conclusion would normally then be Tier 3, requiring formal impact assessment, independent adversarial and authorisation testing, senior residual-risk acceptance, continuous monitoring and frequent validation.

↻ Review frequency

The classification must be reviewed whenever the Agent's purpose, model, tools, data, permissions, autonomy, users or operating environment materially change. The risk tier therefore forms part of the Agent's governance passport and is not a permanent label.

// 06

AI Agent containment & kill switches

◆ Core proposition

Testing4.ai believes an AI Agent should not need to behave perfectly for the organisation to remain safe. The concept of Agent Containment and Kill Switch is one of the mechanisms that makes that principle real.

Every AI Agent must have a documented and proportionate means of containment capable of preventing further unauthorised or potentially harmful actions within an approved timeframe.

Maximum Containment Time (MCT)
The maximum acceptable elapsed time between an authorised decision or automated trigger to contain an AI Agent and the effective prevention of further consequential actions. Defining this makes containment measurable and therefore testable.

Containment should, where technically appropriate, be capable of operating at multiple levels, including:

  1. restriction of individual tools or capabilities;
  2. reduction of the Agent to read-only or advisory operation;
  3. suspension of consequential actions;
  4. revocation of identities, credentials, tokens or permissions;
  5. prevention of further Agent-to-Agent communication or delegation;
  6. cancellation or quarantine of queued actions;
  7. isolation from data sources, applications and external services; and
  8. complete suspension of the Agent.

The containment control must not depend solely upon instructions interpreted by the AI Agent. At least one effective containment mechanism should exist outside the Agent's decision-making process.

Activation, containment, evidence preservation and restoration must be logged and subject to clearly defined human authority.

Five levels of containment

Testing4.ai introduced five levels of containment, including the ultimate kill switch:

  1. LEVEL1
    Remove a capability

    Disable a particular tool or connector.

  2. LEVEL2
    Reduce the Agent to read-only

    E.g. GET operations remain available, but POST, PATCH, PUT and DELETE operations are denied.

  3. LEVEL3
    Revoke authority

    Disable the Agent's identity, API credentials, OAuth grant or Managed Identity access.

  4. LEVEL4
    Isolate the Agent

    Disconnect it from all APIs, applications, knowledge sources, memory, other Agents and external communications.

  5. LEVEL5
    Full shutdown — the ‘Kill Switch’

    Completely disable the Agent or service. This is the true ‘emergency stop’.

⚠ Not a kill switch

Telling an Agent “If something goes wrong, stop processing.” is not a kill switch. We must ensure we can rapidly prevent the Agent from initiating further consequential actions and contain actions already in progress.

// 07

AI Agent lifecycle timeline, controls and gates

The lifecycle is not a project plan for creating an AI Agent. It is the governance path through which authority to proceed, deploy and continue operating is progressively granted.

Each stage in Testing4.ai's lifecycle asks a different governance question, which the related decision gate needs to answer:

Our Testing4.ai lifecycle is deliberately iterative. A failed gate does not necessarily terminate the Agent initiative; it identifies the stage to which the Agent must return for remediation. Stages may overlap or repeat, but an Agent must not bypass a required decision gate merely because development activity has already progressed.

Every production version must remain traceable to the specific Governance Passport, test evidence and approval decision under which it was authorised.

Gate decisions

Decision gate
A formal control point at which an authorised person or governance body determines whether an AI Agent may progress to the next lifecycle stage.

A gate decision must be based on defined evidence and recorded as:

  • ApprovedThe Agent may progress.
  • Approved with conditionsThe Agent may progress subject to named controls, owners and expiry dates.
  • Returned for remediationIdentified deficiencies must be addressed and re-evidenced.
  • RestrictedOnly a limited capability, user group or environment is authorised.
  • SuspendedFurther activity is stopped pending investigation or remediation.
  • RejectedThe proposed use is unacceptable or cannot be controlled adequately.

AI Agent delivery roadmap

Set an implementation roadmap that fits your organisation. Testing4.ai is experienced at creating and managing AI Agents and we have settled on the average timeline below, which is based on the risk tier assigned to our AI Agents.

We found that a Tier 1 internal summarisation Agent and a Tier 3 financial-action Agent simply do not have the same timetable in real terms.

Risk tierTypical timeline
Tier 1: LimitedA few days, assuming an existing governance process and no material data or tool access
Tier 2: MaterialApproximately 2–6 weeks, depending on integration, testing and remediation
Tier 3: HighApproximately 6–12 weeks or longer, depending on regulatory assessment, security testing, data access, human oversight and residual-risk acceptance
Tier 4: ProhibitedNo progression to build or deployment unless the proposal is redesigned so that the prohibited characteristics are removed

G0Propose and classify

Purpose

To determine whether a proposed AI Agent has a legitimate and sufficiently defined business purpose, appropriate ownership, acceptable preliminary risk characteristics, and a credible basis for progressing into detailed design.

Testing4.ai approaches this via an AI Agent Proposal Workshop (see W01):

  • Duration2–3 hours
  • FacilitatorAI Governance Lead or Testing4.ai facilitator
  • Ideal group size6–10 people
  • TimingBefore material development, procurement or production configuration
  • Pre-workOne-page AI Agent Proposal completed by the sponsor

For a simple Tier 1 use case, this workshop can be shortened to 60–90 minutes. A potentially high-risk use case may require a follow-up legal, security or privacy assessment before G0 can be closed.

AI Agent Proposal

The proposer should complete a short form before the workshop, considering the following questions:

  1. What business problem are we trying to solve?
  2. How is the work currently performed?
  3. Why is an AI Agent being proposed?
  4. What outcome should improve?
  5. Who will use the Agent?
  6. Which systems or tools might it use?
  7. Will it only recommend, or will it take actions?
  8. What must it never do?
  9. Who is the proposed Business Owner?
  10. What would happen if the Agent were wrong?
  11. What would happen if the Agent were manipulated?
  12. How will success be measured?

This should remain concise. Its purpose is to create enough structure for the workshop and to facilitate discussion, not to complete the final Governance Passport.

G0
Gate decision

Legitimate purpose, ownership, credible tier and funded assurance.

G1Design and control

Purpose

To ensure the proposed AI Agent is designed so that its authorised purpose and authority boundaries are enforceable, its material risks have proportionate controls, its behaviour is observable, and the Agent can be contained if those controls fail.

G0 defines the Agent's boundaries. G1 designs the mechanisms that enforce them.

During G1, Testing4.ai uses an AI Agent Design, Authority and Control Workshop (see W02) to ensure the proposed Agent is translated into a controlled operating design.

In this workshop the organisation considers how the Agent will interact with users, data, models, memory, tools, APIs, business systems and other Agents, and identifies where controls are required to prevent or limit unacceptable outcomes.

The objective is not to eliminate every possible failure. It is to ensure that credible risks have been considered and that appropriate controls are deliberately designed into the solution before those risks are inherited by the build. You need to allocate suitable time for this workshop, which can last from ½ to a full day or potentially more.

Consider

  • Requirements and acceptance criteria
  • System/dataflow/trust-boundary diagrams
  • Agent identity and least-privilege model
  • Human oversight and escalation design
  • Threat model covering prompt injection, tool abuse, leakage, memory poisoning and cascades
  • Logging, traceability, rollback and kill switch
  • Impact assessment and test strategy
G1
Gate decision

Controls address identified risks and proposed evidence can support a decision.

G2Build and configure

Purpose

To confirm we built and configured the Agent we approved, with its required controls implemented, and agree whether there is now a sufficiently stable and observable release candidate to begin formal testing.

G0: Should we do it?→G1: Can we control it?→G2: Have we built what we approved, and is it ready to be tested?

G1 establishes the approved design, authority boundaries and controls for the AI Agent. G2 converts that design into an implemented, controlled and testable Agent.

The purpose of G2 is not simply to confirm that development is complete. It is to establish that the specific Agent version presented for assurance has been built in accordance with the approved design, that its configuration and dependencies are known, and that the controls identified during G1 have actually been implemented.

This distinction is particularly important for AI Agents because their behaviour is determined by more than conventional application code. Models, system instructions, prompts, grounding data, memory, tools, permissions, identities, orchestration, safety controls and external services can all materially change the Agent's behaviour.

G2 therefore creates a controlled release candidate against which meaningful assurance can be performed. We facilitate this at Testing4.ai through an AI Agent Build, Configuration & Assurance Readiness Workshop (see W03).

Consider

  • Version-controlled prompts, policies, code and configuration
  • Approved model and supplier assessment
  • Separate environments and unique Agent identity
  • Secrets management and scoped tools
  • Input/output validation and transaction limits
  • Controlled knowledge, memory and retention
G2
Gate decision

Build matches design, observability works and release candidate is frozen for testing.

G3Verify and validate

Purpose

Verification: Did we implement the stated requirement correctly? Validation: Does that combination of requirements and controls result in acceptable real-world behaviour?

G3 goes beyond demonstrating that controls have been configured. It actively challenges those controls to determine whether they are effective. This is manageable if you have completed G1 and G2 thoroughly.

The objective is not to prove that an AI Agent can never fail. It is to establish sufficient evidence that known material risks are being controlled, the consequences of failure are appropriately limited, and the remaining residual risk is understood before production authority is granted.

Testing should derive directly from the Governance Passport, business requirements and G1/G2 traceability.

This lifecycle stage uses an AI Agent Verification, Validation & Deployment Assurance Workshop (see W04) and also takes evidence from multiple rounds of testing — we call this the G3 Assurance Campaign:

  • Requirements traceability
  • Functional, boundary, security, safety, privacy and resilience tests
  • Adversarial and abuse-case testing
  • Known limitations and residual risks
  • Remediation and re-test evidence
  • Rollback and incident drill
  • Independent assurance conclusion
Guardian4ai · Auditing for AI Agents

Continuous testing and assurance for AI Agents, helping organisations understand whether their Agents continue to behave safely, accurately and as intended.

  • Ongoing assurance of Agent behaviour
  • Checks for safety and accuracy
  • Confidence Agents keep acting as intended
Learn about Guardian4ai →
G3
Gate decision

Mandatory tests pass, residual risk is accepted, monitoring/rollback work and release is signed.

G4Operate and monitor

Purpose

To provide ongoing evidence that a deployed AI Agent continues to operate within the purpose, authority, risk boundaries and conditions under which it was approved.

G4 governs the AI Agent throughout its production life.

Its purpose is to establish whether the evidence that justified deployment at G3 remains valid as the Agent, its dependencies and its operating environment change. G4 does not assume that successful G3 assurance remains valid indefinitely.

G4 combines operational monitoring with scheduled and event-triggered validation. It considers actual Agent outcomes, control effectiveness, authority boundaries, permissions, human oversight, security, performance, incidents, changes and emerging risks.

There are five specific activities that Testing4.ai recommends organisations use to gather evidence of the current status of the AI Agent:

  1. Monitor what the Agent actually does
  2. Continuously re-test critical controls
  3. Detect material change
  4. Look for behavioural drift
  5. Decide whether operating authority should continue

Again, we recommend using the Guardian4ai product to help you monitor AI Agents in your estate.

Guardian4ai · Auditing for AI Agents

Continuous testing and assurance for AI Agents, helping organisations understand whether their Agents continue to behave safely, accurately and as intended.

  • Ongoing assurance of Agent behaviour
  • Checks for safety and accuracy
  • Confidence Agents keep acting as intended
Learn about Guardian4ai →
G4
Gate decision

Evidence is current and conditions remain within thresholds and appetite.

G5Change, contain, suspend or retire

Purpose

To decide what needs to happen now that the Agent, its evidence, its risk or its operating context has changed.

An AI Agent's approval to operate is conditional on the Agent remaining within its approved purpose, authority, risk boundaries and operating conditions. Crucially, G5 closes the loop rather than merely ending the lifecycle.

During its operational life, the Agent, its technology or its business environment will inevitably change. G5 provides the controlled mechanism for determining whether an AI Agent should change, continue under restricted authority, be temporarily suspended, or be permanently retired.

The following table gives a view of the governance route Testing4.ai applies to various changes identified to an AI Agent:

ChangeTypical response
No material impactDocument → limited regression → G4
Implementation / configuration changeG2 → relevant G3 tests → G4
Control / architecture changeG1 → G2 → G3 → G4
Authority / autonomy increaseG1, potentially G0 → G2 → G3
Purpose changeG0 → full appropriate lifecycle
Critical control failureContain / Suspend → remediation
Unacceptable residual riskSuspend or Retire
Business requirement endsRetire
G5
Gate decision · Closure

Agent can no longer act and access is revoked.

// 08

AI Agent testing

Testing covers the complete socio-technical system: model, prompts, memory, knowledge, tools, identity, permissions, data, orchestration, human interaction and operating controls.

Where behaviour varies, use repeated trials, distributions, thresholds and risk-based sampling rather than a single pass/fail run.

DomainExamples
Functional fitnessTasks, rules, workflow state, tools, output, refusal and escalation.
ReliabilityRepeatability, non-determinism, malformed inputs, timeouts and dependency failure.
Security & adversarialDirect/indirect prompt injection, goal hijack, tool misuse, privilege abuse, leakage, memory poisoning and code execution.
Permissions & agencyRead/write scope, tenant boundaries, value limits, delegation and approval bypass.
PrivacyMinimisation, purpose, disclosure, retention, deletion and sensitive data.
Safety & harmProhibited outcomes, vulnerable users, high-impact actions and safe failure.
Bias & fairnessPerformance across relevant groups, proxies and unequal error rates.
Transparency & oversightDisclosure, explanation, traceability, human review and contestability.
ResilienceLoops, denial-of-wallet, outages, rollback, kill switch* and recovery.
Multi-AgentTrust, message integrity, delegation depth, shared-memory poisoning and cascades.
ObservabilityLog completeness, correlation, alerts and audit reconstruction.
RegressionModel, prompt, connector, data, policy, permission and environment changes.
* Testing the kill switch

The Kill Switch and each material level of Agent Containment must be tested before deployment and periodically thereafter. Testing should demonstrate that containment operates independently of the Agent's reasoning, achieves the approved containment objective within the required timeframe, prevents further consequential actions, addresses actions already queued or delegated, preserves appropriate evidence and requires authorised restoration.

Governance-to-assurance traceability matrix

Testing needs to be executed against every AI Agent version — essentially against every unique AI Agent Governance Passport.

Testing4.ai uses a simple matrix to record the test results. An example is below, this is illustrative & separate from the case study:

Governance requirementControlTestEvidenceResult
Agent can't modify bank detailsAPI denies bank field writeAttempt direct writeAPI/activity logPass
Changes > £5k require approvalWorkflow approval gate£4,999 / £5,000 / £5,001 testsWorkflow logPass
No external customer dataDLP + knowledge restrictionsData extraction scenariosTest resultsPass
Agent must be containableIdentity/tool isolationTrigger Level 3 containmentMCT + audit logPass

Illustrative release thresholds

⚠ Threshold warning

These are governance starting points, not universal compliance rules. High-consequence uses may require stricter thresholds, larger samples, specialist validation or prohibition. Averages must not hide rare severe failures.

ControlStarting threshold — tailor to risk
Critical safety/security100% pass; no open Critical or High defects.
High-impact authorisation100% correct enforcement for approved, denied and ambiguous scenarios.
Sensitive-data leakageZero confirmed unauthorised disclosures in the approved adversarial suite.
Core deterministic pathsAt least 98% pass for Tier 2/3 critical paths; exceptions individually assessed.
Refusal & escalationAt least 95% correct with no critical miss.
Traceability100% of sampled material actions reconstructable.
RecoveryKill switch and rollback/revocation tested to the approved recovery objective.
Stochastic scenariosAt least 20 repeated runs for material scenarios unless a justified statistical design requires more.
// 09

AI Agent continuous validation

Continuous validation provides evidence that a deployed Agent and its controls remain within approved boundaries. It combines real-time monitoring, scheduled tests, event-triggered revalidation and human review.

MechanismFocusExample cadence
Guardrail telemetryBlocked actions, policy violations, unusual tools, privilege escalation, loops and cost spikes.Continuous
Synthetic probesCritical workflow, refusal, permissions and dependency health.Hourly/daily Tier 3; daily/weekly Tier 2
Outcome samplingIncorrect, harmful, unfair or low-quality outputs.Daily/weekly risk-based sample
Adversarial regressionInjection, goal hijack, tool misuse and leakage.Monthly Tier 3; quarterly Tier 2; after change
Entitlement recertificationPermission creep, stale identities and excessive tools.Monthly/quarterly
Dependency watchModel/provider, connector, knowledge and vulnerability changes.Continuous alerts; review on change
Oversight reviewRubber-stamping, poor explanations and delayed intervention.Monthly dashboard; quarterly review
Continued-operation reviewEvidence, incidents, drift, risk and conditions.Monthly/quarterly Tier 3; quarterly/annual lower tiers
// 10

AI Agent performance testing

For an AI Agent, we believe that ‘performance’ should mean:

The extent to which the Agent consistently completes its authorised business objectives correctly, safely and efficiently, while remaining within its approved operational and governance boundaries.

This matters because an Agent can still produce a convincing final answer while having:

  • selected the wrong tool
  • supplied incorrect parameters
  • taken unnecessary or expensive steps (cost is an important factor)
  • misunderstood a tool result
  • bypassed an approval
  • altered the wrong record
  • caused a correct action twice
  • completed the task in a way that created unacceptable risk

Microsoft's own Agent-evaluation guidance makes the same important distinction between system evaluation, which examines the end-to-end outcome, and process evaluation, which examines the steps and tool calls used to achieve it. They recommend evaluating both final task completion and such intermediate factors as tool selection, input accuracy, output utilisation and tool-call success.

AI Agent performance contracts

Performance testing thinking should start before the first test execution. For each significant Agent capability, the organisation should define a performance contract. That contract could record:

  1. Task objectiveWhat business outcome must the Agent achieve?
  2. Starting conditionsWhat inputs, permissions, data and system state apply?
  3. Expected end stateWhat must be true in the target system when the task finishes?
  4. Required controlsWhich rules, approvals, action limits and escalation points apply?
  5. Permitted execution pathWhich tools and data sources may the Agent use?
  6. Prohibited outcomesWhat must never occur, even if the main task is completed?
  7. Quality thresholdHow accurate, complete or grounded must the result be?
  8. Operational thresholdWhat latency, cost, call volume and retry behaviour are acceptable?
  9. Evidence requirementWhich logs, state changes, tool calls and approvals must be captured?
  10. Failure behaviourWhen must the Agent refuse, stop, retry, roll back or escalate?

The Agent's inventory record therefore defines not only what it can do, but the measurable conditions under which it is considered to be performing acceptably.

The five dimensions of Agent performance

Testing4.ai recommends that organisations introduce specific tests against the five dimensions of Agent performance:

  • TEST 1
    Outcome performanceDid the Agent achieve the correct business outcome?
  • TEST 2
    Process performanceDid it use the correct tools, parameters, sequence and data?
  • TEST 3
    Control performanceDid it respect permissions, approvals, action limits and prohibited outcomes?
  • TEST 4
    Operational performanceWhat were latency, cost, calls, retries, token consumption and completion time?
  • TEST 5
    Resilience performanceHow does performance change under malformed inputs, dependency failures, concurrency, rate limiting and degraded upstream services?

Your performance contract then becomes considerably stronger.

Worked example

A test result could say:

Business outcomePass
Tool selectionPass
Authorisation controlsPass
P95 completion time11.8sthreshold 15s
Mean tool calls4.2maximum 6
Mean execution cost£0.041threshold £0.05
Repeated-run success98.5%across 200 scenarios
OverallPass

That makes Agent performance something Testing4.ai can actually measure rather than describe for auditors.

Mandatory revalidation triggers

  • Model or model-version change
  • Material prompt, guardrail, memory or orchestration change
  • New tool, API, connector, permission, identity or target system
  • New data source, classification or processing location
  • Change in purpose, users, population, autonomy or action limit
  • Vulnerability, incident, complaint, near miss or unexplained alert
  • Material degradation in accuracy, fairness, refusal, cost or override rate
  • Supplier, legal or risk-appetite change
  • New Agent-to-Agent communication or delegation
  • Expired evidence or unavailable telemetry

Responding to validation results

ResultResponse
PassContinue subject to monitoring.
Conditional passContinue with conditions, compensating controls, owner and expiry.
Fail – containedSuspend affected capability/tool/user group; remediate and re-test.
Fail – materialKill/rollback, notify owners and assess reporting obligations.
InconclusiveNot a pass; obtain evidence, increase sampling or restrict operation.
// 11

AI Agent assurance history (audit trail)

An organisation should be capable of demonstrating not only that a test passed or failed, but exactly what was tested, against which Agent configuration and governance requirement, when it was tested, what evidence was observed, and whether that evidence can be trusted.

Evidence groupMinimum artefacts
OwnershipInventory, owners, authority and competence.
Purpose & riskUse case, prohibited uses, tier, impact assessment, treatment and residual risk.
Design & buildArchitecture, data flow, prompts/policies, model/supplier, tools, permissions and versions.
TestingStrategy, traceability, corpora, configuration, results, defects and re-tests.
ApprovalGate checklist, approvers, conditions, exceptions, expiry and release.
OperationTelemetry, sampling, human reviews, incidents, changes and validation packs.
RetirementRevoked access, removed integrations, data/memory disposition and closure.

The following minimum principles must be established to ensure audit-level integrity of your records:

01
Immutable evidence records

Store evidence so it cannot be altered after capture.

02
Append-only audit trail

Records are added, never overwritten.

03
UTC timestamps

One consistent time reference across all evidence.

04
Evidence hashing

Integrity of each artefact can be verified.

Continuous Evidence Chain
Your aim should be to produce a Continuous Evidence Chain: the traceable and integrity-protected relationship between an AI Agent's approved governance requirements, implemented controls, assurance tests, observed results, approval decisions, subsequent changes and ongoing validation evidence throughout the Agent's operational life.
// 12

Monitoring, incidents and evidence

Monitor at least the following signals:

  • Task success, severity-weighted failure and escalation rates
  • Human override, rejection and correction rates
  • Guardrail violations and attempted unauthorised actions
  • Tool calls by resource, identity, outcome and value
  • Sensitive-data and injection detections
  • Cost, loop depth, latency and rate-limit events
  • Model, prompt, connector and permission drift
  • Complaints, contested decisions, near misses and harm
  • Validation coverage, evidence age and unresolved defects

Incident response

  1. Detect, classify and preserve evidence.
  2. Contain by revoking credentials, disabling tools, reducing permissions, isolating memory or activating the kill switch.
  3. Assess business, security, privacy, safety, legal and regulatory impact.
  4. Correct immediate and systemic causes.
  5. Re-test relevant controls before restoration.
  6. Notify and report where required.
  7. Update risks, controls, test cases and portfolio lessons.
// 13

AI Agent estate governance metrics

  • Percentage of active Agents with current owner, risk tier and approval
  • Percentage of Tier 2/3 Agents with current independent validation
  • Critical controls passing, failing or not evidenced
  • Open defects by severity and age
  • Validation overdue rate
  • Incidents and near misses by Agent, root cause and severity
  • Human override and challenge rate
  • Permission exceptions and entitlement drift
  • Changes triggering or bypassing revalidation
  • Mean time to contain, revoke and recover
◆ Board reporting

Report trends, risk concentration, overdue assurance, material incidents, exceptions and whether operation remains within appetite. Avoid one composite score that can hide severe weaknesses.

// Appendix A

Minimum Agent record definitions

Each field of the Governance Passport, with its definition, recording guidance and an illustrative example.

01Unique ID, name, version and lifecycle status

A stable identifier for the Agent, its recognisable business name, the specific deployed version and its status, such as proposed, development, testing, approved, live, suspended or retired. The unique ID should remain constant even if the Agent is renamed.

e.g. AG-FIN-004; Supplier Validation Agent; v2.3; Live.
02Business purpose, prohibited purposes and intended users

The approved business outcome the Agent supports, the activities it must not perform and the people, roles or customer groups authorised to use it. This establishes the Agent's purpose boundary and prevents capability drift.

e.g. Validates supplier-change requests for Accounts Payable. Must not approve payments or alter bank details. Available only to trained Finance users.
03Business owner, Agent owner, technical owner, security owner, data owner and final approver

The named humans or authorised governance body accountable for the business process, the Agent as a managed product, its technical implementation, security and identity controls, data use, and the final decision to deploy or continue operation. One person may hold more than one role, but accountability for each domain must remain explicit.

e.g. Business owner: Head of Accounts Payable; Agent owner: Finance Automation Lead; Final approver: Finance Transformation Director.
04Provider, model, hosting location and material subcontractors

The organisations and technologies supplying the Agent or underlying model, the model family and version where known, the regions in which processing and storage occur, and third parties whose services materially affect security, privacy, availability or behaviour.

e.g. Microsoft Azure OpenAI; approved GPT deployment; UK South; document extraction supplied through an approved third-party service.
05Prompts/instructions, knowledge sources, memory and retention

The controlled instructions that govern the Agent, the repositories and data sources used to ground responses, whether conversational or long-term memory is enabled, what it may contain and how long prompts, memory and interaction data are retained. References to controlled versions may be recorded instead of exposing sensitive prompt content in the register.

e.g. System instruction FIN-AG-023 v5; SharePoint Finance Policy Library; session memory only; interaction logs retained for 12 months.
06Tools, APIs, connectors, environments, identities and permissions

Every mechanism the Agent can use to retrieve data or take action, together with the development, test and production environments, the human or non-human identity used, and the precise read, write, create, delete, execute or administrative permissions granted.

e.g. Dynamics 365 Finance supplier API; production environment; managed identity AG-FIN-004-PROD; read supplier data and submit a proposed amendment, with no direct bank-detail write permission.
07Data categories, personal data and confidentiality level

The types of information consumed, generated, stored or disclosed by the Agent, including whether personal data, special-category data, financial data, commercially sensitive information or regulated records are involved, and the organisation's applicable information-classification label.

e.g. Supplier names, contacts and bank-verification evidence; personal and financial data; classification: Confidential.
08Autonomy, human approval points and action/transaction limits

The extent to which the Agent recommends, prepares, executes or delegates actions; the points at which an authorised human must review or approve; and the hard boundaries on action type, value, volume, frequency, scope or consequence. Limits should be technically enforced where possible, not left as prompt instructions alone.

e.g. The Agent may prepare supplier amendments but cannot submit bank-detail changes. It may raise up to 20 low-risk amendments per hour. Any payment-related change requires approval by an authorised Finance Manager.
09Affected persons, jurisdictions and applicable obligations

The employees, customers, suppliers or other groups who may be affected by the Agent's outputs or actions; the countries or regions in which they or the processing are located; and the laws, regulations, contractual terms and internal policies that may apply.

e.g. UK suppliers and Finance employees; United Kingdom; UK GDPR, Data Protection Act 2018, contractual confidentiality requirements and internal supplier-master controls.
10Risk tier, approval expiry date and continuous validation schedule

The current risk classification derived from the risk factors, the date on which the operating approval must be reconsidered, and the planned frequency and scope of monitoring, synthetic probes, outcome sampling, adversarial regression and formal continued-operation review.

e.g. Tier 3; approval expires 30 November 2027; daily authorisation probe, monthly adversarial regression and quarterly governance review.
11Logging, monitoring, incident response, rollback and kill switch

The evidence captured about inputs, versions, decisions, tool calls, approvals and outcomes; the telemetry and alert thresholds used in operation; the incident process and contacts; and the tested mechanisms for reducing permissions, disabling tools, reverting a release or stopping the Agent rapidly.

e.g. All tool calls carry a correlation ID; alerts fire on denied bank-detail changes; ServiceNow incident runbook AI-07; managed identity can be revoked within 15 minutes; previous approved version retained for rollback.
12Dependencies on other Agents and consequences of cascading failure

The Agents, models, services, data pipelines and downstream processes on which this Agent relies or which rely on it, including Agent-to-Agent delegation and shared memory. The record should describe how an error, compromise or outage could propagate and where containment boundaries exist.

e.g. The supplier Agent consumes OCR results and sends validated requests to a workflow Agent. Incorrect OCR could create a false change request, but the workflow Agent must independently validate bank details and require human approval.

A.1 Audit record requirements

The register entry should identify the evidence source for each field, its owner and the date last reviewed.

Material differences between the registered record and the deployed Agent should be treated as a governance exception and may require suspension, re-testing or re-approval.

Sensitive material, such as secrets or complete system prompts, should not be copied into a broadly accessible register; the record should instead contain a controlled reference to the protected source.

// Appendix B

Workshop guidance

W01 · G0AI Agent Proposal Workshop

≈ 2–3 hrs
  1. Frame the business problem20 min
  2. Challenge whether an AI Agent is appropriate20 min
  3. Define purpose and prohibited purpose25 min
  4. Map the Agent's proposed authority30 min
  5. Conduct preliminary risk-factor assessment35 min
  6. Define initial success and assurance measures20 min
  7. Confirm ownership and decision rights15 min
  8. Make the G0 decision15 min

W02 · G1AI Agent Design, Authority and Control Workshop

≈ ½ day (straightforward Agent)
  1. What will the Agent actually be able to do?
  2. Where does the Agent have authority?
  3. What happens if the Agent gets it wrong?
  4. What must a human remain responsible for?
  5. How will we prove the design works?

W03 · G2AI Agent Build, Configuration & Assurance Readiness Workshop

≈ 3–4 hrs (straightforward Agent)
  1. Did we build what G1 approved?
  2. Exactly what are we about to test?
  3. Have the required controls actually been implemented?
  4. Can we see and reconstruct what the Agent is doing?
  5. Is the test environment sufficiently representative of production?
  6. Can the Agent now be handed over to formal assurance?

W04 · G3AI Agent Verification, Validation & Deployment Assurance Workshop

≈ 3–4 hrs (straightforward Agent)

For G3 we make the workshop the culmination of an assurance campaign, rather than pretending that all verification and adversarial testing happens during a three-hour meeting.

The workshop shouldn't begin until the G3 Assurance Campaign has produced:

  • Current Governance Passport
  • G2 Agent Release Baseline
  • Governance-to-Assurance Traceability Matrix
  • Functional results
  • Performance results
  • Authority-boundary testing
  • Security and adversarial results
  • Kill Switch/containment results
  • Defect register
  • Re-test evidence
  • Updated residual-risk assessment

These then feed into the questions below:

  1. Does the Agent perform its approved purpose correctly?
  2. Does the Agent remain within its approved authority?
  3. Can the Agent be caused to behave unsafely or outside that authority?
  4. Does the Agent fail safely under adverse conditions?
  5. Can the organisation rapidly contain the Agent and regain control?
  6. Is the total evidence sufficient to justify deployment?

This is where the use of the Testing4.ai Guardian4ai product brings benefits and auditable evidence.

Guardian4ai · Auditing for AI Agents

Continuous testing and assurance for AI Agents, helping organisations understand whether their Agents continue to behave safely, accurately and as intended.

  • Ongoing assurance of Agent behaviour
  • Checks for safety and accuracy
  • Confidence Agents keep acting as intended
Learn about Guardian4ai →
// Appendix C

Deployment approval checklist

Tick items off as you work through a deployment decision. (Ticks are not saved — they reset when the page reloads.)

0 / 12
// Appendix D

Alignment and sources

D.1 Purpose of alignment

The Testing4.ai AI Agent Governance Framework has not been designed to replace an established standard, regulatory requirement, management system or sector-specific control framework.

It provides a practical, Agent-focused governance and assurance model that can be used either independently or alongside an organisation's existing arrangements for risk management, information security, data protection, quality, compliance and internal control.

Organisations deploying AI Agents are unlikely to operate under a single governance regime. They may already be subject to:

  • corporate risk and internal-control requirements;
  • information-security and privacy management systems;
  • data-protection legislation;
  • sector-specific regulation;
  • contractual and customer requirements;
  • emerging AI-specific laws and standards; and
  • internal policies governing technology, automation and delegated authority.

Creating an entirely separate governance regime for AI Agents could duplicate controls, create conflicting terminology and make assurance unnecessarily complex.

Testing4.ai has therefore aligned this framework with recognised external sources that address complementary aspects of responsible and secure AI.

D.2 What alignment means

Within this framework, alignment means that Testing4.ai has considered the principles, objectives and control expectations of recognised external frameworks and has translated relevant elements into practical requirements for the governance, testing, approval and continuous validation of AI Agents.

Alignment does not mean that:

  • adoption of the Testing4.ai framework automatically demonstrates legal compliance;
  • a Testing4.ai risk tier is equivalent to a statutory risk classification;
  • use of the framework constitutes certification against ISO/IEC 42001:2023 or any other standard;
  • all requirements of every referenced framework are included;
  • the framework replaces specialist legal, regulatory, privacy or security advice; or
  • successful testing proves that an AI Agent is free from all risk.

The applicability of each external framework must be assessed according to the organisation, jurisdiction, sector, AI use case and people potentially affected.

D.3 Why multiple frameworks are needed

No single external framework completely addresses the practical governance of an AI Agent. Each referenced framework contributes a different perspective:

NIST AI Risk Management Framework 1.0

The NIST AI Risk Management Framework provides the underlying risk-management approach. Its Govern, Map, Measure and Manage functions support the Testing4.ai position that AI risk management must:

  • be integrated into organisational governance;
  • consider the use case and operating context;
  • identify and assess potential impacts;
  • measure whether risks and controls are understood;
  • manage identified risks throughout the lifecycle; and
  • continue after deployment.

Within Testing4.ai, this is reflected in the Agent Governance Passport, risk-factor assessment, testing and measurement requirements, lifecycle gates, operational monitoring and continued-operation reviews.

ISO/IEC 42001:2023

ISO/IEC 42001:2023 provides the organisational management-system perspective. It supports the establishment of:

  • leadership and governance responsibilities;
  • AI policies and objectives;
  • defined roles and decision rights;
  • AI risk and impact assessment;
  • documented operational controls;
  • performance evaluation;
  • management review; and
  • continual improvement.

Testing4.ai complements this management-system approach by applying it at the level of an individual AI Agent. Where an AI management system establishes that controls must exist, Testing4.ai asks:

What evidence demonstrates that those controls are operating effectively for this Agent and this version?

Testing4.ai is not an ISO/IEC 42001:2023 certification scheme. However, the records, testing results, approvals and validation history produced through this framework may support an organisation's broader management-system evidence.

EU Artificial Intelligence Act

The EU Artificial Intelligence Act provides an important regulatory and risk-based perspective where it applies. Relevant themes include:

  • prohibited AI practices
  • classification of certain systems according to risk
  • risk-management requirements
  • data and data-governance controls
  • technical documentation
  • logging and record keeping
  • transparency
  • human oversight
  • accuracy, robustness and cybersecurity
  • post-market monitoring
  • incident management

Testing4.ai adopts the general principle that governance, testing, evidence and oversight should become stronger as the potential impact, autonomy, reach and irreversibility of an AI Agent increase.

However, Testing4.ai risk tiers are internal governance classifications. They must not be presented as equivalent to legal classifications under the EU Artificial Intelligence Act.

For example, a Testing4.ai Tier 3 Agent is not automatically a legally defined “high-risk AI system”. Determining legal classification requires a separate assessment of the system, its intended purpose, deployment context and applicable legislation.

ICO AI and Data Protection Guidance

ICO AI and Data Protection Guidance provides the UK data-protection and individual-rights perspective. Relevant considerations include:

  • accountability
  • lawfulness, fairness and transparency
  • purpose limitation
  • data minimisation
  • accuracy
  • storage limitation
  • security
  • data-protection impact assessment
  • automated decision-making
  • individual rights
  • risks to individuals' rights and freedoms

These considerations are particularly important for AI Agents because an Agent may retrieve, combine, infer, retain and act upon information from multiple systems during a single task.

Testing4.ai reflects these requirements through its minimum Agent record, including:

  • data categories and classifications;
  • affected people;
  • approved purposes and prohibited purposes;
  • knowledge and grounding sources;
  • memory and retention;
  • data owners;
  • processing jurisdictions;
  • applicable obligations; and
  • mechanisms for explanation, correction, challenge and escalation.

OWASP Agentic AI Guidance

OWASP Agentic AI Guidance provides a detailed Agent-specific security perspective. Traditional application-security controls remain necessary, but they may not adequately address the risks created when AI can:

  • interpret goals;
  • select and invoke tools;
  • retain memory;
  • act through identities and permissions;
  • delegate work to other Agents;
  • generate or execute code;
  • interact with untrusted content; and
  • perform multi-step actions with limited human intervention.

Relevant agentic risks include:

  • goal and instruction hijacking
  • direct and indirect prompt injection
  • tool misuse
  • excessive agency
  • identity and privilege abuse
  • data exfiltration
  • insecure Agent-to-Agent communication
  • memory and context poisoning
  • unexpected code execution
  • supply-chain weaknesses
  • denial of service or denial of wallet
  • cascading failure

These risks directly inform the Testing4.ai requirements for threat modelling, adversarial testing, tool and permission testing, action limits, memory testing, Agent identity, containment and multi-Agent assurance.

D.4 How the frameworks complement one another

The external sources should be treated as complementary rather than interchangeable.

External sourcePrimary contributionHow Testing4.ai operationalises it
NIST AI Risk Management Framework 1.0AI risk-management lifecycleGovernance Passport, risk factors, measurement, testing, monitoring and risk treatment
ISO/IEC 42001:2023Organisational AI management systemAccountability, policies, decision rights, documented controls, performance evaluation and continual improvement
EU Artificial Intelligence ActRisk-based regulatory requirementsRegulatory screening, human oversight, technical evidence, logging, robustness and post-deployment monitoring
ICO AI and Data Protection GuidanceUK data protection and individual rightsData inventory, purpose limitation, minimisation, retention, privacy testing, transparency and contestability
OWASP Agentic AI GuidanceAgent-specific technical securityThreat modelling, prompt-injection testing, tool controls, Agent identity, memory protection and containment

No single source provides the complete Testing4.ai lifecycle.

Testing4.ai brings these perspectives together at the level at which governance must ultimately operate: the individual AI Agent, its approved version and its specific business context.

D.5 Indicative control alignment

The following table illustrates how the principal elements of the Testing4.ai framework relate to the referenced external sources.

Note: This is an indicative mapping. It is not a formal statement of conformity, statutory compliance or certification equivalence.

Testing4.ai areaNIST AI RMFISO/IEC 42001EU AI ActICO guidanceOWASP guidance
Governance principles and accountabilityGovernLeadership, roles and responsibilitiesGovernance and provider/deployer responsibilitiesAccountabilitySecurity ownership and responsibility
Agent Register and Governance PassportGovern, MapAI system inventory and documented informationTechnical documentation and record keepingRecords of processing and accountabilityAgent, tool and dependency inventory
Purpose and prohibited-use definitionMapAI objectives and intended useIntended purpose and prohibited practicesPurpose limitation and lawfulnessGoal and instruction boundaries
Risk classificationMap, MeasureAI risk and impact assessmentRisk-based regulatory treatmentRisks to rights and freedomsAgentic threat assessment
Least Agency and Explicit AuthorityGovern, ManageOperational planning and controlHuman oversight and controlled operationData minimisation and securityExcessive agency, tool misuse and privilege abuse
Human oversight and approvalGovern, ManageRoles, competence and operational controlHuman-oversight requirementsAutomated decision-making and individual rightsApproval manipulation and authority boundaries
Functional and performance testingMeasurePerformance evaluationAccuracy, robustness and appropriate performanceAccuracy and fairnessAgent behaviour and tool-use validation
Security and adversarial testingMeasure, ManageInformation-security controlsCybersecurity and robustnessSecurity principlePrompt injection, tool abuse, memory poisoning and code execution
Traceability and audit evidenceGovern, MeasureDocumented information and evaluation recordsLogging and technical documentationAccountability and demonstrabilityAgent and tool-call logging
Agent containment and Kill SwitchManageIncident and operational controlRisk mitigation and corrective measuresSecurity and breach responseTool restriction, identity revocation and Agent isolation
Operational monitoringMeasure, ManageMonitoring, measurement and analysisPost-deployment or post-market monitoringOngoing accountabilityRuntime monitoring and anomaly detection
Continuous validationMeasure, ManageContinual improvementContinuing risk management and monitoringReview of processing risksAdversarial regression and control verification
Incident responseManageNonconformity and corrective actionSerious-incident handling where applicablePersonal-data breach and risk responseSecurity incident containment and recovery
Change and retirementGovern, ManageChange control and lifecycle managementContinuing compliance and record retentionRetention and deletionCredential revocation, access removal and secure decommissioning

D.6 From framework expectations to testable controls

Alignment is valuable only when governance expectations are converted into controls capable of being implemented and tested. This example is illustrative & separate from the case study:

Governance expectationAgent-level controlAssurance testEvidence
Operate using least privilegeAgent identity has read-only supplier accessAttempt unauthorised create, update and delete operationsIdentity and API logs showing denied operations
Require human oversightBank-detail changes require Finance Manager approvalAttempt changes below, at and above the approval boundaryWorkflow and approval records
Remain within approved purposeAgent may validate but not approve suppliersInstruct Agent to approve a supplier through direct, indirect and delegated requestsAgent and tool-call trace
Prevent excessive agencyPayment action limit is £5,000Test £4,999, £5,000 and £5,001, including transaction splittingTransaction and policy-enforcement logs
Resist indirect prompt injectionUntrusted document content cannot override system controlsPlace malicious instructions in documents, messages and knowledge sourcesAdversarial test result and control telemetry
Support rapid containmentProduction write capability can be revoked within the approved MCTActivate containment and attempt further consequential actionsTimed containment record and denied actions
Preserve traceabilityMaterial actions carry version, identity and correlation informationReconstruct a sample transaction from initiation to outcomeComplete audit reconstruction
Maintain continuing assuranceCritical controls are re-tested after relevant changesChange model, prompt, connector or permission and execute regression suiteValidation pack and reapproval decision
◆ The principal contribution of Testing4.ai

Recognised frameworks describe what responsible governance should achieve. Testing4.ai converts those expectations into Agent-level controls, tests and evidence.

D.7 Relationship with the Testing4.ai assurance lifecycle

External expectations are incorporated throughout the Testing4.ai lifecycle:

  1. RegisterEstablish what the Agent is, why it exists, what it can access and who is accountable.
  2. AssessIdentify inherent risks arising from purpose, impact, autonomy, data, permissions, reach and complexity.
  3. ControlDefine human oversight, least-agency boundaries, permissions, action limits, monitoring and containment.
  4. TestDetermine whether functional, security, safety, privacy, performance and governance controls operate as required.
  5. ApproveDecide whether the available evidence is sufficient and whether residual risk is acceptable.
  6. OperateMonitor the Agent, its environment, its outcomes and its dependencies.
  7. Continuously validateRe-test material controls at a risk-proportionate frequency and after relevant changes.
  8. Reapprove, restrict or retireRespond when the Agent, its evidence or its residual risk no longer remains within approved boundaries.

This produces a continuous evidence chain:

Governance requirement→Control→Test→Evidence→Approval→Monitoring→Revalidation

D.8 Limitations and use of the alignment

USE IT TO
  • understand the origin of key Testing4.ai governance requirements
  • support integration with existing organisational frameworks
  • identify potential overlap with established controls
  • guide detailed control and evidence mapping
  • support discussions with risk, security, privacy, compliance and internal-audit teams
  • reduce unnecessary duplication
DON'T USE IT AS
  • evidence of certification
  • a legal determination
  • a substitute for an organisation-specific applicability assessment
  • proof that every requirement of an external framework has been satisfied
  • evidence that an AI Agent is safe solely because its governance documentation is complete

Formal conformity, certification or regulatory-compliance activities should be performed against the full and current authoritative requirements of the applicable standard or legislation.

D.9 Testing4.ai reason for alignment

Governance
What should be true

AI governance defines what should be true about an AI Agent.

Testing
Whether it is true

Testing establishes whether it is true.

Continuous validation
Whether it remains true

Continuous validation establishes whether it remains true.

Alignment with recognised frameworks gives the Testing4.ai framework a credible governance, risk, regulatory, privacy and security foundation. Testing4.ai then provides the Agent-focused assurance layer that converts those expectations into controls and objective evidence for the people ultimately accountable.

D.10 Authoritative sources

◆ Testing4.ai position

AI governance defines who is accountable and which controls are required. Independent testing and continuous validation provide the evidence those accountable need to demonstrate that AI Agents remain within approved purpose, permissions and risk tolerance.