Continuous red teaming is the practice of attacking an AI agent the way adversaries would, on a cadence keyed to how often the agent changes, instead of once a year on a statement of work. Penetration testing and red teaming both produce findings. The difference that matters for AI agents is not technique. It is timing.
This argument is for teams running customer-facing AI agents in production or close to it: voice, chat, SMS or email agents that touch accounts, payments, health data or tooling. If your agent answers public FAQs, holds no session state and calls no tools, an annual application pen test plus basic LLM hygiene is a reasonable floor, though a prompt or model update can still change the agent's behavior, so reassess after those; the cadence problem below mostly does not apply.
The trap is treating the pen test report as a durable artifact. For a web application, it roughly is: the code that was tested is the code that runs until the next release. For an AI agent, the system that was tested stops existing the first time someone edits the system prompt, the model vendor ships an update, or an engineer wires in a new tool. The report stays green. The agent it describes is gone.
TL;DR: A penetration test covers the application and its APIs at a moment in time. An AI agent changes with every prompt edit, model swap, tool addition and vendor update, and it is attacked through conversation, so a point-in-time assessment goes stale before the next release. Continuous red teaming matches the testing cadence to the rate of change: rerun the relevant attack suites on every trigger event, rerun the exact attack after every fix, and turn every successful attack into a permanent regression test. Keep the pen test for the infrastructure and API layer. Close the timing gap with continuous red teaming of the agent.
Methodology Note: This guide is based on Hamming's analysis of red-team campaigns, security reviews, and production monitoring across 10K+ voice agents (2025-2026). We've tested agents built on LiveKit, Pipecat, ElevenLabs, Retell, Vapi, and custom-built solutions.Use the attack categories and cadence rules here only for defensive testing on systems you own or are authorized to assess.
Last Updated: November 2026
Related Guides:
- AI Red Teaming Tools for Voice and Chat Agents - how the tool landscape splits between model-level and agent-level testing
- Voice Agent Prompt Injection Testing - the 6-layer test plan for spoken injection attacks
- How to Get Security Sign-Off to Launch an AI Voice Agent at a Bank - the evidence packet each reviewer asks for
- Are Guardrails Enough to Secure an LLM Agent? - why guardrails are a control, not proof the control holds
- Voice Agent CI/CD Testing - wiring security regression tests into release pipelines
- Voice Agent Incident Response Runbook - what to do when an attack reaches production
What is the difference between continuous red teaming and a penetration test?
A penetration test is a bounded engagement: defined scope, defined window, a report, a retest of criticals, done. Continuous red teaming is a standing program: the same adversarial techniques, run again every time the system or the threat changes, with results accumulating into a regression suite instead of a PDF.
Definition: Continuous red teaming for AI agents is the repeated, adversarial testing of an agent, its tools and the APIs behind them, triggered by changes to the system (prompts, models, tools, vendors, channels) and by changes to the threat landscape, with every finding rerun after its fix and preserved as a permanent regression test.
Both practices attack the system rather than audit it, and that is where the similarity ends. The structural differences fall out of one fact: the thing under test does not hold still.
| Dimension | Point-in-time penetration test | Continuous red teaming |
|---|---|---|
| What it covers | The application, network and API layer as deployed during the test window | The agent's behavior: prompts, model, tools, retrieved context, and the APIs behind them |
| Valid until | The next material change to the tested system | The next trigger event, which starts the next run |
| Attack surface | Code paths and configurations, which are enumerable | Conversation, which is open-ended and probabilistic |
| Finding lifecycle | Report, remediate, retest criticals, close | Fix, rerun the exact attack, record the result, add to the regression suite |
| Evidence shape | A dated report | A versioned, replayable test history tied to each release |
| Right cadence | Annual or on major release | On every prompt change, model swap, tool addition, vendor update and new channel |
The pen test is not the weak link here. For infrastructure, network boundaries and API authorization, it remains the right instrument, and DORA's threat-led penetration testing regime shows how regulators think about that layer: financial entities identified under Article 26 run TLPT on live systems supporting critical or important functions at least every three years, with the testing criteria set in RTS 2025/1190, and the ECB's supervisory guide frames the surrounding expectations. Three years is a defensible cycle for core banking infrastructure. It is roughly 150 release cycles for a production AI agent that ships prompt changes weekly.
The agent you tested stops existing before the report is filed
A web application changes when your engineers change it. An AI agent changes when anyone in the supply chain changes anything.
Count the moving parts. The system prompt, which product and operations teams edit routinely. The model, which the vendor retrains, quantizes or deprecates on their schedule, not yours. The tool set, which grows every time the agent gets a new capability. The retrieval corpus, which updates whenever the knowledge base does. For a voice agent, add the ASR and TTS layers, which have their own vendors and their own release trains. Any one of these changes the agent's behavior under adversarial pressure, and none of them requires a code deploy that would show up in your change-management gate.
The attack surface compounds the problem. A pen tester enumerates endpoints and code paths. An attacker on a phone line does not need an endpoint: the conversation is the endpoint. NIST's adversarial machine learning taxonomy (AI 100-2, 2025 edition) maps attacks across the full AI lifecycle precisely because the vulnerable surface is not a fixed set of functions but the model's behavior across stages, from training data to deployed inference. Behavior is also probabilistic: Microsoft's AI Red Team built PyRIT after finding that the same attack path can yield different outcomes run to run, so a single clean pass proves little. The OWASP AI Testing Guide makes the same point operationally: non-zero temperature means attack vectors need to be repeated multiple times, and results can be hard to replicate even then.
Put those together and the point-in-time model breaks twice over. It samples a system that will be different next week, and it samples probabilistic behavior too few times to support the pass it reports.
Bank supervisors have started writing this down. The supervisory framework the OCC attached to Bulletin 2026-54 notes that repeated testing may provide more useful evidence than a single successful run (section 2.5), and that when a vendor changes its model, the bank may retest the model before or when the changes are made (section 2.9). The framework is a resource for examiners and does not establish supervisory expectations for banks. It still signals what an examiner who reads it may ask about: evidence that testing kept pace with change, not a dated report.
How AI red teaming works
AI red teaming for an agent works in five stages: threat model the agent, build categorized attack campaigns, run them at volume, rerun each attack after its fix, and keep every finding as a regression test. "Red teaming" gets used for everything from a jailbreak prompt list to a full adversarial campaign; the last two stages are what separate a real program from a one-off assessment.
1. Threat model the agent, not the model. Start from what the agent can do, not what the model can say: which data it can read, which actions its tools can take, which workflows it can complete, and who is allowed to trigger each one. The OWASP GenAI Red Teaming Guide structures this as four phases (model, implementation, system, runtime) so that testing covers the deployed stack, including guardrails, RAG, infrastructure and live human interaction, not just the model's alignment. Red-team the full path: the agent, its tools and the APIs behind them.
2. Build attack campaigns by category. Prompt injection, jailbreaks, social engineering, impersonation, data extraction, tool escalation, and for voice: deepfaked callers, authority claims, multi-turn pressure. Each campaign names the caller's request, the protected data or action, and the control that should hold. Whether a claimed supervisor can skip an approval check is a campaign. The phrasing that worked on Tuesday is just one sample from it.
3. Run at scale, because behavior is probabilistic. One attempt per attack is anecdote. Automated red teaming exists because the probability structure demands volume: Microsoft positions PyRIT as automation that augments manual testing rather than replacing it, and Anthropic describes the same progression, from expert ad hoc probing to model-generated variations covering more surface in a fraction of the time. Human experts find the novel path; automation measures how often it works and whether it still works next release.
4. Rerun the attack after the fix and record the result. A fix is closed only when the original attack is rerun against the fixed system and the outcome is recorded; a fix without a retest is a hypothesis.
5. Convert findings into regression coverage. Every successful attack becomes a permanent regression test that reruns on later changes. Steps 4 and 5 are what make the program continuous rather than a sequence of disconnected engagements.
For regulated readers, the methodology maps cleanly to what supervisors describe. The OCC framework's section 2.13 describes red teaming as testing whether the bank can handle realistic attacks or misuse, and notes that independent or external expertise may be useful when internal capability is limited (same examiner-resource limit as above). Singapore's MAS Guidelines on AI Risk Management say financial institutions should conduct vulnerability assessments, penetration testing, and red teaming across AI systems (paragraph 5.22(b)); the guidelines apply to financial institutions in Singapore, with sections 5 and 6 applying by 7 October 2028.
How often to red team: key the cadence to trigger events, not the calendar
The decision rule is one sentence: red team when the agent changes, when its supply chain changes, or when the threat changes, and run the full campaign on a fixed backstop interval so drift cannot accumulate silently.
A calendar cadence alone fails in both directions. Quarterly testing over-tests an agent that has not changed and under-tests one that shipped nine prompt revisions since the last run. The trigger-event model spends testing budget where change actually happened. This is the cadence table we run against:
| Trigger event | What to rerun | Evidence to save |
|---|---|---|
| System or workflow prompt change | Injection, jailbreak and policy-boundary campaigns for every workflow the prompt touches | Prompt version diff, campaign results against old and new prompt, pass/fail delta |
| Model swap or vendor model update | Full attack suite; model changes shift behavior globally, not locally | Model and version identifiers, full-suite results, regression comparison against prior model |
| New tool or expanded tool permissions | Tool-escalation and authorization campaigns for the new tool, plus data-extraction campaigns if it reads sensitive data | Tool schema, authorization matrix, every attempted unauthorized call with the backend decision |
| Vendor update in the path (ASR, TTS, telephony, orchestration, guardrail provider) | Campaigns for the layer that changed: ASR stress and spoken-injection suites for ASR, guardrail-bypass suites for a guardrail update | Vendor changelog reference, before/after campaign results, any new failure class opened |
| New channel (voice added to chat, SMS added, new language or market) | Full attack suite on the new channel; channel-specific campaigns (deepfaked callers and background-audio injection for voice) | Channel configuration, full-suite results, channel-specific findings |
| Retrieval corpus or knowledge-base update touching sensitive content | Indirect injection and data-extraction campaigns against the updated corpus | Corpus version, poisoned-document test results, retrieval logs for failed and passed runs |
| New public attack technique relevant to your stack | The new technique as a campaign across all channels | Technique source, results, disposition (vulnerable, mitigated, not applicable) |
| Production incident or monitoring alert | The observed attack as a campaign, plus its category neighbors | Incident reference, reproduction result, fix verification, new regression tests added |
| Backstop interval (fixed; set from your documented risk assessment and rate of change, for example quarterly where tools reach money, PHI or account data) | Full attack suite | Complete run record versus previous backstop, trend on failure rates by category |
The backstop exists because some drift has no visible trigger: a vendor can update a hosted model without an announcement, and retrieval content shifts gradually. The backstop catches what the triggers miss. The "what to rerun" column is scoped on purpose. Rerunning everything on every prompt edit is how continuous programs die of cost; rerunning only what the change touches, plus the full suite at the backstop, is sustainable.
This is also where the OWASP GenAI Red Teaming Guide lands: red teaming is not a one-time event; re-test after implementing fixes and integrate periodic checks into your AI lifecycle to catch new threats as your models and environment evolve.
What rerunning the attack after the fix proves
A finding without a verified fix is a liability note. Three things only a rerun can establish:
The fix works against the attack, not the example. Most first fixes patch the phrasing: a filter for the words the red team used, a prompt line forbidding the specific trick. Rerunning the campaign, not the single transcript, shows whether the control holds against the category. When the rerun uses paraphrases and escalation paths around the original, a phrasing-level patch fails immediately, which is exactly what you want to learn before an attacker does.
The fix did not break the workflow or open a neighbor. Tightening a verification step can lock out legitimate callers; a new guardrail can push the model into refusing its actual job, or into a different unsafe behavior under pressure. The rerun plus the standard functional suite is the only evidence that the fix is a net improvement.
The finding is closed on the record, not on someone's word. The rerun result, tied to the prompt version and model version it ran against, is the artifact a security reviewer, a model risk team or an auditor can accept. "Engineering says it is fixed" is not audit-ready evidence; a replayable before/after pair is. The OCC framework's observation that repeated testing may provide more useful evidence than a single successful run (section 2.5, examiner-resource limit as above) cuts in both directions: it applies to proving a vulnerability and to proving its fix.
The operational standard: a finding's lifecycle ends with a recorded rerun against the fixed system, or it is still open.
Turn every attack into permanent regression coverage
This is the compounding step, and it is the real answer to the cost objection against continuous testing.
Every successful attack, whether a red-team finding or a production incident, becomes a permanent test case: the scenario, the expected safe behavior, and the evidence to capture, versioned alongside the prompts and configuration it tests. The suite then runs on every trigger event in the cadence table and in CI before release. A prompt edit that quietly reopens a vulnerability fixed eight months ago fails the build instead of reaching callers.
The economics invert over time. A pen-test program's knowledge resets toward zero between engagements: the next firm starts from the same scoping document. A regression suite only grows. After a year, a release candidate is tested in hours against every attack that has ever worked on your agent, plus the current campaign library. That accumulated suite is also the honest answer to "how do we know the new model is safe to swap in": run it, compare, decide on evidence.
It also changes what you can show a reviewer. Audit-ready evidence for security, risk and model governance reviews is exactly this artifact: which attacks ran against which version, what failed, what was fixed, what was rerun, and what now runs on every release. A dated PDF cannot answer the question an examiner actually asks, which is what has been tested since.
Keep the pen test; close the timing gap
Nothing above retires penetration testing. The agent's supporting cast is conventional attack surface: the APIs behind the tools, the authentication in front of them, the network boundaries, the cloud configuration, the telephony integration. Those need application security testing, and an attacker who defeats API authorization does not need to say a word to the model. If your pen test scope stops at the web application and excludes the agent's tool APIs, fix the scope before adding anything.
The division of labor is clean. The pen test owns the infrastructure and API layer on its established cycle. Continuous red teaming owns the conversational layer, the agent's behavior, its tools and the path between them, on the cadence the trigger table sets. The two overlap exactly once, at the tool boundary, and that overlap is worth paying for twice: it is where a model-level compromise becomes a real-world action.
What does not work is stretching one instrument to cover the other's layer. A pen test cannot keep pace with weekly prompt changes on an annual cycle, and red-teaming an agent proves nothing about an unauthenticated admin endpoint. Continuous red-teaming, not a point-in-time pen test, is the cadence correction for the layer that changes fastest. The pen test keeps the layer that changes slowest. Run both, and let the cadence table decide when each fires.