跳到正文
Skillpedia
智能体48k · #4554

evaluation

它能做什么

这个工具可以帮你搭建一套测试体系,用来评估 AI “智能体”(agent)的表现。它可以检查你给智能体的指令是否有效,以及它是否随着时间推移不断改进。

适用场景

  • ✓想测试 AI 智能体的表现如何时。
  • ✓想检查你为智能体编写的指令是否正确时。
  • ✓对智能体做了一些调整后,想看看它是否变得更好时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/evaluation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/evaluation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个测试,看看智能体能否查到圣保罗的天气信息。”

每周 5 个新技能,1 分钟读完。

工作原理

它的原理是先明确什么样的结果算是好的,再确定如何衡量智能体是否达到了这个目标。这可能包括检查信息的准确性、工具使用的效率以及回答的整体质量。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

When to Use This Skill

Build evaluation frameworks for agent systems

Use this skill when working with build evaluation frameworks for agent systems.

Evaluation Methods for Agent Systems

Evaluation of agent systems requires different approaches than traditional software or even standard language model applications. Agents make dynamic decisions, are non-deterministic between runs, and often lack single correct answers. Effective evaluation must account for these characteristics while providing actionable feedback. A robust evaluation framework enables continuous improvement, catches regressions, and validates that context engineering choices achieve intended effects.

When to Use

Activate this skill when:

  • Testing agent performance systematically
  • Validating context engineering choices
  • Measuring improvements over time
  • Catching regressions before deployment
  • Building quality gates for agent pipelines
  • Comparing different agent configurations
  • Evaluating production systems continuously

Core Concepts

Agent evaluation requires outcome-focused approaches that account for non-determinism and multiple valid paths. Multi-dimensional rubrics capture various quality aspects: factual accuracy, completeness, citation accuracy, source quality, and tool efficiency. LLM-as-judge provides scalable evaluation while human evaluation catches edge cases.

The key insight is that agents may find alternative paths to goals—the evaluation should judge whether they achieve right outcomes while following reasonable processes.

Performance Drivers: The 95% Finding Research on the BrowseComp evaluation (which tests browsing agents' ability to locate hard-to-find information) found that three factors explain 95% of performance variance:

Factor Variance Explained Implication
Token usage 80% More tokens = better performance
Number of tool calls ~10% More exploration helps
Model choice ~5% Better models multiply efficiency

This finding has significant implications for evaluation design:

  • Token budgets matter: Evaluate agents with realistic token budgets, not unlimited resources
  • Model upgrades beat token increases: Upgrading to Claude Sonnet 4.5 or GPT-5.2 provides larger gains than doubling token budgets on previous versions
  • Multi-agent validation: The finding validates architectures that distribute work across agents with separate context windows

Detailed Topics

Evaluation Challenges

Non-Determinism and Multiple Valid Paths Agents may take completely different valid paths to reach goals. One agent might search three sources while another searches ten. They might use different tools to find the same answer. Traditional evaluations that check for specific steps fail in this context.

The solution is outcome-focused evaluation that judges whether agents achieve right outcomes while following reasonable processes.

Context-Dependent Failures Agent failures often depend on context in subtle ways. An agent might succeed on simple queries but fail on complex ones. It might work well with one tool set but fail with another. Failures may emerge only after extended interaction when context accumulates.

Evaluation must cover a range of complexity levels and test extended interactions, not just isolated queries.

Composite Quality Dimensions Agent quality is not a single dimension. It includes factual accuracy, completeness, coherence, tool efficiency, and process quality. An agent might score high on accuracy but low in efficiency, or vice versa.

Evaluation rubrics must capture multiple dimensions with appropriate weighting for the use case.

Evaluation Rubric Design

Multi-Dimensional Rubric Effective rubrics cover key dimensions with descriptive levels:

Factual accuracy: Claims match ground truth (excellent to failed)

Completeness: Output covers requested aspects (excellent to failed)

Citation accuracy: Citations match claimed sources (excellent to failed)

Source quality: Uses appropriate primary sources (excellent to failed)

Tool efficiency: Uses right tools reasonable number of times (excellent to failed)

Rubric Scoring Convert dimension assessments to numeric scores (0.0 to 1.0) with appropriate weighting. Calculate weighted overall scores. Determine passing threshold based on use case requirements.

Evaluation Methodologies

LLM-as-Judge

…

常见问题

为什么 AI 智能体和普通程序的测试方式不同?

AI 智能体每次运行做出的决定都可能不同,而且往往没有唯一正确的答案。因此测试需要考虑到这一点。

什么是“LLM-as-judge”?

就是让一个大语言模型(比如 Claude 本身)来评估智能体的回答。这样测试会更快,也更容易扩展。

什么是“质量维度”?

指衡量回答质量的不同方面,例如信息是否正确(准确性)、是否完整、来源是否可靠,以及工具是否被高效使用。

详情

作者的原始描述

Build evaluation frameworks for agent systems. Use when testing agent performance systematically, validating context engineering choices, or measuring improvements over time.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4554
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能