Installation
Install the CLI
Section titled “Install the CLI”Installation of the vally CLI is easy - just use NPM:
npm install -g @microsoft/vally-cliVerify installation
Section titled “Verify installation”vally --versionYou should see the version number printed.
Use as a library
Section titled “Use as a library”If you want to use Vally programmatically (custom graders, pipeline integration), install the core package:
npm install @microsoft/vallyThen import what you need from the relevant subpath:
import type { Grader, GraderInput, GraderResult } from "@microsoft/vally/graders";import { createGraderRegistry } from "@microsoft/vally";See the Writing Custom Graders guide for a full walkthrough.
What’s included
Section titled “What’s included”| Package | Description |
|---|---|
@microsoft/vally |
Core library — discovery, parsing, grading, scoring, reporting |
@microsoft/vally-cli |
CLI — lint, eval, grade, and more |
@microsoft/vally-server |
Analytics server — REST API, dashboards, agent integration |
Next steps
Section titled “Next steps”- Run your first eval — execute an agent and grade the results
- How it works — understand the pipeline model