Amazon Bedrock AgentCore、エージェントの振る舞いとコスト管理機能を強化
本文の状態
日本語全文を表示中
詳細モードで約12分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
AWS Machine Learning Blog
Amazon は AI エージェントの自律的な行動パターンにおけるセキュリティリスクに対処するため、AgentCore に時間的ポリシーとレート制限機能を追加し、インフラ層での一貫した制御を強化する。
AI深層分析を開く2026年8月7日 02:32
AI深層分析
キーポイント
エージェントの自律的リスクの可視化不足
個々のアクションは正当でも、その積み重ねによる予算超過や不正送金などのパターンリスクが従来のガードレールでは検知できない現状を指摘する。
インフラ層でのセキュリティ制御の原則
アプリケーションコードに依存せず、AgentCore のゲートウェイというインフラ層でセキュリティコントロールを一貫して適用する設計思想を明記する。
Dogwood による時間的ポリシーの実装
AI エージェント専用に設計されたオープンソースのポリシー言語「Dogwood」を活用し、エージェントの行動履歴や全体像に基づく制限を可能にする機能を追加する。
ゲートウェイ機能の強化と管理
MCP サーバーや LLM へのトラフィックを一元管理するサーバーレスゲートウェイにレート制限を追加し、トークン消費の上限制御などを可能にする。
時系列ポリシーによる行動シーケンスの制御
個々のアクションのチェックだけでなく、セッション内の過去の行動履歴に基づいて次の呼び出しを許可または拒否する機能を提供する。これにより、予算超過や順序違反、承認要件などのシナリオを包括的に管理できる。
重要な引用
Agents decide their own path as they go, so every step can pass on its own while the shape of the whole goes unexamined.
Security controls belong in the infrastructure layer, enforced consistently across every agent, rather than in application code where each team implements them differently.
An agent looks up a customer's account, then transfers money to a different account number, because each call was judged on its own.
Temporal policies extend the policies in AgentCore to close that gap. Rather than judging a request in isolation, the policy engine also looks at what the agent has already done in that session, then permits or denies the call based on that sequence of actions.
編集コメントを表示
編集コメント
エージェントの自律性が高まる中で、個々の動作の安全性だけでは不十分であるという洞察は極めて重要だ。Dogwood のような専用言語を用いてインフラ層で制御をかけるアプローチは、実務における信頼性の向上に直結する有望な技術的転換点と言える。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
エージェントの自律化が進み、導入数も増加している一方で、信頼性とセキュリティは追いついていません。マッキンゼーの調査によると、すでに組織の約 80% が AI エージェントによるリスクのある行動に直面しています。その結果、セキュリティやリスクへの懸念が、アジェンティック AI のスケーリングにおける最大の障壁となっています(McKinsey's State of AI Trust in 2026 および Trust in the age of AI agents 2026)。
つまり、信頼こそがエージェントの革新と普及を左右する鍵となります。この信頼を獲得するには、アイデンティティ、アクセス権限、観測性、評価、トレーサビリティなど、広範な領域における制御が必要です。私たちは、信頼とセキュリティへの投資が企業におけるエージェントの採用を加速させると考えています。ガードレールが確実であれば、新しいエージェントの承認は個別の交渉ではなく、プラットフォームがスケールして処理するものへと変わります。
現在のガードレールの多くは、予測可能な挙動をするソフトウェア向けに設計されています。しかしエージェントは自らの判断で進路を決めるため、各ステップが個別には問題なく通過しても、全体のパターンについては検証されないままになります。
例えば、顧客の口座情報を取得した後に別の口座番号へ送金するケースでは、それぞれの呼び出しが単独で正当と判定された結果です。また、承認閾値以下の注文を連続して行う場合も、予算に対する合計額を追跡する仕組みがないため発生します。さらに、失敗したツールに対して夜間を通じてリトライを繰り返すケースでは、消費量の上限を設定していないためにトークン予算を使い果たしてしまいます。
これらのすべての要求は個別には正当なものです。問題はあくまでパターンにあり、エージェント自身はそのような異常を検知する最後の手段として頼れるものではありません。
私たちは、チームがインフラストラクチャを自ら構築することなく、大規模にエージェントの構築・接続・最適化を行えるよう Amazon Bedrock AgentCore を開発しました。このプロジェクトには、最初から一貫した原則があります。セキュリティ制御はアプリケーションコード内に各チームが個別に実装するのではなく、インフラストラクチャ層に配置し、すべてのエージェントで一貫して適用されるようにすることです。
AgentCore のゲートウェイは、このアイデアを具体化する場所です。ゲートウェイは、AI トラフィック向けの完全に管理されたサーバーレスのエントリーポイントであり、リクエストを Model Context Protocol (MCP) サーバー、大規模言語モデル (LLM)、エージェント、および知識ベースにルーティングします。すべての呼び出しがこのゲートウェイを経由するため、エージェントの動作に関わらず適用される制限を課すのに最適な場所です。今日、私たちはこの取り組みを新たな機能で前進させます。それは Dogwood(https://github.com/dogwood-policy)によって駆動される時間的ポリシーと、ゲートウェイでのレート制限です。Dogwood は、AI エージェントのために特別に設計された新しいオープンソースのポリシー言語です。

個別の行動だけでなく、時間的なポリシーによる一連の行動に対する制約
現在の AgentCore のポリシーでは、チームはエージェントの動作を確定的に制御できます。実行前にすべての行動をチェックし、誰がどのツールを呼び出せるか、どのような条件下で呼び出せるかを評価します。これらのチェックは設計上ステートレスです。各リクエストはそれ自体の価値に基づいて迅速かつ証明可能に判断されます。これが権限管理が常に求めてきたことです。
エージェントが監督の少ない長いタスクを引き受けるようになると、新たな疑問が生じます。個々の行動ではなく、一連の行動を合わせて見たときに、許容されるべき結果につながっているかどうかです。これは個別の行動を見るだけでは見えず、行動の一連の流れ全体を観察して初めて明らかになります。
Temporal policies(時間的ポリシー)は、AgentCore の既存のポリシーを拡張し、そのギャップを埋めるものです。単一のリクエストを孤立して判断するのではなく、ポリシーエンジンはそのセッションでエージェントがすでに何を行ったかを参照し、一連の行動に基づいて呼び出しを許可または拒否します。
例えば、間違った口座番号を使用した転送は、ある呼び出しに渡された値が以前の呼び出しが返した値と一致することを要求するポリシーによってブロックできます。また、セッション内でのエージェントの支出合計を集計し、予算に達したら個別の制限内であっても次の購入をブロックするポリシーも可能です。チームは、手順が特定の順序で行われることを要求したり、重要なアクションには記録された人間の承認が必要だと規定することもできます。また、担当者が関与しなくなった場合、権限を自動的に縮小させることもできます。
Temporal policies は、エージェント自身のコードの外側にあるゲートウェイ層で強制されます。エージェントはポリシーロジックを認識できず、プロンプトの仕方に関係なく、あるいはどのような欠陥を抱えていようとも、それを回避して推論することはできません。自律システムの承認を求められるセキュリティリーダーにとって、この違いが重要です。これは「エージェントが適切に振る舞うと信頼する」ことと、「その行動全体を通じて境界線が維持されていることを確信する」ことの差です。
意思決定は決定的であり、デフォルトでは拒否され、背後にある完全なコンテキストとともにログに残されます。レビューヤーは、呼び出しがブロックされた事実だけでなく、その理由も確認できます。

AI エージェント向けの時間的ポリシーを可能にするのが、Dogwood です。これは AI エージェントのために特別に設計された新しいポリシー言語で、Cedar を基盤としています。Dogwood は、エージェントの行動が展開される過程で、その一連の動作がポリシーに準拠しているかを評価するという、新たな制御次元に対応するために作られました。
Dogwood は Cedar を埋め込み、レート制限や時間ウィンドウ、必須ステップ、エスカレーショントリガーなど、エージェントガバナンスのための時間的構造を追加しています。Dogwood は Apache 2.0 ライセンスの下でオープンソースの仕様および参照実装として提供されており、顧客が自社のポリシー評価方法を完全に把握できるほか、より広いエコシステムにおいて関連ツールの開発を可能にします。
ゲートウェイでのレート制限により、エージェントが消費するリソースを制御
AI のコストは、それ自体がガバナンス上の課題です。特にエージェントにおいては、トークンや呼び出しをいかに速く消費するかが最初の鍵となります。エージェントはタスク完了に必要なステップ数を自ら判断するため、そのコストは事前に定められたレートではなく、作業の進め方次第で変動します。
制限をかけなければ、リトライループや異常に重いセッションが、エージェント自身が決定した速度で無制限に進行してしまいます。この予測不可能性は、承認プロセスにおける大きな制約要因です。Forrester の調査では、アジェンティック AI がスケールに至らない理由の第一歩としてコストが挙げられています(2026 年のアジェンティック AI の現状)。チームは、エージェントの振る舞いに関わらず機能するコスト上限を設ける必要があります。
本日、AgentCore のゲートウェイ上でこれらの上限を直接設定できるようになりました。レート制限 を利用すれば、OAuth や IAM で既に管理している ID 情報に基づき、ゲートウェイ背後にあるすべてのツール、モデル、エージェントに対してユーザーごとの消費量を制限できます。制限内容は、リクエスト数やモデルが処理するトークン数、そして接続を保持する時間など多岐にわたります。これら三つの要素すべてが重要なのは、エージェントのコスト増大要因がそれぞれ異なるためです。リトライループはリクエスト数の増加として現れ、推論を要するタスクはトークン数の増加として現れます。また、長時間の調査セッションでは、ほとんどトラフィックが発生しないまま接続が保持され続けることになります。どれか一つの指標だけを設定しても、特定の制限に引っかかることなくサービスを使い果たす隙間が生じてしまいます。
これらの制限は 1 秒単位および 1 分単位のウィンドウで適用されます。これは、意図しない速度でエージェントが消費し始めてから後になって発覚するといった失敗モードを抑制するために必要な仕組みです。レート制限の設定が完了すれば、エージェントのコードを変更することなく即座に効力を発揮します。これにより、容量配分の管理は開発チームが実装するものから、プラットフォームチームが設定するものへと変化します。異なるユーザー、チーム、ツール、モデルそれぞれに異なる上限を設定でき、いずれにもスロットリングロジックを埋め込む必要はありません。

ここから先へ
モデルの性能は向上し続けており、その進化こそがエージェントの実用価値を高める要因です。しかし同時に、より高度なエージェントほど、監視の手間を減らして重大な行動をとるようになるため、リスクも高まります。
企業が高性能なモデルから得られる利益は、本番環境における他のシステムと同様の厳格な管理下でこれらのエージェントを運用できるかどうかにかかっています。
エージェントへの信頼は、モデルそのものに対する評価というよりも、モデルが動作するシステム全体に対する評価です。そして、予期せぬ行動をとった際にそのシステムが機能し続けるかが問われます。このシステムの構築はまだ発展途上の分野であり、顧客から寄せられる質問も一年前と比べて格段に洗練されています。
私たちは引き続き、アイデンティティ管理、観測性(オバザビリティ)、評価、追跡可能性の分野への投資を続けながら、スピード感を持って進化し続けていく考えです。アプリケーションコードからプラットフォーム側へ制御機能を移すほど、各エージェントごとに再構築・レビュー・信頼性を確保すべき項目が減ります。
プラットフォームがエージェントの行動範囲とリソース消費量をいかに確実に制限できるかによって、躊躇なく拡張できる自律性の度合いが決まります。
いずれの機能も、すでに本番環境で稼働しているエージェントのリアーキテクチャを必要としません。どちらか一方でも単独で導入可能です。
詳細については、AgentCore の ドキュメント や 価格ページ をご覧ください。また、Dogwood リファレンス実装 もぜひ探索してください。
著者について

Madhu Parthasarathy
Madhu Parthasarathy は Amazon Bedrock AgentCore のゼネラルマネージャー(GM)を務めています。同氏は、企業が生産用 AI エージェントを構築・接続・最適化するためのプラットフォームを開発するチームを率いています。
大規模な分散インフラの構築において 20 年以上の実績を持つ Madhu は、Amazon では 16 年以上にわたり活躍しました。その間、Amazon Retail や Elastic Block Store (EBS)、そして現在は AgentCore など、主要なプロジェクトを指揮してきました。Amazon 復帰前には LinkedIn でシニアリーダーシップ職を務め、同社の全事業部門を支えるエンタープライズプラットフォームの統括を担当。また、ネオクラウドスタートアップでは AI インフラストラクチャの責任者として、セキュリティと開発者体験に関するビジョン策定を主導しました。
現在のカリフォルニア州サンタクララに拠点を置いています。
原文を表示
Agents are becoming more autonomous and teams are running more of them, but trust and security have not kept pace. According to McKinsey, roughly 80% of organizations have already encountered risky behavior from AI agents. As a result, security and risk concerns are the leading barrier to scaling agentic AI (McKinsey’s State of AI Trust in 2026, and Trust in the age of AI agents 2026).
That makes trust the pacing factor for agent innovation and adoption. Earning it takes control across a wide surface, including identity, access, observability, evaluation, and traceability. We believe that investment in trust and security will accelerate agent adoption in enterprises. When guardrails are dependable, approving a new agent stops being a one-off negotiation and becomes something the platform handles at scale.
The challenge is that most guardrails today were designed for software that behaves predictably. Agents decide their own path as they go, so every step can pass on its own while the shape of the whole goes unexamined. An agent looks up a customer’s account, then transfers money to a different account number, because each call was judged on its own. An agent places a series of orders that each sits under the approval threshold, because nothing is tracking the total against the budget. An agent hits a failing tool and retries through the night, running through the token budget, because nothing capped how much it could consume. Every one of those requests was legitimate. The problem appears only in the pattern, and the agent is the last thing you would rely on to catch it.
We built Amazon Bedrock AgentCore to give teams what they need to build, connect, and optimize agents at scale without assembling the infrastructure themselves. One principle has guided it from the start: security controls belong in the infrastructure layer, enforced consistently across every agent, rather than in application code where each team implements them differently.
AgentCore’s gateway is where that idea becomes concrete. The gateway is a fully managed, serverless entry point for AI traffic, routing requests to Model Context Protocol (MCP) servers, large language models (LLMs), agents, and knowledge bases. Because every call passes through it, the gateway is the natural place to apply limits that hold no matter how an agent behaves. Today we are advancing that work with new capabilities: temporal policies, powered by Dogwood, a new open source policy language purpose-built for AI agents, and rate limiting in the gateway.

Boundaries on sequences of actions, not only individual ones with temporal policies
Policies in AgentCore today give teams deterministic control over agent behavior, checking every action before it runs to evaluate who can call which tool and under what conditions. Those checks are stateless by design. Each request is judged on its own merits, quickly and provably, which is what authorization has always required. As agents take on longer tasks with less supervision, another question arises: whether its actions, taken together, add up to something that should be allowed. That is only visible when you look at the sequence of actions, not only individual ones.
Temporal policies extend the policies in AgentCore to close that gap. Rather than judging a request in isolation, the policy engine also looks at what the agent has already done in that session, then permits or denies the call based on that sequence of actions. The transfer that used the wrong account number can be blocked by a policy requiring that a value passed into one call match what an earlier call returned. A policy can tally what an agent has spent in a session and block the next purchase once the budget is reached, even if that purchase is under the individual limit. Teams can also require that the steps happen in a set order, or that a significant action needs a recorded human approval. Permissions can narrow automatically when a person is no longer engaged.
Temporal policies are enforced at the gateway layer, outside the agent’s own code. The agent does not see the policy logic and cannot reason around it, regardless of how it is prompted or whatever defects it carries. For security leaders being asked to approve autonomous systems, this is the distinction that matters. It is the difference between trusting an agent to behave and knowing the boundary holds over the course of its actions. Decisions are deterministic, deny by default, and logged with the full context behind them. A reviewer can see not only that a call was blocked but why.

Powering temporal policies is Dogwood, a new policy language purpose-built for AI agents. Built on the foundation of Cedar, Dogwood was designed to address a new dimension of agent control: evaluating whether a sequence of agent actions conforms to a policy as it unfolds. Dogwood embeds Cedar and adds temporal constructs for agent governance including rate limits, time windows, prerequisite steps, and escalation triggers. Dogwood is available as an open source specification and reference implementation under Apache 2.0. This gives customers full visibility into how their policies are evaluated and allows the broader ecosystem to build supporting tooling.
Control what agents consume with rate limiting on gateway
AI cost is its own governance question, and with agents it starts with how fast they consume tokens and calls. An agent takes as many steps as it judges necessary, so what a task costs depends on how it chooses to work rather than on a predetermined rate. Left unbounded, a retry loop or an unusually heavy session consumes at whatever speed the agent decides. That unpredictability is a real constraint on approval. Forrester found that the reasons agentic AI rarely reaches scale starts with cost (The State Of Agentic AI In 2026). Teams need a ceiling that holds regardless of how an agent behaves.
Available today, you can set those ceilings directly on AgentCore’s gateway. Rate limiting lets teams cap consumption per user across every tool, model, and agent behind the gateway, using the identities they already manage through OAuth or IAM. Limits can cover how many requests someone makes, how many tokens a model processes for them, and how long they hold connections open. Having all three matters because agents run up cost in different ways. A retry loop shows up as request volume, a reasoning-heavy task shows up as tokens, and a long research session shows up as a connection held open while very little traffic moves. Any single measure leaves a way to exhaust a service without tripping a limit.
Limits apply in per-second and per-minute windows, which is what contains the failure mode teams actually hit: an agent consuming at a rate nobody intended, discovered after the fact. Rate limits take effect once they are configured, with no changes to agent code. Capacity allocation becomes something platform teams configure rather than build. Different users, teams, tools, and models can carry different ceilings, without throttling logic written into any of them.

Where this is heading
Models keep improving, and that progress is what makes agents worth deploying. It also raises what is at stake, because a more capable agent takes more consequential actions with less supervision. What an enterprise earns from better models depends on whether it can run those agents with the same discipline it applies to everything else in production.
Trust in an agent is not really a judgment about the model. It is a judgment about the system the model runs inside, and whether that system holds when an agent behaves unexpectedly. Building that system is a young discipline, and the questions customers bring us now are noticeably more sophisticated than the ones they brought a year ago. We expect to keep moving quickly here, alongside continued investment in identity, observability, evaluation, and traceability. Every control that moves out of application code and into the platform is one fewer thing that must be rebuilt, reviewed, and trusted separately for each agent. The more reliably a platform can bound what agents do and how much they consume, the more autonomy you can extend without hesitation.
Neither capability requires rearchitecting agents already in production, and you can adopt either on its own. To learn more, see the AgentCore documentation and pricing pages, and explore the Dogwood reference implementation.
About the author

Madhu Parthasarathy
Madhu Parthasarathy is the GM of Amazon Bedrock AgentCore, where he leads the team building the platform that companies use to build, connect, and optimize production AI agents. He brings more than 20 years of experience building large-scale distributed infrastructure, including over 16 years at Amazon, where he has led major initiatives across Amazon Retail, Elastic Block Store (EBS), and now AgentCore. Before returning to Amazon, Madhu held senior leadership roles at LinkedIn, where he led the enterprise platform powering all of LinkedIn’s enterprise lines of business, and at a neo-cloud startup, where he led AI infrastructure and set the vision for security and developer experience. He is based in Santa Clara, California.
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み