top of page

Abnormal AI AgentCore Email Security Scales Agents by Limiting Their Reach

Sep 16
14 min read

Abnormal AI has deployed Amazon Bedrock AgentCore Code Interpreter inside a detection system that processes billions of email messages each day. The Abnormal AI AgentCore email security design gives autonomous agents temporary compute, but denies that environment unrestricted internet access. That restriction is the central idea, not a minor configuration choice.

Agents handle only tens of thousands of the pipeline’s hardest daily cases. Lightweight classifiers process billions of messages first, while larger machine learning models examine millions of uncertain results. Abnormal reserves agent-driven analysis for the cases that earlier stages cannot confidently classify.

This architecture challenges the simpler idea that better email security comes from sending every message to the largest available model. It also differs from analyst-centered systems such as Microsoft Security Copilot, which can explain phishing classifications for human review. Abnormal places agents directly in an inline detection pipeline, where latency, isolation, and predictable failure boundaries matter immediately.

The deployment is significant because its agents can write and execute scripts while analyzing behavioral threat data. That capability offers more flexibility than a fixed classifier, but it also creates a new attack surface. An email is both evidence and potentially hostile input, so any agent examining it must be treated as capable of making an unsafe decision.

Abnormal’s answer is a layered system built around selective escalation and constrained execution. The model receives room to calculate, aggregate, and verify inside a temporary sandbox. The surrounding architecture decides what enters, what can leave, and what actions remain unavailable.

Abnormal AI AgentCore Email Security Targets the Hardest Cases

The main change is not that Abnormal added an AI agent. It placed code-writing agents inside a live detection pipeline without giving them the entire workload.

According to the deployment case study, Abnormal uses three processing tiers. The first tier applies small models, heuristic rules, and logistic regression classifiers to billions of daily messages. Those methods handle cases that do not require expensive analysis.

Messages that remain uncertain pass to the second tier. Deep learning and other machine learning models inspect millions of messages each day using broader behavioral signals. Only the hardest unresolved cases reach the third tier.

That final tier processes tens of thousands of messages daily with inline agents and Code Interpreter. The agents receive threat intelligence data, write scripts dynamically, and analyze how each case fits Abnormal’s behavioral model. They then contribute to a detection decision before the email reaches the inbox.

This funnel matters for both economics and reliability. Running a general agent across every message would spend the most compute where it often provides the least additional value. It would also expose a larger part of the production pipeline to nondeterministic behavior.

Selective escalation turns the agent into an exception handler. Earlier stages absorb predictable volume, while agents investigate cases that resemble work traditionally assigned to a human analyst. The design uses model complexity according to uncertainty, not according to product positioning.

The architecture also limits the operational consequences of an agent failure. An error at the third tier still matters, but the agent does not control the classification of every ordinary message. A separate system handles misclassifications and uses them to improve the broader detection system.

Abnormal says monitoring systems also verify the live pipeline. The AWS case study does not publish independent accuracy, false-positive, or latency measurements. It therefore documents an operating architecture, not comparative proof that agents outperform every conventional detection method.

The company also runs an analyst agent outside the inline path. That batch system ingests misclassifications and tuning signals, then searches for patterns across larger message sets. It drafts candidate heuristics for the first tier and contributes improvements for the second.

AWS says this analyst agent runs about 100 batch jobs each week. Individual jobs can remain active for more than 30 minutes. Some workflows span a full day because model training occurs outside the Code Interpreter session.

This feedback loop gives the agent a second role. It does not only judge difficult messages. It also mines difficult outcomes for rules that cheaper classifiers can apply later.

The result is a practical division of labor. Fixed rules provide throughput, trained models provide wider pattern recognition, and agents provide flexible investigation. The most expensive reasoning is reserved for cases where that flexibility has a clear purpose.

The Scratch Pad Is Compute, Not More Model Context

Code Interpreter matters because it lets the agent calculate and test claims instead of treating language generation as computation.

