StackMap
Subscribe
Explore / loopy
Forward-Future

loopy

A public library of reusable AI-agent loops plus Loopy, an installable skill that helps agents find, audit, adapt, run and publish loops from the live catalog.

2,724 235 JavaScript MITupdated 9 days ago
Curator's take

The insight: most agent work is a repeatable loop someone already designed — so catalog them. The website is browsable by humans AND agents (llms.txt, JSON catalog, agent guide), and the Loopy skill turns your agent into a loop librarian: discover, audit, repair, debrief, publish. Genuinely useful for not reinventing the same research/review/refactor loop weekly. NOT a runtime — loops are prompts and procedure, not executable infrastructure; quality varies by contributor, so audit before you adopt (the skill's audit step exists for a reason).

Mapped by ShipWithAI editors · links verified
README.md

Loop Library

Loop Library has two separate but related parts in this repository:

Part What it is Where it lives
Loop Library website The public catalog where people and agents can browse published loops, read them, and copy their prompts. No installation is required. Live website · all website code under loop-library/ (shell in loop-library/site/, database and rendering in loop-library/worker/)
Loopy skill An optional installable guide that helps an AI agent discover, find, audit, repair, craft, run, debrief, save, or prepare loops for publication. It uses the website's live catalog when recommending or publishing loops. source in skills/loopy/

The website is the library; Loopy is a companion way to work with it. You can browse or give an agent the website without installing Loopy. Installing Loopy adds the guided workflow, but it does not install or host the website.

Agents that do not have Loopy can use the published agent guide, agent instructions, JSON catalog, or plain-text catalog directly.

Each published loop tells an agent what to do, how to check its work, what to try next, and when to stop.

What is a loop?

Most prompts ask an agent to do something once. A loop gives the agent a way to learn from the result and take the next useful step.

For example, a one-shot prompt might say:

Make this website faster.

A loop adds the feedback that makes the work repeatable:

Find the slowest page, make one focused improvement, and measure it again. Keep the change only if it helps. Repeat until every page meets the target or another pass stops producing a meaningful improvement.

Think of a loop as a playbook with feedback built in. It is useful when the first attempt probably will not be the final answer, such as fixing production errors, improving test coverage, reviewing a product, or keeping documentation current.

A good loop answers four simple questions:

  • What is the agent trying to accomplish?
  • How will it know whether the latest attempt worked?
  • What should it do with what it learned?
  • When should it finish or ask for help?

Why loops are powerful

AI agents can move quickly, but an open-ended instruction like "keep improving this" leaves too much room for guessing. A loop gives the work a clear finish line and a consistent way to judge progress.

That makes the work easier to trust and easier to repeat. The agent can compare results instead of relying on confidence, keep improvements instead of merely making changes, and stop when it succeeds or stops making progress. The same loop can also be reused by another person or agent without rebuilding the workflow from scratch.

Loops are not permission for an agent to run forever. The best ones are deliberately bounded. They include a real check, a clear stopping point, and a moment to hand control back to a person when judgment or approval is needed.

What Loopy does

Loopy gives your agent direct access to the ideas in the library. You can use it to:

  • Discover repeated work in a codebase, coding threads, or both and turn the strongest qualified candidate into a loop.
  • Find a published loop that fits what you are trying to get done.
  • Audit an existing loop for weak checks, unsafe actions, or unclear stopping behavior, then repair only the material problems.
  • Adapt a useful loop to your tools, limits, and definition of success.
  • Interview you about what you want to accomplish and what success looks like, then craft a new loop through a short, plain-language conversation.
  • Run a loop in bounded passes and r

Continue your stack

What teams reach for next — and why each earns a place beside loopy. Ranked by curator confidence.