Walk away. It gets stronger every cycle.
Drop in a self-running agent loop that does real work, scores itself on a grounded 0–1 reward, and rewrites its own next prompt to get measurably stronger on every ~2-minute cycle — no babysitting.
How it works
The exact pipeline, end to end.
How it actually works
Exactly what it does — and when.
A solo developer drops cycle.mjs into a Claude Code session at 11 PM, pointing it at a backlog of failing Jest tests. Every ~2 minutes the agent wakes, attempts a fix, runs the test suite, scores 0.0–1.0 based on tests passed, and tightens its own prompt to prioritize the remaining failures. By morning, 14 of 22 tests pass and the evolved prompt reads noticeably different from the original — now biased toward null-checking database returns first.
This vs the alternative
Why it's clearly worth it.
The shift it creates
- One model = one point of failure
- Hallucinations slip through unchecked
- No quality floor you can trust
- Runs unattended — it schedules its own wake-ups and keeps cycling while you work on something else.
- Improves itself measurably
- Drop-in and free
Use it to…
Real ways people put The Autonomous Mega-Cycle Kit to work.
Unattended coding marathons
Let the loop attempt, verify, and iterate on coding tasks across many cycles while you're away, returning measurably stronger attempts.
Self-rewriting prompt loops
Let the agent use its 0–1 reward to rewrite its own next prompt each cycle, surfacing which prompt strategies actually score higher.
Verified research-and-report runs
Set it to gather, verify, and score findings on a grounded 0–1 scale every ~2-min cycle, accumulating real results with no hand-holding.
What's inside
Who it's for
Agent builders & AI engineers
They want an honest, grounded reinforcement loop that makes autonomous agents improve without hand-editing prompts every run.
Claude Code power users
They need long-running, self-pacing tasks that keep working after they walk away from the terminal.
Automation & RL-curious developers
They want a readable, zero-dependency cycle.mjs + cycle-rl.mjs pair they can inspect, fork, and wire to their own reward signal.
Questions, answered
Ready to put The Autonomous Mega-Cycle Kit to work?
Free download · no account needed · yours forever