Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsMay 11, 2026·2 min de lectura

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.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Asset
Comando de instalación directa
npx -y tokrepo@latest install 73cd67c3-9db6-48ed-8a31-c082f618168e --target codex

Ejecutar después de confirmar el plan con dry-run.

Introducción

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.

🙏

Fuente y agradecimientos

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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados