Roller documentation
Run tool-using agents in disposable Docker containers, collect their trajectories, grade benchmark tasks and export SFT data.
Roller records the full process of every agent run: prompts, reasoning, tool calls, tool results, generated files, and run metadata. It is designed for repeatable data collection and evaluation across different models and agent runtimes. It runs eight Harnesses on your Tasks or on seven benchmarks, imports the sessions of four Harnesses already on your machine, and writes every run in the same format for the Viewer, SFT training data and dataset exports:
New users should read the Introduction first. It explains Task, Harness, rollout, run, and trace, and requires no setup.
What Roller doesβ
Roller takes a set of Tasks, one or more models, and a Harness as input. It creates an isolated rollout for every Task and model combination, then writes the results to a structured run directory.
tasks.jsonl Γ models
β
βΌ
Agent Harness in Docker
β
ββ trace.jsonl Harness-native events
ββ trace_ACTF.json unified analysis trace
ββ trace_SFT.json standard training sample
ββ results/ files produced by the agent
ββ info.json status, usage, and provenance
Common uses include:
- collecting single-turn, multi-turn, and tool-using Agent trajectories.
- comparing models or Harnesses on the same Tasks.
- reviewing reasoning, tool calls, tool results, and generated files.
- preparing normalized traces or SFT JSONL.
- resuming interrupted collection and inspecting results in the built-in Viewer.
Roller requires Python 3.10+. The project currently uses Task schema roller.task/v1. It is in Beta and licensed under Apache 2.0. Source: GitHub.
Choose a Harnessβ
The first-run guide uses OpenClaw. That path is sufficient until one successful trajectory has been produced. The other Harnesses apply when a specific agent runtime or API protocol is required; read the matching Harness guide then.
| Harness | Model API | Typical use |
|---|---|---|
| OpenClaw (default) | OpenAI Responses or Chat Completions | Custom/open models, multimodal input, and dynamic User Simulator |
| Codex | Responses | Codex CLI tool trajectories and remote sandboxes |
| Claude Code | Anthropic /v1/messages | Claude Code tools, native thinking, and remote sandboxes |
| Hermes | OpenAI Chat Completions | Native request and tool-message traces |
| OpenCode | OpenAI Chat Completions | Native CLI sessions, file tools and remote sandboxes |
| DeepSeek Harness | DeepSeek Chat Completions | Native SDK sessions, persistent Bash, and E2B sandboxes |
| Pi Agent | OpenAI Chat Completions | Native AgentSession and coding tools |
| Stirrup | OpenAI Chat Completions | Host-side agent loop (code_exec, view_image, finish) with offline containers or remote sandboxes |
All eight use the same Task, Sample, trace, and SFT formats, as well as the same Viewer, retry, and Resume workflow. Their images, APIs, tools, and reasoning options differ.
Capability matrixβ
| Harness | Docker | Remote sandbox | User Simulator | --capture-calls & --token-ids | roller import | Prebuilt image |
|---|---|---|---|---|---|---|
| OpenClaw | Yes | β | Yes | Yes | β | Upstream (ghcr.io/openclaw/openclaw:2026.11.10) |
| Codex | Yes | Single-agent tasks (--sandbox-provider) | Yes | Yes (--codex-chat-completions for --token-ids) | Yes (~/.codex) | ghcr.io/valen-team/roller-codex:0.172.0 |
| Claude Code | Yes | Yes (--sandbox-provider) | Yes | Yes (--claude-chat-completions for --token-ids) | Yes (~/.claude) | Build locally (docker/claude-code) |
| Hermes | Yes | β | Yes | Yes | β | ghcr.io/valen-team/roller-hermes:8fc037444731 |
| OpenCode | Yes | Single-agent tasks (--sandbox-provider) | Yes | Yes | Yes (~/.local/share/opencode) | ghcr.io/valen-team/roller-opencode:1.19.6 |
| DeepSeek Harness | Yes | WildClawBench only (e2b / roller.sandbox_providers) | Yes | Yes | β | ghcr.io/valen-team/roller-deepseek:0.2.2rc2 |
| Pi Agent | Yes | β | Yes | Yes | Yes (~/.pi/agent/sessions) | ghcr.io/valen-team/roller-pi:1.6.1 |
| Stirrup | Yes | Yes (roller.sandbox_providers) | β | Yes | β | Base image (python:3.13-slim) |