Latent Harness: Compiling Agent Behaviors into Post-Block Activation Shifts
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks also fits: Software engineering coding agents
Abstract (arXiv)
Harness engineering and self-evolving agents improve language-model agents quickly, yet their gains live outside the model. The harness is re-sent and re-paid on every call, and the standard route to internalization is a weight update that is costly to iterate and fixed once merged. We propose compiling the harness instead. Latent Harness distills an external condition into a rank-8 activation shift. The shift is applied at the output of every decoder block of a frozen backbone, at 0.03-0.05% of parameters. The condition is either an explicit process-level behavior instruction or the behavioral contract of an agentic harness. At inference the compiled bundle carries no harness text and adds no tokens. It exposes three runtime controls for injection strength, injection phase, and shift-space mixing. Compiled behaviors recover the source-harness gain in 8 of 10 preregistered settings. Where the explicit source pays the heaviest per-call token tax, the compiled form exceeds it. The same bundles transfer zero-shot across tasks (5 of 7 pairs positive) and compose in shift space, while stacked text instructions interfere destructively. Used as a search space, they lift budget-matched harness search by 1.45 times. On three agentic benchmarks the operator aligns policy to the harness con- tract. Under matched data, capacity, and effective strength it outperforms same-capacity LoRA, which needs 11.1 times the parameters to reach the same band, and it regresses nothing where the base policy is already strong. Across 1B-to-8B models the method skeleton is invariant while gain locations move with the model-task pair, which delimits where compiled harnesses should be deployed.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 50 of its 54 references that are in the map. Submitted 1 Nov 2026.
Builds on
50 of 54 references.
Closest ancestors · 3
Same direction, newest first
- 2025Multi-agent Architecture Search via Agentic Supernet6 Feb
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Space8 Oct
- 2024Automated Design of Agentic Systems15 Aug
Other references · 47
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2025Qwen3 Technical Reportcited by 9,994
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 4,046
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,931
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,320
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,427
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,392
35 more
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
- 2023Steering Language Models With Activation Engineeringcited by 1,128
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 646
- 2024AFlow: Automating Agentic Workflow Generationcited by 506
- 2018Behavioral Cloning from Observationcited by 505
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
- 2023Function Vectors in Large Language Modelscited by 353
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 335
- 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 275
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 263
- 2024ReFT: Representation Finetuning for Language Modelscited by 219
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 199
- 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agentscited by 170
- 2024Analyzing the Generalization and Reliability of Steering Vectorscited by 168
- 2026Self-Harness: Harnesses That Improve Themselvescited by 158
- 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 97
- 2026Continual Harness: Online Adaptation for Self-Improving Foundation Agentscited by 63
- 2025AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraintcited by 59
- 2026Code as Agent Harnesscited by 59
- 2026Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agentscited by 59
- 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Usecited by 56
- 2025Steer LLM Latents for Hallucination Detectioncited by 54
- 2026SIA: Self Improving AI with Harness & Weight Updatescited by 40
- 2024Activation Scaling for Steering and Interpreting Language Modelscited by 39
- 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systemscited by 32
- 2026Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agentscited by 32
- 2024Beyond Single Concept Vector: Modeling Concept Subspace in LLMs with Gaussian Distributioncited by 29
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectoriescited by 29
- 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 26
- 2026SkVM: Revisiting Language VM for Skills across Heterogenous LLMs and Harnessescited by 19
- 2025MermaidFlow: Redefining Agentic Workflow Generation via Safety-Constrained Evolutionary Programmingcited by 18
- 2026Harnessing LLM Agents with Skill Programscited by 11
- 2026Weight Updates as Activation Shifts: A Principled Framework for Steeringcited by 9
- 2026Skill-Aware Data Selection and Fine-Tuning for Data-Efficient Reasoning Distillationcited by 8
- 2026Learning to Decide, Not to Reason: Parameter-Efficient Decision Operators via Low-Rank Activation Steeringcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification
- 2026The Empire, Long Divided, Must Unite: Architectural Convergence in Three LLM Agent Harnesses
- 2026Harnesses for Inference-Time Alignment over Execution Trajectories
- 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses
- 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations
- 2026HarnessFlow: MCTS-Guided Harness Optimization for LLM Agents
- 2026Layer-Level Control of Language Model Execution in Agent Frameworks
- 2026Harness or Model? Isolating the Harness Effect in Agentic Coding with a Contamination-Controlled Private Suite