mlsanityData to 24 Nov 2026

Latent Harness: Compiling Agent Behaviors into Post-Block Activation Shifts

arXiv 2611.01415 ↗Submitted 1 Nov 2026cs.CLcited by 1

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

  1. 2025Multi-agent Architecture Search via Agentic Supernet6 Feb
  2. 2024AgentSquare: Automatic LLM Agent Search in Modular Design Space8 Oct
  3. 2024Automated Design of Agentic Systems15 Aug

Other references · 47

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  2. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  4. 2025Qwen3 Technical Reportcited by 9,994
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 4,046
  7. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,931
  9. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,320
  10. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
  11. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,427
  12. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,392
35 more
  1. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
  2. 2023Steering Language Models With Activation Engineeringcited by 1,128
  3. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 646
  4. 2024AFlow: Automating Agentic Workflow Generationcited by 506
  5. 2018Behavioral Cloning from Observationcited by 505
  6. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
  7. 2023Function Vectors in Large Language Modelscited by 353
  8. 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 335
  9. 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 275
  10. 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 263
  11. 2024ReFT: Representation Finetuning for Language Modelscited by 219
  12. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 199
  13. 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agentscited by 170
  14. 2024Analyzing the Generalization and Reliability of Steering Vectorscited by 168
  15. 2026Self-Harness: Harnesses That Improve Themselvescited by 158
  16. 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 97
  17. 2026Continual Harness: Online Adaptation for Self-Improving Foundation Agentscited by 63
  18. 2025AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraintcited by 59
  19. 2026Code as Agent Harnesscited by 59
  20. 2026Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agentscited by 59
  21. 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Usecited by 56
  22. 2025Steer LLM Latents for Hallucination Detectioncited by 54
  23. 2026SIA: Self Improving AI with Harness & Weight Updatescited by 40
  24. 2024Activation Scaling for Steering and Interpreting Language Modelscited by 39
  25. 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systemscited by 32
  26. 2026Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agentscited by 32
  27. 2024Beyond Single Concept Vector: Modeling Concept Subspace in LLMs with Gaussian Distributioncited by 29
  28. 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectoriescited by 29
  29. 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 26
  30. 2026SkVM: Revisiting Language VM for Skills across Heterogenous LLMs and Harnessescited by 19
  31. 2025MermaidFlow: Redefining Agentic Workflow Generation via Safety-Constrained Evolutionary Programmingcited by 18
  32. 2026Harnessing LLM Agents with Skill Programscited by 11
  33. 2026Weight Updates as Activation Shifts: A Principled Framework for Steeringcited by 9
  34. 2026Skill-Aware Data Selection and Fine-Tuning for Data-Efficient Reasoning Distillationcited by 8
  35. 2026Learning to Decide, Not to Reason: Parameter-Efficient Decision Operators via Low-Rank Activation Steeringcited by 2

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification
  2. 2026The Empire, Long Divided, Must Unite: Architectural Convergence in Three LLM Agent Harnesses
  3. 2026Harnesses for Inference-Time Alignment over Execution Trajectories
  4. 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses
  5. 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations
  6. 2026HarnessFlow: MCTS-Guided Harness Optimization for LLM Agents
  7. 2026Layer-Level Control of Language Model Execution in Agent Frameworks
  8. 2026Harness or Model? Isolating the Harness Effect in Agentic Coding with a Contamination-Controlled Private Suite