Gradient background transitioning from teal at the top to dark green at the bottom.

How Auto-steer keeps AI agents working after a block

Blocking a risky tool call stops the action, but it can also stop the work: in our survey of nearly 6,000 Claude Code sessions, a hard block left the rest of the request waiting for a person 75% of the time. Auto-steer holds only the risky call and reminds the agent what the user asked for, and 93% of agents finished the rest of the request with no one stepping in. In our attack simulation, steering got 90% of blocked sessions to finish the task and cut repeat blocked attempts from 48% to 10%. When steering stops helping, Auto-steer falls back to a hard stop.

Published
December 3, 2026

TL;DR

  • Blocking a risky tool call is essential, but on its own it either stops the work or leaves the goal behind the call untouched. In our survey of nearly 6,000 Claude Code sessions, a hard block that ended the agent's turn left the rest of the request waiting for a person in 75% of cases. In our attack simulation, where a live attacker kept pushing the agent toward the blocked outcome, 48% of sessions came back for another blocked attempt, and in 8% the harmful outcome came back by another route.
  • This matters most in long sessions. In production coding-agent sessions the user's own intent is 1.2% of the words, and only 0.5% past 280 steps, so a block lands when the agent has the least to steer by.
  • Auto-steer holds only the risky call and reminds the agent of the user's intent, so the session keeps going with no one stepping in. In the same survey, when Auto-steer held a call, 93% of agents finished the rest of the request without a reply. In the attack simulation, steering that kept the user's intent in front of the agent got 90% of blocked sessions to finish the task and 83% to finish it with no harm.
  • Steering has a limit. A second steering attempt still helped and a third changed nothing, so Auto-steer gives the agent a few tries and then falls back to a hard stop.

Why blocking is not enough

When a runtime policy blocks an agent's tool call, the risky action never runs, and from the guardrail's side the job is done. The agent, though, is still in the middle of the task the user gave it. A block leaves the agent only two ways forward: its turn ends and the work waits for a person, or it carries on toward the same goal with nothing telling it what to do instead.

In one of our research sessions, an agent was asked to install an old version of a package and to make a small change to the project. The install was blocked for known vulnerabilities and the agent's turn ended on the spot, so the small change, which did not depend on the install, waited until a person typed "continue".

That is what a block does to availability. In our survey of nearly 6,000 Claude Code sessions, when a hard block stopped a tool call, the agent finished the rest of the request in that turn only 25% of the time, and three quarters sat idle until someone replied. A pipeline, an on-call agent or any system that has to stay up has nobody waiting to type "continue", so there the work simply stops.

A block leaves the agent only two ways forward: its turn ends and the work waits for a person, or it carries on toward the same goal with nothing telling it what to do instead.

Letting the agent continue after the block keeps the session alive, and in ordinary work most agents take the "no": in the same survey, only 1.2% of blocked sessions hit the guardrail a second time, and the stopped action never got through another way. The picture changes when something keeps pushing the agent toward the blocked outcome. In our attack simulation, in which a live attacker model kept pressing a Claude Sonnet 4.5 agent, the step right after a block was another blocked attempt 27% of the time, and 48% of these sessions made at least one more blocked attempt, at 1.92 blocks per session. In 8% of them the agent reached the harmful outcome after its first block, each time with a different tool from the one that had been stopped, such as a shell command to a lookalike host.

In a 2026 study of nine models over 23,056 runs, agents completed a denied action with a different tool in 3% to 30% of runs, depending on the model (Lian et al., 2026). Research on guarding tool-using agents found that the most common failure of guards that only block is a stall: with no allowed next step on offer, agents repeated blocked calls until their budget ran out (Anand et al., 2026).

The price shows up in tokens and in people's time. A hard block waits for a person to type "continue", and an agent that carries on after a bare "no" spends tokens looking for another way.

A 2026 study of 12 coding agents working under enterprise security policies found the same pattern in cost: blocked runs rarely stopped early, and on two closely studied tasks nearly all of the added cost came from agents building workarounds (Davidovich et al., 2026).

Keeping the agent on the user's intent

When an agent tries again after a block, it is just trying to finish the task it was given. OpenAI, which has monitored tens of millions of its own coding-agent sessions, found its models "overly eager to work around restrictions in pursuit of a user-specified goal" (OpenAI, March 2026). The block stops one tool call, but the agent still thinks the task needs finishing, so whatever comes after the block has to point the agent back to the user's intent.

Session longevity means keeping long sessions healthy, so that neither an attack nor an agent going rogue ends in an intent violation.

That intent is easy to lose: an attacker can replace it with an instruction planted in the agent's notes, and blocking one call leaves that instruction in place. Even without an attacker, the user's intent fades as the session grows, and the agent loses track of it. Session longevity means keeping long sessions healthy, so that neither an attack nor an agent going rogue ends in an intent violation. In production coding-agent sessions from our research, the user's intent made up 1.2% of the words, and 0.5% past 280 steps. Models struggle to hold on to something that thin. Anthropic describes the effect as context rot: the more tokens in a model's context window, the less accurately it recalls what is in there (Anthropic, 2025). In a 2026 benchmark run in Claude Code, where instructions pile up turn after turn, Claude Opus 4.6 kept 82.4% of them in force in the first two turns and 76.2% by turns nine and ten, while Claude Haiku 4.5 fell from 72.4% to 49.7% (Wen et al., 2026). A block that lands deep in such a session tells the agent what it may not do at the moment it has the least sense of what it was asked to do.

