Highlights
- Stirrup Harness (
--harness stirrup, thestirrupextra, Python 3.12 or later). Stirrup 0.2.2's agent loop runs in the Roller process withcode_exec,view_imageandfinish; the sample's Docker container or remote sandbox executes the commands and holds the files, and gets no model key. Model requests go through the local request recording proxy, so--wire-trace full,--capture-callsand--token-idswork in Docker and remote sandboxes alike. Request fields are set by the--stirrup-*options and--thinking. - Claude Code in a remote sandbox (
--harness claude-code --sandbox-provider NAME --sandbox-template NAME). The CLI runs in the sandbox from the release the template mounts (--claude-sandbox-binaryfor a path other than/opt/claude-code/bin/claude). A sandbox without egress sends the CLI's requests out through the provider's optionalroute_http, so the wire trace, Calls, blobs and token ids are the same as under Docker.--networkand--keep-container-on-errorapply to Docker only. - Two benchmarks. ZeroBench (
--bench zerobench, thezerobenchextra): the 100 main questions or the 334 sub-questions (--bench-variant zerobench_subquestions), scored by the official strict{final answer}rule with no judge. VIALS (--bench vials, thevialsextra): the 161 questions of thetaskstest split, judged against the reference with the upstream judge prompt. Both are read from Hugging Face at a pinned revision (ZEROBENCH_REVISION,VIALS_REVISION), andbench reportadds avg@k and pass@k (plus pass^k for VIALS). - XTuner export.
roller export --format xtunerwrites a single mergedxtuner.jsonlwith a line-for-linextuner_index.jsonland--min-score. Images go to<output>/media/with EXIF-orientedimage_wh(--inline-imageskeeps data URIs), tool-call arguments are parsed into objects, andtarget_start_indexbecomes per-message"loss": falseon earlier assistant turns. - Compact runs.
roller collect --training-files-only(training_files_onlyin a bench run configuration) keeps only a finished, graded sample's training files:trace_SFT.jsonorsft_segments/,token_ids.jsonl,info.jsonandscore.json, with each image stored once in the run'sblobs/. Thesft,xtunerandtokensexports give the same output as without the option; the Viewer, the Hugging Face and ATIF exports and rebuilding SFT need the removed files. Samples that failed, or whose grading failed, keep all their files.
Added
- SFT windows built from captured Chat Completions Calls keep the images of user and tool messages; windows rebuilt from captured Anthropic Calls carry the images a tool returned, so vision-agent trajectories can be converted.
- Text blocks of one message are concatenated in those windows rather than joined with a newline, as the endpoint concatenates them.
--claude-tool-images-inlinekeeps an image a tool returned in the tool message itself. Off by default, which matches vLLM's own Messages endpoint.--claude-context-windowtells Claude Code the served context length, so it compacts its history before the endpoint would refuse the request. In a remote sandbox the Harness also turns off the attribution header, experimental betas, telemetry and error reporting, and sets a reply timeout that fits the relay.bench.grade.collector_filesgrades a copy of workspace files in the collecting process, for containers without network; the judge's key stays out of the container.files.output_dir: nullgives a Stirrup task no output directory. VIALS tasks use it.examples/cookbook/zerobench-claude-codeandexamples/cookbook/vials-stirruprun the two benchmark protocols;docker/vialsbuilds the VIALS tools image.
Changed
- Pinned Harness versions: OpenClaw
2026.11.10, Claude Code2.1.332, Codex0.172.0, DeepSeek Harness0.2.2rc2, Hermes8fc037444731(v0.23.4), OpenCode1.19.6, Pi Agent1.6.1,stirrup==0.2.2ande2b==2.66.0, with their Dockerfiles and optional SDK extras (#167). - Layered architecture. Internal modules are split into a strictly layered dependency graph while the CLI, YAML run configs, on-disk run and lock formats, public package exports and the
roller.sandbox_providersentry point are preserved (#166). - Multimodal SFT records (
trace_SFT.json,sft.jsonl,sft_segments.jsonl) use standard OpenAI content lists (textandimage_urlparts) instead of<image>placeholders and a top-levelimageslist. Text-only messages keep plain stringcontent. Thesftandxtunerexports still upgrade legacy runs on disk. - Smaller captures.
wire_trace.jsonland captured Calls store each image once per sample inblobs/<sha256>.<subtype>and keep aroller-blob:reference in its place; a Stirrup sample with 18 requests and 7 images takes 14 MB instead of 94 MB. Roller restores the original data URIs when it reads the files; earlier runs are read as they are. - The run-level
calls.jsonllists the exportable Calls without theircontextandoutput(roller.call-index/v1); the request and response stay in the sample'scapture/. --token-idsworks in a remote sandbox; the sandbox template needs this Roller version.- Task prompts reach the model as written: leading and trailing whitespace is no longer stripped, and a blank prompt is still rejected. Tasks whose prompt had such whitespace get a new bundle digest.
roller export --format hfwrites a Hermes sample's trace as a Hermes session, so the Hub lists it as a Hermes trace.- Stirrup passes no proxy variables into the container.
- The
pdfextra installs on Python 3.11 and later, with Pillow 13 or later. On Python 3.10,--claude-pdf-as-imagesreports that the extra needs Python 3.11.
Fixes
- The Hugging Face export of imported sessions also replaces the local user name inside longer names and after escaped line breaks or URL escapes such as
%2F. A user name still left is listed in the redaction report asuser_name. roller export --format hf --include-runsleaves out thetokens/folder written byroller export --format tokens.- SFT windows built from captured Calls stay open when the Harness replays a tool call with schema defaults filled in or argument keys reordered, as Claude Code does; each such call used to start a new record that repeated the previous one.
Install
Terminal
uv tool install roller-agent # or: python -m pip install roller-agent