GitHub Copilot、エージェントアプリの活動データをメトリクス API に追加
本文の状態
日本語全文を表示中
詳細モードで約3分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Copilot Changelog
GitHub は Copilot 使用量メトリクス API に新機能を追加し、パートナー製のエージェントアプリの活動を個別に追跡・分析できる機能を提供した。
Continue in AI NEW LAB
このニュースを、実務の判断につなげる
AI NEW LABで、試したことや先に確認したい条件を共有できます。まずはログインなしで読めます。
AI NEW LABで論点を見るAI深層分析を開く2026年8月8日 03:51
AI深層分析
キーポイント
個別エージェント活動の可視化
Copilot 使用量メトリクス API が強化され、Claude や Codex などパートナー製のアージェントアプリごとの活動を詳細に報告するようになった。
新データ構造の導入
新しいオプション配列「totals_by_3rd_party_agent」により、各エージェントの名前、ID、ユーザー開始数、セッション数が取得可能になった。
意思決定への活用
複数のエージェントを併用するチームが、実際の利用状況に基づいて導入やライセンス購入の判断を下すための根拠を提供する。
重要な引用
Until now, agent activity in your usage metrics was effectively a single bucket
Breaking activity out per agent lets you distinctly track each agent app
The nested user_initiated_interaction_count counts agent app job starts. It is distinct from the top-level field of the same name
編集コメントを表示
編集コメント
GitHub が提供するメトリクス機能の拡張は、マルチエージェント環境におけるコスト管理と効果測定の課題を解決する重要な一歩である。企業はこれにより、単なる利用時間の集計から、各 AI ツールの実効性を評価する段階へと移行できる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
GitHub にエージェントアプリが登場して以来、チームは Claude や Codex といったパートナー製のエージェントを GitHub ワークフロー内で直接実行できるようになりました。Copilot の利用状況メトリクス API は、この活動を個別のエージェントごとに詳細に報告する機能を新たに追加しました。この利用状況メトリクス API は、エンタープライズ、組織、エンタープライズユーザー、および組織ユーザー向けの 1 日分と 28 日分のレポートで機能します。
What's new(新機能)
新しいオプションの配列 totals_by_3rd_party_agent には、認識された各エージェントアプリごとのエントリが含まれます。各エントリは以下の情報を含みます:
- agent_name: エージェントの表示名です。表示名は変更される可能性があるため、このフィールドではなく agent_id でグループ化してください。
- agent_id: エージェントの安定した識別子であり、レポート期間を跨いで結合する際の適切なキーとなります。
- user_initiated_interaction_count: ユーザーが開始したエージェントアプリジョブの数です。
- session_count: エージェントアプリのセッション数です。これは集計されたエンタープライズおよび組織レポートのみに含まれます。ユーザーごとのエントリにはこのフィールドは含まれません。
Why this matters(重要性)
これまで、利用状況メトリクスにおけるエージェント活動は実質的に単一のまとまりとして扱われており、Copilot のコーディングエージェントによる作業と他のエージェントによる作業を区別する方法がありませんでした。チームが複数のエージェントを採用するようになると、「どのエージェントが実際に使われているのか」「何人が使用しているのか」、あるいは「新しく導入されたエージェントの採用状況は、それを補完するために用意された既存のエージェントと比較してどうなのか」といった基本的な質問に答えることが困難になっていました。
エージェントごとにアクティビティを分離することで、各エージェントアプリを個別に追跡し、導入状況を比較できます。これにより、展開やライセンスの判断を実際の運用データに基づいて行えるようになります。
重要な注意点
ネストされた user_initiated_interaction_count は、エージェントアプリのジョブ開始回数をカウントするものです。これは、他のサポート対象テレメトリからの明示的なプロンプトをカウントするトップレベルの同名フィールドとは異なります。両者を合計したり、互換性があるものとして扱ったりしないでください。
アクティビティはエージェント単位で集約されるため、同じエージェントに属する複数のアプリは 1 つのエントリに統合されます。識別できないエージェントからのアクティビティは除外されます。
これらのメトリクスは、エンタープライズオーナー、請求管理担当者、組織オーナー、および「Copilot メトリクスの表示」権限が付与されたカスタム組織またはエンタープライズロールを持つ誰でも利用可能です。ただし、「Copilot 使用量メトリクスポリシー」が有効になっている必要があります。
この変更は後方互換性があります。既存のフィールドは現在の形状を維持し、報告期間中に認識されるエージェントアプリのアクティビティがない場合、totals_by_3rd_party_agent はレポートから完全に省略されます。
開始するには Copilot 使用量メトリクス API のドキュメントをご覧ください。または、完全なフィールド定義については「エージェントアプリメトリクスフィールド」を参照してください。
原文を表示
Since agent apps arrived on GitHub, teams have been able to run agents from partners like Claude and Codex directly in their GitHub workflows. The Copilot usage metrics API now reports that activity, broken out by individual agent. The usage metrics API does this in the enterprise, organization, enterprise-user, and organization-user 1-day and 28-day reports.
What’s new
A new optional totals_by_3rd_party_agent array contains one entry per recognized agent app. Each entry includes:
agent_name: The agent’s display name. Display names can change, so group on agent_id rather than this field.
agent_id: The agent’s stable identifier, and the right key for joining across reporting periods.
user_initiated_interaction_count: The number of user-initiated agent app job starts.
session_count: The number of agent app sessions. Included in the aggregated enterprise and organization reports only. Per-user entries omit this field.
Why this matters
Until now, agent activity in your usage metrics was effectively a single bucket, so there was no way to tell Copilot coding agent work apart from work done through other agents. As teams adopt more than one agent, that made it hard to answer basic questions: which agents are actually being used, by how many people, and how does adoption of a newly rolled-out agent compare to the one it was meant to supplement.
Breaking activity out per agent lets you distinctly track each agent app, compare adoption across them, and ground rollout and licensing decisions in real usage rather than assumption.
Important notes
The nested user_initiated_interaction_count counts agent app job starts. It is distinct from the top-level field of the same name, which counts explicit prompts from other supported telemetry. Do not sum the two or treat them as interchangeable.
Activity is aggregated by agent, so multiple apps belonging to the same agent are collapsed into one entry. Activity from agents that cannot be identified is omitted.
These metrics are available to enterprise owners and billing managers, organization owners, and anyone with a custom organization or enterprise role that grants the View Copilot Metrics permission. The Copilot usage metrics policy must be enabled.
The change is backward compatible. Existing fields keep their current shape, and reports omit totals_by_3rd_party_agent entirely when there is no recognized agent app activity for the reporting period.
Visit the Copilot usage metrics API documentation to get started, or see Agent apps metrics fields for the full field definitions.
The post Copilot usage metrics API adds agent app activity appeared first on The GitHub Blog.
関連記事
News to Guide
ニュースの次に確認する
発表内容を、現在の料金や仕様と照らし合わせられる関連ガイドです。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み