← Datasets

Compare

TermGrade: 1,004 graded RL environments for terminal agents (environments + 36k trajectories)
#1312 · remove
FreeInference Agentic Trace (freeinference_agentic_trace)
#1295 · remove
Kinddatasetdataset
Published2026—
License—CC BY 4.0
License family—Permissive
Accessfree—
Language codesen—
Scale—206B tokens (209B input tokens); 12,002 agent sessions; 1,186,582 LLM requests; 1,213,347 tool calls
Format—zstd-compressed JSONL (one session per line, subagent sessions nested under tool calls) + derived Parquet tables (sessions, requests, tool_calls); loadable via HF datasets or DuckDB directly on the Hub
Type—trace
Domain—agentic LLM inference workloads (coding and assistant agents)
Time period—16 weeks, 2026-05-17 to 2026-09-05
Purpose—characterizing human-driven agentic workloads: request timing, serving latency, token usage, tool calls, prefix-cache replay, scheduling/batching research
Sample size—12,002 sessions / 1,186,582 LLM requests / 1,213,347 tool calls
Collection method—traced at the FreeInference gateway from 267 accounts across 14 agent harnesses; sessions reconstructed by linking requests through tool-call IDs and assistant messages; no message text released; inputs tokenized with o200k_base into 16-token prefix blocks (block_ids) for cache replay; rare tool names (<3 accounts) replaced with placeholders
SummaryTermGrade 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).characterizing human-driven agentic workloads: request timing, serving latency, token usage, tool calls, prefix-cache replay, scheduling/batching research