Agent Detection & Response (ADR)
Agent Detection & Response (ADR) is the practice of detecting and responding to threats from AI agents at runtime. It watches the actions agents take (tool and MCP calls, identity use, data access) and can block, sanitise, throttle or terminate a malicious action inline, the way Endpoint Detection & Response does for devices.
How it works
ADR runs as a loop with four parts:
- Discover. Find the agents: coding assistants on laptops, agents in cloud and SaaS, and agents inside the company’s own products, including shadow AI. A control cannot be aimed at an agent nobody has listed.
- Observe. Record what each agent does: which tools and MCP servers it calls, with which arguments, under which identity, touching which data.
- Detect. Combine signals across layers: injection in a prompt, a tool call outside the agent’s declared scope, secrets in a tool result, and behavioural signals such as drift from declared intent, cascades between agents, and runaway loops.
- Respond. Pick the smallest action that stops the harm: throttle a noisy session, sanitise a payload, block one call, terminate the session, or page a human. Keep the evidence so the decision can be replayed.
The EDR comparison is about the layer. EDR sees processes. It does not reliably see that a coding agent just tried to read .aws/credentials after summarising a poisoned issue comment. ADR sits where the tool decision happens.
What it looks like
A refund-processing agent declares two tools, stripe-tools and kb-search. In production it starts reading s3://customers/*, again and again. No signature matches, and nothing in the conversation has to look malicious; the signal is the gap between declared intent and observed behaviour. When the drift score crosses its threshold, the session is paused and the agent’s owner is paged, with the full session kept for replay.
Why it matters
Agent failures are often a legitimate tool running with a legitimate identity toward an outcome nobody would have approved. Prompt filters inspect text, so they miss that, and people are too slow to catch it by hand: an agent can burn through dozens of tool calls while someone is still opening the dashboard. Attacks also cross layers. A poisoned document in SaaS can turn into a tool call on a laptop, and then into an exfiltration through a gateway.
What good looks like
- Coverage of every place agents run: employee endpoints, cloud and SaaS, and first-party software.
- Inline enforcement, with a monitor mode for tuning and enforce mode on the highest-risk paths.
- Access decisions made by a policy engine, never by the model’s own judgment.
- Graduated automatic containment for everyday policy breaches, scoped holds when one agent on a shared key must stop without freezing the fleet, and an external kill switch that fails closed as the last resort.
- A decision trail for every block: which agent, which tool, which policy, which outcome.
- Red-team findings that become standing runtime guards.
In the frameworks
- OWASP Top 10 for Agentic Applications (2026): ASI02 Tool misuse and exploitation and ASI03 Identity and privilege abuse are the core targets. ASI08 Cascading failures and ASI10 Rogue agents cover the cascades and drifting agents that behavioural detection looks for. See agentic threats.
- OWASP MCP Top 10: MCP08 Lack of Audit and Telemetry. An action that was never logged cannot be investigated.
- EU AI Act: Article 14 expects high-risk systems to be stoppable through a stop button or equivalent procedure. Wingback maps its incident and response log of detected attacks, blocked events and runtime decisions to Article 26.
- NIST AI RMF: the same log is evidence for the MANAGE function.
How Wingback handles it
Wingback is built for ADR across employee laptops, cloud and SaaS, and the software you ship. AI Surface Intelligence finds the agents. AI Runtime Defense sits inline as a gateway proxy, Kubernetes sidecar or SDK guard and can block, sanitise, redirect, throttle, terminate or alert, with every session replayable. Per-agent guardrails add tool and model allowlists, budget caps, recursion limits and a kill switch.
Keep reading
- GlossaryRuntime AI defenseProtecting AI systems while they run, inline, rather than only scanning code or configuration beforehand.
- GlossaryMCP securitySecuring the Model Context Protocol: the servers, tools, and transports that agents use to reach external systems.
- GlossaryAgentic threatsThreats specific to autonomous agents rather than single prompts: goal hijacking, tool misuse, privilege escalation, memory…
- BlogOne rogue agent in a shared-credential fleet: contain it, kill it, keep the rest runningWhen a fleet of AI agents shares credentials, you can contain the one that goes rogue, kill it if you need to, and keep every…
- BlogAutomatic agent containment: stop drift before you need the kill switchOWASP AISVS requires policy violations to trigger automated containment. How graduated responses (throttle, block, terminate)…