← @bgSponge

What is a Harness?

Summary

An agent harness is software that gives an AI model an environment to work in: a system prompt, tools, an agentic loop, and a translation layer across models.

  1. A harness is the model's operating environment.

    It injects instructions, exposes tools, runs the agentic loop, and translates across model APIs.

    An agent harness is a piece of software that provides an environment for an AI model to operate within.

    Unlike AI models themselves, you can own and adapt the harness.

  2. Tools are offered, not scripted.

    The harness describes capabilities and leaves when and how to call them to the model.

    Critically, the harness usually does not dictate when and how the AI model should use the tool.

    This decision to call the tool again based on its own assessment is the first clear example of the "loop".

  3. The loop is assess-act-reassess.

    The model can search again, write code, or compose output after judging intermediate results against the request.

  4. Translation shifts control to the user.

    Model choice and local ownership keep sessions and cost comparisons in one place instead of locked inside lab apps.

  5. Own and adapt like climbing kit.

    Minimal open harnesses invite custom prompts and extensions so people wield AI on their own hardware.

Read the original ↗Save to Sponge

Summarized with Sponge. Quotes are the author’s own words.

More from @bg

All readings →