# 10 Questions to Ask Before Deploying an AI Agent

> Ten questions to answer in writing before an AI agent gets write access to production, with good answers and red flags for each.

Artificial Intelligence · Playbook · By iVirtualSoft Editorial · Published 2026-12-04 · 6 min read

An AI system that only answers questions can be wrong in public. An agent that calls tools can be wrong in your database, your outbox and your bank account. That difference is what a pre-launch review has to examine, and it is why the questions below focus on actions, permissions and evidence rather than on the model.

Answer each one in writing before an agent touches a production system. If you are still deciding what to build, start with [what it takes to build AI agents that actually work](https://www.ivirtualsoft.com/insights/ai-agents-that-work). This list is for the review that comes before launch.

## 1. What exactly is this agent allowed to do?

**Why it matters.** OWASP's [LLM06:2025 Excessive Agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/) names excessive functionality as a root cause: tools that offer capabilities the task does not need.

**A good answer.** A short, closed list of named actions, each with defined inputs. Narrow, purpose-built tools are preferred over open-ended ones like a shell or a generic URL fetch, which is OWASP's advice.

**Red flag.** "It can use any tool it needs." If nobody can list the actions, nobody can review them.

## 2. What permissions does it hold, and are they the minimum?

OWASP lists excessive permissions as a second root cause: tools that run with more access to downstream systems than required. The fix lives in the systems the agent calls, not in its instructions.

Ask to see:

- The credential each tool uses, and its scope. Per-user credentials are best, so the agent can never do more than the person it acts for.
- Where authorization is enforced. It should be the downstream system, not a question put to the model.
- Where secrets live. They belong in application code, not in the model's context, which OWASP also recommends for [prompt injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/).

A shared service account with broad write access, or a prompt saying "only do X" in place of a permission, means the answer is no.

## 3. Which actions require a person's approval?

**The rule to write down:** sort every action by consequence. Reads and drafts run freely. Changes to records, money and external communications wait for approval. The approver sees the exact action and its inputs, not a summary, and every approval is logged. That is [our own approach](https://www.ivirtualsoft.com/enterprise-ai.html): agents propose, people approve.

OWASP names excessive autonomy as the third root cause of excessive agency: high-impact actions proceeding without verification. Anthropic's [Building effective agents](https://www.anthropic.com/engineering/building-effective-agents) notes that agents can "pause for human feedback at checkpoints or when encountering blockers", so the capability exists; the question is whether it is used where it counts.

Watch for approval in name only: a reviewer who sees just "Approve action?", or a queue so long that everything gets approved.

## 4. What happens when it fails, and can you undo it?

Anthropic warns of "the potential for compounding errors" in autonomous runs. An agent that is wrong once is an annoyance. One that is wrong forty steps into a loop is an incident.

**Test it before launch.** Run a drill: make the agent fail mid-task in a staging environment, then time how long it takes someone to notice, stop it and reverse what it did. A good result shows hard limits on steps and run time (Anthropic suggests a maximum iteration count as a stopping condition), a compensating action for every write, a kill switch that works, and a named person who answers the 2 a.m. call.

If the rollback plan is "restore from backup" and nobody has tried it, or the agent sends email that cannot be unsent, the drill has found your gap.

## 5. What evidence shows it works?

Anthropic recommends "extensive testing in sandboxed environments, along with the appropriate guardrails." A demo is not evidence. The difference looks like this:

- **Weak evidence:** "We tried it on twenty examples and it looked good." An evaluation set written by the same person who wrote the prompt. Results nobody can re-run.
- **Strong evidence:** an evaluation set built from real examples, with pass criteria agreed before the run, covering normal, edge and adversarial cases. It re-runs after every model, prompt or tool change, and a failed run blocks release.

## 6. What happens when untrusted content tries to give it orders?

[OWASP LLM01:2025](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) describes indirect prompt injection as malicious instructions arriving through external content the model processes, such as web pages, files or retrieved documents. [NIST AI 600-1](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf) says the same attack works by injecting prompts "into data likely to be retrieved." OWASP says it is unclear whether fool-proof prevention methods exist, so the aim is to limit impact.

Work through it in three steps:

1. **Map the channels.** List every route by which text reaches the agent: email, tickets, documents, search results, tool outputs.
2. **Ask the worst-case question** for each: what is the most damaging action the agent could take if this text were hostile?
3. **Break the combination.** Where an agent both reads untrusted content and holds powerful tools, separate them, with approval gates or by splitting the work between two agents with different permissions. Mark untrusted content as data, and validate outputs with deterministic code.

A system prompt saying "ignore malicious instructions" is not a defense on its own.

## 7. What data can it see, and what does it keep?

Agents pull data into context and write it to logs, memory and tool calls. OWASP's [LLM02:2025](https://genai.owasp.org/llmrisk/llm022025-sensitive-information-disclosure/) recommends least-privilege data access, sanitization and clear policies for retention, usage and deletion.

The answer should be a data-flow diagram, not a paragraph: what enters the model, where it goes, who processes it and how long each copy lives. Sensitive fields are redacted or excluded, the provider's retention and training terms are known, and retrieval respects the permissions of the person asking. [Designing AI systems that respect your data boundaries](https://www.ivirtualsoft.com/insights/ai-data-boundaries) covers the patterns.

**Red flag.** The agent indexes everything "so it has context," and prompts and tool outputs sit in plain-text logs with no retention rule.

## 8. What is the most it can spend?

[OWASP LLM10:2025 Unbounded Consumption](https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/) covers applications that allow "excessive and uncontrolled inferences," including "denial of wallet" attacks that exploit the cost-per-use model of cloud AI. A looping agent can do the same to you by accident. Set three kinds of number before launch: budgets per run, per user and per day, with alerts before each limit and a hard stop at it; rate, input-size and timeout limits; and cost tracked per request so it can be attributed. If the first time anyone sees the cost is the monthly invoice, none of these exist.

## 9. Can you reconstruct what it did and why?

NIST AI 600-1 treats incident response and disclosure as part of managing generative AI, and you cannot investigate what you did not record. OWASP also advises logging and rate-limiting extension activity to limit damage.

Pick any run from last week and check whether you can answer:

- Which model and prompt version ran?
- What were the inputs, and every tool call with its arguments and result?
- Who approved what, and what was the final output?
- Who can read this trace, and can the system being audited edit it?

Traces should be searchable, access-controlled and kept according to your retention policy, with alerts for unusual patterns such as a spike in tool calls. Logs that show only the final answer fail this question.

## 10. Who owns it?

Every earlier answer decays without an owner. Models change, tools change, permissions creep.

Name two people: one accountable for outcomes, one responsible for operations. Set a review date for permissions and evaluations, and a process for retiring the agent. Make sure users know when they are dealing with AI and where to escalate. "The AI team owns it" and "the vendor handles that" are not names.

## How to use the list

Write each answer in a sentence or two and file it with the system's documentation, so the next reviewer starts from it rather than from memory.

Treat questions 1, 2, 3 and 6 as gates. If any of them lacks a confident answer, the agent does not get write access yet. Start it read-only, add one tool at a time, and re-run your evaluations at each step. For the per-tool check, OpenAI's Agents SDK documentation describes [tool guardrails](https://openai.github.io/openai-agents-python/guardrails/) that can run before a function tool executes and skip the call, which is where a policy check belongs.

Treat the other six as conditions for widening scope: more tools, more users or less review should each wait until the relevant answer is written and tested. Revisit the whole list whenever the model, the prompt, a tool or the data sources change, and on the review date set under question 10. For the organization-wide view beyond a single agent, use [the enterprise AI readiness checklist](https://www.ivirtualsoft.com/insights/enterprise-ai-readiness-checklist).

## References

- [OWASP LLM06:2025 Excessive Agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/)
- [OWASP LLM01:2025 Prompt Injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/)
- [OWASP LLM02:2025 Sensitive Information Disclosure](https://genai.owasp.org/llmrisk/llm022025-sensitive-information-disclosure/)
- [OWASP LLM10:2025 Unbounded Consumption](https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/)
- [NIST AI 600-1, Generative AI Profile (July 2024)](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf)
- [Anthropic, Building effective agents](https://www.anthropic.com/engineering/building-effective-agents)
- [OpenAI Agents SDK, Guardrails](https://openai.github.io/openai-agents-python/guardrails/)

Source: https://www.ivirtualsoft.com/insights/questions-before-deploying-ai-agent
