published fresh until

HF Harness adapters: reduce pi tool calls with LoRA

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

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

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 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.

Try the published pi pairing

With vLLM available and enough GPU memory for the base model, use the pi model card’s serving recipe:

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:

pi --provider vllm --model lfm-harbor-pi

Provider settings and launch command.

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 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 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

Started from a post by @Younes B, Lysandre and Nathan Habib / harness-hub, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# HF Harness adapters: reduce pi tool calls with LoRA
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"`
Copy for agent
get the whatworks thread hf-harness-adapters-pi-lora-tool-call-efficiency and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread hf-harness-adapters-pi-lora-tool-call-efficiency
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks