AIDR: Detection and Response for the Agentic Era
Every new compute layer earns its own detection discipline
In the early 2000s, when we built one of the first multi-gigabit intrusion prevention systems, the premise was simple: the network had become the place where attacks lived, so the network needed an inline control that could see and stop them at line rate. A decade later, the endpoint became the battleground, and EDR emerged because signature-based antivirus could not reason about process trees, memory injection, or living-off-the-land behavior. Then identity became the perimeter, and identity threat detection and response followed, because attackers had learned that a stolen credential or an over-privileged service account was a faster path to the crown jewels than any exploit.
The pattern is consistent. Each time a new layer of compute becomes the place where business logic executes and decisions get made, attackers follow, and the existing detection stack proves structurally blind to it. We are now at that inflection point again. Large language models and the autonomous agents built on them are no longer experiments sitting at the edge of the enterprise. They read email, query databases, call APIs, write and execute code, open tickets, and increasingly act on behalf of humans with real credentials and real authority.
That is the problem AI Detection and Response, or AIDR, exists to solve. It is not a rebranding of existing tooling, and it is not a model-safety feature bolted onto a chatbot. It is the next detection and response discipline, and security leaders who treat it as such will be far better positioned than those who wait for the first agent-driven breach to define it for them.
Why the current stack cannot see what AI is doing
Consider what an EDR sensor observes when an AI agent is manipulated into exfiltrating data. It sees a legitimate, signed process making HTTPS calls to an approved model provider. It sees that same process invoking a sanctioned API with a valid OAuth token. Nothing about the process lineage, the binary, or the network destination is anomalous. The malicious intent lives entirely in the semantic layer: in a sentence hidden inside a retrieved document, in the reasoning the model produced, and in the sequence of tool calls it chose to make.
This is the core architectural gap. Traditional controls inspect syntax: network packets, files, processes, memory, registry, logs and authentication events. AI systems are attacked through semantics, meaning the attack payload is natural language and the exploit is a change in the model’s intent. A SIEM can ingest the API logs, and a CASB can see which SaaS application was called, but neither can tell you why the agent decided to call it, or whether that decision originated with the user or with an instruction an attacker planted three hops upstream.
The second gap is non-determinism. Detection engineering has historically relied on systems behaving predictably, so that deviations stand out. An agent given the same task twice may take different paths, call different tools, and produce different outputs, all legitimately. Baselines have to be built around intent and policy, not exact behavior, which demands a fundamentally different detection model.
The third gap is identity. Agents act through service accounts, API keys, and delegated user tokens, frequently with permissions scoped for convenience rather than least privilege. Having spent years defending against privilege escalation and lateral movement, I see the same dynamics emerging here, only faster. A compromised agent is a compromised identity that can reason, plan, and adapt, and it often holds access to more systems than any single human user.
Defining AIDR
AIDR is the continuous monitoring, detection, investigation, and containment of threats targeting or originating from AI systems, including models, the applications built on them, and the autonomous agents that act through them. Where EDR answers “what did this process do?”, AIDR answers a harder question: “what was this AI system asked to do, what did it decide to do, and was it authorized to do it?”
Answering that question requires telemetry that most organizations are not yet collecting. A mature AIDR capability draws on four layers:
- Interaction telemetry: the prompts, system instructions, retrieved context, and model outputs, captured with enough fidelity to reconstruct what the model actually saw.
- Action telemetry: every tool invocation, API call, code execution, and file operation an agent performs, linked back to the reasoning step that triggered it.
- Identity telemetry: which human, service account, or delegated token the agent was acting as, and what entitlements that identity carried at the moment of action.
- Inventory and posture: which models, agents, MCP servers, plugins, and data connectors exist in the environment, who owns them, and how they are configured.
The value comes from correlating these layers. A prompt containing an embedded instruction is interesting. That same prompt followed by an agent querying a customer database it has never touched and posting results to an external endpoint is an incident. AIDR is the discipline of stitching those signals together into a coherent narrative, the same way EDR stitches process, file, and network events into an attack story.
What AIDR has to detect
The AI threat surface is broad, but in practice five categories account for most of the risk security teams should be engineering detections for today.
Prompt injection, especially indirect. Direct jailbreaks get the headlines, but the more dangerous variant is indirect injection, where malicious instructions are planted in content the agent will later consume: a web page, a support ticket, a PDF, a calendar invite, a code comment. The user never sees the payload. The agent reads it, treats it as instruction, and acts. Detecting this requires inspecting retrieved content before and after it enters the context window, and correlating it with any subsequent deviation in agent behavior.
Tool and action misuse. Agents are only as dangerous as the tools they can invoke. The meaningful detections here are behavioral: an agent calling a tool outside its declared purpose, chaining tools in a sequence that resembles reconnaissance followed by staging and exfiltration, or escalating from read operations to write and delete operations within a single task. This is where attack-chain thinking from the endpoint world translates most directly.
Non-human identity abuse. Every agent is an identity, and most are over-provisioned. AIDR needs to flag agents using credentials outside their expected scope, tokens reused across contexts, privilege accumulation over time, and agents acting on behalf of users who are not present. The lesson from identity security applies directly: attackers do not break in, they log in, and an agent with standing access is an attractive way to do it.
Sensitive data leakage. Data can leave through model outputs, through tool calls, or through the prompts themselves when employees paste regulated data into unsanctioned services. Effective detection classifies data in motion across all three paths and ties it to the identity and business context of the interaction.
Supply chain and configuration drift. Models, fine-tunes, plugins, and MCP servers are software dependencies with all the risks that implies. A newly connected MCP server with broad permissions, a tool description that changes after approval, or an unvetted model pulled from a public repository are posture signals that belong in the same pipeline as runtime detections.
Response has to move at machine speed
Detection without response is just expensive observability, and the response half of AIDR is where most early approaches fall short. An agent operating autonomously can complete dozens of actions in the time it takes an analyst to open an alert. If the containment path depends on a human reading a queue, the damage is done before triage begins.
The industry learned this lesson once already with ransomware, where dwell time collapsed from weeks to hours and forced response automation into the mainstream. With agents, the window is measured in seconds. Response must therefore be pre-authorized, policy-driven, and executable automatically for well-understood scenarios, with humans brought in for judgment rather than for keystrokes.
The containment primitives for AI systems look different from isolating a host, but the logic is the same:
- Interrupt the session: halt the agent’s current task or block a specific tool call in flight, before it executes.
- Revoke and rotate: invalidate the tokens and API keys the agent was using, and rotate any secrets it may have exposed.
- Constrain the agent: drop it into a reduced-permission mode, remove high-risk tools, or require human approval for every subsequent action.
- Quarantine the source: block or sanitize the poisoned document, web content, or connector that carried the injection so other agents do not consume it.
- Preserve the evidence: capture the full context window, reasoning trace, and action log for investigation, because conversational state is ephemeral and will not be there tomorrow.
Graduated response matters. Not every anomalous prompt warrants killing a production agent that a business unit depends on. The goal is the same proportionality we apply elsewhere in the SOC: automatic action where confidence is high and blast radius is clear, and rapid, well-enriched escalation where it is not.
AIDR belongs inside the SOC, not beside it
There is a real risk that AIDR becomes yet another siloed console with its own alert queue, its own analysts, and its own playbooks. We have seen that movie with cloud security and with identity, and it ends with fragmented visibility and slower response. An AI-driven incident is rarely confined to the AI layer. A poisoned document arrives by email, an agent acts on it through an identity provider, data moves through a SaaS application, and the egress shows up in network telemetry. Investigating it requires all of those signals in one place.
The right architecture treats AIDR as a source of high-value signal and a set of response actions that plug into the same operational fabric as everything else. Detections flow into the same case management system. Enrichment pulls from the same identity, asset, and threat intelligence sources. Response actions, whether revoking an agent token or isolating a laptop, are orchestrated through the same automation layer and governed by the same approval policies and audit trail. In an AI SOC powered by Swimlane Turbine, that means one platform closes the loop on every incident, whatever tool raised the alert.
This is also where AI becomes part of the answer, not only part of the problem. The volume and velocity of agent activity will overwhelm any SOC that relies on manual triage. AI-assisted investigation, which summarizes a reasoning trace, correlates it with identity and endpoint context, and recommends a containment action, is what makes AIDR operationally sustainable. Having built autonomous SOC capabilities, I am convinced the winning model is agents defending against agents, with humans setting policy, reviewing high-impact decisions, and continuously tuning the system. That combination only works on an automation platform that is open, auditable, and able to act across the entire security stack.
Where security leaders should start
AIDR is still maturing as a category, much as the AI SOC itself was only recently mapped by analysts, which means the organizations that move early will shape their programs on their own terms. Five steps will put most security teams on solid footing.
- Build the inventory first. You cannot detect threats against agents you do not know exist. Discover every model, agent, copilot, MCP server, and AI-enabled SaaS feature in the environment, and assign each an owner. Shadow AI is today’s shadow IT, and it is growing faster.
- Treat every agent as an identity. Register agents in your identity program, scope their permissions to the task, eliminate standing privileges where possible, and require short-lived, auditable credentials. This single step reduces blast radius more than any detection rule.
- Instrument the interaction and action layers. Ensure prompts, retrieved context, tool calls, and outputs are logged in a form your SOC can query and correlate. If your AI platforms cannot produce this telemetry, that is a procurement requirement, not a nice-to-have.
- Write the playbooks before the incident. Define what containment means for each class of agent, who can authorize it, and which actions run automatically. Run tabletop exercises built around an indirect prompt injection scenario; most teams discover gaps in ownership within the first fifteen minutes.
- Integrate, don’t isolate. Route AIDR detections into existing case management and automation workflows so AI incidents are investigated with full context and contained through the same governed response path as every other threat.
The next discipline is already here
Every generation of security practitioners gets a moment when the ground shifts beneath the tools they trust. For my generation, it was the move from perimeter firewalls to inline intrusion prevention, then from signatures to behavior, then from networks to identities. Each transition rewarded the teams that recognized the shift early and built the telemetry, detections, and response muscle before attackers forced the issue.
AI is that moment now, and it is arriving faster than any of the transitions before it. Agents are being deployed into production with real authority over real systems, and adversaries are already experimenting with ways to turn that authority against us. AIDR is how we bring the rigor of detection and response to this new layer: see what AI systems are asked to do, understand what they decide to do, and stop them at machine speed when those decisions cross the line. The organizations that build that capability now will be the ones that can adopt AI with confidence rather than fear.

Bring Detection and Response to Your AI Agents
Swimlane AI SOC unifies investigation, case management, and governed response so AI-driven incidents are triaged and contained at machine speed, with every action explainable and auditable.




