agent-evaluation
由 rustyorb 提供
DevOps & Cloud简介
Testing and benchmarking LLM agents including behavioral testing, capability assessment, reliability metrics.
描述
该技能的功能
Evaluating LLM agents requires different approaches than traditional software testing because the same input can produce different outputs. It covers behavioral regression tests, capability assessments, and reliability metrics designed to catch issues before production. Even top agents score below 50% on real-world benchmarks.
Standard unit testing misses the probabilistic nature of LLM outputs, so statistical and behavioral approaches are needed to get meaningful reliability signals.
何时使用
- Catching agent regressions before deploying a new model version
- Measuring how reliably an agent handles ambiguous or edge-case inputs
- Designing benchmarks that reflect actual production conditions
- Detecting when an agent optimizes for a metric instead of the real task
- Preventing test data from leaking into agent training or prompts
示例工作流
User asks: evaluate the reliability of my customer support agent on ambiguous queries
- 1
Defines behavioral invariants the agent must always satisfy, such as never revealing PII
- 2
Runs each test case multiple times to build result distributions and flag flaky behavior
- 3
Generates adversarial inputs designed to break or confuse the agent
- 4
Calculates reliability metrics across runs and compares them against a baseline
- 5
Reports which invariants passed, which failed, and which showed statistical instability
Evaluation report with pass rates, flakiness scores, and specific failure cases flagged for remediation
安装
clawhub install rustyorb/agent-evaluation运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。