Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · ActionableX: @ItsmeAjayKV→ original

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
Hugging Face Doubled the Speed of Pi Coding Agent: Same Score in 25 Minutes Instead of 60
Source: X: @ItsmeAjayKV. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceX: @ItsmeAjayKV ↗
Editor-in-Chief
Key metric #1The UltraTerminals dataset is open, with about 2,597 environments for RL training
Key metric #2On tasks both models solve, the adapted version makes fewer tool calls and uses fewer tokens
Key metric #3The recipe, GGUF weights and traces are published, and adapters can be built for OpenCode

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.

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Hugging Face Doubled the Speed of Pi Coding Agent: Same Score in 25 Minutes Instead of 60 https://news.hamidun.com/en/news/18742/hugging-face-doubled-the-speed-of-pi-coding-agent-same-score

What do you think?
Loading comments…