Most agent failures do not arrive as a red exception. They arrive as a sent invoice, a confidently wrong answer, a duplicate ticket, or a quiet workflow branch that has never succeeded since Tuesday.

The fix is not another model swap. It is an audit of permissions, prompts, state, fallbacks, logs, and acceptance checks.
Why these failures are silent
Agent systems are hard to monitor because the model can produce valid-looking text while taking the wrong action. A traditional job usually fails loudly when an API returns 400. An agent can recover with a workaround, infer a missing field, ask the wrong system, or mark the task complete without proving the business outcome.
Silence usually comes from four gaps:
- Observation gap: logs show model output, but not the tool call, input, result, and final state.
- Control gap: the agent has broad permissions and can perform high-impact actions without approval.
- Context gap: memory, identifiers, and constraints disappear between steps or runs.
- Acceptance gap: success is based on the agent saying it succeeded, not an independent system check.
Use the following 12-item audit before adding more autonomy.

12 audits for AI agent automation
1. Tool permissions are wider than the task
A support agent that only needs to read orders often receives write access to billing, refunds, notes, and account data. One confused prompt can then become a production action.
Audit: list every tool and credential. For each, record the business reason, allowed actions, data scope, environment, and owner. Remove unused scopes. Prefer separate read and write tools. Put customer-facing write operations behind a service account with per-action allowlists.
2. Prompts are brittle under normal variation
Prompts often work for clean examples but fail on forwarded emails, missing order IDs, mixed languages, screenshots, or users who provide several requests in one message.
Audit: collect 50 recent real inputs, including ambiguous and malformed ones. Run them through the agent and score extraction, tool selection, refusal behavior, and clarification questions. Move stable rules out of prose prompts and into schemas, validators, or deterministic routing.
3. No human review for high-risk actions
Refunds, account changes, contract commitments, outbound customer messages, and data deletion should not be treated the same as drafting a summary.
Audit: classify actions by blast radius.
| Risk | Examples | Automatic execution | Approval requirement |
|---|---|---|---|
| Low | Internal draft, read-only lookup, ticket categorization | Yes, within limits | None; sample review weekly |
| Medium | Customer reply draft, internal note, non-financial update | Only with validation and rollback path | Human send or rule-based approval |
| High | Refund, payout, deletion, permission change, legal commitment | No direct autonomous execution | Named human approval plus independent verification |
4. Context is lost between steps
An agent may verify an order in step one and later update the wrong account because the ID was carried in natural language instead of a typed field.
Audit: trace a task end to end. Check whether customer ID, order ID, tenant ID, locale, currency, and permissions are passed explicitly. Do not let the model copy identifiers from chat when a system-owned value is available. Bind IDs in the execution layer and reject tool calls that omit them.
5. There is no fallback when a tool fails
Timeout does not mean failure. A duplicate timeout can mean the first request succeeded and the retry created a second charge, ticket, or message.
Audit: inject 400, 401, 403, 404, 409, 429, 500, timeout, malformed response, and empty-result cases. Require explicit handling for retry, stop, manual queue, and user-facing clarification. Write operations must use idempotency keys, such as refund:{tenant}:{order_id}:{approved_refund_id} or a deterministic key generated by the workflow, not the model.
6. Outputs are not validated against schemas
Free-form JSON is a recurring failure source. Models add fields, stringify numbers, use the wrong enum, or omit required fields.
Audit: enforce strict schemas at the tool boundary. Reject unknown fields, validate enums and ranges, and verify references. For example, a refund tool should require numeric amount, currency, order ID, reason code, and approved policy match before execution.
7. The agent trusts stale or unverified facts
A CRM note, chat summary, or cached embedding is not a source of truth for entitlement, payment status, contract terms, or inventory.
Audit: create a source-of-record map. Facts such as invoice status, current subscription, refund eligibility, shipping status, user email, account ownership, and legal terms must be checked directly in the system of record at decision time. Label generated summaries as non-authoritative.
8. Logs cannot reconstruct what happened
Saving the final answer is not enough. You need enough trace data to explain both the model decision and the business effect.
Audit: retain these minimum fields for every run:
| Field | Purpose |
|---|---|
| run_id, parent_run_id, tenant_id, actor_id | Correlate work and scope access |
| model, version, prompt/version, policy version | Reproduce behavior after changes |
| input hash and redacted input | Audit without leaking secrets |
| tool name, arguments, timestamp, latency, status | Reconstruct each action |
| idempotency key and external record ID | Prevent and detect duplicates |
| retrieved record IDs and source system | Verify evidence used |
| approval ID, reviewer, decision | Track human control |
| final state check and business record link | Prove outcome independently |
Mask secrets, tokens, PII, and payment data before storage.
9. The agent cannot say "I do not know"
If ambiguity is penalized but guessing is not, agents will guess.
Audit: add cases with missing IDs, conflicting records, expired promotions, and multiple matching customers. Require clarification thresholds and a manual escalation path. Measure invented facts and unsupported actions separately from helpfulness.
10. Retries and loops have no guardrails
Agents can burn time and money repeating the same failed tool call or rotating through near-identical plans.
Audit: set maximum tool calls, retries, elapsed time, spend, and repeated-error thresholds. Detect identical argument hashes and repeated semantic plans. On threshold, stop and create an incident or manual task with the last verified state.
11. Human review exists, but reviewers cannot verify the work
A broken approval screen shows the agent's recommendation without the evidence needed to challenge it. The reviewer sees "approve refund?" but not the order, policy result, payment state, risk signals, or exact tool payload. That is not review; it is rubber stamping.
Audit: open five recent approval tasks. Confirm the reviewer can see the proposed action, normalized parameters, source records, policy decision, conflicting evidence, diff or preview, and rollback plan. Record reviewer identity, timestamp, decision, and reason. Sample at least 10% of medium-risk approvals and 100% of high-risk actions during launch; after stabilization, keep 100% high-risk review and audit 5–10% of medium-risk work weekly.
12. Business success is self-reported by the agent
"Refund processed" is not proof. The independent proof is a refund record in the payment system with the expected amount, status, order association, and timestamp. The same applies to ticket closure, CRM updates, sent emails, and booking changes.
Audit: define an acceptance check for every action. After execution, read back the business object from the system of record and compare expected fields. Require reconciliations for async operations: poll until terminal state, route failures to a queue, and alert if the final state is missing. Include read-back status in the trace and never let the model mark a task complete solely from its own response.
Remediation order
P0 — stop preventable damage:
- Remove excessive write permissions and separate read-only agents from write workflows.
- Add human approval for refunds, payouts, deletion, access changes, and legal or customer commitments.
- Enforce idempotency keys and read-back checks for every write operation.
- Add run-level limits and kill switches for loops, retries, spend, and repeated failures.
P1 — make failures diagnosable:
- Implement the minimum trace fields and retain external record IDs.
- Add strict tool schemas, source-of-record checks, and explicit fallback handling.
- Upgrade approvals with evidence, payloads, policy results, and reviewer decisions.
- Build a regression set from real failures, not only clean demos.
P2 — improve reliability over time:
- Test ambiguous, multilingual, malformed, conflicting, and edge-case inputs weekly.
- Review 5% of low-risk completed tasks, 10% of medium-risk tasks, and all high-risk approvals.
- Track duplicate actions, unsupported claims, manual overrides, failed read-backs, and time-to-detect.
- Version prompts, tools, policies, and evaluation sets so regressions can be traced to a change.
This week's audit plan
Day 1: inventory tools, credentials, scopes, and high-risk actions.
Day 2: trace 10 production runs end to end and mark missing evidence.
Day 3: test failure injection for timeouts, auth errors, conflicts, empty results, and malformed responses.
Day 4: review approval screens and verify reviewers can see source records and exact payloads.
Day 5: build a 30-case regression set from real tickets: 10 normal, 10 ambiguous, and 10 failure cases.
Copyable checklist
- [ ] Every tool has a named owner, least-privilege scope, and documented business purpose.
- [ ] High-risk actions require human approval and cannot be executed directly by the model.
- [ ] Write tools use deterministic idempotency keys generated outside the model.
- [ ] Every write has an independent read-back from the system of record.
- [ ] Customer, order, tenant, and account IDs are explicitly bound and validated.
- [ ] Tool inputs use strict schemas; unknown and malformed fields are rejected.
- [ ] Payment, entitlement, contract, inventory, and account facts are checked at decision time.
- [ ] Traces include model/version, prompt version, tool calls, results, approvals, and final state.
- [ ] Timeouts, 409 conflicts, empty results, auth failures, and async delays have defined paths.
- [ ] Loops have max calls, retries, spend, elapsed-time, and duplicate-action limits.
- [ ] Reviewers see evidence, proposed payload, policy output, and rollback information.
- [ ] Evaluation includes unhappy paths and runs before every prompt or tool change.
A reliable agent is not the one that sounds most capable. It is the one whose actions are scoped, evidenced, reversible, traceable, and accepted by a system outside the model.