Idea board
Open problems and opportunities around loops and goals. Pick one up, argue with it, or add your own.
The mechanism of a loop is commoditized: every harness has /goal and scheduling. The value is moving to what surrounds the loop. These are ideas collected from the research behind this guide, waiting for someone to try them. None of them are built here.
Built or tried one of these? Share how it went.
Six research tracks
| Track | What it covers |
|---|---|
| Loop control | Termination, convergence, iteration budgets, livelock detection, diminishing returns |
| Goal management | Persistent objectives, acceptance criteria, subgoals, dependencies, goal drift |
| State and memory | Checkpoints, compaction, cross-session persistence, provenance, retrieval, forgetting |
| Economics and routing | Model selection, budgets, caching, cheap evaluators, adaptive reasoning |
| Verification and trust | Independent reviewers, deterministic checks, safety, sandboxing, escalation |
| Orchestration | Scheduling, event triggers, sub-agents, durable execution, human intervention |
Ideas
Turn a vague intent ("make checkout robust") into a checkable contract: commands to run, files that must not change, an escalation clause and a budget. Hermes' "expand a one-line goal" and Anthropic's sprint contracts point this way. Could it be a standalone step that works for any harness?
Judges that inspect the system, not the transcript: re-run the tests, diff the repo, query the service, screenshot the UI. And they can't be edited by the agent they judge.
Predict when a loop has stopped making meaningful progress from cheap signals, such as repeated errors, unchanged diffs or flat metrics, and stop it before the budget runs out. See the AgentLoop paper.
Report tokens and dollars per goal and per successful outcome, not per session. Which goals are worth looping, and which burn money?
A standard way for a goal to say "not done, nothing to do until CI finishes", with sleep, backoff or wake-on-event, instead of re-reading 400k tokens every few seconds.
Every tool has its own /goal semantics. Could a goal (condition, judge, budget, state, history) be a file that moves between Claude Code, Codex, Hermes and Antigravity, or between a laptop and a cloud runner?
What is the smallest state needed to resume any loop after an arbitrary interruption? A spec for it, plus a test harness that kills loops at random and checks that they resume correctly.
Tools that notice when a standing goal (a heartbeat item, a routine) hasn't triggered anything useful in weeks, and propose retiring it. Plus provenance for every line in HEARTBEAT.md.
Code review designed for the volume loops produce: triage by risk, summaries tied to evidence (test runs, screenshots), and "what did the loop try and abandon?". Not just human-sized PRs, faster.
Change a goal's scope or criteria without clearing it and losing the judge's sense of progress.
Add an idea
Use "Improve this page" below to add an entry, or "Disagree? Discuss" to argue with one.