Workshop overview
This workshop teaches you to measure an AI agent instead of guessing. You start with the basics, then write and run evals by hand with Vally, Microsoft’s eval runner, so that you see every part of an eval. Then you let GitHub Copilot Evals help you create, review, run and compare evals, and you’ll know how to judge what it drafts.
It’s for developers who build or use AI agents, skills, prompts or MCP tools. You need no eval experience. You should be comfortable with a terminal, Git and YAML.
The running example
Section titled “The running example”You work on one small example the whole time: a skill for GitHub Copilot that drafts release notes. A skill is a folder with a SKILL.md file: instructions that an agent loads when a request matches the skill’s description. This one reads backlog.json:
[ { "id": "CT-101", "title": "Search across all projects", "status": "done" }, { "id": "CT-102", "title": "Export reports to CSV", "status": "in-progress" }, { "id": "CT-103", "title": "Dark mode for the dashboard", "status": "done" }]And it has a bug. Its first rule tells the agent to announce every backlog item, including CT-102, which isn’t finished:
Read `backlog.json` in the project root and draft the release notes for the next release.
- List every backlog item as a feature of this release, one bullet per item, formatted as `- ID: title`.- Start with one short sentence that summarizes the release.- Keep the tone friendly and short. Do not edit any files.Announcing an unfinished feature is a real-world mistake with real consequences: customers look for a feature that isn’t there. You’ll catch the bug with an eval, measure how often it happens, fix it, and prove the fix.
Agenda
Section titled “Agenda”The guided part takes about two hours. Each lab builds on the one before, and scripts/catch-up.sh lets you skip ahead if you fall behind.
| Time | Block | What you do | Model use |
|---|---|---|---|
| 0:00 | Welcome | Goals and how the site works | None |
| 0:05 | Lab 0: Set up and check | Open your Codespace, sign in, run one tiny eval | 1 Copilot run |
| 0:15 | Primer | What is an eval? and Anatomy of an eval | None |
| 0:30 | Lab 1: Define good | Turn “a good answer” into checks you can run | None |
| 0:40 | Lab 2: Check your checks | Prove your checks catch a wrong answer, with the free mock executor | None |
| 0:55 | Lab 3: Run the agent | Run three trials, read results and transcripts | 3 Copilot runs |
| 1:15 | Lab 4: Fix it and prove it | Fix the skill, prove it with a controlled experiment | 6 to 9 Copilot runs |
| 1:30 | Lab 5: Add an LLM judge | Write a rubric, calibrate an LLM judge | 3 Copilot runs, about 11 judge calls |
| 1:45 | Lab 6: GitHub Copilot Evals | Review, create and run an eval with Copilot | A few Copilot prompts and runs |
| 2:00 | Wrap-up | What to do next | None |
Self-paced, at home: Lab 7: Evals in CI, Lab 8: Compare models and Lab 9: Your own agent. Take as long as you need.
- Define good Lab 1
- Check the checks Lab 2, no model
- Run and read Lab 3
- Fix and prove Lab 4
- Judge quality Lab 5
- Let Copilot help Lab 6
Before the workshop
Section titled “Before the workshop”Do these at home if you can. They take about 5 minutes and save time in the session.
-
Check your Copilot plan. You need GitHub Copilot Pro, Pro+, Business or Enterprise. On a Business or Enterprise plan, your organization must allow Copilot CLI.
-
Copy the starter repository and open your copy in a Codespace (recommended) or on your computer. Either way, run
./scripts/check-setup.shonce.
That’s all you need: no token to create, and no other account or API key. A Codespace signs the eval runner in to Copilot by itself; on your computer, you sign in once with the GitHub CLI. If you’d rather run the LLM judge on your own model endpoint, for example an Azure OpenAI or Microsoft Foundry deployment, see Model access and costs. It’s optional.
How a lab page works
Section titled “How a lab page works”Every lab has the same parts, so you always know where to look:
- The facts line under the title: time, model use, and what the lab uses.
- The pieces you’ll work with: each new term in the lab, explained in plain words, with where you see it in the YAML or the output. Read it first; it’s the “what” behind every step.
- Why this matters: the idea behind the lab.
- Steps: exact commands, what to look for, and the output we got.
- What just happened: the output, explained.
- Check yourself: two or three questions, with answers to unfold.
- Solution: in the labs where you write or change files, the finished files, folded away so you can try first.
- Stuck? The catch-up command and the most common errors.
- Go further: optional extras.
Where you work
Section titled “Where you work”Every lab assumes that you have your copy of the starter repository open in VS Code: in a Codespace, or as a clone on your computer. Your copy holds the files you work with; this site lives in a separate repository, and you only read it. When a step says open a file, open it in the editor by its path, from the Explorer or with Quick Open (Ctrl+P, or Cmd+P on macOS). When a step shows a command, run it in VS Code’s terminal (Terminal > New Terminal), which starts in the root folder of your copy.
Vally saves its results as Markdown files. To read one as a formatted table, right-click it in the Explorer and select Open Preview.
Workshop created by Jeffrey Groneberg · Connect on LinkedIn
The illustrations are AI-generated (MAI-Image-2.6). Command output comes from real runs with Vally 0.21.0 in November 2026.