Repository navigation
Highlights
- Checkpoint and restore rollouts. Rollouts restore from memory snapshots. The checkpoint captures tool server VMs together with the rollout's box, in one network pause. Saved multi-agent episodes continue by replaying their agent calls (#3141, #3282, #3294, #3327, #3287, #3292).
- Steer a running rollout.
Agent.start()steers an active rollout.ModelRoutechanges a rollout's model, client and sampling while it runs.Task.nudgeadds multi-segment runs (#3195, #3180, #3293). - New harnesses and dialects. Add the Stirrup ACP harness and the Antigravity CLI ACP harness. Add the Gemini Interactions and generateContent dialects. Prime Agent selects native provider APIs (#3096, #3350, #3330, #3077, #3206).
- Trace delta streaming.
verifiers.v1.deltastreams trace deltas without a transport. A flush diffs only the traces that changed (#3114). - Skip rewards.
[agent.scoring.skip]maps each skip reason, and each framework limit, to a fixed reward (#3278, #3297). - Prime runtimes. Prime gang scheduling, parallel native Compose VM preparation, native Compose localhost forwarding, and retries for transient upload, download and delete errors (#3351, #3034, #3355).
- Renderers 0.3.0. Traces carry one
SamplerSupportfor sampling masks and top logprobs. Requests follow the renderer's prompt-token order (#3365, #3322).
Breaking
- Plugged functions need the
module:functionform.fn = "pkg.module.function"instops,metricsorrewardsfails validation. Writefn = "pkg.module:function"(#3238). vf.Samplingis removed. Usevf.SamplingConfig(#3236).- Skip flags move to
[agent.scoring.skip]. Replaceskip_on_truncated = truewith[agent.scoring.skip] truncated = 0, andskip_on_timeout = truewithtimeout = 0. A skip now records a reward of 0 for that reason (#3278). ToolsetConfig.colocatedis removed. Run tool servers as a subprocess (the default), in a dedicated runtime, or in a named PrimeserviceVM (#3189).HarnessandTasksetsubclasses cannot override__init__. The subclass raisesTypeErroron import (#3346).- Codex rollouts no longer get native web search by default. Set
web_searchon the harness config to keep it (#3272). - Removed: built-in GEPA prompt optimization (#3157) and the
terminus-2harness (#3262).
Changelog
- fix: run CI on the DeepSeek V4.1 Flash CI endpoint by @mikasenghaas in #3062
- fix: keep custom-env format violations at zero reward by @xeophon in #3070
- feat: route each sub-agent of a recursive harness as its own session by @hallerite in #3075
- fix(gepa): reject failed episodes during optimization by @xeophon in #3082
- feat: keep episode and trace ids stable across retries by @mikasenghaas in #3057
- chore: bump prime-sandboxes to 0.5.7 by @akirillo in #3090
- Support native Compose localhost forwarding by @xeophon in #3034
- Support explicit agent home directories by @xeophon in #3099
- feat: serialize derived trace and episode values by @mikasenghaas in #3102
- fix: keep default task keys stable across dataset reordering by @hallerite in #3101
- feat: scope and time the library's log lines by @mikasenghaas in #3061
- feat: add Stirrup ACP harness by @hallerite in #3096
- rlm setup: install git via dnf/apk without apt; keep root's uv cache in the install dir by @hallerite in #3113
- Add verifiers.v1.delta: transport-free trace delta streaming by @VishokJ in #3114
- fix: keep the delta stream alive when an array in trace.info is copied by @VishokJ in #3122
- refactor(trace): one SamplerSupport for sampling masks and top logprobs by @hallerite in #3123
- build(deps): bump prime-sandboxes to 0.5.9 by @hallerite in #3132
- perf(interception): parse and hash only what a chat request added by @faresobeid in #3125
- perf(delta): a flush diffs only the traces that notified by @faresobeid in #3126
- fix: ask stirrup for the skill codeword in finish by @mikasenghaas in #3133
- Restore artifacts from a rebuilt archive; start isolated graders with empty /logs/verifier by @rasdani in #3115
- feat: read select include/exclude lists from files by @mikasenghaas in #3142
- fix(v1): preserve cache usage in train responses by @hallerite in #2542
- feat: interaction() collects the task's artifacts, as run() does by @eligotts in #3138
- Let Prime Agent select native provider APIs by @xeophon in #3077
- Restrict Harbor MCP calls to advertised tools by @hallerite in #3145
- fix: install patched musl Node on Alpine x64 by @xeophon in #3148
- fix: keep Pi run state outside task checkouts by @xeophon in #3150
- Remove built-in GEPA prompt optimization by @hallerite in #3157
- fix: mark Anthropic static prompt prefix for gateway evals by @stu-cao in #3161
- feat(v1): configurable provider retries for the RLM harness by @hallerite in #3160
- fix(prime): use native sessions for blocking commands by @hallerite in #3164
- chore(rlm): bump nano-rlm to 695ac48 by @hallerite in #3163
- fix(interception): keep the HTTP status of a committed stream's error by @hallerite in #3167
- fix: deflake stirrup resume and prime outage tests by @mikasenghaas in #3168
- fix: keep prompt text off harness command lines by @mikasenghaas in #3172
- chore(deps): bump dependencies with known vulnerabilities by @samsja in #3177
- fix(train client): pass the previous assistant's tool-call IDs to renderers that order tool results by @hallerite in #3181
- build(deps): bump renderers to 0.2.1.dev12 by @hallerite in #3185
- Neutralize generated internals while preserving runtime contracts by @xeophon in #3153
- Run submissions in disposable runtimes with confirmed teardown by @xeophon in #3155
- Remove colocated tool placement and simplify MCP startup by @xeophon in #3189
- feat: ModelRoute, a rollout's model, client and sampling, changeable while it runs by @eligotts in #3180
- Remove subprocess runtime and build MCP packages in sandboxes by @xeophon in #3187
- Make the sandbox baseline mandatory for every runtime by @hallerite in #3190
- Run tool servers on the harness's provider and drop the local-tool bridges by @hallerite in #3191
- fix(bash): bound output capture while commands run by @VishokJ in #3192
- Revert #3187, #3190, and #3191 by @xeophon in #3194
- Fix creation limiter bucket corruption on shared filesystems by @hallerite in #3196
- fix(runtimes): install uv unmanaged so no shared receipt is written by @rasdani in #3197
- feat: steer an active rollout with Agent.start() by @parkerpettit in #3195
- feat(prime-agent): an api setting picks the provider API Prime Agent speaks by @eligotts in #3206
- fix(prime-agent): skip the install when a runtime already has it by @eligotts in #3226
- Match Claude replays that drop standalone blank text blocks by @xeophon in #3208
- Keep intercepted tool results with their issuing turn by @xeophon in #3209
- Match tool receipts against the prompt the harness replays by @xeophon in #3210
- Use manual tool approvals for Claude Code rollouts by @xeophon in #3211
- Make the Codex ACP adapter use the configured CLI version by @xeophon in #3212
- Suppress Codex title and follow-up model calls during rollouts by @xeophon in #3213
- Preserve OpenClaw reasoning summaries across bundle renames by @xeophon in #3214
- Omit the retired OpenClaw heartbeat setting by @xeophon in #3215
- Send Stirrup replies as typed ACP text updates by @xeophon in #3216
- Use required shell arguments in the Multi-Turn fixture by @xeophon in #3217
- Wait for the shell probe in the Network Policy fixture by @xeophon in #3218
- Report differing fields when an integration trace forks by @xeophon in #3219
- Update bundled harness versions and their dependencies by @xeophon in #3220
- feat: reuse shared cli and judge-prompt helpers by @mikasenghaas in #3231
- feat: remove unreferenced internal helpers by @mikasenghaas in #3232
- feat: build trace task and error records in one place by @mikasenghaas in #3234
- fix: correct stale references in docs and skills by @mikasenghaas in #3235
- feat: drop the sampling alias of samplingconfig by @mikasenghaas in #3236
- feat: merge the two prompt-cache block markers by @mikasenghaas in #3233
- feat: require module:function form for plugged fns by @mikasenghaas in #3238
- fix: correct stale comments and docstrings by @mikasenghaas in #3237
- chore: bump truststore, litellm and grpcio past security advisories by @eexwhyzee in #3242
- chore: restrict GITHUB_TOKEN permissions in style and docs workflows by @eexwhyzee in #3243
- chore: pin third-party actions to commit SHAs by @eexwhyzee in #3244
- fix: send a decision judge's sampling settings in its request by @rank-and-file in #3151
- chore: bump prime-sandboxes to 0.5.14 by @akirillo in #3252
- fix(harbor): remove the tests archive once it is unpacked by @rasdani in #3253
- chore: remove terminus-2 harness by @xeophon in #3262
- fix(bash): return when bash exits, not when background jobs close its pipes by @artzhuravel in #3254
- feat(interception): record node, tool call, and hook metadata on intercepts and stops by @xeophon in #3227
- chore: bump prime-sandboxes to 0.5.15 by @akirillo in #3267
- Support image evidence in DecisionJudge by @xeophon in #3269
- feat: route packaged grader inference through scoring sessions by @xeophon in #3158
- fix: turn off Codex native web search by default by @mikasenghaas in #3272
- feat: restore rollouts from memory snapshots by @mikasenghaas in #3141
- fix(mini-swe-agent): honor the tool timeout by @hallerite in #3273
- fix: require prime-sandboxes 0.5.16 by @mikasenghaas in #3275
- feat: map skip reasons to fixed rewards by @mikasenghaas in #3278
- fix: require prime-sandboxes 0.5.18 by @mikasenghaas in #3280
- feat: return memory snapshots once the provider names them by @mikasenghaas in #3282
- fix: let mini-swe-agent finish the network policy probe by @mikasenghaas in #3295
- fix(mini-swe-agent): replay top-level reasoning and reasoning_details by @parkerpettit in #3288
- fix(hermes-agent): preserve reasoning_details and Anthropic thinking on replay by @parkerpettit in #3289
- fix(stirrup): replay provider reasoning and reasoning_details fields by @parkerpettit in #3290
- fix(pi): allow empty Anthropic thinking signatures on non-Claude models by @parkerpettit in #3291
- fix: stop on the turn cap when the response lands by @mikasenghaas in #3296
- feat: set a skip reward per framework limit by @mikasenghaas in #3297
- feat(v1/restore): forward restore in Agent.start and filter save_all by trace_ids by @eligotts in #3292
- fix: bump prime-sandboxes to 0.5.20 by @mikasenghaas in #3300
- feat(v1/task): add Task.nudge hook for multi-segment Agent.run/start by @eligotts in #3293
- perf(v1/cli): stream-aggregate vf-run summary without retaining episodes by @xeophon in #3305
- chore(harness): pin PrimeAgentHarness to prime-agent v0.10.7 by @sethkarten in #3307
- perf(v1/rollout): clear Checkpoint.session when marking snapshots deleted by @xeophon in #3312
- perf(v1/trace): exclude Response.tokens from recorded judge_calls by @xeophon in #3314
- perf(v1/interception): lower idempotency cache cap and clear on session release by @xeophon in #3315
- perf(v1/agent): clear MessageNode.renderer_token_ids after rollout finishes by @xeophon in #3316
- perf(v1/grading): isolate grading messages without copying token buffers by @xeophon in #3313
- feat: enable image attachments in RLM sessions by @hubert-marek in #3221
- fix(harbor): empty /tests before staging packaged tests by @xeophon in #3320
- Fix duplicated trace tokens when tool results render out of order by @KyleWong288 in #3319
- feat(v1/harnesses): bash compaction attempts and failed compactions as rollout stops by @nxphi47 in #3318
- feat: order requests like the renderer's prompt tokens by @mikasenghaas in #3322
- fix: replay unsigned thinking blocks in opencode by @mikasenghaas in #3324
- feat: checkpoint tool server VMs with the rollout's box by @mikasenghaas in #3294
- feat: snapshot tool server VMs in one network pause by @mikasenghaas in #3327
- fix: delete checkpoint test snapshots after a failed test by @mikasenghaas in #3328
- feat: split the checkpoint CI job and run it on 16 workers by @mikasenghaas in #3329
- fix: response hooks on the train client (token copy, interceptor check) and saving routed traces by @hallerite in #3325
- fix(harbor): dial a service-backed MCP server by its LAN hostname by @sethkarten in #3308
- feat: continue saved multi-agent episodes by replaying their agent calls by @mikasenghaas in #3287
- perf(train): serialize RendererSlot.run on asyncio.Lock before entering thread pool by @xeophon in #3334
- perf(train): bypass ElasticRendererPool grow lock on warm acquire fast path by @xeophon in #3335
- perf(interception): bypass ElasticInterceptionPool._lock on warm acquire and retired stop by @xeophon in #3336
- perf(trace_store): move JSON serialization and artifact writes outside write_lock by @xeophon in #3337
- perf(validate): collapse two to_thread hops inside write_lock into one by @xeophon in #3343
- perf(runtimes): release uv_bootstrap_lock once uv is ready and share locks across SubprocessBackend by @xeophon in #3338
- perf(native_compose): check for completed VM image before taking compose-images flock by @xeophon in #3339
- refactor(relay): remove unnecessary Handler.write_lock by @xeophon in #3341
- perf(mcp): avoid repeating chmod/share step under mcp_lock when venv is already shared by @xeophon in #3342
- refactor(mcp): remove unused MCPConnection.lock by @xeophon in #3340
- feat(dialects): add Gemini Interactions and generateContent dialects by @xeophon in #3330
- chore: enforce repo invariants mechanically and prune agent prose by @xeophon in #3346
- fix(anthropic): treat a reply that filled the context window as truncated by @dilipna in #3264
- fix(v1): preserve image WORKDIR in DockerBackend when workdir is unset by @xeophon in #3352
- fix: recognize gpt-6 models as OpenAI reasoning models by @felipempleite in #3333
- fix: register toolset tools defined with from future import annotations by @felipempleite in #3332
- fix: keep unconsumed replies replayable past the cache ttl by @mikasenghaas in #3348
- feat(harnesses): add Antigravity CLI ACP harness by @xeophon in #3350
- fix(native_compose): retry peer LAN DNS resolution on startup by @xeophon in #3353
- fix(prime): retry transient delete errors in teardown and checkpoint discard by @xeophon in #3354
- fix(openenv_wordle): apply 7-day UV_EXCLUDE_NEWER cooldown to Space boot by @xeophon in #3356
- test(checkpoint): allow transient retries in restored trace attempt count by @xeophon in #3357
- test(checkpoint): clarify memory-restore-v1 prompt so models don't stop after step 1 by @xeophon in #3358
- test(agentic_judge): raise scoring timeout from 60s default to 300s by @xeophon in #3360
- test(episode_checkpoint): give agentic judge max_turns=20 to finish verdict by @xeophon in #3361
- ci: set VF_RUN_ID so xdist workers share sandbox creation limiters by @xeophon in #3362
- test(ci): retry transient Prime sandbox/relay errors in CI_RETRIES and examples by @xeophon in #3363
- fix(stirrup): drop local-only relative-path ban from code_exec tool schema by @xeophon in #3359
- fix(prime): retry transient file upload and download failures by @xeophon in #3355
- feat(runtimes): wire up Prime gang scheduling and parallelize native Compose VM prep by @xeophon in #3351
- build(deps): bump renderers to 0.3.0 by @hallerite in #3365
New Contributors
- @VishokJ made their first contribution in #3114
- @stu-cao made their first contribution in #3161
- @rank-and-file made their first contribution in #3151
- @artzhuravel made their first contribution in #3254
- @KyleWong288 made their first contribution in #3319
- @dilipna made their first contribution in #3264
- @felipempleite made their first contribution in #3333
Full Changelog: v0.4.1...v0.5.0