All chaptersChapter 1 of 3
Level

01Your message

What happens to your message.

You type one sentence. This is what actually happens next: the plan, the tools, the checks, and an answer that comes back with evidence instead of confidence.

This chapter is the heartbeat: every other part of the story plugs into this loop.

AThe idea   Introductory

Agents do not answer once. They try, check, fix, and repeat until the result holds up.

A first answer is a draft, not a decision. The loop is how a draft becomes something you can trust. Think of the first stress number a solver returns on a fresh part: nobody signs that off untouched, and neither do the agents.

Like a careful engineer who never trusts the first number. Measure, check, adjust, and measure again.

THE LOOP try, check, fix, repeatTryproduce a resultCheckis it right?Fixrepair what failedRepeatuntil it holdsthe loop
Try, check, repeat. A result is never final on the first pass. It is checked, fixed, and re-checked until it holds.
  1. Try. The agent produces a first result: a design, a number, a piece of code.
  2. Check. It tests whether the result is actually right, not just plausible.
  3. Fix and repeat. If something is off, it repairs and runs again, until the result holds.

ExYour message, step by step

  1. You say it in plain words. "Make this bracket 20 percent lighter." That one sentence is the whole brief.
  2. A lead agent routes it. The orchestrator splits the goal and hands each piece to the right specialist as a short, self-contained work order.
  3. Each specialist runs its own small cycle. Think, act with a real tool, look at what actually came back, adjust.
  4. Nothing returns unchecked. The result is verified and judged, comes back to you with evidence, and the lesson lands in memory for next time.

In plain terms

A result you can defend, because it survived being checked, not because it looked convincing.

BHow it works   Intermediate

Every result runs a gauntlet: verify it, find the cause of any gap, judge it, then accept, iterate, or escalate.

Between a raw result and a real decision sits a short, repeatable process that every result goes through.

EVERY RESULT, A DECISION verify, root-cause, judgeResultone outputVerifyre-checkRoot-causewhy the gapJudgescore + decideAcceptIterateEscalateoutcome written back to memory
Every result becomes a decision. A result is verified, root-caused, and judged; the outcome is accept, iterate, or escalate, and it feeds back into memory.
  1. Verify. Re-run and confirm the result is stable and consistent.
  2. Root-cause. If there is a gap, find why, not just that it is wrong.
  3. Judge. Score the result against clear criteria.
  4. Route. Accept it, loop back to iterate, or escalate to a human.

Verify

re-check
Re-run and confirm the result is stable and consistent before trusting it. For example, run the same load case twice and flag any drift between the two numbers.

Root-cause

diagnose
When something is off, find why, not just that it is wrong. For example, trace a bad stress value back to a boundary condition applied on the wrong face.

Judge

score + decide
Score the result against clear criteria and decide what happens next. For example, score a candidate part against the spec limits before anything downstream uses it.

Outcomes

accept / iterate / escalate
Good results are accepted, weak ones loop back, hard ones go to a human. For example, a converged run is accepted while a marginal one loops straight back with notes.

ExWorked example

A simulation result comes back

A solver returns a stress value. Verify re-runs it at a finer mesh to confirm it is converged. Root-cause checks the setup if it looks off. The judge scores it against the spec. Only then is it accepted, sent back to iterate, or escalated.

verifyroot-causejudgememory

ExAnother angle

A resonator lands off target

A frequency sweep on a resonator comes back 3 percent off its target. Verify re-runs the sweep and confirms the offset is real, not solver noise. Root-cause digs in and finds an anchor stiffness taken from an outdated material card. The fix goes in, the sweep runs again, and the judge accepts the corrected number only once it holds on the re-check. The correction is written back to memory, so the stale card never bites twice.

re-rundiagnosere-checkmemory

What it gives you

Nothing ships on a single unchecked result. Weak results loop back automatically.

CIn depth   Advanced

The loop is grounded and remembered: root-cause pulls evidence through Agentic RAG, the judge is calibrated, and every outcome is written back to memory.

Two things make the loop compound over time: it is grounded in real evidence, and it remembers what it learns.

GROUNDED AND REMEMBERED retrieve, judge, write backAgentic RAGevidencegroundsResultone outputVerifyre-checkRoot-causewhy the gapJudgecalibratedAcceptIterateEscalateHumanMemorydecisions + evidencewritten to memoryreused next run
A grounded, remembered loop. Root-cause is grounded by retrieval, the judge is calibrated, outcomes are written to memory, and only genuinely hard cases escalate to a human.

Agentic RAG grounding

retrieve evidence
Root-cause is backed by retrieved facts from your data, not guesswork.

Calibrated judge

trustworthy scores
The judge is tuned so its scores line up with expert judgement.

Memory write-back

learn once
Decisions and evidence are stored so the same issue is not re-solved later.

Escalation

ask a human
Truly ambiguous or high-risk cases are handed to a person with the evidence attached.

ExUnder the hood

What one pass of the loop writes down

Every pass ends in a small decision record: the verdict, the reason, the evidence behind it, and the lesson worth keeping. That record is what gets written back to memory, so the next run starts from the conclusion instead of rediscovering it.

verdict: iterate
reason: stress margin too thin at the fillet
evidence: two reruns agree, retrieval note r14
memory: write lesson "widen the fillet before thinning the web"

Every result
is verified and judged before it counts, the final part included.
Grounded
root-cause is backed by retrieved evidence, not guesswork, so every fix targets a cause.
Written back
each outcome updates memory, so mistakes are not repeated on the next part.

What this buys you: quality becomes a property of the process, not of any single answer, so the system gets more reliable the longer it runs. When this goes wrong you would see a flattering result sail through on its first pass; the loop catches it because verify re-runs the case before the judge is even allowed to score it.

Why it matters

The loop compounds. Each pass leaves the system better grounded and less likely to repeat a mistake.

Try it

1

Watch one message run the loop.

You typed one sentence. Step through what the agents actually do with it.

Your message"Make this bracket 20 percent lighter, and it still has to survive the load case."
PlanA lead agent reads the goal, splits it, and hands the design work to the right specialist.
ActThe specialist tries a lighter shape and runs the real load case with the solver, no guessing.
ObserveThe first try hits the weight target but fails at the fillet: the stress runs too high.
Fix + verifyIt thickens the fillet, re-runs, and confirms the fix holds on an independent check.
Judge + answerA judge signs it off. You get a lighter bracket that passes the load case, with the evidence attached.

The first answer is a draft.

A chatbot would have stopped at the lighter shape and called it done. The loop is the difference: it ran the real check, caught the failure at the fillet, fixed it, and only then let a judge accept it. That is why the number you get back is one you can defend.

The loop runs on what the agent can hold in mind. Next: what it remembers, and how.