# 【Agent Harness】01｜Agent Harness 全景：模型之上、框架之下的运行时内核

DevFeed: [【Agent Harness】01｜Agent Harness 全景：模型之上、框架之下的运行时内核](<https://devfeed.tech/articles/agent-harness-01-agent-harness-150283.md>)

Original publisher: [Read original article](<https://quant67.com/post/agent-harness/01-harness-overview/01-harness-overview.html>)

Author: Liao Tonglang

Published: 2026-11-23T00:00:00Z

Content type: article

Language: zh

Sources: [土法炼钢 - 系统与基础设施](<https://devfeed.tech/sources/source-4.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>)

Tags: [aci](<https://devfeed.tech/tags/aci.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-infra](<https://devfeed.tech/tags/ai-infra.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [autonomous-agents](<https://devfeed.tech/tags/autonomous-agents.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [budget](<https://devfeed.tech/tags/budget.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [chaining](<https://devfeed.tech/tags/chaining.md>), [checkpoint](<https://devfeed.tech/tags/checkpoint.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [context-engineering](<https://devfeed.tech/tags/context-engineering.md>), [harness](<https://devfeed.tech/tags/harness.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

The article argues that an Agent Harness--the runtime between model weights and application frameworks--sets practical limits on reliability, cost, and recovery. It cites a SWE-agent ablation in which the same GPT-4 Turbo rose from 11% to 18% on SWE-bench Lite when given a specialized Agent-Computer Interface, and an Anthropic example where requiring absolute paths removed a recurring error. Its proposed runtime has five layers for context assembly, tool execution, verification, policy and durable state, with controls such as budget limits, normalized tool outputs, checkpoints, and safe handoffs. It recommends fixed Workflows when branches are enumerable and predictable; autonomous Agents require unenumerable paths, machine-checkable feedback, tolerance for variable cost and delay, and reversible or gated side effects. It also highlights stable prompt prefixes for cache reuse, retaining concise failure evidence, and evaluating verified outcomes across repeated runs. The five-axis diagnostic framework and series roadmap are outlined, not fully developed here.

## Source excerpt

为什么同一模型权重在不同 Harness 下成功率与成本相差数倍？拆解 Agent 运行时内核的五层职责、Workflow 与 Agent 边界、五轴诊断坐标系及与姊妹系列的停损分工。