Skip to content

Roller v0.2.0

Choose a tag to compare

@Liuziyu77 Liuziyu77 released this 11 Nov 05:57
· 105 commits to main since this release

Roller runs tool-using agents in disposable Docker containers and records what they do. Users supply tasks and custom environments; Roller collects the complete agent trajectory and evaluates the task result.

This is the first tagged release.

Supported runtimes and benchmarks

Harnesses (7): OpenClaw (default), Codex, Claude Code, Hermes, OpenCode, DeepSeek Harness, Pi Agent. All seven read the same task format, are selected with --harness, and produce samples in the same directory layout. Any of them can act as the Task Agent or the User Simulator.

Benchmark adapters (4): WildClawBench, SkillsBench, PinchBench, QwenClawBench. roller collect --bench converts the benchmark's tasks, collects the trajectories and runs each grader in the container where the task ran, before teardown.

What a run produces

Each rollout is stored as a sample containing the Harness-native session (trace.jsonl), a normalized trace (trace_ACTF.json), an SFT record (trace_SFT.json), the files the agent wrote (results/) and run metadata (info.json). Run-level sft.jsonl aggregates the training records.

Produced under specific conditions: sft_segments/ when the Task Agent compacts its context (with --capture-calls), wire_trace.jsonl with --wire-trace full, and conversation.json for User Simulator tasks.

Capabilities

  • Batch collection. Rollouts run in parallel across tasks and models. --retries N gives each failed rollout up to N more attempts.
  • Resume. Inputs are snapshotted and hashed before a container starts, and lock.json records the settings that determine sample content. --resume skips completed samples and reruns the rest; if a recorded setting has changed it reports the difference and exits.
  • Multi-turn and User Simulator. User turns are predefined in the task, or generated by a second model running in its own Harness that decides when the task is done.
  • Viewer. roller view serves a read-only web interface for browsing tasks, comparing models and inspecting each step. No additional dependencies; listens on 127.0.0.1 by default.

Requirements

Python 3.10 or later and a running Docker daemon.

git clone https://github.com/Valen-Team/Roller.git
cd Roller
python -m pip install -e .

See Getting started for the first collection, or the README · 简体中文.

Notes

The project is in Alpha; the task schema is roller.task/v1. 624 tests pass on Python 3.12. Licensed under Apache 2.0.

Roller runs third-party agent runtimes and benchmarks, which keep their own licenses.