Roller runs tool-using agents in disposable Docker containers and records what they do. You supply tasks and custom environments; Roller collects the complete agent trajectory and evaluates the task result.
Highlights
- Seven Harnesses: OpenClaw (default), Codex, Claude Code, Hermes, OpenCode, DeepSeek Harness and Pi Agent. All seven read the same task format, are selected with
--harness, and write samples in the same directory layout. Any of them can act as the Task Agent or the User Simulator. - Four benchmark adapters: WildClawBench, SkillsBench, PinchBench and QwenClawBench.
roller collect --benchconverts 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 with 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). The run-level sft.jsonl aggregates the training records.
Some files appear only 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 Ngives each failed rollout up to N more attempts. - Resume. Inputs are snapshotted and hashed before a container starts, and
lock.jsonrecords the settings that determine sample content.--resumeskips 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 viewserves a read-only web interface for browsing tasks, comparing models and inspecting each step. It needs no additional dependencies and listens on127.0.0.1by default.
Install
Roller needs Python 3.10 or later and a running Docker daemon. This release installs from source:
git clone https://github.com/Valen-Team/Roller.git
cd Roller
python -m pip install -e .
Notes
The project is in Alpha; the task schema is roller.task/v1. 624 tests pass on Python 3.12. Roller is licensed under Apache 2.0; the third-party agent runtimes and benchmarks it runs keep their own licenses.