kolaente's Blog

Migrating a codebase to the newest shiny js framework, now fully automated

Published at 2025-09-05

We Put a Coding Agent in a While Loop and It Shipped 6 Repos Overnight

what’s the weirdest way we could use a coding agent?

Our answer: run Claude Code headlessly in a loop forever and see what happens.

Turns out, what happens is: you wake up to 1,000+ commits, six ported codebases, and a wonky little tool we’re calling RepoMirror.

And they did exactly that: put Claude Code in a loop until it was done porting one library to another programming language. Because that worked so well on the first try, they did it with 8 more repos.

The interesting pattern here is how they told Claude to continously update a todo file to make sure the agent would be able to continue when it started again in the loop. This is similar to what I have observed: Make a plan first, then let the agent implement the plan.

This whole thing is a wild ride but now I kind of want to try it.