Show HN: Continuous Claude – run Claude Code in a loop
170 points| anandchowdhary | 3 months ago |github.com
This avoids the typical stateless one-shot pattern of current coding agents and enables multi-step changes without losing intermediate reasoning, test failures, or partial progress.
The tool is useful for tasks that require many small, serial modifications: increasing test coverage, large refactors, dependency upgrades guided by release notes, or framework migrations.
Blog post about this: https://anandchowdhary.com/blog/2025/running-claude-code-in-...
apapalns|3 months ago
I had a coworker do this with windsurf + manual driving awhile back and it was an absolute mess. Awful tests that were unmaintainable and next to useless (too much mocking, testing that the code “works the way it was written”, etc.). Writing a useful test suite is one of the most important parts of a codebase and requires careful deliberate thought. Without deep understanding of business logic (which takes time and is often lost after the initial devs move on) you’re not gonna get great tests.
To be fair to AI, we hired a “consultant” that also got us this same level of testing so it’s not like there is a high bar out there. It’s just not the kind of problem you can solve in 2 weeks.
simonw|3 months ago
Ask a coding agent to build tests for a project that has none and you're likely to get all sorts of messy mocks and tests that exercise internals when really you want them to exercise the top level public API of the project.
Give them just a few starting examples that demonstrate how to create a good testable environment without mocking and test the higher level APIs and they are much less likely to make a catastrophic mess.
You're still going to have to keep an eye on what they're doing and carefully review their work though!
LASR|3 months ago
Code assistance tools might speed up your workflow by maybe 50% or even 100%, but it's not the geometric scaling that is commonly touted as the benefits of autonomous agentic AI.
And this is not a model capability issue that goes away with newer generations. But it's a human input problem.
id00|3 months ago
colechristensen|3 months ago
An agent does a good job fixing it's own bad ideas when it can run tests, but the biggest blocker I've been having is the agent writing bad tests and getting stuck or claiming success by lobotomizing a test. I got pretty far with myself being the test critic and that being mostly the only input the agent got after the initial prompt. I'm just betting it could be done with a second agent.
andai|3 months ago
Uploaded a Prolog interpreter in Python and asked for a JS version. It surprised my by not just giving me a code block, but actually running a bunch of commands in its little VM, setting up a npm project, it even wrote a test suite and ran it to make sure all the tests pass!
I was very impressed, then I opened the tests script and saw like 15 lines of code, which ran some random functions, did nothing to test their correctness, and just printed "Test passed!" regardless of the result.
PunchyHamster|3 months ago
But "throw vague prompt at AI direction" does about as well as doing same thing with an intern.
gloosx|3 months ago
Aligns with vibe-coding values well: number go up – exec happy.
cpursley|3 months ago
janaagaard|3 months ago
(https://github.com/AnandChowdhary/continuous-claude/blob/mai...)
jdc0589|3 months ago
kami23|3 months ago
lizardking|3 months ago
i4k|3 months ago
99.9999% of AI software is vaporware.
DeathArrow|3 months ago
And watch your bank account go brrr!
lizardking|3 months ago
namanyayg|3 months ago
jes5199|3 months ago
stpedgwdgfhgdd|3 months ago
CC can also read the inline comments and creates fixes. Now thinking of adding an extra CI job that will address the review comments in a separate MR.
jerezzprime|3 months ago
cog-flex|3 months ago
tinodb|3 months ago
leobg|3 months ago
decide1000|3 months ago
anandchowdhary|3 months ago
unknown|3 months ago
[deleted]
mrwill84|3 months ago
[deleted]
RonanSoleste|3 months ago
[deleted]
dang|3 months ago
Especially not for snark purposes - https://news.ycombinator.com/newsguidelines.html.
_dark_matter_|3 months ago