A large language model can describe a calculation while still producing the wrong result. It can also propose a useful script without knowing whether that script executes correctly. Abnormal’s agents need a workspace where generated code can run against permitted data.

Amazon Bedrock AgentCore Code Interpreter provides that workspace through an API. The service gives agents an isolated environment for executing commands, uploading files, and returning results. It does not impose a particular reasoning loop or agent framework.

AWS describes the capability as a fully managed, serverless execution runtime. Sessions run inside ephemeral MicroVMs, which are lightweight virtual machines with isolated compute, memory, and filesystems. A session lasts 15 minutes by default and can be configured for up to eight hours.

The environment includes Python and Node.js runtimes with common data processing, statistics, and visualization libraries. Files up to 100 MB can pass directly through the API. Larger datasets can use Amazon S3 or customer-managed filesystem configurations.

The distinction between context and computation is important. Adding threat intelligence to a model’s prompt gives the model more material to interpret. Giving it Code Interpreter lets the agent transform, count, compare, and test that material programmatically.

Abnormal AI executive Shrivu Shankar describes this environment as a compute scratch pad needed by almost any agent. That framing moves code execution beyond software-development assistants. A security agent can use scripts for aggregation, behavioral comparisons, data validation, or repeatable scoring.

The agent can also run programmatic verifiers. Tests, linters, and integration checks provide machine-readable feedback before an output reaches another production component. They do not guarantee correctness, but they give the agent evidence beyond its own generated explanation.

This approach resembles a broader pattern in agent design. Developers increasingly separate the model that proposes work from the runtime that performs it. The model remains probabilistic, while the execution environment supplies deterministic results for specific operations.

AWS first introduced Code Interpreter as infrastructure for securely running agent-generated code. Its value in Abnormal’s pipeline comes from that separation. Abnormal can keep its existing agent harness while treating isolated computation as an external service.

A lightweight harness also gives the agent flexibility. Abnormal says rigid, step-by-step workflows can perform worse than high-level principles paired with general tools. The agent chooses a method, but it must operate inside the boundaries set by the surrounding system.

That balance is difficult. Too little freedom reduces the agent to an expensive fixed workflow. Too much freedom lets untrusted input influence code, network requests, files, and credentials.

The scratch-pad model finds a middle position. It gives the agent local freedom to create scripts and temporary artifacts. It does not automatically grant authority over the production environment surrounding that workspace.

For builders, this design suggests a clear question before adding another model or larger context window. Does the agent need more knowledge, or does it need a controlled place to compute? Those problems require different infrastructure.

Teams building internal agents also need durable records outside the model’s prompt. A searchable knowledge base can preserve specifications and operational findings. The execution sandbox should remain temporary, while approved knowledge persists through governed systems.

No-Egress Sandboxes Turn Agent Risk Into a Bounded Problem

Abnormal’s strongest design choice is denying the analysis sandbox unrestricted network access, even when the agent behaves unexpectedly.

An email-security agent processes content created by outsiders. Attackers can place instructions, links, encoded material, or adversarial text inside that content. A model might interpret those elements as evidence, but it might also treat them as instructions.

This problem is known as prompt injection, where untrusted content tries to redirect an agent from its intended task. Model-level defenses can recognize some attacks. They cannot provide a deterministic guarantee against every manipulation.

Abnormal therefore selected the sandbox network configuration for Code Interpreter. In its implementation, the execution environment has no public internet egress. Threat intelligence can enter for analysis, but generated code cannot freely transmit that information to an outside endpoint.

The restriction serves two goals. First, it improves reproducibility because external websites or services cannot change a session’s behavior during execution. Second, it limits data exfiltration if a model follows malicious instructions or generates unsafe code.

This is the article’s primary tension: agent flexibility versus bounded execution. The system gives the model freedom to choose calculations and write scripts. Infrastructure limits the places those scripts can reach.

