Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
Hacker News · 2026/8/4 06:17:54
Harness Engineering for Self-Improvement
AI 中文解读
核心亮点:AI正在学会给自己当“升级工程师”,不光是改写内部代码,还能通过改进外部工具和工作流程来变得更聪明,这正是AI快速进化的关键。
通俗解读:很多人以为AI变强全靠训练时“喂”更多数据,但这篇文章提出,AI在“干活”时用的那套辅助系统同样重要。这套系统就像AI的“外挂装备”,帮它规划步骤、调用工具、检查结果。比如现在流行的编程助手,能自己写代码、跑测试、改错误,靠的就是这套装备。最新的思路是让AI自己优化这套装备,就像游戏角色不仅能变强,还能给自己打造更好的武器和盔甲,然后利用新装备再去挑战更难的任务,形成“越用越聪明”的循环。
实际影响:这意味着AI技术进步的速度可能会进一步加快。过去我们要等工程师手动升级AI,未来AI能自己加速迭代。对普通人来说,未来几年AI助手会变得更可靠、更能干,不管是帮忙写文档、编程、做分析,还是管理复杂任务,它都能主动拆解、试错、改进。最终,你只需给出目标,AI能自己搞定中间过程,把更多精力留给真正的创造性工作。
The concept of recursive self-improvement (RSI) dates back to I. J. Good (1965), where he defined an “ultraintelligent machine” as a system that can surpass humans in all intellectual activities and design better machines to improve itself. Yudkowsky (2008) used the phrase “recursive self-improvement” for a specific feedback loop: an AI uses its current intelligence to improve the cognitive machinery that produces its intelligence.
This feedback loop in modern AI may indicate the model rewriting its own weights directly, or more broadly the model improves the training pipeline and the deployment system, which in turn enables a better successor model with improved performance across economically valuable tasks. The speed of research development in AI has been shown to drastically accelerated in frontier labs (Anthropic; OpenAI).
I explicitly mention “deployment system” because the layer between the raw model and the real-world context seems to be as important as the model’s raw intelligence (i.e. the evals right after pretraining). Harnesses are important components of AI deployment, as shown by successful coding agent products such as Claude Code and Codex. A harness is the system surrounding a base model that orchestrates execution and decides how the model thinks and plans, calls tools and acts, perceives and manages context, stores artifacts, and evaluates results.
This one post will focus on research around harness engineering and how it contributes to RSI. Much recent work on auto-research, self-improving agents, and evolutionary program search can be organized around this question. Other work on model self-play, synthetic data, test-time training and a broader theme of continual learning also matches the RSI vision (e.g. Yuan et al. 2024, Chen et al. 2024), Zhao et al. 2025, Choi et al. 2026)) but they will not be the focus of this post.
Harness Design Patterns#
Compared with early agent frameworks, “agent = LLM + memory + tools + planning + action”, harnesses engineering additionally include workflow design (e.g. loop engineering), evaluation, permission controls, and persistent state management. It is no longer only prompt templates, but closer to runtime and software system design: how the model observes, acts, memorizes, checks itself, and improves.
The design should be deliberately simple and generic to enable generalization, likely with reference to existing software engineering practices to benefit from prertaining knowlege. There is also a strong analogy between operating systems and harnesses. Similar to an OS, a harness should encapsulate complicated logic while keeping the interface simple. Meanwhile, configs, tool interfaces and other protocols may gradually become standardized across the industry.
Pattern 1: Workflow Automation#
Defining a workflow in which the model can operate, test, and iterate is a key design for automation. Karpathy’s autoresearch repo (https://github.com/karpathy/autoresearch) is a clean example of how such a workflow can be constructed. A common workflow follows a goal-oriented loop of plan, execute, observe/test, improve, and execute again until the goal is achieved. The process may trigger proactive requests to users for clarity in task specification or execution preference.
A simplified Codex agent loop: the agent calls tools and tool responses affect the model's next generation.(Image source: OpenAI codex agent post)
The workflow graph also emphasizes the model analyzing its own trajectories and failure cases and then iterating on its progress through an “agent runtime” rather than a static prompt template.
Pattern 2: File System as Persistent Memory#
A recurring pattern in long-horizon agent systems is simple control over rich states and artifacts. A harness should not carry the entire workflow and all logs in context; instead, it should keep durable state in files. In long-horizon agentic rollout, artifacts such as experiment logs, code diffs, paper summaries, error t
分享
阅读原文 ↗