Agent Analytics and Monitoring | 衡量、调试并持续改进 AI Agent 性能(练习操作步骤)

《Agent Analytics and Monitoring | 衡量、调试并持续改进 AI Agent 性能》的分步练习操作指南。...

📅 2026/10/2 ✍️ ponybai 🏷️ agentforce, salesforce, data-360

本文是《Agent Analytics and Monitoring | 衡量、调试并持续改进 AI Agent 性能》的练习操作步骤。阅读原文请见:Agent Analytics and Monitoring | 衡量、调试并持续改进 AI Agent 性能。

1. Launch Agent Analytics in Agentforce Studio

  1. From the App Launcher, search for and select Agentforce Studio.
  2. Select Agents.
  3. In the Explorer, under Observe & Optimize, select Analytics.

2. Navigate the Agent Analytics Dashboard

  1. After you select the agent type, the Agent Analytics dashboard displays metrics for that agent type.
  2. Use the Filter Bar to scope the data: select the agent, time window, channels, and modality (text/voice/both).
  3. Select the Overview tab to see headline KPIs, period-over-period trend cards, and outcome charts.
  4. Select a dimension tab (Effectiveness, Usage, Quality, Health, Trust, User Satisfaction, Voice) to view its KPI set and charts.
  5. On the Effectiveness tab, review: Deflection Rate, Escalation Rate, Abandonment Rate, Engagement Rate, Success Rate, Task Resolution Rate.
  6. Toggle between Metric Card view (large cards with graphics) and Table View (compact layout with all metrics at once).
  7. Use the Date Filter to change chart granularity (Day/Week/Month).
  8. Select the Usage tab to see: Unique Sessions, Unique Interactions, Unique Users, Average Interactions Per Session.
  9. Select the Quality Scores tab to see dimension scores (Quality Score 1–5, Answer Faithfulness 0–1, Answer Relevance 0–1, Context Relevance 0–1).
  10. Select the Health tab to see: Error Rate, Session Duration (seconds), Agent Interaction Latency (seconds).
  11. Select the Trust tab to see: Adherence Response Rate, Average Agent Toxicity Score (0–1).
  12. Select the Voice tab to see: Interruption Rate.

3. Explore Performance Insights (Breakdowns)

  1. Select the Performance Insights tab.
  2. In the Breakdowns panel, choose a segment type: Subagents, Intents, or Actions.
  3. Use Select Subagent (or the equivalent selector) to filter to a specific segment, or leave it set to All.
  4. In Select Metric, choose the measure you want to compare.
  5. Review the horizontal bar chart. Each row represents a segment, with bar length representing the metric value and color coding indicating performance level (green=favorable, orange/red=needs attention).

4. Alex Investigates Agent Performance (Scenario)

  1. Log in to Agentforce Studio.
  2. Navigate to Observe & Optimize | Analytics.
  3. Select the Service Agent type and change the Timeframe in the Filter Bar to the Last 30 Days.
  4. On the Agent Performance tab, review the Effectiveness dimension tab.
  5. Check: Deflection Rate, Escalation Rate, Abandonment Rate, Engagement Rate, Success Rate.
  6. Study the Aggregated Effectiveness Metrics trend chart over the 30-day period.
  7. Check the Session Outcome stacked bar chart at the bottom (Deflected, Escalated, Abandoned, Ambiguous).
  8. Switch to the Performance Insights tab.
  9. In Breakdowns, select Segment type: Subagents, Metric: Deflection Rate.
  10. Review the horizontal bar chart — each subagent shows a colored bar (green/orange/red).
  11. Change the metric to Abandonment Rate and compare results.
  12. Identify the underperforming subagent (highest abandonment rate, lowest deflection rate).
  13. Write down action items: investigate subagent instructions, check Quality scores, check Health metrics (latency), meet with stakeholders.

5. Launch Sessions & Intents

  1. From the App Launcher, find and select Agentforce Studio.
  2. Select Agents.
  3. In the Explorer, under Observe & Optimize, select Sessions & Intents.

6. Navigate the Sessions & Intents Page

  1. Use the Filter Bar to scope the data: agent, timeframe, channels, modality, session outcome, quality score, subagent, intent tag.
  2. Select the Processed Sessions tab to see sessions that have completed intent extraction and clustering.
    • Intent Pipeline: Analyzes closed sessions and extracts intents (typically takes 4–5 hours after session closes).
    • Clustering Pipeline: Groups similar intents across sessions, assigns cluster tags (runs weekly).
  3. Select the Unprocessed Sessions tab to see sessions still active, recently closed, or not yet processed.
  4. Review the Sessions table columns: Session ID / Timestamp, Session Duration, Session Outcome, Custom Scorers, Intent Summary, Response Summary, Subagents, Actions, Intent Tag, Quality Score.

7. Explore Individual Conversations

  1. Click the Session ID of the conversation you want to investigate.
  2. The left panel shows the full conversation log with:
    • Timestamps on every message
    • Color-coded bubbles (user=right, agent=left)
    • Quality badge on agent responses (High/Low)
    • Agent completion time for each response
  3. The right panel has two tabs: Interaction Summary and Trace.
  4. In Interaction Summary, review:
    • Agent Name, Average Agent Latency, Total Interactions, Intent Duration
    • Topics Triggered (subagents invoked, color-coded)
    • Intent Tag (cluster tag), Actions Triggered
    • Quality Score (color-coded High/Medium/Low)
    • Quality Score Reasoning (LLM explanation — most actionable field for knowing what to fix)
  5. In the Trace tab, review the time-ordered record of every processing step:
    • Topic (subagent) identification
    • Actions (labeled with action type and icon)
    • Agent routing steps, Variable updates, Retrieval steps, Response generation
    • Each step shows a status indicator (green check=success) and timing
    • Expand nested trace steps to drill into subagent delegation

8. Alex Drills Deeper with Sessions & Intents (Scenario)

  1. From Agent Analytics, note the underperforming subagent (e.g., Cancellation & Rescheduling).
  2. Check the Overview | Quality dimension to see overall and per-subagent quality scores.
  3. Check Performance Insights | Subagents with Escalation Rate metric.
  4. Review quality sub-scores: Answer Faithfulness, Answer Relevance, Context Relevance.
  5. Navigate to Sessions & Intents.
  6. Filter by:
    • Subagent: (the underperforming one)
    • Session Outcome: Escalated
    • Quality Score: Low (1.0–3.0)
  7. Open the top 5–10 escalated sessions.
  8. For each session:
    • Read the Chat Session Log to understand what the user asked and how the agent responded.
    • Check the Interaction Summary tab for Quality Score Reasoning.
    • Check the Trace tab to see which knowledge articles were retrieved and what actions were executed.
  9. Identify patterns across sessions:
    • Are there knowledge gaps? (multiple overlapping articles, missing exception scenarios, ambiguous policies)
    • Are the subagent instructions clear enough?
  10. Implement fixes:
    • Consolidate fragmented knowledge articles into a single comprehensive article.
    • Archive old articles so the agent retrieves only the new one.
    • Update subagent instructions to handle edge cases.
  11. Test the new version in Agentforce Testing Center.
  12. Deploy and monitor for a few weeks.
  13. Verify improvements in metrics (Quality Score, Answer Faithfulness, Escalation Rate).