🎉 Giảm 20% cho đơn hàng đầu tiên!✦🚚 Miễn phí vận chuyển cho đơn trên 500.000₫✦⚡ Flash Sale — Số lượng có hạn!✦🎁 Quà tặng kèm cho đơn từ 1.000.000₫✦🎉 Giảm 20% cho đơn hàng đầu tiên!✦🚚 Miễn phí vận chuyển cho đơn trên 500.000₫✦⚡ Flash Sale — Số lượng có hạn!✦🎁 Quà tặng kèm cho đơn từ 1.000.000₫✦
Google releases a 9-page paper on Harness Engineering: Prompt Engineering is no longer everything — Agent + Model + Harness
Quay lại Blog

Google releases a 9-page paper on Harness Engineering: Prompt Engineering is no longer everything — Agent + Model + Harness

23 tháng 11, 20268 phút đọcVũ Khôi
English
#English#AI Agent#Lập trình
Vũ Khôi

Vũ Khôi

Tác giả tại Wotech Electronics Blog

Google releases a 9-page paper on Harness Engineering

Google releases a 9-page paper on Harness Engineering: Prompt Engineering is no longer everything — Agent + Model + Harness

Google's team has just released a 9-page PDF on Harness Engineering, opening a notable perspective on how to build and operate AI Agents in production. The core message can be summed up in one formula: Agent + Model + Harness. Instead of only improving prompts, engineers need to build a system around the AI Agent to control how it plans, executes, verifies results, remembers and handles errors — per the Hỏi Dân it Offical post by the page "Học lập trình cho người mới bắt đầu".

Quick answer: Google's 9-page paper on Harness Engineering gives the formula Agent + Model + Harness and a 6-layer playbook: add guides, add sensors, build the agentic loop, externalize memory, enforce permissions and wire observability. The interesting part of the method: keep Claude Sonnet and the same benchmark constant, changing only the Harness to measure the difference in effectiveness — the paper cites a 44-point benchmark swing on the same model and a 25-rank gain on Terminal Bench. Every failure can become a lasting improvement: the system records it, adds rules and adjusts controls for the next runs. When several Harnesses are connected, we move one step further to Graph Engineering.

This article differs from share 37 on Wotech ("The End of Harness Engineering" — a different paper) and the 08/11 Harness Engineering introduction — this is Google's new 9-page paper with a 6-layer playbook and concrete experimental numbers, not a duplicate.

Three eras of AI engineering — and why Harness is the third

The paper, per the photo of its first page in the original post, places Harness Engineering in a history of three eras:

Era Focus Optimises Limitation
Prompt Engineering (2023–24) A single turn Phrasing, examples One interaction
Context Engineering (2025) System context RAG, MCP, memory What the model sees
Harness Engineering (2026) The full environment Execution, safety The entire runtime

Each era subsumes the previous one. A harness contains context pipelines and prompts, but also verification, permissions, observability and state persistence. Prompt engineering shapes what the model says. Context engineering shapes what the model sees. Harness engineering shapes what the model can do, what survives failure, what is allowed to happen, and what constitutes successful completion.

The paper's abstract, per the photographed page, opens with a striking number: 95% of enterprise AI agents never reach production. They demo well, pass budget review, and then quietly die in pre-production. The gap has a name: harness engineering.

Six steps to build a complete Harness

The paper gives 6 important steps, per the post:

