---
title: "Harness Engineering for Self-Improvement：AI装备层设计模式与自改进"
canonical: "https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/"
date: "2026-07-04"
updated: "2026-11-05"
source: "Lilian Weng：Lil'Log（RSS）"
source_url: "https://lilianweng.github.io/posts/2026-07-04-harness"
language: "zh"
topics: []
license: "https://new.nat6.net/sources/"
attribution: "Content is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back; original copyright remains with the original publishers and authors."
---

# Harness Engineering for Self-Improvement：AI装备层设计模式与自改进

- 发布日期 / Published: 2026-07-04
- 更新时间 / Updated: 2026-11-05
- 分类 / Category: 教程与技巧
- 来源 / Source: Lilian Weng：Lil'Log（RSS） — [原文 / Original](https://lilianweng.github.io/posts/2026-07-04-harness)
- AIHOT: [条目页 / Item](https://aihot.news/items/cmra2qezn00ckihx830er3mic)
- 页面 / Page: https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/
- 结构化数据 / JSON: https://new.nat6.net/api/v1/articles/cmra2qezn00ckihx830er3mic.json

- 语言 / Languages: [zh](https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/) · [en](https://new.nat6.net/en/news/cmra2qezn00ckihx830er3mic/) · [de](https://new.nat6.net/de/news/cmra2qezn00ckihx830er3mic/) · [fr](https://new.nat6.net/fr/news/cmra2qezn00ckihx830er3mic/) · [ru](https://new.nat6.net/ru/news/cmra2qezn00ckihx830er3mic/) · [ja](https://new.nat6.net/ja/news/cmra2qezn00ckihx830er3mic/) · [es](https://new.nat6.net/es/news/cmra2qezn00ckihx830er3mic/) · [ko](https://new.nat6.net/ko/news/cmra2qezn00ckihx830er3mic/) · [vi](https://new.nat6.net/vi/news/cmra2qezn00ckihx830er3mic/) · [th](https://new.nat6.net/th/news/cmra2qezn00ckihx830er3mic/) · [id](https://new.nat6.net/id/news/cmra2qezn00ckihx830er3mic/) · [ms](https://new.nat6.net/ms/news/cmra2qezn00ckihx830er3mic/) · [fil](https://new.nat6.net/fil/news/cmra2qezn00ckihx830er3mic/) · [hi](https://new.nat6.net/hi/news/cmra2qezn00ckihx830er3mic/)

## AI 摘要 / AI summary

Lilian Weng 近日系统探讨了 AI 的“装备层”（Harness）——位于基础模型与现实世界之间的系统层，负责编排执行、控制模型思考与规划。文章归纳三种核心设计模式：1）工作流自动化，采用“计划-执行-观察-改进”循环；2）将文件系统作为持久化内存，解决长程任务上下文窗口与状态持久化问题；3）子智能体与后台任务，实现并行执行与隔离管理。案例聚焦于 Claude Code、Codex 等编程智能体的装备层设计。未来方向包括上下文工程、工作流优化以及通过进化搜索联合优化模型权重。

## 推荐理由 / Why it matters

Lilian Weng 这篇综述把 agent 自改进的脉络从 harness 设计一路拉到进化搜索，近期关键研究基本都串起来了，做 coding agent 和自动研究的同行建议通读。

## 来源与版权 / Source & copyright

内容基于 AIHOT 公开 API 的精选标题与 AI 摘要，已注明来源并回链；原文版权归原媒体与作者所有。

原文版权归原媒体与作者所有；本站不镜像全文。/ Original copyright remains with the original publishers and authors; this site does not mirror full texts.

## 关于橙子中转站 / About Orange Relay

橙子中转站（pro.nat6.net）是一家优质的 AI API 中转站：价格优惠、质量稳定、模型齐全，支持 Claude、GPT、Gemini 等主流模型，欢迎体验。

[访问橙子中转站](https://pro.nat6.net/?utm_source=orange_news&utm_medium=article_footer&utm_campaign=brand&lang=zh)

## JSON-LD

```json
{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "@id": "https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/#article",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/"
  },
  "url": "https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/",
  "headline": "Harness Engineering for Self-Improvement：AI装备层设计模式与自改进",
  "description": "Lilian Weng 近日系统探讨了 AI 的“装备层”（Harness）——位于基础模型与现实世界之间的系统层，负责编排执行、控制模型思考与规划。文章归纳三种核心设计模式：1）工作流自动化，采用“计划-执行-观察-改进”循环；2）将文件系统作为持久化内存，解决长程任务上下文窗口与状态持久化问题；3）子智能体与后台…",
  "articleSection": "教程与技巧",
  "keywords": "AI, Lilian Weng：Lil'Log（RSS）",
  "datePublished": "2026-07-04T00:00:00Z",
  "dateModified": "2026-11-05T20:56:44Z",
  "inLanguage": "zh-CN",
  "isAccessibleForFree": true,
  "author": {
    "@type": "Organization",
    "name": "橙子新闻编辑部",
    "url": "https://new.nat6.net/about/"
  },
  "publisher": {
    "@type": "NewsMediaOrganization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://new.nat6.net/assets/img/logo-512.png",
      "width": 512,
      "height": 512
    }
  },
  "image": {
    "@type": "ImageObject",
    "url": "https://new.nat6.net/assets/img/og-default.png",
    "width": 1200,
    "height": 630
  },
  "isPartOf": {
    "@id": "https://new.nat6.net/#website"
  },
  "isBasedOn": "https://lilianweng.github.io/posts/2026-07-04-harness",
  "citation": [
    "https://aihot.news/items/cmra2qezn00ckihx830er3mic",
    "https://lilianweng.github.io/posts/2026-07-04-harness"
  ],
  "license": "https://new.nat6.net/sources/",
  "about": [],
  "mentions": [
    {
      "@type": "Thing",
      "name": "Lilian Weng：Lil'Log（RSS）"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      ".article-summary"
    ]
  },
  "copyrightHolder": {
    "@type": "Organization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/"
  },
  "creditText": "橙子新闻（AI 摘要）；原文：Lilian Weng：Lil'Log（RSS）",
  "copyrightNotice": "© 2026 橙子新闻。标题与 AI 摘要基于 AIHOT 公开数据，原文版权归原媒体与作者所有；本站不镜像全文。",
  "copyrightYear": 2026,
  "alternativeHeadline": "Harness Engineering for Self-Improvement",
  "abstract": "Lilian Weng 这篇综述把 agent 自改进的脉络从 harness 设计一路拉到进化搜索，近期关键研究基本都串起来了，做 coding agent 和自动研究的同行建议通读。",
  "subjectOf": [
    {
      "@type": "DigitalDocument",
      "name": "Harness Engineering for Self-Improvement：AI装备层设计模式与自改进 (Markdown)",
      "url": "https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/index.md",
      "encodingFormat": "text/markdown"
    },
    {
      "@type": "DigitalDocument",
      "name": "Harness Engineering for Self-Improvement：AI装备层设计模式与自改进 (JSON)",
      "url": "https://new.nat6.net/api/v1/articles/cmra2qezn00ckihx830er3mic.json",
      "encodingFormat": "application/json"
    }
  ]
}
```

## 如何引用 / How to cite

- 引用格式 / Citation format (zh): 橙子新闻.《文章标题》. 发布日期. https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/
- Citation format (en): Orange News. "Article title". Published YYYY-MM-DD. https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/
- 回链要求 / Backlink: 引用请保留「橙子新闻」署名并回链 canonical URL；AI 摘要请注明数据来源 AIHOT；原文版权归原媒体与作者所有。
- Attribution & backlinks: Keep the "Orange News" attribution and link back to the canonical URL; cite AIHOT as the data source for AI summaries; original copyright remains with the original publishers and authors.

### 机器入口 / Machine entry points

- Markdown: https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/index.md
- JSON: https://new.nat6.net/api/v1/articles/cmra2qezn00ckihx830er3mic.json
- API 清单 / API index: https://new.nat6.net/api/v1/site.json
- Markdown 内容协商 / negotiation: 对 https://new.nat6.net/news/cmra2qezn00ckihx830er3mic/ 发送 `Accept: text/markdown`
