A model that learned to work faster in its own office: Inkling-2-Mini-pi-adapted
Inkling-2-Mini-pi-adapted release summary — same accuracy, less work
If you run a coding agent on an open model and have hit a wall on time and cost per task, this post is for you. The conclusion up front: without touching a single base-model weight, a thin LoRA adapter trained with RL inside the environment the model actually works in can lift pass@3 by 14.6 points on the same 1-hour budget and cut tool calls by 22-33%.
The subject is Inkling-2-Mini-pi-adapted, a LoRA adapter published on November 30, 2026 by the harness-hub organization on Hugging Face. The base is thinkingmachines’ Inkling-2-Mini, and this is the version adapted to the default environment of the pi coding agent. Along with the model, the release ships the training data (UltraTerminal), the training recipe, and the eval trajectories. This post walks through the content against three real sources: the model card, the dataset card, and the Hugging Face methodology blog.
In plain terms: a new hire who memorized the company’s shortcuts
A new hire has strong general ability, but the first week goes to office shortcuts. Where the printer is, how files are named, who signs off on the report. A senior at the same company starts working right away, because they memorized the shortcuts.
The harness adapter is that, in model form. A harness is the environment the model works in: the coding agent, the tool-calling scheme, the verification procedure. Base models are trained to average across many harnesses and many tasks, so in a specific office they burn spare tokens and make spare tool calls. The adapter is a thin layer that teaches the model that office’s shortcuts.
The one-line summary from the Hugging Face blog is “models are not fully optimized for all harnesses and all your tasks.” The core claim is that when you pair a model with a harness, performance and efficiency are left on the table. Train an RL harness adapter and you get a model tuned to your own model, your own harness, and your own task mix.
Base model as-is vs harness adapter — tool calls down 22-33%, timeouts 124 to 67
Same score, in 25 minutes instead of 60
Here are the model card’s results as numbers. On Terminal-Bench 2.1 with a 1-hour budget per task, avg@3 goes from 44.2% to 56.9% and pass@3 from 56.2% to 70.8%. The 95% paired confidence intervals are +12.7 +/- 6.4 and +14.6 +/- 8.0, both excluding zero. The card states that only this 1-hour result is significant.
Terminal-Bench 2.1 — 1-hour budget, avg@3 / pass@3 (published model-card numbers)
The more intuitive story is time to reach the same level. The adapter reaches the base model’s final pass@3 in 25 minutes; the base model gets there at the 60-minute timeout. Time to equivalent accuracy is 2.4x faster. With a generous budget the story changes. At 4 hours, avg@3 only moves from 58.1% to 61.0% (+3.0 +/- 4.7, not significant) and pass@3 from 69.7% to 73.0% (+3.4 +/- 7.3). The attempts that timed out at 1 hour are the ones the base model picks up with more time. At a 256k context plus 4 hours, accuracy is effectively equal (avg@3 57.3 vs 56.2) and the adapter’s median time-to-solve drops from 12 to 8 minutes (-36%).
In other words, the adapter does not make the model smarter with unlimited time. Where it has value is the field: real deadlines, cron schedules, cost ceilings — agent workloads with a time and compute budget.
It went up, but it is not smarter
The card splits the 1-hour gain into three parts. First, the gain comes from the 55 medium-difficulty tasks (+14.5 +/- 8.3); on hard tasks it is +6.7 +/- 9.6, within noise. Second, agent timeouts drop from 124 to 67 of 267 attempts. Third, by pass@3, 14 tasks are solved only by the adapter and 1 only by the base.
The Hugging Face blog compresses what was learned even shorter: “the model reasons less, calls fewer tools, and performs better on the first try.” Tool calls drop 22% (Terminal-Bench 2.1) and 33% (SWE-bench Pro hard); output tokens drop 38% and 40%. SWE-bench Pro is a real-repository software-engineering benchmark, and its hard 51 is a confirmed-difficult subset. On that subset (2 hours, 1 attempt) it rises from 66.7% to 70.6% (+3.9 +/- 14.5, not significant).
One task’s input and output — tool calls 45 to 16, output tokens 78.7k to 18.4k, time 35 to 19 min
The card itself calls this example “an illustration, not a typical case.” Across 6 attempts, the base solves this task 5 times and the adapter 3. Individual tasks flip, but across the whole suite the reductions in tool calls, tokens, and timeouts are consistent.
The training recipe: 2,597 environments, a frozen base, LoRA
The recipe has three layers. First, the environments: a dataset of 2,597 runnable agent tasks called UltraTerminal. Each task is a Harbor bundle carrying an instruction, a sandboxed environment, a private grader, and a reference solution. Second, the harness: training happens inside the real pi coding agent, not on synthetic prompts. The model sends real tool calls, reads real environment state, and is scored by the grader. Third, the optimizer: TRL’s AsyncGRPO. AsyncGRPO is the asynchronous version of GRPO (Group Relative Policy Optimization); it compares multiple rollouts in a group against each other and distributes reward by relative advantage. The reward includes “was it efficient” on top of “did it succeed” — a bonus for fewer tool calls and fewer tokens.
The asynchronous part is deliberate. Agent trajectories are long, and with synchronous GRPO other workers sit idle waiting for rollouts to finish. AsyncGRPOTrainer decouples rollout generation from weight updates, so the GPU does not idle while long real-harness runs complete. In-harness RL makes this a large part of training cost.
flowchart TB
E["UltraTerminal<br/>2,597 RL environments"] --> P["pi coding agent<br/>base + LoRA runs tasks"]
P --> V["Environment verification<br/>success/failure · tool calls · tokens"]
V --> R{"AsyncGRPO reward"}
R -->|"success + efficient work"| U["LoRA weight update<br/>(base model frozen)"]
R -->|"failure · spare work"| U
U --> P
The base model’s weights stay frozen and only the LoRA updates, so the artifact is a thin adapter, not a huge model. It is released under Apache-2.0, loadable via PEFT or mergeable into the base. A GGUF conversion is included, so it runs under llama.cpp. For vLLM serving, a speculative-decoding drafter is published for a 2.1x speedup. Training ran on B300 GPUs; evaluation ran in HF Sandboxes under identical settings (temperature 1.0, 131k context, 32k output per turn, 100-step limit), with base and adapter paired per task.
Other results in the blog are worth noting. Qwen3.8-27B on the pi harness goes from 39% to 55% pass@1, with average token usage per task falling from 2.9k to 1.5k. The recipe was validated across three harnesses — Pi, OpenCode, and Hermes Agent — and includes an experiment merging several harness adapters into one super-adapter.
UltraTerminal: the published 2,597 RL environments
The dataset’s composition fits in one table.
| Split | Pool | Tasks | Source | Recorded review |
|---|---|---|---|---|
| coding | coding_baseline | 871 | SWE-smith Python 490 · Go 227 · SWE-Gym 130 · Tasksmith 24 (converted to Harbor) | Source labels quarantine_only (training_admissible=false) |
| coding | coding_additions | 14 | Tasksmith tasks from merged PRs in 10 Python projects | Historical validation passed (reference, no-op, replay controls) |
| cyber | cyber_authorization | 1,000 | Cedar 610 · OpenFGA 390 policy reviews (built from Apache-2.0 fixtures) | OpenEnv controls |
| knowledge_work | knowledge_work | 502 | Contracts (MAUD, CUAD) · financials (FinQA, ConvFinQA, TAT-QA, TAT-DQA, MultiHiertt) · spreadsheets · SEC filings | Nine-point review passed (nine_point_qualified) |
| knowledge_work | business_automation | 210 | 10 families (commissions, fulfilment, field service, lead handoff, supplier invoices, HR, marketing, support, etc.) | Three-test review |
The private grader is the core value of the dataset. In RL, reward must be verifiable for training to hold, and each bundle grades its own answers, so reward signals can be built without external labels. The overall license is mixed-per-task (each task carries its source license). Of the 2,597, only 502 passed the nine-point review, and the 871 coding baseline tasks carry the quarantine_only label — so be careful about their admissibility for training. Because validation records are published, you can trace which task passed by which criterion.
Reading it through Metis and Paxis
Metis is the inference product that owns model serving, quantization, and routing. The harness adapter brings nothing new to Metis’s serving path. It is the base model served as-is with a LoRA on top, so it attaches the same way in any of vLLM, GGUF, or speculative decoding. What changes is the pass rate per GPU-hour. On a 1-hour-budget workload, pass@3 rises 14.6 points and timeouts halve, so the same card completes more work. In serving-cost terms, one adapter buys time budget.
The Paxis angle is more direct. Paxis is an agent-native cloud that treats Skills, Tools, Policies, and Audit Logs as first-class resources. Here the “model + harness” pair is not an option but the unit of operating cost. If you know the environment (harness) your agents work in and the task distribution they mostly get, a harness adapter is the lightest path to a model customized for that distribution — no new model purchase, no retraining on a huge dataset, just one LoRA.
For this recipe to repeat inside Paxis, what you need is “environments that grade tasks in your harness.” Audit Logs are already the raw material. The trajectories agents actually took, the tool-call counts, and the failure points accumulate as records; converting them into runnable environments like the Harbor bundles is where the work begins. As UltraTerminal shows, the moment grader-attached sandboxed environments accumulate, that environment becomes the object of RL. Being able to replicate the office where the model works in data is what this release means: you can then build a model that fits that office.
Five things to know before you use it
First, it is not smarter with unlimited time. The significant gain appears only at the 1-hour budget; at 256k context plus 4 hours, accuracy is equal. The value holds only in the field with a budget.
Second, it is tied to a harness and a version. This adapter is for pi 1.7.0 at reasoning effort high. For effort none there is a separate preview adapter, and other harnesses need other adapters.
Third, remember version sensitivity. The card’s base score (44.2%) is lower than the official Inkling-2-Mini card’s 71.6% (measured under pi v0.83.0), because of the pi version, HF Sandboxes, and a vLLM nightly. The card says to compare base and adapter only within this card.
Fourth, the dataset license is mixed. It is mixed-per-task, and the 871 coding baseline tasks carry the quarantine_only label.
Fifth, “what exactly did it learn” is still an open question — one the blog itself leaves open. Whether less reasoning and fewer calls is genuine efficiency or a pattern of specific tasks is still being interpreted.
To close out
If your agent workloads have a time or cost ceiling, the “model + harness” pair is now an optimization target. The first experiment you can do today is simple: pick 5 representative tasks in your own harness and measure tool-call count, output tokens, and time-to-solve as a baseline. Once you have that number, the expected effect of this recipe translates into your own environment’s units.
If you want to try it soon, the path is open. A GGUF build lets you start on a single machine, and a preview adapter for reasoning effort none already exists. The super-adapter, which merges several harness adapters into one, is the direction to watch next.
Back to the office-shortcut analogy: the adapter does not turn a new hire into a senior. It lets the same person work faster and more restrainedly in the same office. In an office with deadlines and budgets, that difference is everything.