Scale the work
Agent swarms turn test-time compute into parallel attempts, reviews, and verification instead of one long serial guess.
Histh!GitHubOpen-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.
01 / Mission
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.
Agent swarms turn test-time compute into parallel attempts, reviews, and verification instead of one long serial guess.
Persistent memory and compact sessions let the harness learn across turns without making every prompt carry the whole past.
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
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.
One live session · proportional set size (PSS) · lower is better
Median spawn → input-responsive · ten interactive PTY launches
opencode, copilot cli, antigravity cli never became input-ready within the 20 s timeout, so they have no bar.
Total PSS with ten clients running · what a small swarm actually costs
Produced by pnpm bench:memory. Ratios are against Histh’s own row.
03 / Tool output
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.
grep (6k hits) · build log (9k lines, error at end) · large file read (7k lines) · lower is better
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
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
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:bundleclaude-haiku-4-5 · 6 instances · graded · open network · provisional
Histh used 34% fewer tokens per trial than claude code.
MiniMax-M3 · 10 instances · graded · container
Histh used 67% fewer tokens per trial than claude code.
claude-sonnet-5 · 10 instances · graded · open network · provisional
Histh used 5% fewer tokens per trial than claude code.
MiniMax-M3 · 10 instances · graded · container
Histh used 71% fewer tokens per trial than opencode.
03 · Optimization task
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-codePrint 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.
Running best vs active time. Dashed = a harness gate was on for that run.
| # | harness | model | final | speedup | best | grades | active | date | gate |
|---|---|---|---|---|---|---|---|---|---|
| — | histh | MiniMax-M3 | no score | — | +5.77 | 2 | 14m | 2026-09-12 | failed |
Decode JSON string escape sequences. This is the hot path of every JSON parser.
histh +0.31claude code +1.06
Running best vs active time. Dashed = a harness gate was on for that run.
| # | harness | model | final | speedup | best | grades | active | date | gate |
|---|---|---|---|---|---|---|---|---|---|
| 1 | claude code | MiniMax-M3 | +1.06 | 2.1× | +1.07 | 14 | 21m | 2026-09-12 | full |
| 2 | histh | MiniMax-M3 | +0.31 | 1.2× | +0.31 | 64 | 52m | 2026-09-12 | full |
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
Running best vs active time. Dashed = a harness gate was on for that run.
| # | harness | model | final | speedup | best | grades | active | date | gate |
|---|---|---|---|---|---|---|---|---|---|
| 1 | histh | MiniMax-M3 | +0.44 | 1.4× | +0.44 | 125 | 2.0h † | 2026-09-16 | full |
| 2 | histh | MiniMax-M3 | +0.39 | 1.3× | +0.39 | 56 | 35m | 2026-09-12 | full |
| 3 | histh auto-poke | MiniMax-M3 | +0.00 | 1.0× | +0.36 | 60 | 30m | 2026-09-15 | full |
| — | claude code | MiniMax-M3 | no score | — | +0.10 | 13 | 23m | 2026-09-12 | failed |
† 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
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:signalsassigned with a number, then completed
the honest number
the claim
11 rose 40+ in one step · 0 sent back to verify
no prior assessment — a claim, not a step; excluded from the lines
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.
05 · Hill-climbable goals
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:signalsfirst rating per item · 4219 with re-ratings · 153 sessions
median 90
268 asked to reframe · 0 nudged
Only scores that received a submission are drawn. A goal rated below the gate has no metric to climb yet.
06 · Auto-poke
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 enable202 of 382 sessions with a list
across 106 sessions with the gate on
54 of 65 led to at least one tool call
completed on a later call
Lower is better · the before/after the default flip waits on
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.
Every stop with a todo list present is recorded, poked or not
rollout logs folded for the signal sections
latest 2026-09-16
full matrix on /benchmark
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
Bring your provider, open a project, and let the harness handle the loop.
Read the documentationcurl -fsSL https://freecode.website/install | bash