AWS supports several network modes for Code Interpreter. Sandbox mode provides restricted external access, including supported Amazon S3 operations. Public mode permits internet resources, while VPC mode connects the environment to approved private resources.

Those options should not be treated as interchangeable convenience settings. Public access expands what an agent can do, but it also expands possible exfiltration and dependency risks. VPC access can reach valuable internal systems, so execution roles and network policies become critical.

Abnormal adds the managed sandbox to its existing network-isolated harness. That defense-in-depth approach avoids treating one isolation boundary as sufficient. The company also controls which data enters Code Interpreter and which write actions the agent can perform.

This architecture aligns with security guidance emerging elsewhere in agent development. Anthropic argues that agent containment needs both filesystem and network boundaries. Without egress restrictions, a compromised process can send reachable secrets elsewhere.

Anthropic’s later containment analysis makes the underlying point more directly. Probabilistic supervision cannot replace a hard boundary on accessible resources. Containment limits consequences even when the model makes the wrong decision.

AWS documentation adds another important qualification. Each AgentCore session receives isolated CPU, memory, and filesystem resources, and its MicroVM is terminated afterward. However, customers remain responsible for permissions, session mappings, input validation, credentials, and connected tools.

The security guidance also warns that code inside a MicroVM can access credentials assigned to that environment. Isolation from other sessions does not make excessive permissions safe within the current session.

A secure sandbox therefore requires more than ephemeral compute. Builders must scope execution roles, restrict network paths, filter tool inputs, and exclude unnecessary credentials. They must also decide what artifacts can leave after execution ends.

The no-egress pattern works especially well for tasks with self-contained inputs. An agent can receive a bounded evidence package, calculate locally, and return a narrow result. Workflows requiring arbitrary websites or external APIs create a harder policy problem.

One answer is a brokered tool layer. Instead of granting general networking, the agent invokes named tools through a controlled proxy. Each tool can enforce authentication, input validation, allowlists, logging, and limited output schemas.

That design preserves useful external actions without turning the sandbox into an ordinary internet-connected machine. It also gives security teams a record of what the agent requested and what the tool returned.

Abnormal’s deployment does not eliminate prompt injection. It reduces what a successful injection can accomplish inside one environment. That is a more defensible production claim than saying the model will always recognize malicious content.

The Three-Tier Pipeline Pressures Both Security Vendors and Agent Builders

Abnormal’s architecture raises the standard from producing persuasive agent answers to producing bounded decisions under live operational constraints.

Email-security vendors already use rules, reputation systems, machine learning, and behavioral analysis. The new pressure comes from placing flexible agents deeper inside detection workflows. Competitors must decide whether agents belong beside analysts or directly in the classification path.

Microsoft’s approach provides a useful comparison without creating a simple winner. Its Security Copilot Phishing Triage Agent assesses email content, sender reputation, and behavioral signals. It produces a classification and a natural-language rationale that analysts can review or override.

That phishing triage model emphasizes governed agent identities, defined triggers, access permissions, and action rights. It places transparency and human review near the center of the workflow.

Abnormal’s reported deployment instead uses inline agents for a carefully filtered subset of messages. The output participates in a decision before delivery, although monitoring and separate learning systems surround it. The difference concerns workflow placement more than basic model capability.

Neither approach makes human analysts obsolete. Abnormal’s hardest cases are the ones that would traditionally demand analyst attention. Its agents absorb some of that investigative work, while humans still design controls, interpret failures, and govern model changes.

The architecture also pressures general agent-platform vendors. A production runtime must support more than code execution. It needs session isolation, lifecycle controls, observability, predictable file handling, and network policies that administrators can reason about.

The managed service reduces the work required to operate disposable compute. However, it does not remove application-level design decisions. Builders still choose which inputs reach the sandbox, how sessions map to tasks, and which results can alter production systems.

The three-tier funnel supplies another lesson. Agent scaling is partly a routing problem. Teams should measure uncertainty and escalate selectively instead of assuming every request deserves the same model, context, tools, and compute budget.

