Open-source agent harness · v0.43

A compact coding harness built to extract more useful work from every model—through parallel agents, durable memory, real tools, and evidence you can inspect.

198+API providers
5,313sessions measured
29.3kmodeled tool tokens

01 / Mission

The model is the intuitive core.
The harness makes it useful.

Histh is trying to push the frontier of intelligence from the harness level. The next leaps come from scaling test-time compute with agent swarms, increasing speed through parallelism, and solving continual learning through memory.

01

Scale the work

Agent swarms turn test-time compute into parallel attempts, reviews, and verification instead of one long serial guess.

02

Keep the context

Persistent memory and compact sessions let the harness learn across turns without making every prompt carry the whole past.

03

Measure the result

Rollout traces, outcome checks, and reproducible benchmarks make capability visible—including the losses.

Everything is published in the open—research, tradeoffs, and the tooling for reproducing the numbers. The same system is designed to remain a practical daily coding tool.

02 / Resource efficiency

Small enough to multiply.

Swarms only scale when each worker is cheap. These measurements use the entire process tree—tool, every descendant, and the process group—not a hand-picked child.

Memory footprint

One live session · proportional set size (PSS) · lower is better

jcode156.4 MB1.5× more RAM
pi160.3 MB1.5× more RAM
claude code229.4 MB2.1× more RAM
codex237.5 MB2.2× more RAM
cursor agent247.4 MB2.3× more RAM
copilot cli340.8 MB3.2× more RAM
antigravity cli375.2 MB3.5× more RAM
opencode658.4 MB6.1× more RAM

Time to ready

Median spawn → input-responsive · ten interactive PTY launches

claude code0.57 s4.1× slower
cursor agent0.79 s5.7× slower
jcode0.95 s6.8× slower
codex4.18 s30.0× slower
pi5.29 s37.9× slower

opencode, copilot cli, antigravity cli never became input-ready within the 20 s timeout, so they have no bar.

Ten sessions at once

Total PSS with ten clients running · what a small swarm actually costs

jcode365.9 MB2.0× less RAM
codex562.2 MB1.3× less RAM
pi868.2 MB1.2× more RAM
copilot cli1,787.3 MB2.5× more RAM
claude code1,894.0 MB2.6× more RAM
cursor agent1,991.9 MB2.8× more RAM
antigravity cli2,177.9 MB3.0× more RAM
opencode5,249.1 MB7.3× more RAM

Produced by pnpm bench:memory. Ratios are against Histh’s own row.

03 / Tool output

Keep the tail.
Lose the noise.

Large tool output is capped before it reaches the model, while the full result stays retrievable. The model gets the useful edge of the output without paying for the same wall of text twice.

35% fewer modeled tokensthan the next-best harness across 3 large-output fixtures.

Model-input tokens per large-output turn

grep (6k hits) · build log (9k lines, error at end) · large file read (7k lines) · lower is better

histh · old45,000+54% · re-run
claude-code *45,000+54% · re-run
pi45,198+54% · retrieval
opencode45,213+54% · retrieval

Modeled from each tool’s truncation policy in its own source, not a live API run. Histh’s lead comes largely from a tighter first-turn cap (30 KB vs 50 KB); that is a deliberate frugality tradeoff, not a claim of strictly greater capability. Rows marked * are unverified from source.

04 / Harness bench

Six ways to be wrong in public.

Each instrument has its own runner, data artifact, and command. Nothing is curated by hand: a run appears here by being published, and a loss belongs in the headline just as much as a win.

02 · Agent comparison

Same bugs, same model, one meter.

Histh against other coding agents on SWE-bench Lite, graded by the official harness in Docker, with tokens and cost read off a recording proxy rather than self-reports.

pnpm bench:agents --isolate --trials 3 · bench:grade · bench:bundle

histh vs claude code

claude-haiku-4-5 · 6 instances · graded · open network · provisional

claude code83% · 5/61.6M tok/trial

Histh used 34% fewer tokens per trial than claude code.

histh vs claude code

MiniMax-M3 · 10 instances · graded · container

claude code83% · 25/301.1M tok/trial

Histh used 67% fewer tokens per trial than claude code.

histh vs claude code

claude-sonnet-5 · 10 instances · graded · open network · provisional

claude code83% · 25/30464k tok/trial

Histh used 5% fewer tokens per trial than claude code.

histh vs opencode

MiniMax-M3 · 10 instances · graded · container

opencode83% · 25/301.0M tok/trial

Histh used 71% fewer tokens per trial than opencode.

Full matrix, cost scatter, and every caveat

03 · Optimization task

Make a tested primitive faster.

The agent gets a working implementation, an exhaustive verifier, and a deterministic cost model. Score is doublings of improvement; time is recorded, never capped. Tasks are jcode bench v1, unmodified, so the numbers sit on the same axis as jcode’s published runs.

pnpm bench:jcode --agents freecode,claude-code

float-print

Print a float32 as the shortest decimal string that parses back to the same bits. This is the "shortest round-trip float printing" problem: an active research area (Grisu 2010, Ryu 2018, Dragonbox 2020), and the printing hot path of every serializer, REPL, and JSON encoder.

