Benchmarks

June 16, 2026 ยท View on GitHub

This folder provides a small benchmark layer for the Agent Engineering Roadmap.

The goal is not to compare models. The goal is to check whether the example agents preserve important engineering behaviors.

Run

python benchmarks/benchmark_runner.py

Current Checks

CategoryCheckWhat it protects
Tool useCalculator resultTool call correctness
RAGGrounded approval answerRetrieval and answer grounding
WorkflowDestructive action gateApproval before high-risk execution
SecurityPrompt injection blockedUntrusted retrieval isolation
ObservabilityGuardrail trace existsReplayable production debugging
Cost-latencyModel route respects budgetCost and latency-aware task routing
RuntimeCheckpoint resume completesDurable long-running workflows
MCPRead-only token cannot call toolsCapability-scoped authorization
Memory governancePII is redacted before storageSafe memory retention
Identity permissionMissing scope is deniedLeast-privilege agent access
Advanced evalRelease gate passesRegression, safety, adversarial, and trace checks

Why This Helps

Many agent demos look impressive but do not stay reliable after changes.

This benchmark gives contributors a quick signal:

  • Did tool behavior break?
  • Did retrieval grounding regress?
  • Did approval gates still trigger?
  • Did prompt injection defenses still work?
  • Did traces still capture guardrail decisions?
  • Did cost-aware routing still choose the expected model?
  • Did durable workflows still resume?
  • Did MCP gateway permissions still deny unsafe access?
  • Did memory governance still redact PII?
  • Did agent permissions still deny missing scopes?
  • Did the advanced release gate still pass?

Add A Benchmark

Add a new check when you add a new production behavior.

A good benchmark should:

  • run without API keys
  • test one behavior
  • fail loudly
  • print a useful detail line
  • be stable in GitHub Actions