That principle applies beyond security. Customer-support systems can route routine requests to deterministic workflows and reserve agents for ambiguous cases. Data systems can use fixed transformations first, then call agents when schemas or evidence conflict.

The batch analyst offers a second reusable pattern. Production failures can feed an offline agent that searches for repeated causes and proposes cheaper rules. Humans or automated verifiers can evaluate those proposals before promotion.

Yet this feedback loop introduces governance questions. A candidate heuristic derived from past misclassifications can encode a temporary pattern or amplify a biased sample. Builders need evaluation sets, rollout controls, and rollback paths before updating earlier pipeline stages.

The AWS case study does not provide those operational details. It says a separate system learns from errors and that monitoring verifies the live system. It does not disclose approval thresholds, evaluation methodology, or the proportion of agent proposals that reach production.

It also does not reveal end-to-end latency. Inline email detection operates under delivery constraints, and a slow third tier can affect user experience. Selective routing reduces that exposure, but builders still need percentile latency and timeout behavior.

Cost remains similarly unclear. The funnel almost certainly avoids running agent compute on billions of routine messages. The published material does not provide per-message costs, session utilization, or infrastructure comparisons with a self-managed sandbox.

These omissions do not invalidate the architecture. They define the boundary between a useful customer case study and independently verified performance evidence. Enterprise buyers should evaluate the pattern while requesting workload-specific measurements.

For security leaders, the most useful question is not whether one vendor has “agentic” detection. It is where the agent enters the decision path, what evidence it receives, and what happens when it fails.

For platform teams, the question is equally concrete. Can the agent complete valuable work inside a narrowly scoped environment, or does the proposed workflow depend on broad credentials and open networking?

If useful work requires unlimited access, the design has not resolved the central tradeoff. It has transferred that risk into the runtime.

What the Abnormal AI Case Study Does Not Prove

The deployment shows a credible containment pattern, but it does not establish independent gains in accuracy, speed, or total operating cost.

The central source is an AWS article written with Abnormal’s participation. AWS supplies the infrastructure, and Abnormal is the featured customer. Readers should treat scale figures and workflow descriptions as attributed company claims.

The reported volumes are still informative. Billions of messages enter the first tier, millions reach the second, and tens of thousands reach agents each day. However, those counts do not reveal how often agents improve the final verdict.

Several missing measurements would change the assessment. False-positive rates would show whether difficult legitimate messages face extra risk. False-negative rates would show whether the agent catches attacks missed by earlier models.

Analyst-review data would also help. If humans frequently reverse agent decisions, the third tier might function as a prioritization tool rather than autonomous detection. If reversals are rare, buyers would still need evidence that monitoring catches silent errors.

Latency distributions matter because averages can hide operational failures. A small group of long-running sessions might delay mail even when typical classifications finish quickly. Timeouts and fallbacks should be tested as carefully as model quality.

The same caution applies to deterministic claims. Removing public internet access reduces external variability, but model outputs can remain stochastic. Software libraries, input ordering, runtime versions, and orchestration logic can also influence results.

“No egress” should likewise be read precisely. It constrains public network communication from the sandbox. It does not automatically validate incoming data, prevent harmful local computation, or guarantee that returned artifacts contain no sensitive information.

Output controls therefore remain necessary. A generated report can itself contain confidential data. A script can create an oversized artifact, consume session resources, or produce a misleading result without contacting the internet.

Persistent storage creates additional considerations. Abnormal uses files as checkpoints when work outlasts a session. Builders adopting that pattern must define retention, access boundaries, encryption, concurrent writes, and artifact ownership.

The file system is a recovery point, not a security policy. Data that leaves an ephemeral session becomes durable somewhere else. Its protections then depend on the storage service and the application using it.

Long-running work also complicates identity. A day-long process can cross multiple sessions and external training jobs. Each handoff needs an authenticated task identity, explicit inputs, and verifiable outputs.

