GitHub Copilot Evals Public Preview Setup: How to Configure and Run Your First AI Evaluation
GitHub Copilot Evals entered public preview on November 17, 2026, giving developers a built-in way to test whether their skills, custom agents, and MCP tools behave as expected after every change. Rather than relying on intuition to judge whether a Copilot customization still works after a model update or prompt tweak, teams can now create repeatable evaluation tests directly inside their existing Copilot environment. The setup process is straightforward across three supported surfaces—VS Code, Copilot CLI, and the GitHub Copilot app—and the underlying engine, Microsoft's Vally, handles execution and grading locally.
What GitHub Copilot Evals Actually Does
At its core, an eval is a repeatable test for AI behavior. You describe a realistic task for an agent to complete, specify what a successful outcome looks like, and the system checks both the final result and the path the agent took to reach it. This distinction matters because AI output varies from one run to the next. A single correct answer proves nothing about whether a customization works reliably. After modifying a skill, agent, or MCP server integration in your Copilot setup, rerunning the same eval surfaces regressions that might otherwise go unnoticed until they break a real workflow.
The evaluation process is interactive and transparent. You trigger eval creation by asking Copilot in natural language or by issuing the /eval command. Each run requires your explicit approval before execution begins, which prevents unexpected API consumption and keeps you in control of the testing cadence. Once a run completes, the interface displays which checks passed and which failed, along with the reasoning behind each failure. This traceability extends to comparing runs side by side—a capability that turns evals from a one-time audit into an ongoing quality practice.
Under the hood, GitHub Copilot Evals uses Vally, an extensible local evaluation engine. Vally executes the agent, records its full trajectory, and applies grading rules you define. Because the engine runs locally, eval data stays on your machine, and the grading logic can be customized through eval specification files. Vally supports advanced workflows such as capturing trajectories without grading them immediately—useful when you want to batch-grade results later with updated graders—and exporting telemetry data via OpenTelemetry to an OTLP collector for centralized observability.
Prerequisites Before You Begin
Access to GitHub Copilot Evals requires an active Copilot subscription on one of three plan tiers: Copilot Individual, Copilot Business, or Copilot Enterprise. The feature is enabled automatically for eligible accounts during the public preview period;no separate opt-in or waitlist is involved. Your GitHub account must be authenticated within the environment where you plan to use evals, whether that is VS Code, the terminal, or the Copilot app.
The eval engine runs locally, so no cloud infrastructure provisioning is needed. However, Vally's execution model means that evals for skills and agents that interact with external services—such as MCP tools that call APIs or access databases—will require those services to be reachable from your machine during test runs. Plan your eval design accordingly: if an agent writes to a production database, you will want to point it at a sandboxed instance or use mock endpoints during evaluation.
For teams using Copilot Business or Enterprise, organization administrators do not need to enable any additional policy setting for evals. The feature is available to all members once it enters public preview. Repository-level configuration is not required, though teams that maintain shared skill libraries may benefit from storing eval definitions alongside their skill files in version control.
Setting Up GitHub Copilot Evals in Visual Studio Code
VS Code represents the primary surface for most developers, and the setup path reflects the familiar extension installation workflow. Open the Extensions view by pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS), then search for "GitHub Copilot Evals" in the Visual Studio Marketplace. Select the extension published by GitHub and click Install.
After installation completes, the extension integrates with your existing GitHub Copilot setup. You do not need to reconfigure authentication or restart your editor in most cases. The eval functionality becomes available through the Copilot chat panel: typing /eval followed by a description of the task you want to test initiates eval creation. Alternatively, you can describe what you want to evaluate in plain language, and Copilot will guide you through defining the task, the expected behavior, and the grading criteria.
The VS Code extension surfaces eval results directly in the chat interface. A pass/fail summary appears alongside each run, and expanding a failed check reveals the tool result that caused the failure and the expected-versus-observed evidence. This inline feedback loop keeps the evaluation workflow inside the editor, reducing context switching between testing and fixing.
Setting Up GitHub Copilot Evals in Copilot CLI
For developers who spend significant time in the terminal, the Copilot CLI plugin provides equivalent eval capabilities without leaving the command line. Installation follows the standard Copilot CLI plugin workflow. According to GitHub's installation instructions, you add the GitHub Copilot Evals plugin to your existing Copilot CLI setup using the plugin management commands documented in the Copilot CLI repository.
Once installed, the /eval command works identically to its VS Code counterpart. You can create evals, approve runs, and inspect results within the terminal session. The CLI path is particularly useful for scripting eval runs as part of continuous integration workflows. While the public preview does not ship with a native CI action, running vally eval with the appropriate spec files and flags against a local agent produces machine-readable output that teams can incorporate into automated pipelines.
The Copilot CLI plugin also exposes Vally's command-line interface directly. Advanced users can write eval specification files in YAML, define named suites in a .vally.yaml configuration file, and use tag-based filtering to run subsets of evals. This programmatic approach complements the conversational /eval command and suits teams that prefer infrastructure-as-code patterns for their AI quality checks.
Setting Up GitHub Copilot Evals in the GitHub Copilot App
The GitHub Copilot app offers a third installation path. Open the app, navigate to the Customize section, and add the github/evals marketplace listing. From there, install the GitHub Copilot Evals plugin. This surface is designed for users who interact with Copilot outside of an IDE or terminal, such as through the standalone desktop or web experience.
The app-based eval workflow mirrors the other surfaces: use /eval or natural language to define a test, approve the run, and review results. The app consolidates eval history across sessions, which makes it convenient for periodic regression testing even when you are not actively coding.
Creating Your First Eval
An effective eval starts with a specific, realistic task. Rather than testing abstract capabilities like "can the agent write good code," narrow the scope to a concrete scenario: "When I ask the agent to save a plan to the directory, it should call the save tool, receive backend confirmation, and report success only after that confirmation arrives." This specificity is what makes evals useful as regression tests—vague success criteria produce false positives that erode trust in the evaluation.
When you describe the task to Copilot, include both the input scenario and the expected behavior. The system helps structure this into checks that the Vally engine can grade. Define a check that passes when the agent's trajectory includes the correct tool call with the correct parameters and the response references the confirmed save. Define another check that fails when the agent claims success without backend confirmation, even if the language sounds confident. This dual-check approach catches the most common failure mode in AI evaluation: a polished response that masks a missing or incorrect action.
After creating the eval, approve the first run. The engine executes the agent, records everything—tool calls, responses, intermediate reasoning—and grades each check. Review the results carefully on this first run. If a check passes when it should have failed, refine the grading criteria before depending on the eval for regression testing.
Interpreting and Acting on Eval Results
Eval results appear as a list of checks, each marked pass or fail. Clicking into a failed check reveals the step that triggered the failure and a comparison between what was expected and what was observed. This trace-level visibility is what separates structured evals from ad-hoc manual testing. You are not guessing why something broke;you are inspecting the exact tool result or response fragment that diverged from expectations.
Common failure patterns include: the agent calling a deprecated tool signature after a skill update, the agent producing a correct final answer but skipping a required intermediate step, and the agent returning stale data because an MCP server changed its response schema. Each of these would be difficult to catch through casual use. With evals, they surface immediately after the change that introduced them, before they reach production workflows.
When a failure occurs, the remediation path depends on the root cause. If a skill prompt change introduced the regression, reverting or adjusting the prompt and rerunning the eval confirms the fix. If a model update changed behavior, the eval results provide evidence to decide whether to adapt the skill to the new model's patterns or wait for a subsequent update. The comparison feature—running the same eval before and after a change—makes these decisions data-driven rather than speculative.
FAQ
Do I need a separate Vally installation to use GitHub Copilot Evals?
No. Vally is bundled as part of the GitHub Copilot Evals extension and plugins. The engine runs locally without requiring a standalone install. Advanced users who want direct CLI access to Vally for scripting or CI integration can install it separately from the Microsoft Vally repository, but this is optional for the standard eval workflow.
Can I share evals with my team?
During the public preview, evals are tied to your local environment. Teams can share eval definitions by committing eval specification files and .vally.yaml suite configurations to their repositories. Each team member runs the shared evals locally. Centralized eval storage and shared run history are not yet available in the preview.
How do evals interact with rate limits and token consumption?
Each approved eval run consumes tokens according to your Copilot plan's usage model, since the agent executes real tasks against the Copilot runtime. Approving each run individually gives you control over consumption. For teams on metered plans, running a suite of evals after every skill change will increase token usage proportionally;factor this into your evaluation cadence.
What types of Copilot customizations can I evaluate?
The public preview supports evals for skills, custom agents, and MCP tools. This covers the three primary customization surfaces within Copilot. Code completions and inline suggestions are not currently evaluable through this system, as evals are designed for agentic workflows where the agent performs multi-step tasks with tool access rather than single-turn completions.
