For most of the last decade, the most advanced thing a security team could do was automate its response.
You wrote a Security orchestration, automation and response: the platform that holds the case queue and runs playbooks. playbook, tied it to a trigger, and let it run. A detection fired or a threshold was crossed, and the playbook blocked the hash, disabled the account and opened the ticket. That was the edge of the field, and it was real progress.
It also changed where analysts work. Nobody picks alerts off the SIEM by hand anymore. The SIEM feeds a SOAR or a case management platform, alerts are correlated into cases there, and the case queue is where the day is spent.
But automation covered the part of the job that was already a procedure. Most of the time in a SOC goes into deciding what a case actually means. Which process touched the credential store, and what started it? Who was logged on? Does this service account normally behave like this? Was there an approved change? An analyst answers those questions one query at a time, for every case, while the queue keeps growing.
Playbooks can’t do that part well, because investigation isn’t a decision tree. Each question depends on the answer to the previous one. Anyone who has run a large SOAR deployment knows where trying to script it leads: hundreds of playbooks, most of which nobody trusts to run on their own.
That would be a slow problem if attackers stayed slow, and they won’t. This spring, Anthropic’s Mythos Preview showed that a model can find thousands of serious vulnerabilities in a few weeks and chain them into working attacks. Whoever ends up with that kind of capability, attacks will arrive faster and in greater numbers than a team of people working in shifts can investigate.
So the answer can’t simply be more analysts or more playbooks. It has to be a SOC that investigates at the speed it is attacked: agents that pick up every case the moment it opens, work on it in parallel around the clock, and hand people a verdict backed by evidence. That is what I mean by an agentic SOC. Agents also make mistakes, so it has to be designed on the assumption that they will. The rest of this piece is how to build one.
Agents and SOAR
The first design question is who is allowed to change things in production. My answer is simple.
Agents read. SOAR writes.
An agent is good at open-ended reading. It can form a hypothesis, choose the next system to query, weigh evidence that disagrees, and explain how it reached its conclusion. It is a poor last line of defence before something changes in production. is the opposite: rigid, auditable, and already tested against your real systems.
So the agent never holds the credentials that isolate a host or disable an account. It returns a recommendation, such as isolating a specific host, together with the evidence behind it. Policy decides whether a person has to approve it, and then SOAR carries it out with a playbook you already trust.
That is why agents don’t replace SOAR. They take over the investigation, which SOAR was never good at, and SOAR goes back to doing what it does well. Over time your playbooks get smaller, because the branching logic that made them sprawl moves into the agents, and what is left is a set of small, well-tested actions.
The architecture
One piece at a time
Dashed names light up in the diagram. Dotted words have a short definition.Tap a dashed name to find it in the diagram. Dotted words have a definition.
Start with what you already have
Every SOC already has three things. A Security information and event management. Where logs are collected and detection rules raise alerts. that collects logs and raises alerts. A , or a case management platform, that correlates those alerts into cases, holds the queue, and runs playbooks when a trigger fires. And underneath both, the systems that actually know what happened: Endpoint detection and response, network detection and response, and privileged access management., the firewall, the virtualization and container platforms, backups, the asset inventory, change records, and the record of who owns what. work from the SOAR queue and connect the rest by hand.
None of that gets replaced, and none of it gets rebuilt. SOAR stays the system of record for cases. Everything new plugs into it, and it is built in layers, from the parts that never think to the parts that do.
A thin layer beside SOAR
The first layer is deliberately boring, and deliberately small. SOAR already correlates alerts, opens cases and fires playbooks on triggers, so an investigation starts the same way a playbook does: with a on case creation. The trigger hands the case to a , which starts the investigation as its own job. An keeps everything the investigation collects. An records every call, every verdict and every approval, and streams it back to the SIEM.
That is the whole layer. It has no case system, no workflow engine and no analyst console of its own, because SOAR already has all three and analysts already live in them. No AI model runs here, on purpose. Everything that starts, stores, retries or times out is ordinary software with ordinary tests, so whatever the agents do above it, you can always reconstruct who did what and when.
Every investigation gets its own microVM
When a case opens, the dispatcher starts its investigation in its own short-lived A very small virtual machine with its own kernel that starts in a fraction of a second, so whatever runs inside is cut off from the host and from its neighbours.. Each one gets a fresh , its own temporary identity, network access to nothing except the model and the gateway, a hard time limit, and a budget for tokens and tool calls. When the investigation ends, the microVM is destroyed, and only the evidence it gathered survives.
That sounds strict, and it is, because a lot of what an agent reads was written by the attacker: command lines, file names, email bodies, DNS names. Treat every investigation the way you would treat a An isolated machine where suspicious files are opened on purpose, on the assumption that they are hostile., as something that may be hostile, and make sure one poisoned case can never affect another.
This is also why I would use a microVM rather than a plain container. A container shares the host’s kernel with everything else on the machine, so one escape reaches every investigation running beside it. A microVM such as Firecracker gives each investigation its own kernel and still starts in a fraction of a second, which is what makes one per case affordable. Containers are a reasonable way to start, and Kata Containers lets you keep a container workflow while each one runs inside a microVM. But for code that reads what attackers wrote, microVMs are the right default.
The harness is the lead agent
An agent is a model running inside a The program that runs an AI agent: it calls the model, runs the tools the model asks for, manages what is in context, and decides when to stop.: the loop that calls the model, runs the tools it asks for, feeds the results back, manages what stays in context, and decides when to stop. Claude Code, Codex and OpenCode are harnesses, and each can run headless inside a job: the Claude Agent SDK, Codex in non-interactive mode, or OpenCode through its server.
My advice is not to write that loop yourself. The harness is the . It reads the case, plans the investigation, starts sub-agents for the parts that need them, and checks the answers before it writes a verdict. There is no separate supervisor agent sitting on top of it, because that is what a harness already is.
What you own is the configuration, and most of it takes the form of : short, versioned instructions that tell the harness how your team investigates. A skill for a credential alert says which systems to check, in what order, what counts as a benign explanation, and when to stop. Skills are where a SOC’s experience goes, and they are specific to your tools and your way of working. Keep the harness behind a thin adapter, and moving from one harness to another, or to an open-weights model, is a configuration change followed by a regression run rather than a rewrite.
Sub-agents, MCP and memory
The harness delegates the digging to specialists: one for , one for the , one for endpoints and workloads (), one for , and one for . Each is a An agent started by another agent for one task, with its own instructions, tools and context. with its own Everything the model can see at once: instructions, history and tool results. Space is limited, and what goes in shapes what comes out. and a short list of tools. Deciding which sub-agents exist and which tools each one gets is agent engineering, and the lesson is consistent: several small agents with narrow jobs beat one agent with forty tools.
Every tool reaches the agents through Model Context Protocol. An open standard for connecting AI agents to tools and data, so each tool is integrated once instead of once per agent.. MCP servers are to agents what integrations are to SOAR, and many security vendors now ship them for their SIEM, EDR and cloud platforms. For internal systems such as the CMDB or change management, you write a thin one yourself. The harness never connects to any of those servers directly. It sees exactly one MCP endpoint, the gateway, and its built-in shell and web tools are switched off.
The memory agent uses Retrieval-augmented generation. Search your own data first, then give the relevant pieces to the model. over what the SOC already knows: earlier cases involving the same host or user, how they were resolved, the runbook for the detection that fired, and patterns that turned out to be benign. A question like “have we seen this before?” becomes a single call instead of an analyst’s afternoon.
Context engineering decides what each agent actually sees. The lead agent gets the case summary, the plan and links to the evidence, never megabytes of raw vendor output. Anything an attacker could have written is marked as data rather than as instructions. Sub-agents hand back findings instead of transcripts, so the lead agent keeps enough room to think.
Put together, the harness runs the loop, skills say how you investigate, agent engineering decides who works on what, context engineering decides what each of them sees, and MCP through the gateway decides what they can touch.
The gateway is the boundary
If you build one component yourself, make it the . Every tool call from every agent passes through it, and it is where permissions live. The rule for scoping them is the one you already use for people: an agent gets what an analyst would get for an investigation, and nothing that can’t be undone. Reading logs, listing processes, pulling a file hash, checking a session: allowed. Isolating a host, disabling an account, changing a rule: not exposed at all. For each call, the gateway checks which investigation is asking and whether the tool is on that agent’s list, makes the call with a short-lived credential the model never sees, stores the full response as evidence, and hands the agent a reference and a trimmed summary.
This is what turns “the AI isn’t allowed to do that” from a hope into a property of the system. Instructions in a system prompt can be argued with. A permission enforced outside the model cannot.
Read-only, enforced
Every connection from an investigation to your systems is read-only, and so are the gateway’s credentials. Agents can look at everything they need and change nothing. Changes happen later, through SOAR, after policy and people have agreed.
Some tools don’t split cleanly into read and write. A remote shell on an endpoint is the usual example: the same session can list the running processes or wipe the disk. For those, don’t expose the MCP server and hope the prompt keeps the agent polite. Either the gateway allows an explicit list of commands, the ones that only read, or you wrap the tool in a dedicated sub-agent that knows exactly which commands it may run and refuses everything else. Where even that is too vague, the agent doesn’t get the tool, and the case says so.
Evidence, not opinions
The most important property of an agentic investigation is that a person can check it. Every tool response the agents receive is stored as evidence, hashed so it can’t be quietly changed, and listed in a manifest that the signs when the case closes. Every claim in the final verdict has to point to a piece of that evidence.
Before the lead agent writes its verdict, it checks each claim against the evidence in a fresh context, separate from the reasoning that produced it. Claims without support are sent back or dropped. An empty search is reported as a gap in coverage, never as proof that a case is benign. The analyst receives a case that has already been worked, with every statement one click away from the data behind it.
The same design protects the investigation from the data it reads. Suppose an attacker plants a Text written to manipulate an AI, hidden in data it reads, such as a file name, an email or a log line. in a log line, asking the agents to open a firewall rule. An agent may well be persuaded, but the request still has to pass through the gateway, and firewall changes are not in any agent’s tool set.
The model can be talked into things. The gateway can’t.
People approve in SOAR, SOAR acts
When an investigation finishes, the verdict, the recommended actions and the evidence manifest are written back to the case in SOAR, and the job is destroyed. The analyst doesn’t open a new console. The case they would have worked by hand arrives already worked, with the argument laid out and every claim one click from the data behind it. They approve or reject each action in the SOAR they already use, and SOAR runs the playbook it already has. Approval might take thirty seconds or three hours, and nothing is running while it waits.
Everything along the way is written to the , so for any change in production you can say what happened, who approved it, which investigation recommended it, and which permission allowed it. That is exactly what an incident review will ask for.
Where it runs
A short note on deployment, since it matters less than the design. The service is small: a trigger endpoint, the dispatcher, the evidence store and the audit log. I would run it on a private Kubernetes cluster that uses workload identities instead of stored keys. Each investigation runs in its own microVM, started from a signed image: Firecracker directly, or Kata Containers if you want to schedule them from the same cluster. Short-lived container jobs, such as Cloud Run Jobs or Kubernetes Jobs, are a fine first step, and the same image moves to microVMs later. The dispatcher sits on a durable queue, and evidence goes into an immutable, versioned store encrypted with your own keys.
Any of these can be swapped for an equivalent. What matters is that the service is boring and highly available, and that every investigation is disposable.
The feedback loop
The loop is the product
This is the part I care about most, and the part most AI SOC pitches skip.
Every SOC already produces the data it needs to improve, and then throws it away. The knowledge that a rule fires on the same backup job every weekend lives in a ticket comment that the rule’s owner never reads.
In an agentic SOC, every case closes with a structured record: the verdict, the reason, the entities involved, which detection fired, the evidence, and whether a person overruled the agent. Each night, a tuning agent groups the false positives by rule and by what explains them, and opens a pull request against your Detection rules kept in git, reviewed and tested like software. repository. It proposes the narrowest change that would have prevented the noise, and links every case that justifies it.
That pull request goes through the same CI/CD pipeline as any other code. The changed rule is validated against at least 30 days of historical data before it can merge. After that, it runs in shadow mode, next to the live rule but without raising alerts, for at least seven days. Only then does a detection engineer promote it.
One guardrail matters more than the rest. A loop that only learns from closed cases gets better at ignoring noise and quietly worse at catching attacks, because triage is where real attacks most often get dismissed. So no change merges unless the rule still fires on a replay of the attack it exists to detect. The tuning agent drafts changes, and it never merges them.
Tuning the responses
Responses improve the same way. For every type of action and every class of asset, the system keeps four counts: how often the action was recommended, approved, edited and reversed. That ledger is where autonomy comes from, and the gateway checks it whenever an agent recommends an action.
Quarantining a suspicious email for a regular user can earn the right to run without approval after a long record of correct recommendations. Isolating a domain controller never will. Promotion is slow and earned, and a single reversal for cause demotes the action immediately.
The agents themselves are tuned the same way. Closed cases with confirmed verdicts become a test set, and because the evidence for each case is stored, those cases can be replayed against a new model, prompt, skill or harness version, and the verdicts compared, before anything changes in production.
Beyond SOAR
SOAR isn’t going away. It is still the right way to make a change in production, and it is still where the cases live. What lies beyond it are three things it was never built to do.
- Investigate
- Follow the evidence wherever it goes, instead of down branches someone wrote last year.
- Explain
- Hand a person an argument they can check, with every claim linked to the evidence behind it.
- Learn
- Turn every closed case into a better rule, a better-calibrated action, or a new test.
Those three capabilities are where detection and response is heading.
Agents that never clock out
Put all of this together and the shape of the future SOC becomes clear. It isn’t a team of people working through a queue in shifts. It is agents working in parallel around the clock: every case gets its own agent harness, in its own microVM, the moment it opens. When an attack is under way, hundreds of them run at once, and every one of them leaves evidence behind.
Speed is the reason this matters now. When attackers can use models to find vulnerabilities and build exploits faster than ever before, the time between the first alert and a contained incident has to shrink from hours to minutes, at three in the morning just as much as at three in the afternoon. People cannot do that alone. Parallel agents can, as long as they read everything, change nothing on their own authority, and get better with every case.
What I’d do again, and what I wouldn’t
What works
- An existing harness with your own skills and guardrails. Spend your effort on the gateway, the evidence and the tests rather than on the agent loop.
- Context before threat intel. The CMDB, change records and ownership data close more cases than any feed.
- Agents that can’t write. Every change goes through policy, a person where it matters, and SOAR.
- Autonomy per action and per asset. It is earned from the ledger and spot-checked by someone who didn’t approve it.
What doesn’t
- A chat window on top of the SIEM. Queries get faster, but the queue stays exactly as long.
- An LLM step inside a playbook. You get SOAR’s brittleness and a model’s unpredictability at the same time.
- Rules that live only in the prompt. A well-written log line can talk its way past them.
- Vendor MCP servers wired straight into the agent. Every server the agent can reach is a credential it holds.
- Auto-tuning without a backtest. Sooner or later, it suppresses the very attack the rule was written for.
Where I’d start
If I were starting on Monday, I would do it in this order.
- Plumbing, read-only. Build the trigger, the evidence store, the gateway and the audit trail before any agent runs.
- Shadow. Run agents on three or four of your noisiest detections without showing anyone the results, and compare their verdicts with what your analysts decided.
- Assist. Write the agents’ findings back to the case, require approval for every action, and start the action ledger on day one.
- Promote narrowly. Let the first action and asset class that earns it run on its own, and nothing broader.
- Close the loop. Turn on the tuning agent, so every closed case starts improving your detections.
How long each step takes depends on your alert volume. The order shouldn’t change.
I don’t think this is a few years away. It is happening now.
The models got good enough this year, and the attackers noticed first. A SOC that starts on this in two years will spend a long time catching up.
What changes most is the job. The analysts I know don’t want to spend their day running the same queries over and over. They want to work the incidents that matter, decide what an agent should be allowed to do on its own, review the detections the system proposes, and make the agents better at the work. That is detection engineering and response engineering, and it is a better job than the one most of them have now. SOAR stays where it is, doing what it has always done well.
None of this needs a breakthrough. The harnesses exist. MCP exists. Your tools have had APIs for years. What is missing is someone willing to wire it together in the right order and keep the evidence. That is the work, and I think it is the most interesting work in security right now. If you are doing it, I’d like to hear from you.