Plug in Harel
Harel connects to your merge step. Before anything lands, your factory asks Harel and gets an answer with the evidence.
- Your agents, your models, your stack
- Checks your agents never see or edit
- Every failure comes back with a fix brief
Software factories turn a spec into a whole product, and their agents write the tests that grade it. Harel plugs into the factory and checks every change against what the software actually does.
Illustration: a software factory moving changes from spec through its L3 architect, L2 planner and L1 builder agents to merge. Every stage shows a green tick, yet what ships is unverified and often broken. Under the HAREL verifier lens, each stage gains a check: a contract drawn from the spec, a plan check, a ticket check, a watch on what the software really did, a verdict and a fix brief. One change, billing marks invoice paid, is caught: its tests passed but the invoice stayed pending.
The factory's tests check what the code said. Harel checks what the software did, against a contract drawn from the spec. This is the billing change the lens caught.
“When a payment goes through, the invoice is saved as paid.”
From the spec · hidden from L1wanted paidsaw pendingFAIL · not mergedfix brief → L1
Until now, AI wrote code next to a person who checked it. Factories build whole products from a spec, writing the code and its tests in hours, and nobody reads either one. Verification stops being a step and becomes the job.
Harel connects to your merge step. Before anything lands, your factory asks Harel and gets an answer with the evidence.
No factory yet? Write what you want built. Our factory plans and builds it, and Harel verifies every merge on the way to a working product.
tasks passed the agent’s own tests and were still broken. Harel named what broke and the step where it broke.
We retrained the agents on their work. They passed more of their tests, but no more of their work actually worked. Harel’s gate caught it and kept the old version.
deliberately broken builds caught, and every correct one passed. An AI reviewer reading the same code gave nearly all of them the same score.
In the proof of concept, Harel’s verdicts were used to retrain the agents. The lesson was that the check matters more than the training. So Harel now sits at the factory’s merge gate: no retraining, and it works with any factory.
See the published runs →An agent's guard is the test suite it wrote itself. It learns what right means by reading its own code, so its tests share the code's blind spots, and it works until they go green.
A factory is the same agents with more control and a bigger budget. If its only check is its own tests, it ships broken software faster, and pays to build it twice.
“When a measure becomes a target, it ceases to be a good measure.”
Marilyn Strathern, after Goodhart · coverage became the target
Harel sits beside your factory. It never writes the code. It decides what merges.
Never shown to the factory's agents, so they can't write code to pass it.
No. Harel is a verification layer any software factory can call before it merges. Our own factory is there for teams that do not have one yet.
In our proof of concept, an AI reviewer reading the code gave broken and correct builds nearly the same score. Harel uses AI wherever judgment helps, but a pass or a fail comes from what the software actually did when it ran.
They never see them. The checks are drawn from your spec and live only inside Harel, so the agents cannot read, edit or train against them.
A spec, and a way for your factory to ask Harel before it merges. Harel runs each change on throwaway infrastructure. It does not need your production data.
Services in TypeScript or Python on Postgres today, with queues, caches and outside calls watched too. Tell us yours when you book a demo.
It is a homage to David Harel, whose statecharts gave complex behaviour a precise, checkable shape. Harel models every system it verifies that way.