AgentCore로 에이전트를 안전하게 운영하는 방법을 다룬 re:Invent 세션입니다.
AWS re:Invent 2025 - Keep Your Agents Out of Trouble with Amazon Bedrock AgentCore (AIM3330) · AWS Events 채널
그 뒤의 소식
발표 당시 두 기능은 프리뷰였습니다. 같은 글에 붙은 갱신 문구를 보면 Policy는 2026년 3월 3일, Evaluations는 3월 31일에 정식 출시됐습니다.
한 가지는 분명해 보입니다. 에이전트 통제의 무게중심이 프롬프트에서 실행 경로로 옮겨 가고 있습니다. 구글이 Next '26에서 Agent Gateway를 내놓은 것도 같은 흐름입니다. 어느 클라우드를 쓰든, 도구 호출이 한 지점을 지나가게 만드는 설계는 지금부터 준비해 둘 만합니다.
Writing "Never Do This" in the System Prompt
When handing an agent a dangerous tool, the first thing that comes to mind is the prompt. You write something like, "Only process refunds under $200."
The problem is that this is just a request. The model will mostly follow it, but a single prompt injection or a few ambiguous turns in a conversation can break it. And you only find out whether it was followed or not by digging through logs afterward.
When I read the AgentCore Policy announcement, the first thing I wanted to check was this point. Whether the rules are inside the model's reasoning or outside it.
The Answer Was the Gateway
According to the AWS post, the Policy runs in the AgentCore Gateway. When the agent calls a tool, the gateway intercepts the call before it is actually executed and checks it against the policy. It is outside the agent's reasoning loop.
The reason this structure matters is simple. No matter what the model thought, a call that violates the policy will not be executed. It is not a request; it is a block.
You write policies in two ways.
Write in natural language, and it is converted into a Cedar policy.
You can also write Cedar directly. Cedar is an open-source policy language released by AWS.
The example in the post is a refund tool. It allows the refund tool call only when the user has the refund-agent role in the OAuth token, and only when the amount in the tool input is under $200. What stands out is that it looks at the user identity and the tool arguments together in a single policy.
Figure 1. Policies sit outside the model's reasoning, intercepting and inspecting tool calls at the gateway. Drawn by me based on the official announcement.
You don't have to block right away
In practice, a welcome feature was separate. When attaching the policy engine to the gateway, you can choose whether to actually block or just log.
Applying new rules directly to a running agent risks blocking even legitimate requests. A safer sequence is to run in log-only mode for a few days, review the requests that were flagged, and then switch to blocking.
This is a familiar workflow for anyone who has worked with firewall rules. It reads as a signal that agent governance is shifting toward operational patterns similar to security appliances.
Evaluations are scored in production
If Policy covers "what you should not do," Evaluations cover "how well you are doing."
The basic evaluation items mentioned in the post are accuracy, faithfulness, helpfulness, harmfulness, stereotypes, and the accuracy of tool selection and tool arguments. You can also build custom evaluators by choosing your own prompts and models.
The approach is interesting. It continuously scores samples drawn from real production conversations. Data is pulled from the AgentCore agent endpoint or CloudWatch log groups, and results are stored in CloudWatch. You can set up alerts on the scores.
In other words, it is a setup where you receive dashboard and notification alerts like "tool selection accuracy dropped compared to last week." This can be used to catch silent quality degradation after changing a model version or tweaking a prompt.
Points that look like limitations
Policy only sees tool calls that go through the gateway. If an agent calls an API directly, bypassing the gateway, it falls outside the policy. Ultimately, a design that routes all tools behind the gateway is needed first.
LLM-based scoring in Evaluations is itself non-deterministic. Scoring the same conversation twice can yield different scores. It seems more appropriate to use it for tracking trends rather than relying on the absolute value of a score.
This is a re:Invent session covering how to operate agents safely with AgentCore.
AWS re:Invent 2025 - Keep Your Agents Out of Trouble with Amazon Bedrock AgentCore (AIM3330) · AWS Events channel
What came after
At the time of announcement, both features were in preview. According to the update note attached to the same post, Policy was generally available on March 3, 2026, and Evaluations on March 31.
One thing seems clear. The center of gravity for agent governance is shifting from prompts to execution paths. Google introducing Agent Gateway at Next '26 follows the same trend. Regardless of which cloud you use, it is worth preparing now for a design where tool calls pass through a single point.