+0.00+1.00+2.00+3.00+4.00+5.00+6.000m5m10mhisth +5.77

Running best vs active time. Dashed = a harness gate was on for that run.

#harnessmodelfinalspeedupbestgradesactivedategate
—histhMiniMax-M3no score—+5.77214m2026-09-12failed

json-unescape

Decode JSON string escape sequences. This is the hot path of every JSON parser.

histh +0.31claude code +1.06

+0.00+0.50+1.000m10m20m30m40m50mclaude code +1.07histh +0.31

Running best vs active time. Dashed = a harness gate was on for that run.

#harnessmodelfinalspeedupbestgradesactivedategate
1claude codeMiniMax-M3+1.062.1×+1.071421m2026-09-12full
2histhMiniMax-M3+0.311.2×+0.316452m2026-09-12full

utf16-transcode

Convert UTF-16LE to UTF-8. This is the boundary between JavaScript, Windows, and Java on one side and the rest of the world on the other: every string crossing it pays this function.

histh +0.44

+0.00+0.500m30m60m1.5h2.0hhisth +0.44histh +0.39histh +0.36claude code +0.10

Running best vs active time. Dashed = a harness gate was on for that run.

#harnessmodelfinalspeedupbestgradesactivedategate
1histhMiniMax-M3+0.441.4×+0.441252.0h †2026-09-16full
2histhMiniMax-M3+0.391.3×+0.395635m2026-09-12full
3histh auto-pokeMiniMax-M3+0.001.0×+0.366030m2026-09-15full
—claude codeMiniMax-M3no score—+0.101323m2026-09-12failed

† hit the runner’s wall-clock cap; the submission as left was still graded.

Rank is by the official final grade on the submission as left; a run whose final verification failed has no score. Best is the highest sample the agent saw and can sit above the final. jcode’s variance note puts run-to-run spread near 0.1, so a smaller gap says nothing. Tasks are the public 1jehuang/jcode-bench.

04 · Confidence stepping

A jump to 100 is a claim.

The todo tool asks for a confidence per item, at assignment and again at completion. A low number at assignment is signal; a leap straight to 100 at the end is a claim. With the gate on, a spike sends the model back to verify.

pnpm bench:signals
370
items

assigned with a number, then completed

75
mean at assignment

the honest number

90
mean at completion

the claim

3%
spiked

11 rose 40+ in one step · 0 sent back to verify

71
rated only at completion

no prior assessment — a claim, not a step; excluded from the lines

Assignment → completion, per item

Each line is one todo item. Ideally confidence rises in steps as checks pass; a line that jumps straight to the top is the pattern the gate sends back.

