The Research Report
Ai2 Builds an Open Terminal Agent That Actually Works
Ai2 released Tmax-27B, an open-source language model trained to operate terminals. It scores 43% on Terminal Bench 2.0 after just 160 steps of reinforcement learning on top of Qwen 3.6 27B. That number beats the base Qwen 3.6 27B on Terminal Bench 2.1 and comes close on 2.0, which means the RL training adds real capability rather than noise.
The training method is DPPO, a policy optimization approach that rewards the model for completing terminal tasks correctly. Ai2 used a dataset called Tmax-15K, which contains 14,600 reinforcement learning environments. Each environment presents a terminal task the model must solve through tool calls and command execution. The model learns by attempting tasks, receiving reward signals, and updating its behavior.
Tmax comes in four sizes: 2B, 4B, 9B, and 27B. The 9B model is the standout on efficiency. It beats Qwen 3.5 9B by 15 points on Terminal Bench Lite (57.2% vs 41.9%) and doubles its score on Terminal Bench 2.1 (28.8% vs 16.1%). The 2B model triples its base model's Terminal Bench Lite score. These are not marginal improvements. RL training on terminal tasks produces large, consistent gains across every size.
The entire project is Apache 2.0 licensed. Model weights, training data, and code are all available. Ai2 also published intermediate checkpoints at steps 100, 160, 200, 240, and 300 for the 27B model, which lets researchers study how terminal agent capability develops during RL training.
One detail worth noting: the 27B model slightly underperforms its base Qwen 3.6 27B on Terminal Bench Lite (68.6% vs 70.8%). This happens because the RL training specializes the model toward terminal tasks, which can shift some general capability. On Terminal Bench 2.1, the Tmax version wins (44.9% vs 40.5%). The tradeoff between specialization and general performance is real, and the checkpoints let you pick where you want to land.
The practical takeaway: Ai2 proved you can build a competent terminal agent with straightforward RL on top of an open base model. No proprietary scaffolding, no secret sauce. A 15K environment dataset, DPPO, and 160 training steps produce a model that handles real terminal work. For anyone building agentic systems that need to execute commands, this is a strong open starting point.