awesome-ai-harness README

The project's README from github.com/weiwei966/awesome-ai-harness. As one markdown file: README.md.

Awesome AI Harness Awesome

The model is the engine. The harness is the car.

A curated list of resources on harness engineering — the discipline of building the runtime scaffolding that turns a language model into a working agent.

中文版 →


Why this list

Most "awesome agent" lists catalogue frameworks. This one is about the layer underneath: the concrete engineering decisions that determine whether an agent works or flails.

A frontier model dropped into a bad harness behaves like a bad model. It loops, forgets, calls the wrong tool, burns its context on noise, and gives up. The same model in a good harness plans, recovers from errors, and finishes. The gap between those two outcomes is harness engineering, and almost none of it is in the model weights.

The craft is young, the knowledge is scattered across engineering blogs and leaked system prompts, and there is no textbook. This is an attempt at a map.

Scope note: this list covers the inference-time harness. Harnesses that double as RL training environments (environment hubs, trajectory generation, reward design) are a sibling discipline we deliberately leave out.

What is a harness?

Everything between the user's intent and the model's next token:

flowchart TB
    U([User intent]) --> H
    subgraph H[The Harness]
        direction TB
        SP[System prompt<br/>role, rules, environment]
        CTX[Context assembly<br/>budget · retrieval · compaction]
        TOOL[Tool layer<br/>definitions · results · errors]
        LOOP[Agent loop<br/>plan → act → observe → repeat]
        MEM[Memory &amp; state<br/>files · sessions · scratchpads]
        GATE[Permissions &amp; sandbox<br/>allowlists · HITL gates]
    end
    H <--> M{{Model}}
    H --> W([Effects on the world])

The model is a stateless function. Every bit of statefulness, safety, memory, and competence an "agent" appears to have was engineered into the loop around it.


Contents


Foundations

Start here if you are new to the field.

Terminology

The field's vocabulary is still settling; these pin it down.

Design patterns & surveys

Context Engineering

The context window is the agent's entire working memory, and it is a scarce, actively-managed resource. This is where most harness quality lives.

Tool Design & Agent-Computer Interfaces

Tools are the agent's API to reality. Their names, schemas, return values, and error messages are prompt engineering by another name — and the interface design is worth more than a model upgrade.

The Agent Loop

Memory, State & Session Resume

Multi-Agent & Orchestration

Sandboxing & Runtime Isolation

If your harness can run commands, it can run bad commands. The 2025-26 convergence: both major labs independently arrived at the same two-plane design — filesystem isolation plus a domain-allowlist egress proxy.

Safety, Permissions & Human-in-the-Loop

awesome-ai-harness (weiwei966/awesome-ai-harness)

Searching Database…

这是什么?一份关于脚手架工程(harness engineering)的精选阅读清单——指的是把原始语言模型变成可用代理的运行时脚手架(上下文管理、工具设计、代理循环、记忆、沙盒、评估),收录英文和中文资源。
这是要安装的工具,还是只是一份阅读清单?它是一份纯 markdown 的 awesome 清单,收录论文、工程博客文章和演讲的链接,按主题分节——没有任何代码需要运行。
清单是怎么组织的?它分为 Foundations、Context Engineering、Tool Design、The Agent Loop、Memory/State/Session Resume、Multi-Agent & Orchestration、Sandboxing & Runtime Isolation、Safety & Permissions、Protocols & Interop、Skills、Evaluation & Observability 等章节,其中 Foundations 章节被标出供新手入门。
清单也涵盖 RL 训练环境吗?不,它有意排除了这部分。它把自己限定在推理时的脚手架上,并把 RL 训练环境(环境枢纽、轨迹生成、奖励设计)视为其覆盖范围之外的独立学科。
这份阅读清单是给谁的?适合构建编程代理、AI 助手或代理运行时的开发者,他们需要理解上下文预算、工具接口设计、记忆、沙盒和评估,而不只是换一个更大的模型。
“脚手架(harness)”到底是什么?按 README 的说法,它是用户意图与模型下一个 token 之间的一切:围绕无状态模型构建的循环、工具、记忆、安全检查和上下文管道,让它表现得像一个称职的代理。
为什么“脚手架”和“代理框架”不是一回事?清单引用了 Arize 的区分:脚手架拥有代理循环本身,而框架只是借给你一些零件去搭一个——脚手架是运行时,不是组件库。
这份清单有中文版吗?有,README 链接了中文版,还收录了翻译成中文的资源,例如上下文工程综述的完整中文翻译。
最应该先读的是哪一篇?README 把 Lilian Weng 的“Harness Engineering for Self-Improvement”列为这个领域最完整的地图,并说如果这份清单里只读一篇,就读它。
Creator
weiwei966
Size
0.1 MB
Stars
153
Updated
CommitAug 19
Age
2mo
Commits · 90 Days