Everything
The oldest good idea
Iterative refinement is not a new concept. Toyota formalized it in the 1950s as kaizen — continuous improvement through small, deliberate changes. A worker on the assembly line notices a bolt that's hard to reach. They move it. Tomorrow, someone notices the wrench slips at that angle. They change the wrench. Each change is tiny. The accumulation is Toyota.
The principle is older than the word. Evolution is iterative refinement. Peer review is iterative refinement. Editing a draft is iterative refinement. Every complex system that works was shaped by a loop: evaluate, identify one flaw, fix it, repeat.
The problem was always the cost of a pass.
The pass was too expensive
Every round of refinement requires an intelligent evaluator. Someone who can read the artifact, hold the standard in their head, identify the highest-priority flaw, and make a precise change without breaking what already works. For most of history, that evaluator was a human being charging by the hour.
A lawyer reviews a contract. She finds an ambiguous liability clause and tightens it. That's one pass. It took forty-five minutes and cost the client six hundred dollars. The contract is better, but is it done? She could do ten more passes. Nobody can afford ten more passes.
So we settled. We did one pass, maybe two. We shipped documents that were good enough. We accepted that the gap between "good enough" and "as good as it could be" was a luxury reserved for billion-dollar products — space shuttles, pharmaceuticals, semiconductor fabs — things where the cost of imperfection exceeded the cost of another pass.
Kaizen was always right. It was just too expensive to run.
Gradient descent: proof it works
Then something happened that proved, at planetary scale, that iterative refinement is the most powerful optimization process we know of.
We built artificial intelligence.
The core of every modern AI system is gradient descent — an iterative refinement loop in its purest form. Read the input. Evaluate the output against a loss function. Compute a small adjustment. Apply it. Repeat. Billions of times.
No single gradient update is interesting. No single weight adjustment produces insight. But run the loop long enough, with a clear enough loss function, and you get a system that can write legal briefs, debug code, and explain quantum mechanics in plain English.
The most consequential technology of the 21st century was produced by iterative refinement running on cheap compute.
Compute changes the economics
Here's the part most people haven't internalized yet.
The same compute that made gradient descent viable — the thing that turned a 1950s optimization algorithm into a world-changing technology — also makes every other refinement loop viable.
A single pass of intelligent evaluation on a ten-page contract now costs pennies, not hundreds of dollars. It takes seconds, not forty-five minutes. And the evaluator doesn't get tired, doesn't lose context, doesn't forget what it fixed in round three when it's working on round eight.
This means you can run ten passes. Twenty. You can run the loop until the evaluator can't find anything left to improve — and you can do it for less than the cost of a coffee.
> 10 times onn contract.md "tighten — close loopholes, remove ambiguity"
a2c3d4e define "Deliverables" — used but never defined
b4d5e6f add liability cap tied to contract value
c6e7f8a replace "reasonable efforts" with "commercially reasonable efforts"
d8f9a0b add mutual indemnification — was one-sided
e0a1b2c specify governing law and dispute resolution venue
f2b3c4d clarify IP assignment — pre-existing vs work product
DONE after 6 rounds
The loop ran six times and stopped. Not because it hit a budget limit — because there was nothing left to fix against the criteria. That's convergence. The same thing gradient descent does when it reaches a minimum.
The Cambrian explosion
When a fundamental constraint is removed, you don't get incremental improvement. You get a Cambrian explosion.
When compute removed the constraint on gradient descent, we didn't get slightly better statistics. We got systems that pass the bar exam. When sequencing removed the constraint on reading genomes, we didn't get slightly better biology. We got CRISPR, mRNA vaccines, and synthetic biology.
Compute is about to remove the constraint on iterative refinement for everything.
Think about every artifact in your organization that was shipped at "good enough" because another pass was too expensive. Contracts with ambiguous clauses. Compliance docs that almost meet the standard. Configuration files that work but aren't optimal. Code that runs but has technical debt baked in from day one. Proposals that could have been sharper. Protocols that could have been tighter.
Now imagine every one of those artifacts going through ten, twenty, fifty passes of intelligent refinement — each pass informed by a clear definition of "better" — for a total cost measured in cents.
That's not a better tool. That's a new category of capability. It's the difference between hand-copying manuscripts and the printing press. The underlying act is the same — putting words on pages — but the economics change so dramatically that entirely new things become possible.
The loop is the product
Most AI tools are built around a single interaction. You give it a prompt, it gives you an output. If the output isn't right, you prompt again. You are the loop. You are doing the evaluation, the change identification, and the re-prompting. You are the gradient descent, running manually.
That's the wrong architecture.
The right architecture is the one that already proved it can build intelligence: an automated loop with a loss function, running until convergence. The human defines "better." The machine runs the loop. The human reviews the trail.
This is what OnnAI builds. Not a chatbot. Not a prompt-and-pray interface. A refinement loop — with a clear loss function (the persona), a controlled set of capabilities (the tool allowlist), a memory of every change and why it was made (the intent trail), and a termination condition (DONE when nothing is left to improve).
The same architecture, whether you're refining a clinical trial protocol against ICH E6(R3), tightening a government contract against FAR compliance, or optimizing a Terraform configuration for security posture.
What happens next
The organizations that figure this out first will have a structural advantage that compounds. Every document they produce will be measurably better than their competitors' documents. Every contract will be tighter. Every protocol will be more complete. Every config will be more secure.
Not because they hired more lawyers or more engineers. Because they run more passes.
Gradient descent turned a simple optimization algorithm into the most consequential technology of our era. The same loop — read, evaluate, change, repeat — applied to every text artifact in every organization, at the speed and cost of compute, is going to produce an explosion of quality that we don't have a precedent for.
OnnAI is 30 composable tools for building refinement loops in any domain.
Get the toolkit — $2,995