logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·02.11.26
← Back to news

What Is a Harness?

Original article
earendil.com|121 points|83 comments|by tosh|Aug 23, 2026

Understanding the "Harness"

Date: Thursday, August 20, 2026
From: Earendil Product (rfc@earendil.com)
To: You
Subject: What is a Harness?


Harness (noun): A system of belts and straps designed to secure or control an object, animal, or human.
Harness (verb): To capture and direct the power of something for a specific purpose.

When most people hear the word "harness," they likely envision the gear used for climbing—the same straps I remember donning in middle school before tackling a climbing wall. Imagine a legendary climber like Royal Robbins on El Capitan; his harness is a central hub, racked with every essential tool needed for the ascent.

However, if you are deeply immersed in the current AI discourse, your mental image of a "harness" has likely shifted toward an agent harness. This guide is intended for those who have encountered the term and felt too hesitant to ask for a definition.

The Climbing Analogy

A physical climbing harness serves several critical purposes:

  • Safety: It links the climber to ropes and carabiners to prevent fatal falls.
  • Regulation: It helps manage the climber's pace and path.
  • Utility: It provides gear loops for attaching chalk bags, nut tools, and quickdraws.
  • Versatility: It is portable across different mountains and can be modified based on the specific terrain.

There is a profound structural and functional parallel between these physical tools and the software architecture of AI agents.


Defining the Agent Harness

In the simplest terms, the relationship can be expressed as a mathematical formula:

Agent=Model+Harness\text{Agent} = \text{Model} + \text{Harness}Agent=Model+Harness

While AI models are the "brains," the agent harness is the software environment that allows that brain to operate. Originally developed for coding tasks, these harnesses are now the foundation for all AI agents.

Access and Interfaces

Unlike the proprietary nature of many models, a user can actually own their agent harness. Interaction varies by user:

  1. Technical Users: Software engineers might use a terminal to interact with harnesses like Pi.
  2. General Users: Harnesses like OpenClaw integrate with everyday apps such as iMessage, email, or other chat interfaces.

Core Functional Components

Regardless of the UI, every harness generally performs four primary roles:

ComponentPrimary PurposeKey Characteristic
System PromptGovernanceSets the rules for responses.
ToolsCapabilityProvides external functions (APIs).
FrameworkBehaviorManages the "agentic loop."
Translation LayerCompatibilityEnables multi-model support.

1. The System Prompt

Most models have internal guidelines baked in during training (e.g., the famous "soul document" of Claude Opus 4.5). A harness's System Prompt, however, is less an internal instinct and more like an employee handbook.

  • Define the agent's identity.
  • Establish behavioral boundaries.
  • Set the tone for user interaction.

These instructions are injected into every single conversation, ensuring the model remains aligned with the harness's specific purpose.

2. Tools

Tools are essentially snippets of code that the model is permitted to "call." The harness provides the tool and the description of how it works, but the harness decides when to use it the AI model decides when and how to trigger the tool.

Example tool definitions might look like this:

{
  "tool": "WebSearch",
  "description": "Search the internet for real-time data",
  "parameters": ["query"]
}

Other common tools include WriteCode (for execution) and ComposeEmail.

3. Agentic Loops

The "loop" is where the agent becomes autonomous. Consider a user asking an email-based agent to compare local primary school test scores and provide recommendations.

The Process Flow:

In this scenario, the model uses its pre-training to understand "primary school" and "local area," then iteratively searches, analyzes, and formats data. The ability to realize a search failed and decide to try again is the essence of the agentic loop.

4. The Translation Layer

Finally, the translation layer acts as a universal adapter. This allows a harness to be model-agnostic. It can switch from one model to another—or even use multiple different models within a single loop—to leverage the specific strengths of each.

Diagram of Translation Layer

To see this in action, you can explore a live Pi session.