AI Loop Library
The loop must know when to stop.
AI loop
nounA bounded operating cycle where an AI system acts, checks evidence, and decides whether to continue, stop, or ask for approval.
The evidence and exit are named before the work repeats.
Full definition02 / Browse by work
Start with the job,
not the tool.
Every pattern includes a trigger, allowed actions, verifier, stop condition, and approval boundary. Pick a lane, then adapt the protocol to your system.
Ship code that survives contact with reality.
CI repair, browser verification, repo readiness, flaky tests, and scoped release loops.
Explore engineering ↗ BMove from source to proof to publish.
Claim checks, buyer research, rank experiments, and learning loops.
Explore content ↗ CKeep recurring work moving.
Handoffs, production sweeps, tool health, and milestone control.
Explore operations ↗ DReplace "looks good" with evidence.
Adversarial review, regression checks, approval gates, and red teams.
Explore evaluation ↗ ECapture knowledge that stays useful.
Research artifacts, ingestion QA, memory cleanup, and freshness.
Explore knowledge ↗ FClose invisible obligations.
Inbox triage, calendar promises, follow-ups, refunds, and renewals.
Explore personal ops ↗03 / See the difference
One round.
Visible proof.
Run a small local simulation to see how an agent moves from a trigger to a defensible stop.
A browser-only demonstration. It does not call an agent or touch a repository.
- Awaiting trigger...
04 / Agent access
Give your agent the field manual.
The read-only MCP server can browse the catalog, shortlist patterns for a goal, critique a draft loop, and render a runnable protocol.
Third-party quality checkmkdir -p ~/.ai-loop-library
curl -fsSL https://ailooplibrary.com/mcp/server.py \
-o ~/.ai-loop-library/server.py
claude mcp add ai-loop-library -- \
python3 ~/.ai-loop-library/server.pyRead-only · stdlib only · no account required
05 / Built to be referenced
Readable by people.
Legible to machines.
The library exposes plain definitions, stable loop pages, structured data, and raw source files. No signup wall stands between a reader and the evidence.
FIELD NOTE / 006
A good agent needs more than a prompt.
Give it a boundary, a verifier, and an exit.
Find your first loop