AWS rebuilt AgentCore around microVMs and lifecycle hooks. Policy now has a place inside the agent loop
In one week AWS shipped a faster, isolated AgentCore runtime and an upgraded harness with lifecycle hooks that can deny a tool call. The hooks are where enterprise rules stop being prompts.

Most enterprise rules for AI agents are written in prompts: “never issue a refund above $500 without approval.” The model usually follows them. Usually is the problem. Between November 12 and 19, AWS shipped two changes to Amazon Bedrock AgentCore that move rules like that out of the prompt and into code that runs at fixed points of the agent loop, whether the model agrees or not.
Change one: a runtime built for long, isolated sessions
The next-generation AgentCore runtime, announced on November 12 by Madhu Parthasarathy, general manager of AgentCore, runs each session in its own hardware-isolated Firecracker microVM with its own identity, policy and audit trail. AWS says sessions now start in under two seconds regardless of container image size or concurrency, up to 15 times faster than before; sessions can use up to 8 vCPUs and 32 GB of memory, four times the previous ceiling; images can reach 10 GB; and multi-turn agents consume up to 68% less memory per session.
Pricing follows the shape of agent work. Idle agents scale to zero. For always-on agents there is committed baseline pricing, billed as a memory minimum, with bursts up to four times the baseline at AWS Lambda MicroVM rates. Customers quoted by AWS report early numbers, such as Mission Cloud’s 17% lower measured runtime cost per call; these are their own measurements.
One gap is stated plainly: scoping storage per session through session-labeled credentials is not yet available, and AWS plans it by re:Invent. Until then, isolation of compute is stronger than isolation of what a session can reach in shared storage.
Change two: a harness with hooks
On November 19, AWS upgraded the AgentCore harness to its open-source Strands harness, released earlier this year under Apache 2.0. The managed defaults now include a recommended model, a task-oriented system prompt, automatic prompt caching (initially for Anthropic models on Bedrock) and proactive context management. AWS claims about 34% lower token cost than other leading harnesses, without naming the comparison.
The more important addition is lifecycle hooks: your own deterministic code at defined points of the loop.
- before_invocation
- before_tool_call
- after_tool_call
- after_invocation
An AWS Lambda hook runs synchronously and returns allow or deny with a reason. If the function times out or fails, a configurable failure mode applies, and it defaults to deny. Hooks on Amazon SNS or EventBridge are notifications and cannot block anything. AWS’s own sample is the refund rule above: a hook that auto-approves refunds up to $500 and denies the rest.
Why hooks matter more than the speedup
We argued that some decisions an agent’s model should never make: whose authority it uses, how much it can spend, which actions need a person. A prompt can describe those limits. Only code outside the model can enforce them. A before_tool_call hook is that enforcement point, and it is the same idea Taxbit applied when it bound identity before the model ran.
The details in AWS’s documentation are the ones a security review will ask about:
- Fail closed is the default. Keep it. A policy check that fails open on timeout is not a control.
- The after-invocation hook cannot recall what was already streamed. Anything that must not reach the user has to be stopped before the model’s answer, not after.
- Tool surfaces can grow. When the allowed tool list is a wildcard, the harness provides the current recommended built-in tools, and AWS notes that this set can gain capabilities over time. If your security boundary is fixed, list the tools explicitly.
- Subagents share the parent’s hooks. The subagent tool runs inside the same invocation, with the same limits and tool-call hooks, which is what you want: delegation does not open a side door.
What to do with it
Move the rules that matter out of prompts and into before_tool_call hooks: spending limits, record-change approvals, data classifications a tool may not touch. Keep the hook logic small, tested and versioned like any control. Log every deny with its reason, because the denials are your evidence that the policy works. And treat the runtime’s per-session isolation as necessary but not sufficient until per-session storage scoping arrives.