← All projects
Project record1 mention
Originally shared on Hacker News

Harness Training

A PyTorch-like training framework for agent harnesses. The harness is trained once with a frozen task LLM against a given task environment; the frozen trained harness can then be evaluated with any swapped-in task LLM on any new task environment. It interfaces with any OpenAI-compatible API for the task LLM and can train against Terminal-Bench or SWE-Bench tasks, and is extensible to other task environments. Results show improved general capabilities across many task LLMs and transfer of learnings to unseen task environments.

Last shared
01 / The problem

What it addresses

A general problem of making trained agent harnesses generalize: the harness is trained once with a frozen task LLM against a given task environment, then reused and evaluated with any task LLM on any new task environment.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Harness Training

    A PyTorch-like training framework for agent harnesses. The harness is trained once with a frozen task LLM against a given task environment; the frozen trained harness can then be evaluated with any swapped-in task LLM on any new task environment. It interfaces with any OpenAI-compatible API for the task LLM and can train against Terminal-Bench or SWE-Bench tasks, and is extensible to other task environments. Results show improved general capabilities across many task LLMs and transfer of learnings to unseen task environments.

    Problem: A general problem of making trained agent harnesses generalize: the harness is trained once with a frozen task LLM against a given task environment, then reused and evaluated with any task LLM on any new task environment.

    Posted by @megadragon9 · Original source ↗

    Source text · @megadragon9 · · Source ↗

    I worked on this project (https://github.com/workofart/harness-training) for the past few months to reframe "Agent-driven Self-improving Harness" to "Harness Training". The idea is simple, the harness is trained once with a frozen task LLM against a given task environment. Then you can then swap out the task LLM to any model and evaluate the "frozen trained harness" with any task LLM on any new task environment.