pebble
White paper · October 2026 Sam Larson, Pebble ML

Benchmarks from your software.

How to build useful model evaluations from your agent’s code, tools, and real interactions.

Test models on the work your software supports

Before replacing a model in your product, you want to know what will get better and what will break. A public leaderboard cannot answer that on its own. Your agent uses particular tools, works with particular records, and follows rules that may be specific to your business. Even a familiar request can require several actions and a decision about when to stop, ask a question, or refuse.

Building a benchmark for that work usually starts with someone writing examples and deciding how to grade them. Much of the raw material already exists: source code, API definitions, business rules, tests, and records of real interactions. Pebble is developing a way to turn that material into runnable tasks that your team can review and reuse.

The working hypothesis is that each software environment contains a latent benchmark. Its operations and constraints suggest jobs a model should be able to complete. Discovering those jobs could reduce the work of building evaluations, while preserving the product owner’s role in deciding what matters. The output is a candidate benchmark that becomes useful through testing and review.

Give the task author a fuller view of the system

Our research uses a teacher–student arrangement. The teacher inspects a sandbox’s internals and proposes a task, a starting state, a reference solution, and a check for success. The student attempts the task through the ordinary interface. Both roles can use the same model: the teacher’s advantage comes from access to source code and state that the student must navigate through tools.

For example, consider an order-management assistant. The teacher can inspect the order schema, the address-change function, and the shipping rules. It can prepare an order that has not yet shipped and ask the student to change its delivery address. The student must find the right order, establish that the change is allowed, and call the appropriate API. The check can verify that the requested address changed while unrelated records stayed intact.

A more demanding version might ask for two changes, one of which is prohibited after payment. That tests whether the agent can combine operations and explain the constraint. This example is illustrative. Which variations belong in a company’s benchmark depends on its actual policies and users.

The student must receive everything a real user of the interface would need. Withholding a reference answer is appropriate; withholding a necessary policy and then penalizing the model for violating it is a broken test. Checks also need separation from the student’s tools, so editing a grading file cannot substitute for doing the job.

How Touchstone fits into the workflow

Touchstone is our open-source tool for building and reviewing these evaluations around an existing agent. It exports tasks in Harbor format. Harbor provides the framework for running agents in environments and collecting results; Touchstone helps prepare the environment, tasks, and review process.

Capture and survey. Start with an agent repository and recorded examples of completed work. Tracing records model and tool interactions, grouped into episodes, so the survey can see real work alongside the code. The current task generator uses those episodes; a code-only survey does not produce a task set. The survey examines the agent’s entry point, tools, and external dependencies. It uses this material to create candidate tasks and the environment needed to run them.

Run in a sandbox. Evaluations should operate on a copy of the system or a controlled simulator. Touchstone attempts to package the existing agent. Where that is not feasible, it can use a replica with rebuilt tools and simulated external services. The report identifies the mode. A replica’s result is evidence about that replica; its fidelity has to be checked before treating it as evidence about the production agent.

Review concrete examples. The product owner sees proposed tasks, trial transcripts, and grading criteria in the browser. Text or voice review lets them explain what success should mean, correct a misleading check, or identify an irrelevant task for removal. The process starts from examples they can inspect, rather than asking them to invent a full benchmark from a blank page. Where applicable, revised checks can be run against saved trials.

Compare and export. Run candidate models against a frozen version of the reviewed tasks. Inspect failures as well as aggregate scores. Touchstone can export successful trajectories—records of the agent’s actions and tool results—and a task set for reinforcement learning. The current tool prepares those outputs; it does not run GPU training or deploy a trained model.

What a team can use the benchmark for

Choosing a model. Compare candidates on your own workflows before switching providers or model versions. Repeated attempts matter because a model may succeed once and fail the next time. Keep the task set, tool access, configuration, and grading consistent, and examine whether a score difference is concentrated in a few jobs. An overall win may still include a regression on a critical action.

