Hugging Face Doubled the Speed of Pi Coding Agent: Same Score in 25 Minutes Instead of 60
Hugging Face has released Inkling-2-Mini-pi-adapted, a small LoRA add-on for Thinking Machines' model that teaches it to work with the Pi coding agent in a terminal. On Terminal-Bench 2.1, a test of command-line tasks, it reaches the same score as the base model in 25 minutes instead of 60. With a one-hour budget, the share of tasks solved with at least one of three attempts (pass@3) rose from 56.2% to 70.8%. For an agent built around a single harness, it is easier to tune the model than to switch to a larger one.
AI-processed from X: @ItsmeAjayKV; edited by Hamidun News
A coding agent in a terminal is like an intern who has to get used to the workplace every time: it tries commands, rereads the same file, and gets confused by the tool-call format. Every extra step costs time and tokens. Hugging Face showed how to fix this without changing the base model. It released Inkling-2-Mini-pi-adapted, a LoRA adapter for Inkling-2-Mini from Thinking Machines, tuned for the Pi coding agent. LoRA is a small layer on top of a model's weights that is trained separately and cheaply, without touching the model itself.
What the numbers mean
The main test here is Terminal-Bench 2.1. It is a set of tasks in which an agent must do real work at the command line: install something, configure it, fix it, run it. According to Hugging Face, the adapted version reaches the same score as the standard one in 25 minutes instead of 60. The run time is cut by more than half.
The second figure concerns quality under the same budget. Given one hour, pass@3 rises from 56.2% to 70.8%. Pass@3 measures the share of tasks solved with at least one of three attempts. Put simply, in the same hour the agent completes noticeably more tasks.
In addition, on tasks that both versions of the model solve, the adapted one makes fewer tool calls and spends fewer tokens. This is direct savings on the API bill or on the load on your own GPUs.
Why tuning to the harness helps
Every agent has a harness: a set of tools, a command format, and rules for how output and errors are displayed. A general-purpose model learns from common data and has to guess how to handle a specific harness. That is where extra trial commands and repeated file reads come from.
The adapter is trained on scenarios where the model works with Pi specifically. It learns Pi's tools and needs fewer steps for the same task. Because the base weights stay unchanged, this training costs less than full fine-tuning, and the adapter can be attached or detached.
The most useful part: the open recipe
For developers, what Hugging Face opened up matters more than the model itself. The release includes the UltraTerminals dataset (about 2,597 environments for reinforcement learning), the full methodology and training recipes, evaluation traces, and a GGUF version for local use.
The author of the original post points to the practical takeaway: the same approach can be repeated for other harnesses, such as dsh, Hermes or OpenCode. If you are building your own agent or using an open one, you have a ready starting point. You can take the environment dataset, run training following the recipe, and compare the result on Terminal-Bench.
Limitations
All figures come from Hugging Face itself and were relayed on social media; the material contains no independent measurements. It is unknown how the adapter behaves with other agents and on tasks outside Terminal-Bench. Narrow tuning to Pi may well degrade work with other harnesses, and this should be checked before deployment.
For product managers, the takeaway is this: if an agent always runs in the same harness, an adapter for that harness can lower cost and processing time without changing the model. For engineers, it is a reason to study UltraTerminals and the methodology, since the model comes with a way to reproduce it. The community is already waiting for adapters for other agents, and those will show how universal the technique is.
- Nov 30, 2026Mistral Releases Clipstral: Image Search That Beats Qwen3 — 80.2% vs. 77.5%
- Nov 30, 2026Sber Releases Voice Model With 5.99% Word Error Rate and 90 MB Smart-Home AI
- Nov 30, 2026Mistral Releases Clipstral: Its Image Search Ranks the Correct Photo First in 80.2% of Cases
- Nov 30, 2026Kandinsky Updates KVAE 3.0 Tokenizers: Video Now Takes Four Times Fewer Tokens
Key Questions Answered
What the numbers mean?
The main test here is Terminal-Bench 2.1. It is a set of tasks in which an agent must do real work at the command line: install something, configure it, fix it, run it. According to Hugging Face, the adapted version reaches the same score as the standard one in 25 minutes instead of 60. The run time is cut by more than half. The second figure concerns quality under the same budget. Given one hour, pass@3 rises from 56.2% to 70.8%. Pass@3 measures the share of tasks solved with at least one of three attempts.
Why tuning to the harness helps?
Every agent has a harness: a set of tools, a command format, and rules for how output and errors are displayed. A general-purpose model learns from common data and has to guess how to handle a specific harness. That is where extra trial commands and repeated file reads come from. The adapter is trained on scenarios where the model works with Pi specifically. It learns Pi's tools and needs fewer steps for the same task.
What are the key details on The most useful part: the open recipe?
For developers, what Hugging Face opened up matters more than the model itself. The release includes the UltraTerminals dataset (about 2,597 environments for reinforcement learning), the full methodology and training recipes, evaluation traces, and a GGUF version for local use. The author of the original post points to the practical takeaway: the same approach can be repeated for other harnesses, such as dsh, Hermes or OpenCode.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
