monitor-ai-quality

Monitors AI agent health across quality, cost, performance, and errors via Amplitude Agent Analytics.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/amplitude/amplitude-copilot-plugin --skill monitor-ai-quality-amplitude
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitor-ai-quality
Source: https://github.com/amplitude/amplitude-copilot-plugin/tree/main/skills/plugins/amplitude/monitor-ai-quality
Command: npx skills add https://github.com/amplitude/amplitude-copilot-plugin --skill monitor-ai-quality-amplitude

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams running AI agents in production lack a consolidated view of how those agents are performing. This Skill turns raw Amplitude Agent Analytics data into a concise health report that surfaces quality regressions, error spikes, cost anomalies, and latency degradations before they become user-facing problems. ## Core Features & Use Cases - Fleet-wide health snapshot: Queries quality, cost, performance, agent stats, error categories, and rubric scores in parallel, then applies trend detection thresholds (e.g., quality drops >10%, cost jumps >20%, success rate below 70%). - Agent comparison and error triage: Ranks agents by quality score, error rate, and cost per session, and identifies new or concentrated error categories. - Drill-down investigation: Pulls detailed failed or low-sentiment sessions with example session IDs so you can trace root causes. - Use Case: Ask "How are our AI agents doing this week?" and receive a structured report with a key metrics table, agent leaderboard, top issues, and recommended actions. ## Quick Start Ask your AI assistant: "Give me a health report on our AI agents for the last 7 days, including quality, cost, and error trends."

Frequently Asked Questions about monitor-ai-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor AI agent quality in Amplitude?

Use this Skill to query Amplitude Agent Analytics metrics including quality scores, success rates, sentiment, and rubric scores. It runs parallel queries for overview metrics, time series trends, and recent failed sessions, then compiles a health report with trend detection and agent rankings.

How do I track LLM cost and latency per agent?

The Skill queries cost and performance metrics including total cost, cost time series, and latency percentiles, then breaks them down per agent. For cost anomalies, it can query spans grouped by model name to show which models and tools drive spending.

Does this work without Amplitude Agent Analytics instrumented?

No. The Skill requires Amplitude Agent Analytics to be instrumented in your project, since all data comes from the Amplitude MCP agent analytics endpoints. If no AI session data exists, it reports that instrumentation is missing and suggests checking the AI agent SDK integration.

What thresholds flag an AI agent as unhealthy?

Quality score below 0.4, success rate below 60%, sentiment below 0.5, task failure rate above 25%, or P90 latency above 30 seconds are flagged as critical. Warning ranges sit between those and the good thresholds, such as quality between 0.4 and 0.7.

What if there are very few AI sessions in the time window?

If fewer than 50 sessions exist in the window, the Skill notes that sample sizes are small and findings may not be statistically meaningful. It recommends extending the time window to gather more data before drawing conclusions.