3 ms·
What I've learned in last week is that a harness is basically a while loop. In each iteration you make an LLM call, perform some work (e.g. tool call), augment
by esalman 1mo ago
What I've learned in last week is that a harness is basically a while loop.
In each iteration you make an LLM call, perform some work (e.g. tool call), augment the prompt (append or compact etc.)- not necessarily in that other- and continue.
Until an end condition is satisfied. Then you break out.
- visarga 1mo agoA pluggable loop with events and hooks.
- andai 1mo agoIt's two, actually: https://minimal-agent.com/ https://minimal-agent.com/ This example has one, but if you add a second one around their example code, and take user input, and there's a basic harness already.
- skohan 1mo agoThat's the most basic version of a harness. But a harness is really about automating context delivery to the LLM based on your use-case.