Eval
Extension ID: microsoft.eval · Package: @microsoft/wiqd-ext-eval · Upstream: @microsoft/m365-copilot-eval
What it does
Section titled “What it does”The Eval extension runs quality evaluations against a provisioned declarative agent. You write a YAML eval suite (prompts + expected behaviours), and the extension drives the agent through each prompt and scores the response. Use it to catch regressions before publishing, to enforce a quality threshold in CI, or to compare two versions of the same agent head-to-head.
Workflow walkthrough
Section titled “Workflow walkthrough”# 1. Scaffold a starter evals.yaml from the agent's name/descriptionwiqd agent eval init
# 2. Edit evals.yaml — add your prompts, expected behaviours, categories$EDITOR evals.yaml
# 3. Provision the agent (eval needs a deployed target)wiqd agent provision --env local
# 4. Run the full suitewiqd agent eval
# 5. Run a single category with more workerswiqd agent eval --category Domain --concurrency 10
# 6. Enforce a quality bar in CI — fail the build if score drops below 85wiqd agent eval --threshold 85 --json | tee eval-results.jsonA passing run exits 0. A run that finishes but scores below --threshold exits 1. Infrastructure problems (no agent provisioned, no config file) exit 2.
Where to look in the codebase
Section titled “Where to look in the codebase”packages/wiqd-ext-eval/wiqd-extension.json— manifest.packages/wiqd-cli/src/manifest/manifest-executor.ts— host runtime that drives each command.
Note:
wiqd agent evalevaluates the deployed M365 Copilot declarative agent — not the wiqd CLI itself. The eval suite for wiqd’s own behaviour lives inpackages/evals/and is run via./scripts/run-evals.ps1. These are two unrelated evaluation systems that happen to share a name.
Go deeper
Section titled “Go deeper”- CLI commands — every
wiqd ...command this extension contributes. - Agentic workflows — the playbook and reference files the wiqd Copilot orchestrator loads for Eval-driven tasks.
- Copilot skills — the natural-language scenarios this extension powers in Copilot Chat.