00252550507575100100assignmentcompletion85 → 9590 → 9595 → 9585 → 9595 → 9595 → 10095 → 9595 → 9570 → 8560 → 7060 → 7065 → 7550 → 6050 → 6545 → 6050 → 7070 → 9560 → 9580 → 9570 → 8590 → 10085 → 9575 → 9575 → 9080 → 9080 → 9285 → 9080 → 8585 → 8080 → 7590 → 7590 → 8075 → 8080 → 9570 → 10080 → 8580 → 9085 → 9570 → 9095 → 9590 → 9070 → 9070 → 95100 → 100100 → 100100 → 10070 → 9070 → 8560 → 9050 → 8550 → 6050 → 6050 → 7050 → 7550 → 8095 → 9595 → 9595 → 9595 → 9580 → 8580 → 8580 → 8580 → 8580 → 8580 → 85100 → 1000 → 100 · spike90 → 9585 → 9580 → 9080 → 9580 → 95100 → 10060 → 8060 → 8570 → 8560 → 8550 → 8540 → 85 · spike50 → 8550 → 8050 → 8050 → 8550 → 8595 → 10095 → 10095 → 10095 → 10095 → 9595 → 9295 → 9595 → 9595 → 9595 → 9570 → 8580 → 8570 → 8085 → 9580 → 9095 → 9585 → 9595 → 9590 → 9580 → 8070 → 9060 → 9570 → 9280 → 9080 → 8070 → 8865 → 8560 → 9070 → 8570 → 9580 → 8585 → 9080 → 8880 → 8575 → 8095 → 95100 → 10070 → 7570 → 850 → 100 · spike50 → 7050 → 7050 → 90 · spike100 → 10050 → 90 · spike50 → 95 · spike90 → 9585 → 9580 → 9580 → 9590 → 9590 → 9090 → 9090 → 9590 → 9590 → 9590 → 10095 → 10085 → 10095 → 10050 → 7560 → 9590 → 10095 → 10080 → 10090 → 10095 → 10080 → 10080 → 8580 → 8550 → 95 · spike70 → 9590 → 9090 → 9070 → 9595 → 9595 → 9590 → 9585 → 9570 → 9570 → 9580 → 9560 → 9550 → 95 · spike50 → 95 · spike60 → 9560 → 9560 → 9560 → 9560 → 9570 → 7550 → 7055 → 7080 → 8580 → 9085 → 10085 → 10085 → 9595 → 10085 → 9595 → 10090 → 9090 → 9590 → 9090 → 8570 → 85100 → 10050 → 6040 → 85 · spike80 → 8580 → 90100 → 10060 → 7550 → 8050 → 7050 → 7550 → 7550 → 6550 → 8050 → 8550 → 8095 → 9580 → 9090 → 9580 → 9580 → 9580 → 9595 → 9550 → 95 · spike100 → 10080 → 8580 → 9080 → 9580 → 9590 → 9050 → 95 · spike85 → 9080 → 9290 → 9290 → 9590 → 9550 → 95 · spike85 → 9285 → 9080 → 9590 → 9885 → 9890 → 10050 → 750 → 85 · spike0 → 85 · spike0 → 95 · spike50 → 7050 → 7550 → 7050 → 8050 → 8585 → 9095 → 9595 → 9595 → 9590 → 9570 → 8070 → 8070 → 9070 → 9580 → 8580 → 8580 → 8575 → 8085 → 8580 → 9075 → 9070 → 9070 → 9260 → 9560 → 9585 → 9580 → 9580 → 8580 → 8580 → 8575 → 8075 → 8075 → 8080 → 10090 → 10085 → 10090 → 10090 → 10090 → 5090 → 10095 → 10090 → 10085 → 10090 → 10085 → 10095 → 10080 → 10070 → 10085 → 10070 → 10095 → 10080 → 10090 → 9095 → 10090 → 10085 → 10090 → 10090 → 100100 → 100100 → 10090 → 9090 → 9090 → 9080 → 9080 → 9085 → 9080 → 9080 → 9580 → 9085 → 8080 → 9580 → 9580 → 9580 → 9585 → 95100 → 10090 → 9595 → 9580 → 9595 → 9550 → 7050 → 8050 → 100 · spike50 → 5050 → 7040 → 85 · spike40 → 7540 → 80 · spike30 → 90 · spike95 → 9590 → 9090 → 9080 → 8580 → 9590 → 9090 → 9090 → 95100 → 100100 → 10095 → 10070 → 8570 → 8580 → 9575 → 10090 → 10050 → 95 · spike0 → 90 · spike0 → 100 · spike0 → 100 · spike90 → 9580 → 950 → 95 · spike0 → 95 · spike0 → 85 · spike95 → 9585 → 9085 → 9080 → 9095 → 9599 → 9980 → 9095 → 9585 → 9085 → 9590 → 9590 → 9550 → 7050 → 7040 → 7040 → 7540 → 7590 → 9085 → 9095 → 90
stepped spike (+40 in one step) gate sent it back

05 · Hill-climbable goals

Give the agent a metric to climb.

Every goal is rated 0–100 for how measurable its progress is. Below the gate, the harness asks for a reframe into something with a check to iterate against.

pnpm bench:signals
739
goals

first rating per item · 4219 with re-ratings · 153 sessions

87.6
mean

median 90

36%
below 90

268 asked to reframe · 0 nudged

0–100
observed range

Ratings by score

Only scores that received a submission are drawn. A goal rated below the gate has no metric to climb yet.

02550751000: 1 rating · below the gate40: 4 ratings · below the gate50: 6 ratings · below the gate55: 1 rating · below the gate60: 26 ratings · below the gate65: 6 ratings · below the gate70: 75 ratings · below the gate75: 21 ratings · below the gate80: 68 ratings · below the gate85: 60 ratings · below the gate90: 158 ratings95: 128 ratings100: 185 ratings185reframe below 90

06 · Auto-poke

Most failures are early exits.

When a turn ends with todo items open, the loop can poke the model back to work—capped, and stopped the moment a poke changes nothing. Off by default until these numbers say otherwise.

pnpm bench:signals · FREECODE_AUTO_POKE=1 to enable
53%
ended with open todos

202 of 382 sessions with a list

65
pokes fired

across 106 sessions with the gate on

83%
pokes followed by work

54 of 65 led to at least one tool call

58
items closed after a poke

completed on a later call

Sessions that ended with open todos

Lower is better · the before/after the default flip waits on

gate off52%144/276 ended open

A session counts as gate-on when a poke fired or the loop recorded a skip reason other than disabled. Sessions from before the gate existed count as off.

Why the loop did not poke

Every stop with a todo list present is recorded, poked or not

nothing open68list already complete
disabled49gate was off
all blocked29every open item blocked
no progress17unchanged since last poke
read only mode15read-only mode
cap reached1per-run cap hit
5,313
sessions scanned

rollout logs folded for the signal sections

7
optimisation runs

latest 2026-09-16

4
agent matchups

full matrix on /benchmark

2026-09-22
signals as of

since 2026-07-27

Every harness lives under bench/; the operator reference is HARNESS-BENCH.md at the repo root, and the design is in docs/specs/2026-09-12-harness-bench.md.

05 / Install

Start with one command.

Bring your provider, open a project, and let the harness handle the loop.

Read the documentation
curl -fsSL https://freecode.website/install | bash