← Work

Resources

Shepherd lets you inspect and intervene in an agent’s execution. MOT and MOT-Trace are the testbed and annotated records behind Opinionated Optimizers.

Open-source framework

Shepherd

Available · Early alpha

An agent’s execution becomes something another agent can inspect and transform.

Shepherd records model actions, tool calls, and environment changes in reversible execution traces. Researchers can observe a run, branch from an earlier state, and compare the consequences of a revision.

Language
Python
License
MIT ↗
Research
Paper and experimental results ↗
Contribute
Contributor guide ↗ · Issues ↗

Shepherd is under active development; APIs may change. Reversibility applies within the environments and operations supported by the framework.

Shepherd: execution as an object01—03
An agent system can be observed, revised, and evaluatedA meta-agent observes three worker agents. At an intervention point, the run branches into an original and a revised continuation. Both outcomes can be evaluated. This is a conceptual diagram, not an empirical result.Meta-agentObserve & interveneAgent AAgent BAgent CRecorded experienceOriginalRevised
01 Observe02 Revise03 Evaluate
Conceptual example: observe a run, test a revision, and compare outcomes. Explore this with Shepherd

Experiments from the paper

Runtime supervision on CooperBench

Pair pass rate · higher is better

Mean elapsed time is reported beneath each bar.

  • No supervisor28.8%

    19.8 min / pair

  • Sonnet 4.6 supervisor45.3%

    21.2 min / pair

  • Opus 4.7 supervisor54.7%

    24.2 min / pair

  • Single worker · both features57.2%

    28.4 min / pair

479 feature pairs. The first three conditions use two Claude Haiku 4.5 workers. The separate reference uses one worker handling both features. Supervision improves the two-worker result; the solo reference scores higher and takes longer. Times include supervisor overhead. These conditions do not use matched total budgets, and elapsed time does not measure monetary or compute cost.Shepherd §5.1 & Fig. 3 · setup and supervision costs ↗

Shepherd: Enabling Programmable Meta-Agents via Reversible Agentic Execution Traces

Simon Yu, Derek Chong, Ananjan Nandi, Dilara Soylu, Jiuding Sun, Christopher D. Manning, and Weiyan Shi

Experimental testbed

Meta-Optimization Testbed

Public release planned

Compare how agents propose, evaluate, and select improvements.

MOT builds on Shepherd to make optimization trajectories inspectable. It provides shared task splits, evaluation interfaces, cost accounting, and versioned histories of candidate programs and selection decisions. Adapters connect methods and tasks while preserving each method’s search procedure.

The testbed was used in Opinionated Optimizers. Its public code release is planned; no download or submission service is available here yet.

What researchers can investigate

  1. Proposals. Which changes are suggested and what evidence supports them.
  2. Measurement. How feedback, repeated evaluation, and cost affect apparent progress.
  3. Selection. Which candidates survive and whether later changes build on them.
  4. Transfer. Whether gains hold on examples withheld from search.

Annotated optimization records

MOT-Trace

Public release planned

Follow an idea through the search that produced it.

MOT-Trace identifies strategies introduced, developed, removed, or revisited during agent optimization. An edit can contain several interventions, each describing a coherent functional change.

Together with candidate programs, execution histories, scores, and selection decisions, these records support alternative explanations of progress and failure. Researchers could examine which strategies recur, what happens after rejection, and whether useful changes are preserved.

The planned accompanying release includes analysis tools, annotation methods, validation records, and the run coverage used for each analysis. Model-generated annotations have a sampled human audit and should not be treated as error-free labels.

Annotated collection

Labelled edits
20,392
Intervention records
11,350
Optimization runs
212

Coverage reported in the September 2026 manuscript. These annotated runs are distinct from the study’s broader collection of more than three million agent rollouts. Release files are not yet available on this site.

Study and measurement context →