Observability helps reconstruct these transitions. AgentCore can send logs to Amazon CloudWatch and audit activity through AWS CloudTrail. Teams must still choose what to log without copying sensitive message content into another system.

Monitoring an agent requires both operational and security signals. Execution errors, timeouts, and resource consumption reveal reliability issues. Unexpected commands, blocked network attempts, and unusual output sizes can expose hostile or confused behavior.

Builders should also test failure paths deliberately. What happens when the sandbox cannot start, a script exceeds limits, or the model produces invalid code? The system needs a safe fallback that does not quietly classify uncertainty as safety.

For Abnormal, earlier detection tiers provide part of that surrounding structure. The published case does not specify the final fallback for every third-tier failure. That gap is worth examining during technical evaluation.

The case study therefore supports a narrower conclusion than its scale alone might suggest. Managed ephemeral compute can fit inside a high-volume security pipeline when routing sharply limits agent workload. Strong containment can also reduce the consequences of model failure.

It does not prove that every security decision benefits from an agent. It shows where Abnormal believes flexible computation earns its place: the small, difficult tail that simpler systems cannot resolve confidently.

Three Signals Will Show Whether This Pattern Holds at Scale

The next test is whether Abnormal and AWS publish operational evidence that connects isolation architecture to measurable detection outcomes.

The first signal is workload-quality data. Watch for false-positive rates, false-negative rates, analyst overrides, and measurable improvements against the previous third-tier process. Those results would strengthen the case that agents add detection value rather than architectural complexity.

A lack of such measurements would not prove failure. It would keep the strongest claims inside the category of vendor-reported implementation experience. Buyers would need to run controlled evaluations with their own traffic and threat profiles.

The second signal is deeper policy control in managed code-execution services. Useful developments include narrower egress allowlists, per-tool authorization, artifact scanning, credential brokering, and detailed session provenance. These controls would strengthen the tradeoff by granting capabilities without broadening the entire sandbox.

Movement toward unrestricted networking would weaken the pattern. It could make integrations easier, but it would also place more pressure on probabilistic model defenses. The safest architecture keeps authority outside the model wherever possible.

The third signal is adoption of selective agent routing by other security vendors. Microsoft already connects agents with phishing triage and analyst workflows. The important next step is evidence that vendors can place agents inline while maintaining transparent fallbacks and review paths.

Broader adoption would suggest that Abnormal’s three-tier funnel is becoming an industry pattern. A retreat toward analyst-only copilots would indicate that latency, reliability, or governance still blocks inline autonomy.

Builders do not need to wait for that market verdict. They can test the architecture now with bounded workloads and explicit evaluation criteria. Start with cases where the input package is self-contained and where a deterministic verifier can judge the result.

Keep durable credentials outside the execution environment. Grant only the data and tools required for one task. Treat every document, message, website, and tool response as potentially hostile input.

Make session termination part of the design, not a cleanup detail. Persist only approved artifacts, and attach them to an auditable task identity. Define safe behavior for every timeout, malformed result, and unavailable dependency.

Most importantly, measure the funnel. Record how many cases each tier resolves, why escalation occurs, and whether the next tier improves the outcome. Agent compute should earn its position through measurable value.

The Abnormal AI AgentCore email security story is ultimately about disciplined limitation. Agents receive enough freedom to investigate cases that fixed systems cannot settle. They do not receive unlimited reach simply because their reasoning appears useful.

That is the practical question for every production agent team: what valuable work can your agent finish inside a disposable, observable, and tightly bounded environment? Build that boundary first, then decide how much autonomy belongs inside it.

Give every agent the context to do better work

Connect your agents to the knowledge, decisions, and history already organized in remio.

remio currently supports Windows 10+ (x64) and Macs with Apple silicon.

Your AI Partner at Work
Get more done with remio

Plan. Create. Deliver.
All in one place.

bottom of page