AI

Custom AI Agents: Tool Approval and Acceptance Tests Before Launch

Scope tool permissions, human approvals, prompt-injection tests and audit evidence before deploying a custom AI agent into business systems.

Published 10/24/2026 · Izan Technologies

Want this built for your team?

Senior engineers, your cloud, your IP.

What should you approve before an AI agent can take action?

An AI agent connected to business tools needs an action contract, not just a conversational brief. Define which records it can read, which operations it may request, when a person must approve, and what evidence will be retained. Those boundaries matter more than a polished demonstration when an agent can change customer or financial data.

This guide is for teams commissioning a custom AI solution. It focuses on acceptance and operational controls rather than a particular model or framework. No control makes an agent infallible; the objective is to reduce risk and make failures visible and recoverable.

Separate suggestions from executed actions

Start with a narrow task and distinguish read-only assistance, draft preparation and irreversible actions. Searching a knowledge base, drafting a response and sending that response are different permissions. Do not give an agent broader write access simply because all three occur in the same workflow.

For an illustrative support workflow, the agent might summarize a ticket and propose a reply, while a person confirms the recipient and text before sending. This is a hypothetical design pattern, not a customer case study or a claim about an existing Izan integration.

Specify allowed tools and validate their inputs on the server. Authorization should be enforced by trusted application code against the user's verified access, not inferred from the model's explanation. An agent request that names a record does not prove the user is permitted to access it.

Define what human approval means

Approval needs enough context to be meaningful: action, destination, affected records and consequences. A generic confirmation button provides weak protection if the approver cannot see what will happen. Bind approval to the particular proposed action, and require a fresh decision if important details change.

For writes, document duplicate-request handling and recovery. If a request times out, determine whether it completed before repeating it. A language model retry should not accidentally create two bookings, two messages or two payments.

Treat retrieved material as data

Documents, web pages and messages may contain instructions that conflict with the task. Test whether the agent treats those instructions as untrusted content rather than allowing them to alter permissions or request secrets. Filtering text alone is not a substitute for limiting tools and validating access.

OpenAI's agent governance discussion frames accountability and safety as lifecycle responsibilities. Its Operator system card discusses prompt injection and model mistakes in a specific computer-using deployment. These sources identify important risk categories; they do not certify another organization's agent.

Create an acceptance test pack

Include both ordinary requests and adversarial cases. Suggested tests are:

  • A user requests a record outside their permitted scope.
  • A retrieved document instructs the agent to reveal credentials.
  • A proposed write requires approval that has not been granted.
  • A duplicate tool request is delivered after a timeout.
  • An external tool returns an error or incomplete result.
  • The requested action is ambiguous and should be clarified.
  • A user asks for an explicitly prohibited operation.

Record the expected outcome, observed tool calls and final result. Test the complete workflow rather than only checking the final chat response. A refusal in the transcript is insufficient if an unauthorized tool call already occurred.

Agree audit and rollout responsibilities

Capture the action requested, authorization decision, approval reference and outcome, while minimizing sensitive data in logs. Assign owners for incident review, tool changes and permission updates. Start with a constrained pilot and expand only after reviewing evidence.

OpenAI's description of running Codex safely gives an example of technical boundaries, approvals and telemetry in its own deployment. Treat it as an operational example, not a universal implementation recipe.

You'll Love Our Smart AI Data Studio (Demo), Try It to explore a data-preparation workflow with an AI copilot. It is not evidence that a custom production agent has been approved or connected to your systems. Demo files are limited to 100MB each; deployed solutions can support 5GB uploads.

Izan Technologies builds custom AI and data solutions, and you own all IP in anything we build, provide or deliver. Talk to an expert about a bounded pilot, an action contract and acceptance evidence.

Want this built for your team?

Senior engineers, your cloud, your IP.