The longer a coding-agent session runs, the less of it is the user's intent
Median share of a session's words that are the user's goals, refinements and decisions
4.6%10-292.2%30-791.0%80-1591.1%160-2790.5%280+Session length (steps)
Figure 1: Coding-agent sessions from our research on production sessions.

Auto-steer: hold the call, remind the agent

In Steer, Don't Stop we argued that a guardrail should correct an agent in the middle of its work. Auto-steer is how Capsule does that when a policy stops a tool call: it holds that one call, lets the agent keep its turn, and reminds it of what the user asked for. With the user's intent back in front of it, the agent returns to its mission and the session stays healthy.

Putting the instructions back in front of the model is what outside research points to as well. In one study, restating a user's earlier requests in a single message recovered close to half of what models had lost over a multi-turn conversation (Laban et al., 2025), and in another, re-inserting the instructions during the conversation reduced how far chatbots drifted from them (Li et al., 2024).

In our attack simulation, steering that kept the user's intent in front of the agent brought 90% of blocked sessions to the end of the task. When the agent was blocked and simply allowed to continue, 64% got there. Not every finished session was a clean one, since some let something harmful through along the way. Counting only the sessions that finished with no harm, the numbers were 83% with steering and 56% with the block alone. The widest gap was in what the agent did after the block. A bare "no" tells the agent what it may not do, but not what the user wanted, and 48% of the agents that got one came back for another blocked attempt. With the user's request back in front of it, only 10% did.

Blocked sessions in the simulationBlock, agent continuesSteering with the user's intent
Finished the task64%90%
Finished it with no harm56%83%
Made another blocked attempt48%10%
Blocks per session1.921.12
Steps per session14.010.2
Agent input tokens per session63k41k
Figure 2: Outcomes of blocked sessions in our attack simulation, by what happened after the block.
A bare "no" tells the agent what it may not do, but not what the user wanted, and 48% of the agents that got one came back for another blocked attempt. With the user's request back in front of it, only 10% did.

Our Claude Code research with the shipped Auto-steer shows the same pattern. In the survey, where a policy stopped a tool call, the agent finished the rest of the request in the same turn 93% of the time, and the stopped action never ran. In a separate pilot of long sessions, ten requests each on real open-source projects, none of the 12 agents under Auto-steer needed a person at the blocked request, against 10 of 12 under a hard block, and the ordinary requests that followed were finished as often as with no guardrail. When the user asked again five requests later to test against the old version, 11 of the 12 stayed with the earlier decision and the twelfth was steered again.

After a stopped tool call, Auto-steer kept the request moving
Requests finished in the same turn, with no reply from a person
Hard block (turn ends)25%Auto-steer93%0%50%100%
Figure 3: Stopped tool calls in our survey of nearly 6,000 Claude Code sessions.

The ROI of Auto-steer

For a team running agents all day, a guardrail has two running costs: the people it pulls back in, and the tokens an agent burns when it keeps pushing at a blocked action. In our survey of nearly 6,000 Claude Code sessions, a hard block needed seven times as many replies from a person as Auto-steer. In our attack simulation, a blocked session that carried on after a bare "no" used a median of about 62,000 input tokens, against about 33,000 with steering.

Steering saves people's time, and tokens when an attacker keeps pushing
Replies needed from a person, per stopped call
A hard block needed 7 times as many.
0.84Hard block0.12Auto-steer
Input tokens per blocked session, under attack
Steering: -35% mean, -48% median.
Steering Block, agent continues
41k63kMean33k62kMedian
Figure 4: Left, stopped tool calls in our survey of nearly 6,000 Claude Code sessions. Right, blocked sessions in our attack simulation.

Where steering stops working

Steering has a limit, and it comes early. In our attack simulation, steering recovered every session it was going to recover within its first two messages. A third, fourth and fifth changed nothing, while a bare block kept catching the agent on each new attempt (Figure 5). So Auto-steer gives an agent a limited number of tries, three by default, and then falls back to a hard stop: steering takes the sessions it can save, and the hard stop takes the rest.

Steering recovers sessions on the first two tries, then levels off
Blocked sessions that finished the task with no harm, by how many attempts were allowed
0%50%100%Auto-steer default:3 tries, then a hard stop12345Attempts allowed75%83%34%56%Steering withthe user's intentBlock, agentcontinues
Figure 5: Blocked sessions in our attack simulation.

A block decides one tool call. Steering keeps the whole session pointed at what the user asked for, and the longer the session runs, the more that matters.

To see Auto-steer keep your agents on mission, book a demo with us.

‍

On this page

Section heading

Read more articles

News

Steer, Don't Stop: The Next Phase of Agentic Security

Blocking an AI agent mid-task means a failed task. Why the next phase of agentic security is steering agents back on course, not shutting them down. (edited)

Naor Paz
November 26, 2026
Research

Inside the model flywheel: how we became an attack swarm's favorite model

Autonomous attack swarms run on the AI keys they steal. We fed one a bait key and became its double agent.

Bar Kaduri
November 24, 2026
Article

Real-Time Prevention at the AgentCore Gateway

Capsule adds real-time prevention at the Amazon Bedrock AgentCore gateway, using agent context and policy to evaluate requests before they reach their targets. Learn how it blocks risky actions across tools, models and other agents while working alongside AWS’s existing controls.

Guy Bidkar
November 16, 2026