< Will Bosler

Agent Harness Feedback ยท

One of the most impactful decisions in designing an agent harness is how its feedback is calibrated. We can go further and reconceptualise the harness itself, not as scaffolding for execution, but as a vehicle for providing feedback to compute.

This framing allows us to draw on a large body of existing research on providing feedback to people, particularly in education. Effective feedback helps the learner answer three questions: Where am I going? How am I going? Where to next? An agent operating autonomously requires answers to the same three questions.

0:03 / 0:05

Each question maps to a type of feedback. At any point, we have an actual state. This can be compared against two references: the target state we are trying to reach and the prior state, what we have just attempted.

Feed up compares the actual state with the target state and answers where we are going. It communicates the ultimate goal and disambiguates the end state. Feed forward answers where to next. The goal is typically distant, so the agent needs to know what incremental progress it can make towards it. Feed back compares the actual state with the prior state and answers how we are going, that is, what was just attempted and what was the outcome.

0:02 / 0:25

Together, these keep a long running task on track and progressing, rather than caught in loops. Remove any one and performance can collapse. All three are required, as is the interplay between them.

The same research also identifies what makes feedback effective. Each principle is downstream of a single goal: reduce ambiguity at every point in the execution lifecycle. The agent is always determining what to do next, and the harness should provide the means to resolve this.

0:09 / 0:12

Consider a rubric score from an LLM judge. A number alone provides minimal insight into the current state or how to improve it. Adding the criteria, and comments on where the output fell short, makes the same feedback significantly more useful. Prompt optimisers such as GEPA operate on this basis. Their reflection step exists because a written critique is more valuable than a score.

These types are not mutually exclusive. Feedback on what went wrong often doubles as feed forward on what to attempt next. They are best treated as a collective mechanism rather than distinct topics.

Much of this is already visible in the best performing harnesses, such as Claude Code. Formalising it enables us to design for it deliberately.

An autonomous agent has no teacher, so the harness must supply all three. Feed up is the goal: a /goal command, acceptance checks and success criteria that remain accessible to the agent and indicate when it has finished.

0:03 / 0:27

Feed back is provided by every tool we design. Each should be considered not only for what it executes, but for how its result informs the agent. A harness for UI development without a tool to screenshot the browser leaves the agent blind to its current state. An agent that can run a script and observe whether it works is in a very different position to one that writes it once and never checks.

Feed forward is the execution loop as a whole. Everything the harness does should move the agent towards the next step. This can be as simple as a scratchpad for tracking progress against the goal's criteria, so the model no longer spends its own compute determining what comes next. For open ended tasks that require discovery, this can remain loose. In a specific vertical where the process is well understood, approximating a state machine, that flow should be encoded in the harness, removing ambiguity about what to do next.

With all three in the loop, the agent can operate autonomously towards a task, rather than stalling or cycling through poor attempts.

0:03 / 0:04

Harnesses should therefore be designed as feedback engines, systems that enable the agent to answer where it is going, how it is going and where to next. Done well, this yields significantly more performance from our agents.