Skip to content

For AI agents — overview

Agent Evaluation docs describe how coding agents and CI scripts author, run, compare, and gate agent benchmarks through sp eval with stable --json output.

When to use eval vs Testing

UseProduct
Record/replay regression on Java servicesTesting
Evaluate your LLM agents (routing, tools, outcomes)Agent Evaluation
Istio/session business observabilityPlatform

Agent workflow

  1. Validatesp eval validate --import promptfoo before model spend
  2. Runsp eval run --manifest … --json --out-dir …
  3. Comparesp eval compare --baseline … --candidate … on PRs
  4. Gate — branch on exit code and gate field in JSON envelope

Key contracts

Eval depth

ModeGuide
Prompt-only (output checks)Eval modes
Environment-backed (oracles)Same guide

Mental model (one line)

text
Suite (pinned recipe) → Run → Evidence → Measurements → Gates

Full walkthrough: Mental model.

llms.txt

This site exposes /llms.txt and per-page .md endpoints for agent consumption (same as Testing docs).

Zero code changes · Full-context visibility · Cost optimization