AG-UI

用語・参照用語・参照実挙動未確認実挙動未観測鮮度未確認鮮度を確定できない
記事ID
EA-159

要点

「AG-UIは、agentic backendとユーザー向けfrontendの間を、HTTP/WebSocket等の上にイベント駆動・双方向で接続するプロトコルである。イベント仕様1.0は当該資料でDraftと表示されているため、採用時は版・SDK・再接続・認可・表示安全性を個別に確認する。」

現在の判断

確立済み[S1サポート]:AG-UIは、AIエージェントをユーザー向けアプリケーションに接続するための、オープンで軽量なイベントベースのプロトコルであると自称しており、フロントエンドとエージェント機能を持つバックエンド間の汎用的な双方向接続として設計されています。

どこまで当てはまるか

AG-UI event/spec version; frontend/backend SDK release; transport choice; auth/session/tenant binding; event schema and custom-event policy; reconnect/replay behavior; browser/CSP/origin policy; tool-result redaction; user approval mechanism; state persistence; region/data handling; observability and retention.

詳しく理解する

対象範囲と前提

相互運用性 / 実装 / エンタープライズAI コア / UI境界 / ガバナンス / セキュリティ

検討ポイント

What does AG-UI claim to standardize between an agentic frontend and backend, what is its maturity boundary, and what remains application-specific?

根拠資料の対応表

[S1] SOURCE_CLASS: official_project_docs | EXACT_TITLE: AG-UI Overview - Agent User Interaction Protocol | AUTHOR_ORG: AG-UI project | CANONICAL_URL: https://docs.ag-ui.com/introduction | PUBLICATION_UPDATE_ACCESS: current documentation accessed 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: page does not expose a stable release pin | SUPPORTING_LOCATOR: overview lines 20-27 and agentic-protocol distinction lines 35-39 | EVIDENCE_LABEL: 仕様確認済み + 製品情報は要再確認 | RELATION: support for protocol scope; limit for release pin and security guarantees. [S2] SOURCE_CLASS: official_project_docs | EXACT_TITLE: Architecture - AG-UI | AUTHOR_ORG: AG-UI project | CANONICAL_URL: https://docs.ag-ui.com/concepts/architecture | PUBLICATION_UPDATE_ACCESS: current documentation accessed 2026-09-14 00:10 JST | VERSION_RELEASE_TAG: unpinned current docs | SUPPORTING_LOCATOR: architecture page describing event-driven connection between frontend and agents; current page boundary recorded | EVIDENCE_LABEL: 仕様確認済み + 製品情報は要再確認 | RELATION: support/context; limit for maturity. [S3] 出典クラス: 公式プロジェクト文書 | 正式名称: Events - AG-UI | 著者組織: AG-UIプロジェクト | 正式URL: https://docs.ag-ui.com/concepts/events | 公開更新アクセス情報: 現在のドキュメントに2026-09-14 00:10 JSTにアクセス | バージョンリリース・タグ: 1.0 仕様書(ドラフト); TypeScript/Python/.NET SDKリファレンス; 1.0の各ページに基づき非推奨のイベントを削除 | 補足ロケーター: イベントページの成熟度/バージョンに関する注記およびイベントカタログ | 根拠ラベル: 検証済み仕様 + 製品の流動性あり | 関係性: イベントインターフェースのサポート; 1.0が明示的にドラフトであるため制限あり。 [S4] 出典クラス: author_maintained_repo | 正式タイトル: ag-ui - Agent User Interaction Protocol | 著者組織: ag-ui-protocol | 正式URL: https://github.com/ag-ui-protocol/ag-ui | 公開/更新/アクセス日: リポジトリへのアクセス日 2026-09-14 00:10 JST | リリース版タグ: デフォルトブランチは固定されていない | 参照箇所: AG-UI をオープンで軽量なイベントベースのプロトコルとして定義しているリポジトリの説明 | 根拠ラベル: OSS_PRACTICE + 製品情報は要再確認 | 関係性: 実装のコンテキスト; デフォルトブランチが変更可能であるための制限。

確認できていること

  • 確立済み [S1+S2 サポート]: ドキュメントでは、AG-UIをエージェントとユーザーの相互作用レイヤーに配置しており、MCP(エージェントとツール/データの相互作用)およびA2A(エージェントとエージェントの相互作用)とは区別している。アーキテクチャは、HTTPやWebSocketsなどのWeb基盤の上に構築されていると説明されている。

  • ESTABLISHED [S1 support]: The documentation says the protocol carries agent state, UI intents, and user interactions; it also describes streaming tool results/logs and custom events as part of the interaction surface.

  • ESTABLISHED [S3 limit]: The event documentation labels the 1.0 specification as Draft and documents event changes/deprecations. Therefore the stable interoperability claim must be version-qualified.

  • INFERENCE [S1-S4]: AG-UI can reduce ad-hoc frontend/backend wiring for long-running, stateful agent interactions, but the protocol description does not establish that a UI is safe, that an event is authorized, or that a streamed tool result is correct.

よくある失敗・反証

  • Documentation is not proof of adoption or cross-implementation compatibility. Draft event semantics may change; frontend and backend may disagree on event ordering, replay, reconnect, cancellation, or schema. HTTP/WebSockets transport does not provide agent authorization or user-consent semantics by itself. No independent UI reliability, accessibility, security, latency, or event-conformance benchmark was adopted.

実務での使い方

  • 証拠に基づくデスクリサーチのみ。AG-UI SDK、ブラウザセッション、WebSocket、イベントストリーム、またはユーザー向けアプリケーションは実行していません。

  • No event-conformance, reconnect, ordering, latency, accessibility, UI safety, or cross-framework benchmark was run.

  • UIイベントには、プロンプト、ツールの引数や結果、アイデンティティ、およびビジネスデータが含まれる可能性があるため、クライアントに配信する前に分類および秘匿化を行ってください。監査では、ユーザー/セッション、エージェントの実行、イベントの順序、承認、ツールの呼び出し、およびレンダリングされたアクションを紐付ける必要があります。再接続や重複するイベントについては、順序および同じ要求の再送で処理を重複させない仕組みに関するポリシーが必要です。コストや運用性については、長時間接続、ストリーミングされるトークンやイベント、リトライ、およびフロントエンドの失敗を考慮する必要がありますが、これらは測定対象外です。

まだ確認できていないこと

  • stable release and governance; SDK parity; event ordering/replay/idempotency; auth and user-consent profile; browser security guidance; accessibility; cross-framework compatibility; production incident history; cost/SLO.

  • 外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。

根拠資料

この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。

このページから探す

種類

主題

やりたいこと

読み終えたら、次の判断へ

この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。

最初の知見から実務判断まで、3つの読み方を見る