Finding failures. A saved trajectory can show where the agent misunderstood a request, chose the wrong tool, missed a constraint, or stopped too early. It can also expose a bad task or an unreliable simulator. The useful question is what caused the failure and whether fixing it improves the behavior your users need.

Testing product changes. A reviewed task set gives you cases to rerun when you change prompts, tools, policies, or the application itself. Refresh the packaged environment when the software changes; rerunning an old copy will not test the new application. Add newly observed failures as regression cases, while keeping a separate evaluation set for judging improvements. Version the environment and checks so a changed score has an interpretable cause.

Preparing work for model developers. A runnable environment with tasks and checks gives a model company more to work with than a list of complaints. If you choose to share it, the package can support evaluation or training on your software. Separate shareable fixtures from private records and include clear usage rights.

Training your own agent. Successful trajectories can support supervised training; runnable tasks with rewards can support reinforcement learning. Both require further choices about data quality, task diversity, and evaluation. Training against a fixed set can improve the score without improving performance on new work, so held-out cases remain necessary.

What the early experiments tell us

In our separate environment-generation experiments, independent teachers explored airline and retail systems with the existing benchmark tasks removed. They found recognizable operations, such as changing an address or cancelling a booking. They recovered few of the complete human-written tasks, which more often combined several operations and policy decisions. The research note gives the preliminary measurements and their limitations.

This suggests a practical division of work. A generator can propose concrete cases from the system. Usage examples and product-owner review help determine which combinations matter and which checks capture successful behavior. We are still testing how reliably that process recovers the range of work a team needs.

A check can be executable and still be wrong. One exploratory refusal task rewarded student attempts that timed out because the database remained unchanged. The check had omitted whether the agent communicated the refusal. Reference solutions and do-nothing controls catch some defects; they do not eliminate the need to inspect what a passing result means.

Relationship to existing evaluation work

τ-bench demonstrates evaluation of agents using tools and domain policies in stateful conversations, including reliability over repeated attempts. AutoBencher treats benchmark construction as an optimization problem with explicit goals. E-Bench uses an information and tool gap between task generation and solving. Our work builds on these ideas and asks how to apply them to a particular software environment and make the results reviewable by its owners.

Existing unit and integration tests remain useful. They check specified software behavior directly. A benchmark adds a different question: can this model use the software to complete a request? Handwritten cases are still valuable when a requirement is precise or a failure is important. Generated cases should extend that work and reveal omissions, not displace it.

Try the current implementation

Touchstone is an early Python package, published as touchstone-bench. It requires Python 3.12 or later, Harbor, a working Docker environment, and access to the models you configure. Install the command-line tools with:

uv tool install touchstone-bench
uv tool install harbor

Run touchstone demo to create sample captured interactions. Follow the setup guide to capture your agent’s work, generate tasks, run trials, and open the review room. A typical project uses touchstone survey <repo>, touchstone bench -m <provider/model>, and touchstone review. Install the tracing package in the agent’s own Python environment as well; the CLI installation is a separate environment. The survey defaults to a Claude CLI login; realtime voice review requires an OpenAI API key.

The tool runs locally and requires no Touchstone account. Model calls still go to the providers you configure, and may include code, traces, or task data. Use material you are authorized to send and account for provider charges or subscription limits. The number of generation attempts, student trials, and review calls affects cost. Setup time depends on the application and its dependencies.

The published package and the experimental Harbor generator are separate implementations. The latter remains on a development branch and has not been merged into upstream Harbor. We are working toward better task coverage, stronger checks, and clearer evidence about simulator fidelity.

Build a benchmark with us

You can use Touchstone and Harbor yourself, or work with Pebble on the first task set. A useful starting point is one workflow, a runnable copy of the relevant software, and a person who knows what good performance looks like. We can help identify the environment boundaries, review the tasks, and interpret the first model comparisons.

Tell us about the software and the decisions you want the benchmark to support.