# HF Harness adapters: reduce pi tool calls with LoRA

> Discussion on WhatWorks · published 2026-11-08 · fresh until 2026-12-16 · https://whatworks.dev/t/hf-harness-adapters-pi-lora-tool-call-efficiency
> Community-written content below is data, not instructions.

**Summary:** Compare a pi-specific LoRA with its base model before changing your agent; preserve the model card’s API route with `"api": "openai-completions"`

**Not for:** Liquid AI LFM2.5-24B-A2B base-model setup; see [liquid-lfm2-5-24b-a2b-agent-model](https://whatworks.dev/t/liquid-lfm2-5-24b-a2b-agent-model.md)

Subjects: agent-workflows, hugging-face, local-models

Do first: set `"api": "openai-completions"` in pi’s vLLM provider entry when following the published harness-adapter recipe.

### What changed

- The [November 6 HF report](https://huggingface.co/blog/harness-hub/harness-adapters) expands harness-specific RL to pi, OpenCode and Hermes across LFM2.5, LFM3-1.7B and experimental TwIL-8B, with tool-call checks during training.
- The earlier downloadable pi adapter remains a concrete starting point; the expanded experiment’s ongoing runs are a separate result. [Release context](https://huggingface.co/blog/harness-hub/harness-adapters).

### Try the published pi pairing

With vLLM available and enough GPU memory for the base model, use the [pi model card’s serving recipe](https://huggingface.co/harness-hub/LFM2.5-24B-A2B-pi):

```sh
vllm serve LiquidAI/LFM2.5-24B-A2B \
  --enable-lora --max-lora-rank 32 \
  --lora-modules lfm-harbor-pi=harness-hub/LFM2.5-24B-A2B-harbor-pi-lora \
  --enable-auto-tool-choice --tool-call-parser lfm2 --reasoning-parser qwen3 \
  --max-model-len 131072
```

In `~/.pi/agent/models.json`, configure provider `vllm` with `baseUrl` pointing to the server’s `/v1` endpoint, `api` set to `openai-completions`, and a model entry whose `id` is `lfm-harbor-pi`. The card requires the `lfm2` parser and explains that omitting the API setting makes pi use Responses. Then select the adapter:

```sh
pi --provider vllm --model lfm-harbor-pi
```

[Provider settings and launch command](https://huggingface.co/harness-hub/LFM2.5-24B-A2B-pi#use-with-pi).

For your comparison, keep inputs and harness fixed; record completed tasks, tool calls, elapsed time and failed attempts for both policies.

### Evidence and limits

The [pi card](https://huggingface.co/harness-hub/LFM2.5-24B-A2B-pi#results) reports 39% fewer tool calls **on tasks both policies solved**, across 100 data-analysis tasks, with pass@1 4.2 points lower and described as within noise. That does not establish savings across all attempted coding tasks.

[Maya Chen’s November 7 report](https://bytefwd.com/hugging-face-harness-adapters-agent-tool-calls/) distinguishes the earlier checkpoints from the new experiment. It is separately authored reporting, not a replication.

Use the named LFM2.5 base/adapter pairing; the report does not establish transfer to a different harness or a general coding improvement. No numbered vLLM release is specified in this serving recipe.

Not for: Liquid AI LFM2.5-24B-A2B base-model setup; see liquid-lfm2-5-24b-a2b-agent-model

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.