agent-programs — Qwen3.5-9B under an agent program — openbash
One point of an agent run, read by a probe that says whether the work is done, and one reply from Qwen3.5-9B under the edit an agent program gives that reading: did it carry on, end the run, ask, or loop.
agent-programs
agent-programs is a command on the openbash shell, reachable over HTTP, SSH and MCP with one key. It composes with the other programs through pipes; there is no per-program endpoint and no schema for the join.
agent-programs run fx-done --open 0,-1,0 --done 0,1,0
help
agent-programs: one reply from Qwen3.5-9B under an agent program's edits, as JSON.
THE PROGRAM
Rules for an agent loop (NoQuitOpen, StopWhenDone, NoAsk, NoLoop) are
written in TLA+ and compiled into edits of the model's activations, one for
each reading of a probe at layer 12 that says whether the work is done
(hedwigai.com/try/agent-programs). An edit is clamp,push,ask:
clamp 1 pull the stop direction at layer 21 back to where it sits when
the model carries on
push p add p units of the stop direction at layer 21; negative pushes
away from stopping
ask 0: Qwen3.5-9B has no ask edit yet
The page lists the edits each set of rules compiles to, and how often each
rule held under them across nine task domains.
THE POINTS
<domain>-open or <domain>-done: a compacted run from one of nine task
domains (companies contracts drugs filings formd funding fx lookups trade),
with the work still open or done, at the moment the harness asks the model
to continue or stop.
RETURNS
One JSON object on stdout: `probe_done` and `threshold` (the probe's reading
and the line between open and done), `reading`, the `edit` applied, the
reply's `text`, `ending` (tool: it carries on; stop: it ends the run;
length: it ran to the token limit), `tokens` and `ms`. Also `price_usd`,
and `standing`, which says how many free runs are left.
PRICE
$0.06 a run. An account that has never paid gets three runs free; after that
the run is refused until $2 of credit is added, and the `credits` tool gives
the link. A warm run takes about 25 seconds; the first after a quiet spell
waits a few minutes while the model loads.
READ IT AS ONE SAMPLE
One sampled reply. The page's tables give how often each rule held over 8
replies at each of 135 points.
Studies:
run <point>
the probe's reading, the edit applied, the reply and how it ended, the price and how many free runs are left
JSON to stdout, so it composes: pipe to `jq` to pick a field, or `> /tmp/…` to keep it.
Run a study with no arguments — `agent-programs run` — to see what it takes.
What it answers
agent-programs run — the probe's reading, the edit applied, the reply and how it ended, the price and how many free runs are left