roller-agent 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- roller_agent-0.2.0/LICENSE +201 -0
- roller_agent-0.2.0/PKG-INFO +397 -0
- roller_agent-0.2.0/README.md +372 -0
- roller_agent-0.2.0/pyproject.toml +43 -0
- roller_agent-0.2.0/setup.cfg +4 -0
- roller_agent-0.2.0/src/roller/__init__.py +31 -0
- roller_agent-0.2.0/src/roller/__main__.py +6 -0
- roller_agent-0.2.0/src/roller/actf.py +431 -0
- roller_agent-0.2.0/src/roller/artifacts.py +124 -0
- roller_agent-0.2.0/src/roller/assets/deepseek/journal.mjs +44 -0
- roller_agent-0.2.0/src/roller/assets/deepseek/roller.patch.yml +15 -0
- roller_agent-0.2.0/src/roller/assets/deepseek/runner.py +149 -0
- roller_agent-0.2.0/src/roller/assets/hermes/runner.py +322 -0
- roller_agent-0.2.0/src/roller/assets/openclaw_capture.py +32 -0
- roller_agent-0.2.0/src/roller/assets/openclaw_drain.mjs +21 -0
- roller_agent-0.2.0/src/roller/assets/opencode/journal.mjs +42 -0
- roller_agent-0.2.0/src/roller/assets/opencode/runner.py +203 -0
- roller_agent-0.2.0/src/roller/assets/pi/runner.mjs +160 -0
- roller_agent-0.2.0/src/roller/assets/pi/runner.py +93 -0
- roller_agent-0.2.0/src/roller/benches/__init__.py +73 -0
- roller_agent-0.2.0/src/roller/benches/base.py +306 -0
- roller_agent-0.2.0/src/roller/benches/grading.py +553 -0
- roller_agent-0.2.0/src/roller/benches/pinchbench.py +976 -0
- roller_agent-0.2.0/src/roller/benches/qwenclaw/__init__.py +49 -0
- roller_agent-0.2.0/src/roller/benches/qwenclaw/adapter.py +167 -0
- roller_agent-0.2.0/src/roller/benches/qwenclaw/grader_runtime.py +395 -0
- roller_agent-0.2.0/src/roller/benches/qwenclaw/report.py +49 -0
- roller_agent-0.2.0/src/roller/benches/qwenclaw/task_parser.py +181 -0
- roller_agent-0.2.0/src/roller/benches/qwenclaw/workspace.py +202 -0
- roller_agent-0.2.0/src/roller/benches/report.py +166 -0
- roller_agent-0.2.0/src/roller/benches/skillsbench.py +708 -0
- roller_agent-0.2.0/src/roller/benches/transcripts.py +102 -0
- roller_agent-0.2.0/src/roller/benches/wildclaw.py +569 -0
- roller_agent-0.2.0/src/roller/bridge_capture.py +73 -0
- roller_agent-0.2.0/src/roller/bundles.py +545 -0
- roller_agent-0.2.0/src/roller/capture.py +385 -0
- roller_agent-0.2.0/src/roller/capture_protocol.py +301 -0
- roller_agent-0.2.0/src/roller/capture_runtime.py +48 -0
- roller_agent-0.2.0/src/roller/capture_states.py +37 -0
- roller_agent-0.2.0/src/roller/claude_capture.py +185 -0
- roller_agent-0.2.0/src/roller/claude_code_actf.py +594 -0
- roller_agent-0.2.0/src/roller/cli.py +1732 -0
- roller_agent-0.2.0/src/roller/codex_actf.py +584 -0
- roller_agent-0.2.0/src/roller/codex_capture.py +99 -0
- roller_agent-0.2.0/src/roller/codex_tools.py +137 -0
- roller_agent-0.2.0/src/roller/collector.py +818 -0
- roller_agent-0.2.0/src/roller/compaction_sft.py +672 -0
- roller_agent-0.2.0/src/roller/conversation.py +432 -0
- roller_agent-0.2.0/src/roller/deepseek_actf.py +135 -0
- roller_agent-0.2.0/src/roller/harness_registry.py +61 -0
- roller_agent-0.2.0/src/roller/harnesses/__init__.py +29 -0
- roller_agent-0.2.0/src/roller/harnesses/base.py +64 -0
- roller_agent-0.2.0/src/roller/harnesses/bridge.py +448 -0
- roller_agent-0.2.0/src/roller/harnesses/claude_code.py +839 -0
- roller_agent-0.2.0/src/roller/harnesses/codex.py +808 -0
- roller_agent-0.2.0/src/roller/harnesses/config_overrides.py +100 -0
- roller_agent-0.2.0/src/roller/harnesses/container.py +206 -0
- roller_agent-0.2.0/src/roller/harnesses/deepseek.py +104 -0
- roller_agent-0.2.0/src/roller/harnesses/docker.py +72 -0
- roller_agent-0.2.0/src/roller/harnesses/gateway_ports.py +155 -0
- roller_agent-0.2.0/src/roller/harnesses/hermes.py +119 -0
- roller_agent-0.2.0/src/roller/harnesses/openclaw.py +1605 -0
- roller_agent-0.2.0/src/roller/harnesses/opencode.py +193 -0
- roller_agent-0.2.0/src/roller/harnesses/pi.py +111 -0
- roller_agent-0.2.0/src/roller/hermes_actf.py +147 -0
- roller_agent-0.2.0/src/roller/image_build.py +206 -0
- roller_agent-0.2.0/src/roller/integrity.py +332 -0
- roller_agent-0.2.0/src/roller/model_protocols.py +201 -0
- roller_agent-0.2.0/src/roller/models.py +169 -0
- roller_agent-0.2.0/src/roller/openclaw_capture.py +140 -0
- roller_agent-0.2.0/src/roller/openclaw_delivery.py +211 -0
- roller_agent-0.2.0/src/roller/openclaw_usage.py +59 -0
- roller_agent-0.2.0/src/roller/opencode_actf.py +305 -0
- roller_agent-0.2.0/src/roller/opencode_capture.py +96 -0
- roller_agent-0.2.0/src/roller/pi_actf.py +172 -0
- roller_agent-0.2.0/src/roller/response_metadata.py +89 -0
- roller_agent-0.2.0/src/roller/run_lock.py +297 -0
- roller_agent-0.2.0/src/roller/sft.py +471 -0
- roller_agent-0.2.0/src/roller/storage.py +53 -0
- roller_agent-0.2.0/src/roller/tasks.py +689 -0
- roller_agent-0.2.0/src/roller/thinking.py +50 -0
- roller_agent-0.2.0/src/roller/thinking_capabilities.py +152 -0
- roller_agent-0.2.0/src/roller/trajectory_audit.py +386 -0
- roller_agent-0.2.0/src/roller/usage.py +168 -0
- roller_agent-0.2.0/src/roller/version.py +1 -0
- roller_agent-0.2.0/src/roller/viewer/__init__.py +3 -0
- roller_agent-0.2.0/src/roller/viewer/app.py +722 -0
- roller_agent-0.2.0/src/roller/viewer/static/app.js +752 -0
- roller_agent-0.2.0/src/roller/viewer/static/index.html +105 -0
- roller_agent-0.2.0/src/roller/viewer/static/style.css +213 -0
- roller_agent-0.2.0/src/roller/wire_trace.py +650 -0
- roller_agent-0.2.0/src/roller_agent.egg-info/PKG-INFO +397 -0
- roller_agent-0.2.0/src/roller_agent.egg-info/SOURCES.txt +146 -0
- roller_agent-0.2.0/src/roller_agent.egg-info/dependency_links.txt +1 -0
- roller_agent-0.2.0/src/roller_agent.egg-info/entry_points.txt +2 -0
- roller_agent-0.2.0/src/roller_agent.egg-info/requires.txt +7 -0
- roller_agent-0.2.0/src/roller_agent.egg-info/top_level.txt +1 -0
- roller_agent-0.2.0/tests/test_actf.py +410 -0
- roller_agent-0.2.0/tests/test_artifacts.py +82 -0
- roller_agent-0.2.0/tests/test_bench_adapters.py +820 -0
- roller_agent-0.2.0/tests/test_bench_transcripts.py +63 -0
- roller_agent-0.2.0/tests/test_bundles.py +327 -0
- roller_agent-0.2.0/tests/test_capture.py +406 -0
- roller_agent-0.2.0/tests/test_capture_lifecycle.py +120 -0
- roller_agent-0.2.0/tests/test_capture_protocol.py +253 -0
- roller_agent-0.2.0/tests/test_claude_code.py +238 -0
- roller_agent-0.2.0/tests/test_claude_code_actf.py +309 -0
- roller_agent-0.2.0/tests/test_cli.py +565 -0
- roller_agent-0.2.0/tests/test_codex.py +240 -0
- roller_agent-0.2.0/tests/test_codex_actf.py +612 -0
- roller_agent-0.2.0/tests/test_codex_tools.py +340 -0
- roller_agent-0.2.0/tests/test_collector.py +1104 -0
- roller_agent-0.2.0/tests/test_compaction_sft.py +1036 -0
- roller_agent-0.2.0/tests/test_compaction_sft_e2e.py +369 -0
- roller_agent-0.2.0/tests/test_config_set.py +201 -0
- roller_agent-0.2.0/tests/test_conversation.py +433 -0
- roller_agent-0.2.0/tests/test_coverage_examples.py +128 -0
- roller_agent-0.2.0/tests/test_deepseek.py +194 -0
- roller_agent-0.2.0/tests/test_deepseek_docker.py +357 -0
- roller_agent-0.2.0/tests/test_docker_build_config.py +250 -0
- roller_agent-0.2.0/tests/test_docker_build_https.py +92 -0
- roller_agent-0.2.0/tests/test_docker_runtime.py +58 -0
- roller_agent-0.2.0/tests/test_examples.py +158 -0
- roller_agent-0.2.0/tests/test_gateway_ports.py +278 -0
- roller_agent-0.2.0/tests/test_hermes.py +493 -0
- roller_agent-0.2.0/tests/test_hermes_docker.py +144 -0
- roller_agent-0.2.0/tests/test_image_build.py +145 -0
- roller_agent-0.2.0/tests/test_openclaw.py +1199 -0
- roller_agent-0.2.0/tests/test_openclaw_delivery.py +639 -0
- roller_agent-0.2.0/tests/test_openclaw_delivery_contract.py +137 -0
- roller_agent-0.2.0/tests/test_openclaw_usage.py +54 -0
- roller_agent-0.2.0/tests/test_opencode.py +545 -0
- roller_agent-0.2.0/tests/test_opencode_docker.py +206 -0
- roller_agent-0.2.0/tests/test_pi.py +257 -0
- roller_agent-0.2.0/tests/test_pi_docker.py +461 -0
- roller_agent-0.2.0/tests/test_qwenclaw.py +799 -0
- roller_agent-0.2.0/tests/test_response_metadata.py +96 -0
- roller_agent-0.2.0/tests/test_resume.py +391 -0
- roller_agent-0.2.0/tests/test_run_lock.py +207 -0
- roller_agent-0.2.0/tests/test_seven_harness_capture.py +234 -0
- roller_agent-0.2.0/tests/test_sft.py +665 -0
- roller_agent-0.2.0/tests/test_storage.py +39 -0
- roller_agent-0.2.0/tests/test_tasks.py +455 -0
- roller_agent-0.2.0/tests/test_thinking.py +48 -0
- roller_agent-0.2.0/tests/test_thinking_capabilities.py +158 -0
- roller_agent-0.2.0/tests/test_trajectory_audit.py +245 -0
- roller_agent-0.2.0/tests/test_viewer.py +287 -0
- roller_agent-0.2.0/tests/test_wire_trace.py +623 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: roller-agent
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Batch collection of agentic trajectories across models and harnesses
|
|
5
|
+
Author: Roller contributors
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Valen-Team/Roller
|
|
8
|
+
Project-URL: Documentation, https://github.com/Valen-Team/Roller/blob/main/docs/en/index.md
|
|
9
|
+
Project-URL: Issues, https://github.com/Valen-Team/Roller/issues
|
|
10
|
+
Keywords: agents,agent-trajectories,docker,evaluation,sft
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: PyYAML<7,>=6.0
|
|
21
|
+
Provides-Extra: test
|
|
22
|
+
Requires-Dist: pytest; extra == "test"
|
|
23
|
+
Requires-Dist: tomli; python_version < "3.11" and extra == "test"
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<picture>
|
|
28
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/roller-logo-dark.png">
|
|
29
|
+
<img src="assets/roller-logo.png" alt="Roller" width="120">
|
|
30
|
+
</picture>
|
|
31
|
+
</p>
|
|
32
|
+
<h1 align="center">Roller</h1>
|
|
33
|
+
<p align="center"><strong>Agent trajectory collection across models and Harnesses</strong></p>
|
|
34
|
+
<p align="center">Roller runs tool-using agents in disposable Docker containers and stores, for every task and model combination, the native session, a unified trace, SFT training data and the generated files.</p>
|
|
35
|
+
|
|
36
|
+
<p align="center">
|
|
37
|
+
<a href="#harnesses"><img src="https://img.shields.io/badge/Harnesses-7-00866F?style=flat&labelColor=4B5563" alt="7 Harnesses"></a>
|
|
38
|
+
<a href="#benchmarks"><img src="https://img.shields.io/badge/Benchmarks-4-00866F?style=flat&labelColor=4B5563" alt="4 benchmark adapters"></a>
|
|
39
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-6B7280?style=flat&labelColor=4B5563" alt="License: Apache 2.0"></a>
|
|
40
|
+
<a href="pyproject.toml"><img src="https://img.shields.io/badge/Python-3.10%2B-6B7280?style=flat&logo=python&logoColor=FFD43B&labelColor=4B5563" alt="Python 3.10+"></a>
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
<p align="center">
|
|
44
|
+
<strong>English</strong> · <a href="README_zh-CN.md">简体中文</a><br>
|
|
45
|
+
<a href="docs/en/index.md">Documentation</a> · <a href="docs/en/start/getting-started.md">Getting started</a> · <a href="docs/en/start/cli-reference.md">CLI reference</a> · <a href="examples/README.md">Examples</a>
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
<p align="center">
|
|
49
|
+
<a href="#news">News</a> · <a href="#architecture">Architecture</a> · <a href="#highlights">Features</a> · <a href="#quick-start">Quick start</a> · <a href="#harnesses">Harnesses</a> · <a href="#outputs">Outputs</a> · <a href="#benchmarks">Benchmarks</a> · <a href="#documentation">Docs</a> · <a href="#contributing">Contributing</a>
|
|
50
|
+
</p>
|
|
51
|
+
|
|
52
|
+
<a id="introduction"></a>
|
|
53
|
+
|
|
54
|
+
## Introduction
|
|
55
|
+
|
|
56
|
+
Roller is infrastructure for agent runtimes that provides agent rollout and evaluation services. Users supply tasks and custom environments; Roller runs the agent in an isolated Docker container, collects the complete agent trajectory and evaluates the task result. Roller currently supports seven mainstream Harnesses, including OpenClaw, Codex and Claude Code, and four benchmarks, including WildClawBench and SkillsBench.
|
|
57
|
+
|
|
58
|
+
Roller provides the following capabilities:
|
|
59
|
+
|
|
60
|
+
- **Benchmark integration.** One command converts benchmark tasks into Roller tasks, collects the trajectories and grades each sample in the container where it ran.
|
|
61
|
+
- **Batch collection.** Rollouts run in parallel across tasks and models, with retries for failed attempts and Resume for interrupted runs.
|
|
62
|
+
- **SFT data export.** Each successful rollout yields a `messages` + `tools` training record; rollouts with compacted context are exported as separate segment records.
|
|
63
|
+
- **Multi-turn conversations and User Simulator.** User turns are predefined in the task or generated by a second model that acts as the user.
|
|
64
|
+
- **Viewer.** A built-in read-only web interface for browsing tasks, comparing models and inspecting each step.
|
|
65
|
+
|
|
66
|
+
<p align="center">
|
|
67
|
+
<a href="assets/demo/viewer-trajectory.gif"><img src="assets/demo/viewer-trajectory.gif" alt="Step-by-step inspection of one rollout in Roller Viewer: task search, model selection, and the reasoning, tool calls and tool results of all six steps" width="32%"></a>
|
|
68
|
+
<a href="assets/demo/viewer-models.gif"><img src="assets/demo/viewer-models.gif" alt="One task compared across four models in Roller Viewer, with 3, 13, 27 and 53 steps" width="32%"></a>
|
|
69
|
+
<a href="assets/demo/viewer.png"><img src="assets/demo/viewer.png" alt="Roller Viewer with the four rollouts of one task on the left, step 3 expanded in the middle, and the Inspector on the right" width="32%"></a>
|
|
70
|
+
</p>
|
|
71
|
+
<p align="center"><sub>Recordings of the built-in Viewer. Left: step-by-step inspection of the reasoning, tool calls and tool results of one rollout. Middle: one task compared across four models. Right: the complete Viewer layout. Select an image to view it at full size.</sub></p>
|
|
72
|
+
|
|
73
|
+
<a id="news"></a>
|
|
74
|
+
|
|
75
|
+
## News
|
|
76
|
+
|
|
77
|
+
- **2026-11-11**: SFT export for compacted context. When the Task Agent compacts its context, each verified context window is exported as a separate SFT record under `sft_segments/`.
|
|
78
|
+
- **2026-11-08**: QwenClawBench adapter: 100 tasks in 8 domains, with automated grading, hybrid grading and repeated runs per task.
|
|
79
|
+
- **2026-11-05**: One-command evaluation for SkillsBench and PinchBench. SFT records support images.
|
|
80
|
+
- **2026-11-01**: Hermes, OpenCode, DeepSeek Harness and Pi Agent added, for a total of seven Harnesses.
|
|
81
|
+
|
|
82
|
+
<a id="architecture"></a>
|
|
83
|
+
|
|
84
|
+
## Architecture
|
|
85
|
+
|
|
86
|
+
Roller runs as a single host process. The Collector schedules rollouts in parallel and starts one Docker container per rollout. Inside the container, the Harness runtime executes the agent loop in a workspace that contains the declared inputs and Context. Depending on the Harness and the `--wire-trace` setting, model requests either pass through Roller's request proxy, which records them before forwarding, or go directly to the model API. After the last turn, Roller collects the native session and the output directory, and the trace converters write the sample to the run directory.
|
|
87
|
+
|
|
88
|
+
<p align="center">
|
|
89
|
+
<a href="assets/diagrams/architecture-en-light.png"><picture>
|
|
90
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/diagrams/architecture-en-dark.png">
|
|
91
|
+
<img src="assets/diagrams/architecture-en-light.png" alt="Roller architecture: the host process loads and snapshots tasks, the Collector starts one Docker container per rollout, model calls pass through the request proxy, and the trace converters write samples to the run directory" width="100%">
|
|
92
|
+
</picture></a>
|
|
93
|
+
</p>
|
|
94
|
+
<p align="center"><sub>Green arrows: model calls. Dashed elements: optional components and conditional paths.</sub></p>
|
|
95
|
+
|
|
96
|
+
Each rollout follows the lifecycle below. The Collector first checks whether a valid sample already exists. Otherwise it starts the container, and the Harness executes the turns. With a User Simulator, each Task Agent reply is passed to the Simulator, which returns the next user message or ends the conversation. For bench runs, the grader runs before teardown. After teardown, Roller converts the native session to the normalized trace; the Collector then either retries a failed attempt (up to `--retries` times) or finalizes the sample.
|
|
97
|
+
|
|
98
|
+
<p align="center">
|
|
99
|
+
<a href="assets/diagrams/lifecycle-en-light.png"><picture>
|
|
100
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/diagrams/lifecycle-en-dark.png">
|
|
101
|
+
<img src="assets/diagrams/lifecycle-en-light.png" alt="Lifecycle of one rollout: Resume check, container start, turns with model calls and an optional User Simulator, optional bench grading, teardown, trace conversion, and retry or finalization" width="100%">
|
|
102
|
+
</picture></a>
|
|
103
|
+
</p>
|
|
104
|
+
|
|
105
|
+
<a id="highlights"></a>
|
|
106
|
+
|
|
107
|
+
## Features
|
|
108
|
+
|
|
109
|
+
- **Unified Harness interface.** OpenClaw, Codex, Claude Code, Hermes, OpenCode, DeepSeek Harness and Pi Agent read the same task format and are selected with `--harness`. Samples from every Harness use the same directory layout and the same normalized trace structure.
|
|
110
|
+
- **Step-level traces.** Each step in the normalized trace records the visible reasoning, tool calls, tool results, token counts and timing. With `--wire-trace full`, Roller also stores every request body that its proxy forwards to the model API.
|
|
111
|
+
- **Evaluation in the task container.** `roller collect --bench` exports the benchmark tasks, runs them and executes each grader in the container where the task ran, before teardown. Grading failures are recorded separately from zero scores, and `bench-report.json` aggregates the results.
|
|
112
|
+
- **Reproducible batch collection.** Roller snapshots and hashes all inputs before a container starts, and `lock.json` records the settings that determine sample content. `--resume` skips completed samples and reruns the remaining ones; if a recorded setting has changed, it reports the difference and exits. `--retries N` allows up to N additional attempts for each failed rollout.
|
|
113
|
+
- **Training data with images and compaction segments.** SFT records include an `images` field when the trace contains images. When the Task Agent compacts its context, each verified context window is exported to `sft_segments/` with a `target_start_index` that marks the supervised messages.
|
|
114
|
+
- **Dynamic conversations.** The User Simulator runs in its own Harness, reads the conversation so far and either sends the next user message or ends the task. It can use a different Harness and model from the Task Agent.
|
|
115
|
+
- **Local Viewer.** `roller view` reads an existing run directory without modifying it, requires no additional dependencies and listens on `127.0.0.1` by default.
|
|
116
|
+
|
|
117
|
+
<a id="quick-start"></a>
|
|
118
|
+
|
|
119
|
+
## Quick start
|
|
120
|
+
|
|
121
|
+
The following procedure collects a first batch of trajectories with OpenClaw, the default Harness.
|
|
122
|
+
|
|
123
|
+
### 1. Installation
|
|
124
|
+
|
|
125
|
+
Requirements: Python 3.10 or later and a running Docker daemon.
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
git clone https://github.com/Valen-Team/Roller.git
|
|
129
|
+
cd Roller
|
|
130
|
+
conda create -n roller python=3.11 -y
|
|
131
|
+
conda activate roller
|
|
132
|
+
python -m pip install -e .
|
|
133
|
+
|
|
134
|
+
docker pull ghcr.io/openclaw/openclaw:2026.7.1-2
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
With Docker Desktop on macOS, enable **Enable host networking** under **Settings → Resources → Network** and restart Docker Desktop. To install the image offline from a `docker save` archive, run `docker load -i <archive>` instead of `docker pull`.
|
|
138
|
+
|
|
139
|
+
### 2. Model configuration
|
|
140
|
+
|
|
141
|
+
Copy the environment template, set `MY_PROXY_BASE_URL` and `MY_PROXY_API_KEY`, and export the variables to the current shell. `examples/env/api.env` is excluded by `.gitignore`.
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
cp examples/env/api.env.example examples/env/api.env
|
|
145
|
+
# Edit examples/env/api.env, then export its variables:
|
|
146
|
+
set -a; source examples/env/api.env; set +a
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
In [`examples/config/openclaw/models.json`](examples/config/openclaw/models.json), set the model `id` to the model name used by the service. Commands reference a model as `<provider>/<id>`, where `<provider>` is the key under `providers`. With the example file, the model reference is `my-openai-proxy/my-model`. For services that support only `/chat/completions`, change `api` from `openai-responses` to `openai-completions`. Store API keys only in environment variables; do not include them in tasks, commands or version-controlled files.
|
|
150
|
+
|
|
151
|
+
### 3. Dry run and collection
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
roller collect \
|
|
155
|
+
--tasks examples/tasks/tasks.jsonl \
|
|
156
|
+
--model my-openai-proxy/my-model \
|
|
157
|
+
--model-config examples/config/openclaw/models.json \
|
|
158
|
+
--parallel 4 \
|
|
159
|
+
--dry-run
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
A dry run parses the tasks, validates the input files and prints the planned rollouts. It does not start containers or call the model API, so it does not detect a missing image or an invalid API key. After verifying the plan, remove `--dry-run`, set a run name and enable one retry per failed rollout:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
roller collect \
|
|
166
|
+
--tasks examples/tasks/tasks.jsonl \
|
|
167
|
+
--model my-openai-proxy/my-model \
|
|
168
|
+
--model-config examples/config/openclaw/models.json \
|
|
169
|
+
--parallel 4 --retries 1 --timeout 600 \
|
|
170
|
+
--output runs --run-name quickstart
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
To compare models, repeat `--model`; each task then runs once per model. To continue an interrupted run, rerun the same command with `--resume`. If a setting recorded in `lock.json` has changed, use a new `--run-name`.
|
|
174
|
+
|
|
175
|
+
### 4. Viewer
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
roller view runs/quickstart
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Open the URL printed in the terminal (default `http://127.0.0.1:17865`). The Viewer shows the messages, reasoning, tool calls, tool results and final reply of each task.
|
|
182
|
+
|
|
183
|
+
[Getting started guide →](docs/en/start/getting-started.md)
|
|
184
|
+
|
|
185
|
+
<a id="harnesses"></a>
|
|
186
|
+
|
|
187
|
+
## Harnesses
|
|
188
|
+
|
|
189
|
+
A Harness is the agent runtime inside the container. It starts the agent, provides its tools and calls the model API. Specify the Harness for all tasks with `--harness`, or for an individual task with the `harness` field.
|
|
190
|
+
|
|
191
|
+
| Harness | Model API | Description |
|
|
192
|
+
| --- | --- | --- |
|
|
193
|
+
| OpenClaw (default) | OpenAI Responses or Chat Completions | Custom and open models; multimodal input |
|
|
194
|
+
| Codex | Responses | Codex CLI with GPT or Responses-compatible services |
|
|
195
|
+
| Claude Code | Anthropic `/v1/messages` | Claude Code with native thinking |
|
|
196
|
+
| Hermes | OpenAI Chat Completions | Hermes Agent with terminal and file tools |
|
|
197
|
+
| OpenCode | OpenAI Chat Completions | OpenCode CLI sessions with text and file tools |
|
|
198
|
+
| DeepSeek Harness | DeepSeek Chat Completions | Official SDK with a single persistent Bash tool |
|
|
199
|
+
| Pi Agent | OpenAI Chat Completions | Pi SDK with seven tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls` |
|
|
200
|
+
|
|
201
|
+
OpenClaw reads model definitions from `--model-config`. The other six Harnesses use `--api-base` and `--api-key-env`. In runs that combine several Harnesses, each Harness takes its own prefixed pair, for example `--hermes-api-base` and `--hermes-api-key-env`.
|
|
202
|
+
|
|
203
|
+
Every Harness can serve as the Task Agent or the User Simulator. Docker images, API settings and reasoning options differ per Harness and are described in the Harness guides: [OpenClaw](docs/en/harnesses/openclaw-configuration.md) · [Codex](docs/en/harnesses/codex-configuration.md) · [Claude Code](docs/en/harnesses/claude-code-configuration.md) · [Hermes](docs/en/harnesses/hermes-configuration.md) · [OpenCode](docs/en/harnesses/opencode-configuration.md) · [DeepSeek](docs/en/harnesses/deepseek-configuration.md) · [Pi Agent](docs/en/harnesses/pi-configuration.md).
|
|
204
|
+
|
|
205
|
+
<a id="outputs"></a>
|
|
206
|
+
|
|
207
|
+
## Outputs
|
|
208
|
+
|
|
209
|
+
Each run is stored in one directory. Run-level files are at the top level, and each sample has its own directory under `samples/`:
|
|
210
|
+
|
|
211
|
+
```text
|
|
212
|
+
runs/quickstart/
|
|
213
|
+
├── info.json settings, progress and total usage
|
|
214
|
+
├── lock.json settings compared by --resume
|
|
215
|
+
├── sft.jsonl SFT records of successful, uncompacted samples
|
|
216
|
+
└── samples/<model>/<index>_<task>/
|
|
217
|
+
├── trace.jsonl Harness-native session
|
|
218
|
+
├── trace_ACTF.json unified trace: reasoning, tool calls, results, tokens, timing
|
|
219
|
+
├── trace_SFT.json SFT record of this sample
|
|
220
|
+
├── info.json status, attempts, usage, versions and input digests
|
|
221
|
+
└── results/ files written to the task's output directory
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Use `sft.jsonl` for training and `trace_ACTF.json` for analysis. `trace.jsonl` retains the Harness-native events for debugging and re-conversion and is not cleaned for training.
|
|
225
|
+
|
|
226
|
+
The following figure shows how each file is produced. Dashed paths are enabled by the flag shown on the arrow.
|
|
227
|
+
|
|
228
|
+
<p align="center">
|
|
229
|
+
<a href="assets/diagrams/pipeline-en-light.png"><picture>
|
|
230
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/diagrams/pipeline-en-dark.png">
|
|
231
|
+
<img src="assets/diagrams/pipeline-en-light.png" alt="Trace data pipeline: the Harness session is copied to trace.jsonl and converted to trace_ACTF.json, which yields trace_SFT.json and sft.jsonl; --capture-calls enables compaction segments and --wire-trace full keeps request bodies in wire_trace.jsonl" width="100%">
|
|
232
|
+
</picture></a>
|
|
233
|
+
</p>
|
|
234
|
+
|
|
235
|
+
The following files are produced only under specific conditions:
|
|
236
|
+
|
|
237
|
+
- `sft_segments/`: written when the Task Agent compacts its context. The rollout is then excluded from `sft.jsonl`, and each verified context window is exported as a separate record. Segment records are listed in the sample's `info.json` and aggregated in the run-level `sft_segments.jsonl`. `target_start_index` identifies the first supervised assistant message; training loaders must mask all preceding messages.
|
|
238
|
+
- `wire_trace.jsonl`: written with `--wire-trace full`. It contains every request body that Roller's proxy forwarded to the model API. Its content can differ from the native session when a Harness compacts, truncates or rewrites context.
|
|
239
|
+
- `conversation.json`: written for User Simulator tasks. It contains the dialogue visible to both participants.
|
|
240
|
+
|
|
241
|
+
The [trajectory output guide](docs/en/traces/trajectory-outputs.md) specifies when each file is written or omitted.
|
|
242
|
+
|
|
243
|
+
### Reasoning
|
|
244
|
+
|
|
245
|
+
`--keep-thinking` is enabled by default and stores the visible reasoning returned by the model service. `--thinking` sets the requested reasoning level. The stored content depends on the model family:
|
|
246
|
+
|
|
247
|
+
| Model family | Stored reasoning |
|
|
248
|
+
| --- | --- |
|
|
249
|
+
| GPT reasoning models | Visible summary or content returned by the service |
|
|
250
|
+
| Claude | Visible thinking or summary returned by the service |
|
|
251
|
+
| Open models such as Qwen and GLM | Plain-text reasoning returned by the service |
|
|
252
|
+
|
|
253
|
+
When a service returns only reasoning token counts or encrypted state, `reasoning_content` is empty. `reasoning_content` contains only reasoning text returned by the service; tool arguments remain in `tool_calls`. The reasoning levels available for each OpenClaw model are listed in [Thinking configuration](docs/en/harnesses/openclaw-configuration.md#6-thinking-configuration).
|
|
254
|
+
|
|
255
|
+
<a id="tasks"></a>
|
|
256
|
+
|
|
257
|
+
## Tasks
|
|
258
|
+
|
|
259
|
+
A task is a JSON object. A minimal task contains a schema version, an ID and a prompt:
|
|
260
|
+
|
|
261
|
+
```json
|
|
262
|
+
{"schema_version":"roller.task/v1","id":"hello","prompt":"Compute 2+3. Reply with the number only."}
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
A task list can be a `.jsonl` file, a JSON array or an object of the form `{"tasks": [...]}`. Optional fields define files, Context, conversation turns and runtime settings:
|
|
266
|
+
|
|
267
|
+
| Field | Purpose |
|
|
268
|
+
| --- | --- |
|
|
269
|
+
| `messages` | Predefined user turns for a multi-turn conversation |
|
|
270
|
+
| `file_root`, `files.inputs` | Local files copied into the workspace |
|
|
271
|
+
| `files.context` | Context files such as `AGENTS.md`, `USER.md`, `MEMORY.md` and skills, which the Harness places where the agent discovers them automatically |
|
|
272
|
+
| `files.output_dir` | Output directory of the agent; Roller collects its full contents |
|
|
273
|
+
| `runtime` | Environment variables, setup commands and task-level thinking |
|
|
274
|
+
| `harness` | Harness for this task (also `agent_harness` or `task_agent.harness`); overridden by `--harness` |
|
|
275
|
+
| `user_simulator` | Harness and model that act as the user and generate user turns |
|
|
276
|
+
|
|
277
|
+
`messages` and `user_simulator` are mutually exclusive. All fields are specified in the [task format reference](docs/en/tasks/task-format.md); dynamic conversations are described in the [User Simulator guide](docs/en/tasks/user-simulator.md).
|
|
278
|
+
|
|
279
|
+
<a id="benchmarks"></a>
|
|
280
|
+
|
|
281
|
+
## Benchmarks
|
|
282
|
+
|
|
283
|
+
Bench adapters convert benchmark tasks into Roller tasks and grade each sample in the container where it ran.
|
|
284
|
+
|
|
285
|
+
| Bench | Default Harness | Scope |
|
|
286
|
+
| --- | --- | --- |
|
|
287
|
+
| [WildClawBench](docs/en/benches/wildclawbench.md) | `openclaw` | 60 real-scenario tasks in 6 categories |
|
|
288
|
+
| [SkillsBench](docs/en/benches/skillsbench.md) | `opencode` | One built environment per task; with-skill and no-skill runs scored by official verifiers |
|
|
289
|
+
| [PinchBench](docs/en/benches/pinchbench.md) | `openclaw` | Automated, LLM-judge, hybrid and multi-session tasks |
|
|
290
|
+
| [QwenClawBench](docs/en/benches/qwenclawbench.md) | `openclaw` | 100 tasks in 8 domains, with repeated runs per task |
|
|
291
|
+
|
|
292
|
+
The following example runs WildClawBench. With the upstream repository checked out and its `.env` loaded, one command converts the tasks, collects trajectories, grades every sample and writes `tasks.jsonl` and `bench-report.json` to the run directory:
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
roller collect --bench wildclawbench --bench-root ~/WildClawBench \
|
|
296
|
+
--model <provider>/<model> --model-config <models.json> \
|
|
297
|
+
--harness openclaw --openclaw-image wildclawbench-ubuntu:v1.3 \
|
|
298
|
+
--parallel 4 --output runs --run-name wildclaw
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
Each bench guide lists the settings that must match the upstream configuration and the environment variables required by its graders. Scores are directly comparable only when these settings match upstream. To add a bench, see [Bench integration and scoring](docs/en/benches/bench-format.md#6-adding-a-new-bench).
|
|
302
|
+
|
|
303
|
+
<a id="documentation"></a>
|
|
304
|
+
|
|
305
|
+
## Documentation
|
|
306
|
+
|
|
307
|
+
New users should start with [Getting started](docs/en/start/getting-started.md) and refer to [Task format](docs/en/tasks/task-format.md) when writing tasks. The complete handbook is in [`docs/en`](docs/en/index.md). To build it as a website, run `python -m pip install -r docs/requirements-docs.txt` followed by `cd docs && make html`.
|
|
308
|
+
|
|
309
|
+
| Guide | Contents |
|
|
310
|
+
| --- | --- |
|
|
311
|
+
| [Introduction](docs/en/start/introduction.md) | Core concepts: task, Harness, rollout, run and trace |
|
|
312
|
+
| [Getting started](docs/en/start/getting-started.md) | Installation, dry run, first collection and result verification |
|
|
313
|
+
| [CLI reference](docs/en/start/cli-reference.md) | All flags, their defaults and the Harnesses they apply to |
|
|
314
|
+
| [Docker builds and package mirrors](docs/en/start/docker-builds.md) | apt, npm and Python mirrors and proxies for image builds |
|
|
315
|
+
| [Task format](docs/en/tasks/task-format.md) | Prompts, multi-turn messages, inputs, Context and output directories |
|
|
316
|
+
| [Files, Task Bundles and result storage](docs/en/tasks/task-bundle-and-storage.md) | Input snapshots, run layout, retries and Resume |
|
|
317
|
+
| [User Simulator](docs/en/tasks/user-simulator.md) | Dynamic conversations driven by a second model |
|
|
318
|
+
| [Trajectory outputs](docs/en/traces/trajectory-outputs.md) | Output files and their conditions; comparison of raw, normalized, SFT and wire traces |
|
|
319
|
+
| [SFT format](docs/en/traces/sft-format.md) | Record structure, images and compaction segments |
|
|
320
|
+
| [Viewer](docs/en/traces/viewer.md) | Startup, ports and remote access |
|
|
321
|
+
| [Bench integration and scoring](docs/en/benches/bench-format.md) | Bench runs, grading and new bench adapters |
|
|
322
|
+
| [Examples](examples/README.md) (Chinese) | Runnable commands for each Harness |
|
|
323
|
+
| [Coverage suite](examples/coverage/README.en.md) | 1,624 functional test tasks across all seven Harnesses |
|
|
324
|
+
|
|
325
|
+
<a id="security"></a>
|
|
326
|
+
|
|
327
|
+
## Security and privacy
|
|
328
|
+
|
|
329
|
+
- Before a container starts, Roller rejects inputs and Context that contain symlinks or special files, escape their declared paths or exceed the size limits, and records a digest of every file.
|
|
330
|
+
- API keys are read from the host environment or from external configuration and are not written to run metadata.
|
|
331
|
+
- Only regular files and directories inside the task's `output_dir` are collected.
|
|
332
|
+
- `wire_trace.jsonl` stores full request text, including prompts, reasoning and tool results. Treat it as sensitive data.
|
|
333
|
+
- The Viewer listens on `127.0.0.1` by default. Use SSH port forwarding for remote access.
|
|
334
|
+
|
|
335
|
+
The complete rules are specified in [Security and privacy boundaries](docs/en/tasks/task-bundle-and-storage.md#8-security-and-privacy-boundaries).
|
|
336
|
+
|
|
337
|
+
<a id="contributing"></a>
|
|
338
|
+
|
|
339
|
+
## Contributing
|
|
340
|
+
|
|
341
|
+
Report defects through [Issues](https://github.com/Valen-Team/Roller/issues). New Harnesses, new benches and documentation improvements are accepted as [Pull Requests](https://github.com/Valen-Team/Roller/pulls). The code is organized as follows:
|
|
342
|
+
|
|
343
|
+
| Area | Location |
|
|
344
|
+
| --- | --- |
|
|
345
|
+
| Harness adapters | `src/roller/harnesses/`, with trace converters in `src/roller/*_actf.py` |
|
|
346
|
+
| Bench adapters | `src/roller/benches/` |
|
|
347
|
+
| SFT export | `src/roller/sft.py`, `src/roller/compaction_sft.py` |
|
|
348
|
+
| Viewer | `src/roller/viewer/` |
|
|
349
|
+
|
|
350
|
+
Run the test suite before submitting a pull request:
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
python -m pip install -e ".[test]"
|
|
354
|
+
python -m pytest
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
### Contributors
|
|
358
|
+
|
|
359
|
+
<table>
|
|
360
|
+
<tr>
|
|
361
|
+
<td align="center">
|
|
362
|
+
<a href="https://github.com/Liuziyu77"><img src="https://github.com/Liuziyu77.png?size=128" width="64" height="64" alt="Liuziyu77"><br><sub><b>Liuziyu77</b></sub></a>
|
|
363
|
+
</td>
|
|
364
|
+
<td align="center">
|
|
365
|
+
<a href="https://github.com/yph22"><img src="https://github.com/yph22.png?size=128" width="64" height="64" alt="yph22"><br><sub><b>yph22</b></sub></a>
|
|
366
|
+
</td>
|
|
367
|
+
<td align="center">
|
|
368
|
+
<a href="https://github.com/SYuan03"><img src="https://github.com/SYuan03.png?size=128" width="64" height="64" alt="SYuan03"><br><sub><b>SYuan03</b></sub></a>
|
|
369
|
+
</td>
|
|
370
|
+
<td align="center">
|
|
371
|
+
<a href="https://github.com/Dodojordi"><img src="https://github.com/Dodojordi.png?size=128" width="64" height="64" alt="Dodojordi"><br><sub><b>Dodojordi</b></sub></a>
|
|
372
|
+
</td>
|
|
373
|
+
<td align="center">
|
|
374
|
+
<a href="https://github.com/Nina-Hyn"><img src="https://github.com/Nina-Hyn.png?size=128" width="64" height="64" alt="Nina-Hyn"><br><sub><b>Nina-Hyn</b></sub></a>
|
|
375
|
+
</td>
|
|
376
|
+
<td align="center">
|
|
377
|
+
<a href="https://github.com/Credica"><img src="https://github.com/Credica.png?size=128" width="64" height="64" alt="Credica"><br><sub><b>Credica</b></sub></a>
|
|
378
|
+
</td>
|
|
379
|
+
<td align="center">
|
|
380
|
+
<a href="https://github.com/Orion-DH"><img src="https://github.com/Orion-DH.png?size=128" width="64" height="64" alt="Orion-DH"><br><sub><b>Orion-DH</b></sub></a>
|
|
381
|
+
</td>
|
|
382
|
+
<td align="center">
|
|
383
|
+
<a href="https://github.com/MqLeet"><img src="https://github.com/MqLeet.png?size=128" width="64" height="64" alt="MqLeet"><br><sub><b>MqLeet</b></sub></a>
|
|
384
|
+
</td>
|
|
385
|
+
<td align="center">
|
|
386
|
+
<a href="https://github.com/yuhangzang"><img src="https://github.com/yuhangzang.png?size=128" width="64" height="64" alt="yuhangzang"><br><sub><b>yuhangzang</b></sub></a>
|
|
387
|
+
</td>
|
|
388
|
+
</tr>
|
|
389
|
+
</table>
|
|
390
|
+
|
|
391
|
+
<a id="license-and-acknowledgements"></a>
|
|
392
|
+
|
|
393
|
+
## License and acknowledgements
|
|
394
|
+
|
|
395
|
+
Roller is licensed under the [Apache License 2.0](LICENSE).
|
|
396
|
+
|
|
397
|
+
Roller invokes the following third-party agent runtimes and benchmarks: OpenClaw, Codex, Claude Code, Hermes Agent, OpenCode, DeepSeek Harness, Pi Agent, WildClawBench, SkillsBench, PinchBench and QwenClawBench. Their images, code and data are subject to their respective licenses. We thank the authors of these projects.
|