AI エージェントに対して利用者からどのような質問が寄せられているか、そして各トピックがどの程度適切に対応できているかを分析します。 この機能は、プロジェクトに Amplitude Agent Analytics(利用者の行動データを記録・分析する仕組み)が導入されている場合にのみ使用できます。 次のような場合に使用: - 「利用者はAIに何を質問しているか」を知りたい - 「AIについてよく質問されるトピック」を確認したい - 「AIがうまく対応できていない分野」を見つけたい - 「AIの対応に隙間がある領域」を把握したい - 「AIを改善すべき点」を検討したい - AI との会話パターンから製品開発の課題や改善案を見つけたい
Analyzes what users ask AI agents about and how well each topic is served. Only use when the user has Amplitude Agent Analytics instrumented in their project. Use when the user asks "what are people asking the AI", "top AI topics", "where is the AI struggling", "AI coverage gaps", "what should we improve in our AI", or wants product insights from AI conversation patterns.
ユーザーがAIエージェント(自動応答システム)に何を質問しているか、また各トピックがどの程度うまく対応できているかを分析します。会話パターンから対応不足の領域、カバレッジの空白、製品開発の機会を明らかにします。これはAIセッションのデータを「次に何を作るべきか」という判断に変える、製品戦略向けのスキルです。
背景情報を確認する
Amplitude:get_amplitude_contextを呼び出して、プロジェクトとユーザーの役職を特定します。
AIスキーマを取得する
Amplitude:get_amplitude_agent_analytics_infoをview: "schema"で呼び出し、利用可能なトピックモデル、エージェント名、分類値を発見します。スキーマは、どのようなトピックの観点(例:製品領域、意図、エラー分類)が存在するかを示します。これはプロジェクトごとに異なります。
分析範囲を決める ユーザーが特定のエージェント、期間、重点領域を指定している場合は、それに応じて範囲を絞ります。デフォルト:すべてのエージェント、直近14日間(期間が長いほど、トピック分布がより安定します)。
以下を並行実行:
品質付きトピック分類
Amplitude:get_amplitude_agent_analytics_infoをview: "sessions"で呼び出してセッションを取得し、評価者の結果をトピック別に集計します。セッション数、平均品質スコア、平均感情スコア、失敗率を算出します。出力は50トピックに制限します。これがコアデータセットです。
エージェント別×トピック別マトリックス 同じセッション結果からエージェントとトピック別にローカルでグループ化し、出力を100行に制限します。どのエージェントがどのトピックを扱い、同じトピックでもエージェント間で品質がどう異なるかを示します。
トピック別の出現量トレンド セッション結果をローカルで日付とトピック別にグループ化します。これをトピック分類と組み合わせ、総出現量の増加が特定のトピックに駆動されているか理解します。
トピック別の失敗セッション
Amplitude:get_amplitude_agent_analytics_infoをview: "sessions"とhasTaskFailure: trueで呼び出し、返されたセッションをローカルでトピック別にグループ化します。どのトピックで最も失敗が起きているかを示します。これは品質低下とは異なる信号です(失敗は完全停止、品質低下は段階的な劣化)。
各トピックを「出現量×品質」の2×2マトリックスでスコアリング:
| 高品質(>0.7) | 低品質(<0.7) | |
|---|---|---|
| 高出現量 | 良く対応している(維持) | 対応不足(今すぐ改善) |
| 低出現量 | ニッチだが機能している(監視) | カバレッジ空白、または新興(調査) |
各象限について、スコアの上位3~5個のトピックを特定します。高出現量かつ低品質の象限が優先度最高です。これはユーザーが頻繁に質問するが、エージェントが上手く対応できていない領域です。
また以下もフラグ立て:
成長中のトピック: 期間内に出現量が増えているトピック。現在の品質は許容範囲でも、間もなく対応強化が必要かもしれません。
感情の異常値: 感情スコアが品質スコアより明らかに低いトピック。エージェントは技術的にはタスクを完了していますが、ユーザーが体験に満足していません。
エージェント割り振りの問題: あるエージェントは同じトピックを上手く扱うが、別のエージェントは下手——割り振りロジックの改善候補です。
最も影響の大きい対応不足トピック2~3個について:
会話サンプルを抽出
評価者の結果から該当トピックの代表的なセッションを選び、Amplitude:get_amplitude_agent_analytics_infoをview: "conversation"で3~5例呼び出して理解します:
失敗セッションの詳細
Amplitude:get_amplitude_agent_analytics_infoをview: "sessions"とhasTaskFailure: trueで呼び出し、該当トピックまたは評価品質スコアが0.5以下のセッション最大5個を選択。失敗理由と評価基準のスコアの充実データを読みます。
トピック別のツール使用状況
Amplitude:get_amplitude_agent_analytics_infoをview: "spans"で、代表的な失敗セッション数個に対して呼び出し、どのツールが関与しているか確認します。
分析を実行可能な製品判断に変換します。
必須セクション:
トピック全体像の要約(3~4文) 異なるトピック数、総セッション数、全体的な品質分布。「あなたのAIエージェントはXトピック、Yセッション数に対応しています——何が上手くいき、何が上手くいっていないか」として枠付けます。
トピックヒートマップ表 ——コア成果物:
| トピック | セッション数 | 品質 | 感情 | 失敗率 | トレンド | 優先度 |
|---|---|---|---|---|---|---|
| [トピック] | [N] | [スコア] | [スコア] | [%] | [↑/↓/→] | [改善/監視/良好] |
優先度順に並べ替え:改善項目→監視→良好。上位15~20トピックに制限。
対応不足のトピック(2~4件の知見) 各項目をナラティブ段落として:
カバレッジ空白(1~2件) ユーザーが質問しているがエージェントが全く対応できないトピック。根拠:高い失敗率、非常に低い品質、またはエージェントが「それは対応できません」と明言するセッション。
新興トピック(1~2件) 出現量が増えており、間もなく注意が必要なトピック。増加率と現在の品質を含める。
エージェント割り振りのインサイト(該当する場合) 別のエージェントでより上手く対応できるトピック、または専門エージェント(特定分野に特化したエージェント)を追加すれば品質が向上するトピック。
推奨アクション(3~5項目、番号付け) 影響度順(出現量×品質ギャップ)に優先順位付け。例:
フォローアップ提案 「特定トピックを深掘りしたい、[対応不足トピック]の失敗セッションを調査したい、またはAIトピック品質の監視ダッシュボード(定期監視用の表示板)を作成したいですか?」
文章基準:
ユーザー:「あなたのAIについて、人々は何を質問していますか?」
実行:
ユーザー:「AIの対応が不足している領域はどこですか?」
実行:
ユーザー:「チャートエージェントはどのトピックを扱い、どの程度上手くやっていますか?」
実行:
トピックには、セッション充実機能が有効である必要があります。トピックが空の場合、get_amplitude_agent_analytics_infoをview: "sessions"で呼び出してセッションをサンプリング、その後view: "conversation"で一般的なテーマを手作業で分類。制限事項を記録し、充実機能の有効化を提案します。
類似トピックをグループ化し、出現量上位20を提示。要求に応じて特定クラスターを深掘りする用意があることを伝えます。
ラベルが広すぎる場合(「データ質問」「ヘルプ要求」など)、充実モデルの調整が必要かもしれません。この旨を記録し、会話検索を使い手作業でより具体的な小分類を特定します。
You analyze what users ask AI agents about and how well each topic is served — surfacing underserved areas, coverage gaps, and product opportunities from conversation patterns. This is the product intelligence skill that turns AI session data into "what to build next" decisions.
Amplitude:get_amplitude_context to identify projects and user role.Amplitude:get_amplitude_agent_analytics_info with view: "schema" to discover available topic models, agent names, and classification values. The schema tells you what topic dimensions exist (e.g., product_area, intent, error_domain) — these vary by project.Run these in parallel:
Topic breakdown with quality. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" to retrieve sessions, then aggregate their evaluator results by topic into session count, average quality score, average sentiment, and failure rate. Limit the output to 50 topics. This is the core dataset.
Agent-by-topic matrix. From the same session results, group locally by agent and topic, limiting the output to 100 rows. This shows which agents handle which topics — and where quality differs by agent for the same topic.
Volume trend by topic. Group the session results locally by day and topic. Combine this with the topic breakdown to understand whether total volume growth is driven by specific topics.
Failure sessions by topic. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" and hasTaskFailure: true, then group the returned sessions locally by topic. This shows which topics have the most failures — a different signal from low quality (failures are hard stops, low quality is soft degradation).
Score each topic on a 2x2 of volume x quality:
| High Quality (>0.7) | Low Quality (<0.7) | |
|---|---|---|
| High Volume | Well-served (maintain) | Underserved (fix now) |
| Low Volume | Niche but working (monitor) | Gap or emerging (investigate) |
For each quadrant, identify the top 3-5 topics. The high volume + low quality quadrant is the priority — these are things users frequently ask about that the agents handle poorly.
Also flag:
For the 2-3 most impactful underserved topics:
Sample conversations. Select representative sessions for the topic from the evaluator results, then call Amplitude:get_amplitude_agent_analytics_info with view: "conversation" for 3-5 examples to understand:
Detailed failing sessions. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" and hasTaskFailure: true, then select up to 5 sessions for the topic or with evaluator quality scores at or below 0.5. Read the enrichment data for failure reasons and rubric scores.
Tool usage for the topic. Call Amplitude:get_amplitude_agent_analytics_info with view: "spans" for a few representative failing sessions to see which tools are involved.
Transform the analysis into actionable product decisions.
Required sections:
Topic landscape summary (3-4 sentences): How many distinct topics, total session volume, overall quality distribution. Frame as "your AI agents handle X topics across Y sessions — here's what's working and what isn't."
Topic heatmap table — The core deliverable:
| Topic | Sessions | Quality | Sentiment | Failure Rate | Trend | Priority |
|-------|----------|---------|-----------|--------------|-------|----------|
| [topic] | [N] | [score] | [score] | [%] | [↑/↓/→] | [Fix/Monitor/Good] |
Sort by priority: Fix items first, then Monitor, then Good. Limit to top 15-20 topics.
Underserved topics (2-4 findings): Each as a narrative paragraph:
Coverage gaps (1-2 findings): Topics where users are asking questions the agents can't answer at all. Evidence: high failure rates, very low quality, or sessions where the agent explicitly says "I can't help with that."
Emerging topics (1-2 findings): Topics with growing volume that may need attention soon. Include the growth rate and current quality.
Agent routing insights (if applicable): Topics that would be better served by a different agent, or topics where adding a specialized agent would improve quality.
Recommended actions (3-5 numbered items): Prioritized by impact (volume x quality gap). Examples:
Follow-on prompt: "Want me to deep-dive into a specific topic, investigate the failing sessions for [top underserved topic], or build a monitoring dashboard for AI topic quality?"
Writing standards:
User says: "What are people asking our AI about?"
Actions:
User says: "Where is our AI falling short?"
Actions:
User says: "What topics does the Chart Agent handle, and how well?"
Actions:
Topics require session enrichment to be enabled. If topics are empty, use get_amplitude_agent_analytics_info with view: "sessions" to sample sessions, then view: "conversation" to manually categorize common themes. Note the limitation and suggest enabling enrichment.
Group similar topics and present the top 20 by volume. Offer to drill into specific clusters on request.
If topic labels are broad (e.g., "data question", "help request"), the enrichment model may need tuning. Note this and use conversation search to identify more specific sub-topics manually.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。