Skip to Content
loop.fun
Remedies

Remedies we're exploring

Three proposals for problems this guide documents: a control plane for loop side effects, off-peak token routing and loop-native reporting. Not products.

This section is speculative

These pages are the maintainers of this guide thinking out loud. Nothing here is built, and nothing is for sale. The market notes come from web research done in November 2026, most of it secondary reporting and vendor material, and they'll drift quickly. Read them as a discussion draft, and tell us where we're wrong.

Why this section exists

The shortcomings section maps what goes wrong with loops. The idea board lists research directions. This section asks a narrower, more practical question:

Which of these problems could a small, general-purpose service take off a loop builder's plate, without knowing anything about what the loop is for?

"General-purpose" is the constraint that matters. A sales loop, a coding loop and an inbox-triage loop have nothing in common at the level of their goals. They have a lot in common at the level of their plumbing: they all call models, call tools with side effects, retry, wait, spend money and finish (or don't). That plumbing is what these proposals target.

The problems, restated

What we keep seeingWhere the guide documents itRemedy
Every loop rebuilds credentials, retries, rate limits, budgets and state storage for each external tool it touches. A re-run iteration can repeat a side effect (a second email, a second call).Reliability, SecurityA control plane for loop side effects
Loops pay interactive prices for work that could wait hours, and polling while waiting costs more still.Cost, PacingOff-peak tokens and arbitrage
Nobody can say what a goal cost, whether it was really achieved, or which iterations were wasted. Loop state lives where nobody can inspect it.Reliability and observability, VerificationLoop-native reporting

Three remedies

How they fit together

The three ideas share one premise: if every model call and every tool call a loop makes passes through one place, and each call is tagged with the goal and iteration it belongs to, then the other features become cheap:

Loop iterationOne egress (tagged by goal + iteration)Models and toolsEvent logPer-goal reports
Routing to a cheaper tier is a policy at the egress. Per-goal cost and inefficiency detection are queries over its event log.

So the sensible order is probably:

  1. Tag and log. A thin proxy that changes nothing about behavior, only attaches goal, run and iteration ids and records what happened. This alone answers "what did that goal cost?"
  2. Report. Inefficiency detectors and achievement triage run over that log. This is the part loop builders can't easily get anywhere else.
  3. Control. Budgets, circuit breakers and idempotency for side effects, once the log shows where the money and the damage actually go.
  4. Route. Deadline-aware routing to flex, batch and off-peak tiers, with savings reported per goal.

What we're deliberately not proposing

  • Another harness or agent framework. Every vendor already ships one. These services should sit beside Claude Code, Codex, Hermes or a hand-rolled loop, not replace them.
  • Use-case agents. No "sales loop" or "support loop". Use-case-neutral or nothing.
  • Reselling anyone's subscription quota. See the note on idle capacity.

Tell us we're wrong

Each page has a "Disagree? Discuss" link that opens a GitHub issue. The most useful feedback is a field report saying "we built this ourselves, here's what it took" or "we tried, and here's why it didn't matter".

loop.fun

Patterns, hints and tools for designing the loops that keep agents working, and for widening the set of loops you can think of.

© 2026 loop.fun · CC BY 4.0

On this page