Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 11, 2026·2 min de lecture

Agent Evaluation — Test Virtual Agents in CI

Agent Evaluation is a Python framework that runs repeatable, scored tests for virtual agents, so teams can catch regressions automatically in CI.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Asset
Commande d'installation directe
npx -y tokrepo@latest install 73cd67c3-9db6-48ed-8a31-c082f618168e --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

Agent Evaluation is a Python framework that runs repeatable, scored tests for virtual agents, so teams can catch regressions automatically in CI.

  • Best for: Teams shipping virtual agents who want a CI-grade eval harness (multi-turn + scoring)
  • Works with: Any target agent you can call (API/SDK); built-in support includes Amazon Bedrock, Amazon Q Business, and SageMaker
  • Setup time: 20 minutes

Practical Notes

  • Setup time ~20 minutes (venv + install + run the smallest doc example)
  • Two measurable checks: 1+ evaluated conversations, and a stable score you can compare across commits
  • GitHub stars + forks (verified): see Source & Thanks

The core idea is simple: treat “agent quality” as a test suite, not a demo. Use Agent Evaluation to run the same scenarios repeatedly and record outcomes (scores, traces, and failures) so you can gate releases.

Recommended rollout:

  1. Start with 5–10 deterministic scenarios (tool calls, refusals, RAG correctness).
  2. Pin an evaluator config and dataset so results are comparable.
  3. Run evals on every PR, and alert on score regressions or new failure modes.

If you maintain your own agent, prioritize hooks that validate tool behavior (e.g., “no destructive calls”, “no secrets in logs”) before you optimize the model.

FAQ

Q: Does this require AWS? A: No. The repo includes AWS-focused integrations, but the evaluation pattern (scenarios + scoring + CI gating) applies to any callable agent.

Q: How many scenarios should I start with? A: Start small: 5–10 scenarios that represent your highest-risk workflows, then grow coverage weekly.

Q: What should I measure? A: At minimum: pass/fail rate, stable scores, token usage, and runtime. Add safety checks for tools and data leakage.

🙏

Source et remerciements

Source: https://github.com/awslabs/agent-evaluation > License: Apache-2.0 > GitHub stars: 360 · forks: 49

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires