potentialpaper

HarnessOpt: Agent Optimization through Harness Kernels

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Optimizing a language-model agent requires coordinating its workflow, tools, and supporting components. Direct code editing is expressive, but patch size poorly captures the behavioral scope of an update. We introduce HARNESSOPT, a framework that optimizes a persistent Harness Kernel: a compact, structured specification of global workflow and local components. HarnessOpt scales SkillOpt-style refinement to complete harnesses by aggregating execution evidence, adopting bounded behavioral edits, and compiling each revised Kernel into coordinated runtime changes. Memory and patient selection guide iterative improvement while model parameters remain fixed. The same process supports black-box adaptation, white-box optimization, and from-scratch generation for individual task distributions or task mixtures. Evaluations with Codex, Claude Code, Pi, and standalone runtimes demonstrate strong task performance and successful transfer of learned harnesses across models, hosts, and benchmarks. Representation and execution studies show that Kernel editing can yield higher task success with substantially less host-code growth than direct runtime editing.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
16 Sep 2026ICLR 2027submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · OpenReview

Updated 24 Nov 2026, 17:01 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…

This paper is under review