← All entries
Dataset2026#1312

TermGrade: 1,004 graded RL environments for terminal agents (environments + 36k trajectories)

Summary

TermGrade is a fully open-source release of high-quality RL environments for terminal agents from ai& (HF org ai-and), covering the environments, their grades, the trajectories behind the grades, and the RL recipe used to train with them. The core release is ai-and/termgrade-environments: 1,004 executable Linux tasks, each a container plus an instruction plus a pytest verifier, with every task executed and shipped with a measured per-model pass rate graded against 6 models. ai-and/termgrade-trajectories adds all 36,000 agent episodes behind those grades, failures included, with raw terminal output and per-test results for every trial. A curated band-central split, ai-and/termgrade-bandcentral-gemma4-31b-bash (271 executable environments, 151 train / 120 validation), selects tasks by their measured base-model pass rate and ships the exact RL split plus the verl config used for training. Training google/gemma-4-31B-it on the tasks it solved about half the time with GRPO++ (GRPO + DAPO modifications + Dr.GRPO advantage handling: no KL term, asymmetric clip-higher 0.2/0.28, token-mean loss aggregation, mean-centred advantages without std normalisation, dynamic sampling dropping zero-variance groups, fully on-policy 16 rollouts at temperature 0.6, LoRA rank 32 / alpha 64, lr 1e-5 constant, binary reward, ~5 updates per epoch) for 7 hours on one 8xH200 node produced ai-and/termgrade-gemma4-31b-lora, scoring 46.1 on Terminal-Bench 2.1, +3.1 over the 43.0 base (mean of 7 eval runs, 21 attempts per task); the same recipe replicated 5x averaged +2.1 (t=3.8, p~0.025). The gains land on long-horizon tasks where the base model used to run out of turns and are flat where it already finished; notably, a 5x larger training set with identical hyperparameters landed within noise, matching the p(1-p) gradient-weight curve. Trained in a bash tool-calling scaffold but evaluated under Terminus-2, so the result demonstrates transfer across scaffolds. All artifacts are Apache-2.0: environments, trajectories, band-central split, LoRA adapter, and merged weights (ai-and/termgrade-gemma4-31b-merged).

Venue
ai& (ai-and) open release, 2026-10-08
Source
x
Access
free
Language
en
Added
Oct 8, 2026
Verified
Oct 8, 2026

Topics

RL environments, terminal agents, environment grading, GRPO, trajectory datasets, Terminal-Bench

Research notes

  • Discovery: Yağız Çalık (@Weyaxi, building @aiand_, HuggingFace Fellow, ~1.7K followers, verified) X post 2026-10-08 ~1:20 PM ET (~3.7K views, 78 likes, 55 bookmarks): 'We're releasing TermGrade at @aiand_: high-quality RL environments for terminal agents, fully open source, along with the full story of how we built and graded them, and the RL recipe we trained with. That's 1k executable environments, each verified by execution and graded against 6 models, plus all 36k trajectories behind the grades, failures included. And training gemma-4-31B-it on the tasks it solved half the time took it +3.1 on Terminal-Bench 2.1.' Artifacts: HF datasets ai-and/termgrade-environments (1,004 tasks), ai-and/termgrade-trajectories (36k episodes), ai-and/termgrade-bandcentral-gemma4-31b-bash (151 train / 120 val RL split + verl config); models ai-and/termgrade-gemma4-31b-lora and ai-and/termgrade-gemma4-31b-merged. Model card honesty notes: the team quotes the +3.1 checkpoint against Artificial Analysis' published 43.0 base figure rather than their own 42.7 reproduction to avoid inflating gains; 46.1 is the mean of 7 eval runs; five independent recipe replicates averaged +2.1. Serving notes from the model card: serve at 262144 context (128K truncates long rollouts, ~10 pts lost) and use the native gemma4 tool-call parser (a qwen3_coder-style text parser costs ~20 pts). Relevance: directly relevant to the user's RL post-training work — verifiable terminal environments are his training-data bottleneck; connects to catalog entries 1606 (SWR: software-in-the-loop verifiable environments) and 1614 (Open Env Arena). Caveat: the release blog post (linked from the HF cards as 'Read the blog post' at aiand.com) was not indexed at catalog time, so the 'full story of how we built and graded them' was captured from the tweet and the HF dataset/model cards. Re-share 2026-10-08: Adithya S K (@adithya_s_k, 'Scaling RL Envs @huggingface', founded @cognitivelab_ai, ex-MSFT Research/Apple, ~16.2K followers, verified; post ~1:44 PM ET, ~4K views, 105 likes, 95 bookmarks) quote-posted the TermGrade announcement: 'RL environments are becoming a serious data discipline. TermGrade is a great example of what that looks like: 1,004 executable environments; 36k trajectories, including failures; 6 models graded on every task; difficulty measured for the model you're actually training. And everything is open. This is exactly the kind of work we need more of for agentic RL.' Notable as an endorsement from an HF engineer working on RL environments; no new facts beyond the release.

Similar entries