cs.AINov 22, 2026

Layer-Level Control of Language Model Execution in Agent Frameworks

Authors: Ran Guan, Yiqi Lin, Xiangxi Tian, Yige Luo, Mi Zhou

Organizations: Laboratories, Huawei Technologies

Abstract

Agent frameworks typically orchestrate language models through prompt-and-response interfaces. We propose a harness design that exposes intermediate model states and layer-level execution controls to the agent runtime. By connecting state collection, policy fitting, and execution, the design enables policies to allocate computation within and across models based on intermediate states. We demonstrate the approach with a prototype that learns stitching bridges and state-conditioned execution policies from paired model states, then applies them during inference to select among continue, exit, and stitch. For dispatcher supervision, we select the least-computation action whose full-vocabulary next-token prediction matches the source model's full-depth prediction, using continue when neither early action matches. We train these components on a frozen proxy corpus of 5,000 typed-decision items authored using source texts sampled from WildChat conversations, then evaluate the prototype on JevBench measuring task accuracy, agreement with full-model predictions, and end-to-end latency including runtime overhead. Preliminary results show an approximately 15% reduction in mean latency while maintaining task accuracy comparable to full-model inference.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Multi-Head Latent Control: A Unified Interface for LLM Agent Decision Making

    Jul 15, 2026Amirhosein Ghasemabadi, Ruichen Chen, Bahador Rashidi +1Multi-Agent LLM SystemsLanguage Model-Based Control

  2. Self-Programmed Execution for Language-Model Agents

    May 7, 2026Luke J. O'ConnorLLM Agent OrchestrationLLM Agents

  3. EvoX: Rethinking the Agent Harness as a Runtime Policy

    Nov 11, 2026Haoyang Zhang, Qumeng Sun, Xiao Zhang +3LLM Agent HarnessesRuntime Enforcement for AI Agents