AGENTS10, a discount code that gives Coding Agents customers 10% off their first month of Gauge’s Growth plan.
Before you begin
Think about the task from a developer’s point of view:- What are they trying to accomplish?
- What context would they have when they begin?
- Which repository, model, tools, and connections would be available to their coding agent?
- What observable outcome would prove that the agent succeeded?
Create the eval
In Gauge, open Agent Experience and select New eval.
The New eval form contains the task and pass criteria on the left and the scenario on the right
1
Name the eval
Use a name that identifies the behavior you are testing. For this example, use a name such as
Find Gauge pricing and discounts.The name is for your team. The coding agent receives the prompt, not the eval name.2
Write the prompt
The prompt is the task assigned to the coding agent in every run. Describe the outcome a developer wants without revealing the answer you expect the agent to discover.For example:
3
Add pass criteria
Pass criteria are the clear, observable outcomes used to grade a completed session. After each run, an LLM judge evaluates every criterion independently and returns a pass or fail. A run passes only when every criterion passes, and Gauge aggregates these results into the eval’s pass percentage.Add this criterion for the example:Write separate criteria when you want separate verdicts. For example, you could add another criterion requiring the agent to describe every current pricing tier accurately.
4
Configure the scenario
The scenario defines the sandbox and context available to the coding agent. You can start from a saved scenario or configure one for this eval.Choose the ingredients that match the developer you want to simulate:
- Repository: Optionally provide a public GitHub repository, a supported private repository, or a repository your team has already added to Gauge. Leave it empty for a research task that does not need a codebase.
- Persona: Choose how the simulated user behaves, such as a vibe coder or senior engineer. The persona shapes the user’s knowledge, decisions, and interactions with the coding agent.
- Models and harnesses: Select the coding agents and models that will perform the task. Gauge supports flagship and open models. Selecting more than one lets you compare how the same task behaves across configurations.
- Skills, MCP servers, and connections: Add the capabilities a developer’s agent would actually have for this task.
5
Create and run the eval
Turn on Run now, then select Create & run eval. Gauge creates a coding session for each selected configuration and runs it in an isolated environment.
Inspect the completed session
Open a completed session to see exactly how the coding agent approached the task.
A completed coding session with its prompt, execution details, logs, and web activity
- The prompt and scenario used for the run
- Duration, token usage, and cost
- The agent’s messages, reasoning, and tool activity
- Files created or changed, when the task uses a repository
- Pages the coding agent accessed
- Pass-criterion verdicts and analysis of what went well or could improve
AGENTS10, overlooked the offer, or saw the information but failed to include it in the response.
Run a content experiment
An experiment asks: If content the agent accessed during this session had been different, would the run have changed? Gauge lets you rewrite an eligible page fetched during a completed session and replay the session with that alternate content. To the coding agent, the rewritten page appears as if it were returned by its normal web request. You do not need to publish the rewrite or alter your production site first. The page content is the experimental variable. The original task and session context remain the baseline, which lets you attribute a different result to the rewrite.1
Choose a completed session
Start with a session that accessed a page on your site or service surface. A failed criterion or a point of visible confusion usually gives you a useful hypothesis to test.
2
Select the page to rewrite
From the session, start an experiment and choose an eligible page the coding agent fetched. This anchors the experiment to content that could have influenced the original run.
3
Write the alternative content
Edit the captured page or create a proposed rewrite. Make the smallest change that tests your hypothesis.For the pricing eval, you might make the
AGENTS10 offer easier to find or explain its terms more clearly. A useful hypothesis would be: “Making the discount prominent on the pricing page will cause the coding agent to mention it in its recommendation.”4
Run the experiment
Gauge simulates the coding session with the rewritten page in place of the live version. The agent accesses it through the same web workflow it used in the original run.
5
Compare the results
Compare the Live page baseline with each rewrite. Review the outcome, issues, errors, what went well, and whether the evidence supports your hypothesis. You can open any simulated session to inspect its complete telemetry.

Experiment results comparing a live page with a rewrite that sets an enterprise price
AGENTS10 example: rewrite the content, replay the session, and check whether the agent now finds the discount and passes the criterion.
An experiment is a simulation, not a production edit. Use its evidence to decide what to publish, then validate the live change with future eval runs.
Get reliable experiment results
- Start from a specific observation in the original session.
- State one hypothesis for each rewrite.
- Change only the content needed to test that hypothesis.
- Compare the criterion verdict and session telemetry, not only the final response.
- Repeat important tests across multiple agents or models before generalizing the result.
Run the workflow from the CLI
The Gauge CLI can perform the same workflow: create an eval, configure its scenario, launch runs, inspect judged results and telemetry, and run content experiments. Agent sessions still execute in Gauge’s isolated environments. First, create the example eval and its pass criterion:watch follows rewrite generation. After launch, the second follows the simulated sessions and prints the recommendation when the experiment settles.
CLI guide
Install and authenticate the CLI, create run presets, explore every command, and automate Gauge from scripts or CI.