
Sources checked: . This article contains FailSafe's analysis and proposed validation workflow; linked sources support the reported facts.
An agent can turn one request into many model calls, searches, or worker tasks. A simple per-request rate limit may leave the total work of a single task unbounded. Consider a support assistant that repeatedly retries an unavailable knowledge service. The security and reliability question is whether work stays inside an agreed budget and whether one tenant can consume capacity needed by others. This review should use a controlled low-volume setup, never a production stress event.
Define the boundary before testing
Define limits for wall-clock duration, tool calls, model usage, output size, retries, delegation depth, concurrent jobs, and per-tenant capacity. Identify the component that accounts for each budget and the effect of a user pressing cancel. Use a mocked slow or unavailable tool, two synthetic tenants, and a small task budget. Agree stop conditions and a monitoring owner. Include provider charges and internal worker time in the design discussion without assuming that a token limit alone captures the total cost of a workflow.
Run a bounded assessment
Run a normal task and measure its expected resource use. Then trigger the approved slow-tool and retry fixtures, observing the task’s cumulative budget. Test cancellation while work is queued and while a tool is pending. Check whether delegated workers inherit a remaining budget or each receive a fresh allowance. Run a small concurrent task from the second tenant to observe the documented fairness behavior. Keep request counts below the agreed ceiling and stop if an unexpected production dependency is reached.
Keep evidence an engineer can use
Retain task identifiers, configured limits, attempts, elapsed time, worker state, cancellation outcome, and resource counters. A useful finding explains which accounting boundary was bypassed, such as retries continuing after the parent task expired. Avoid inferring business cost from a provider list price without actual metering data. Record whether cancellation stopped execution, merely hid the response, or prevented new work while an existing call completed. Distinguish intentional completion semantics from an undocumented runaway workflow.
Interpret the result and retest
Retest the same fixture after enforcing the budget at the responsible service. Confirm a legitimate longer task receives an explicit, understandable outcome when it reaches the limit. OWASP denial-of-service guidance supplies general availability background; this article applies a bounded workflow lens to agents. Passing a low-volume budget test does not establish production load capacity or resistance to every resource-exhaustion technique. Those require separate capacity planning, authorized performance testing, and provider-specific operating evidence.
Assessment scope and next steps
This is a proposed defensive assessment workflow, not a finding about a particular product. Use a staging environment, synthetic records, approved test identities, and an agreed stop condition. Record the model, connector, policy, and application versions so a later result can be compared with the same configuration. Unavailable evidence should remain an explicit coverage gap.
Primary reference: OWASP security guidance. The scenarios and acceptance criteria here are editorial recommendations for adapting that background to an authorized assessment.
For a scoped review of these boundaries, explore FailSafe AI security testing and agentic penetration testing. Agree the specific tools, identities, evidence, and exclusions before purchasing an assessment.
Questions & answers
Questions about this topic
Direct answers to common questions about this page.
No. Tool calls, retries, worker concurrency, delegation, wall-clock time, and other metered operations can consume resources independently.
No. Mocked dependencies and deliberately small budgets can reveal accounting and cancellation defects without stress testing production.
Related Articles

Agent Tool Retries: Prevent Duplicate Business Actions
Assess request identity, duplicate handling, approval reuse, and final-state reconciliation when an agent retries a consequential tool call....

API resource consumption: assess limits without a load attack
A resource-consumption assessment should connect expensive API work to quotas, budgets, and safe stopping conditions. The objective is to evaluate how the appli...

Buying an AI Agent Pentest: Permissions, Tools, and Evidence
Scope an AI-agent assessment around authorized capabilities, tool permissions, data boundaries, human approval, and observable outcomes....