Forge an agent that finishes the job.
Six steps to a complete execution architecture: verified loop, guardrails, memory, two-mode verification, orchestration — exported as a runnable bundle.
- 01Identity
- 02Loop profile
- 03Guardrails
- 04Human-to-loop
- 05Verification
- 06Orchestration
- ⟳Generate
01 · Agent identity
The bootstrap contract: who the agent is, what it may touch, and what it must never touch. Scope is locked at bootstrap — the agent cannot widen it mid-run.
02 · Loop profile
Three questions pick one of five loop profiles — and the profile changes how the runner executes: turn-by-turn runs one iteration per invocation, human-validated dry-runs until you --confirm, temporal waits on an event trigger, proactive keeps watching after success and re-enters on regression. Start simple; add autonomy only when the proof is reliable.
Answer the questions above — or pick a profile directly.
03 · Guardrails
Emergency brakes, enforced in the runner — not documented in prose. The loop must always be guaranteed to stop.
04 · Human-to-loop triggers
Hard brakes — iteration cap, stagnation, budgets — always stop the loop; stopping is guaranteed and not configurable. These toggles govern the advisory triggers the agent raises itself ([HTL:…] markers): enabled → stop and escalate; disabled → logged warning, loop continues.
05 · Verification criteria
“Goal verified?” is never one boolean. Deterministic criteria run a command and read the exit code. Soft criteria compare against a spec you validate once — after that the agent applies it autonomously.
06 · Orchestration
Strong coupling → one agent. Independence → fan-out. Dependence → sequential. Mixed → both. If decomposition benefit ≤ coordination cost, stay single.
Sub-agents
They coordinate through memory/exchange.md — a JSON-lines bus every agent reads and writes. A failing sub-agent logs to memory_temp.md and re-enters the loop (capped), then HTL.