Step Content
1. Add Guides Create files like AGENTS.md, rule files and documents about constraints to follow. Each guidance line should be treated as a lesson drawn from a failure that once happened. The goal is to turn past failures into rules so the same error does not repeat a second time
2. Add Sensors Integrate linters, test suites and validation scripts. Instead of waiting for humans to check all results, the Agent can self-evaluate what it produces through preset checking mechanisms
3. Build the Agentic Loop Set up the process: Plan → Execute → Verify → Fix → Retry. At the same time, limit the number of retries, the usage budget, and have a mechanism to escalate to humans when the Agent gets stuck
4. Externalize Memory Each working session, the model may start with no memory of the previous session. So the Harness must take responsibility for storing state, decisions made and intermediate artifacts. That way the Agent can continue work without depending entirely on one conversation's context
5. Enforce Permissions Define clearly which tools the Agent may use, how many data-write operations it may perform, and which actions require human approval. Safety should not depend only on what is written in the prompt. It must be enforced at the Harness system level
6. Wire Observability Record every Agent activity: each tool call, costs incurred, retries and changes in behaviour. When the system detects signs of activity drifting outside allowed limits, alerts are triggered

The 6-layer architecture, per Fig. 1 in the paper: Guides and Sensors form the steering loop (feedforward + feedback); Memory, Permissions and Observability form the runtime foundation; the Agentic Loop sits at the centre, bounded by all five supporting layers. Feedback: every new failure becomes a guide (ratchet: rules only grow, never shrink).

The experiment: change only the Harness, keep the model

The interesting part of the method, per the post, is in how it is tested: keep Claude Sonnet and the same benchmark constant, changing only the Harness to measure the difference in effectiveness. Per the numbers in the photographed paper (Fig. 2):

  • 95% of enterprise agents never reach production — only 5 out of 100 agents ship.
  • +44 points benchmark swing on the same model — changing only the Harness, not the model.
  • +25 ranks on Terminal Bench — with zero model change.
  • 1 million lines of code, zero written by hand — a codebase with no manually written lines.

The paper concludes: changing the harness alone produces larger gains than upgrading the model.

The final result: from demo to infrastructure

The final result, per the post: the Agent stops being just a demo to present, and can become a real infrastructure component.

The most important point of Harness Engineering is that every failure can become a lasting improvement. Instead of letting the Agent repeat the same error, the system records it, adds rules and adjusts controls for the next runs. That is the gap between an AI Agent that works well in a demo and one trustworthy enough for businesses to pay to deploy and run continuously.

The next step: Graph Engineering

One Harness can create a trustworthy working loop. But when several Harnesses are connected, we move one step further to Graph Engineering. In this model, one Agent's error can become a monitoring signal for another Agent. Agents do not only coordinate to carry out tasks — they can also check, detect and help fix each other's errors.

Perhaps the future of AI Agents lies not only in creating smarter models, but in building systems good enough to control, monitor and turn their capability into real value.

Frequently asked questions

1. What is Harness Engineering, in one sentence? Building a system around an AI Agent (Agent + Model + Harness) to control how it plans, executes, verifies results, remembers and handles errors — instead of only improving prompts.

2. What are the six layers of a Harness? Guides, Sensors, the Agentic Loop (at the centre), Memory, Permissions and Observability. Guides and Sensors form the steering loop; Memory, Permissions and Observability form the runtime foundation.

3. Why is the "keep the model, change only the Harness" experiment convincing? Because it isolates the Harness's effect from the model's: with the same Claude Sonnet and the same benchmark, changing only the Harness gave a 44-point benchmark swing and a 25-rank gain on Terminal Bench, per the paper's numbers.

4. What does "every failure becomes a lasting improvement" mean? The system records the error, adds rules (guides) and adjusts controls for the next runs — rules only grow, never shrink (ratchet). The Agent does not repeat the same error.

5. How is Graph Engineering different from Harness Engineering? One Harness creates a trustworthy working loop for one Agent. Graph Engineering connects several Harnesses: one Agent's error becomes a monitoring signal for another, and Agents check and help fix each other's errors.

Source: Học lập trình cho người mới bắt đầu; Google's 9-page paper on Harness Engineering ("Agent = Model + Harness: The 6-Layer Production Playbook", based on Mitchell Hashimoto's engineering methodology, OpenAI's Codex field report, Martin Fowler's guides-and-sensors taxonomy, and materials from Anthropic, LangChain and Cursor).