Skip to content

v0.5.0 β€” The Testing Methodology Release πŸ§ͺ

Latest

Choose a tag to compare

@1304674612 1304674612 released this 11 Jul 13:58
· 13 commits to main since this release

πŸ§ͺ Agent Testing Goes Mainstream

v0.4.0 made it possible to test an agent in 30 seconds. v0.5.0 teaches you how to test well.


πŸ“– Agent Testing Pyramid

The definitive mental model for testing AI agents β€” 3 layers, 3 cadences, 1 framework.

           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
           β”‚  Quality    β”‚  Nightly / Release
           β”‚ Assertions  β”‚  LLM-as-Judge
           β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
           β”‚    Flow     β”‚  Push to Main
           β”‚ Assertions  β”‚  Multi-step Replay
           β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
           β”‚ Single-Step β”‚  Every PR
           β”‚ Assertions  β”‚  Tool / Output / Token
           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Read the full pyramid β†’

🚫 8 Agent Testing Anti-Patterns

# Anti-Pattern What It Misses
1 εͺθ΅°ι˜³ε…‰ι“ (Happy Path Only) Edge cases silently break
2 εͺη›―θΎ“ε‡ΊδΈηœ‹ε·₯ε…· (Output-Only) Wrong tool, right words
3 ζ”ΉδΊ† Prompt ε°±η₯ˆη₯· (Prompt-and-Pray) No regression guard
4 ε•ζ¨‘εž‹εΉ»θ§‰ (Single Model Fallacy) Works on GPT, fails on Claude
5 Token η›²η—‡ (Token Blindness) Budget blown in production
6 εΏ«η…§ε€±εΏ†η—‡ (Snapshot Amnesia) Can't reproduce failures
7 人肉 CI (Manual QA) Slow, inconsistent, skipped
8 θ¦†η›–ηŽ‡θ‘¨ζΌ” (Coverage Theater) Tests that assert nothing

Read all 8 β†’


πŸ”Œ Ecosystem Integrations

Platform Guide
Vercel AI SDK 12-line integration
Claude Code Custom agent testing
LangChain / CrewAI Zero-refactor integration

πŸŽ›οΈ Dashboard: Guided Failure Triage

No more staring at a red FAIL badge wondering what to do.

  • What failed β€” clear summary
  • Why β€” plain-language explanation
  • How to fix β€” assertion-type-specific suggestions (26 types)
  • Expected vs Actual β€” side-by-side diff

πŸ“Š Dashboard: Quality Trends

SVG-based line chart on the main dashboard. Track correctness, faithfulness, safety, and more across 7 / 14 / 30 days.


πŸš€ GitHub Marketplace Action

One YAML block. Zero config.

- uses: agentbench/action@v0.5
  with:
    api-key: ${{ secrets.OPENAI_API_KEY }}
  • Inline PR annotations for every failed assertion
  • Outputs: score, pass-rate, has-regression
  • Uploads test report as artifact

action.yml Β· Example workflow


πŸ“¦ Cumulative: v0.4.0 + v0.5.0

Feature v0.4.0 v0.5.0
agentbench init --quick βœ… βœ…
Agent Testing Pyramid β€” βœ…
8 Anti-Patterns β€” βœ…
Ecosystem Guides (3) β€” βœ…
Failure Guidance UI β€” βœ…
Quality Trends Chart β€” βœ…
GitHub Marketplace Action β€” βœ…
462 Tests Β· 0 TS Errors βœ… βœ…

πŸ”— Links