AI & Machine Learning6 min read

Claude Code can find a planet. It can't tell you it's real

An AI agent makes it cheap to produce an exoplanet claim. Checking the claim still costs what it always did, and that is where the work is.

By Curious Technologist Editorial

The word that matters in this headline is "think." A hobbyist who thinks they have found a planet nobody knew about is one of the oldest stories in amateur astronomy. Usually the planet turns out to be an eclipsing binary star, a detector artefact or a known object under another catalogue name. The new part is not the discovery. The new part is that it now costs an afternoon and a subscription to get to "I think", and the cost of getting from "I think" to "it is" has not dropped at all.

The pipeline was never the hard part

Public exoplanet data has been open for years. Kepler and TESS light curves are free to download. The Python tooling for working with them is mature and well documented. The standard method is to search for transits, which are small periodic dips in a star's brightness. Anyone who could write a few hundred lines of Python could already fold a light curve and run a box least squares search. What an agentic coding tool removes is that last barrier. You no longer need to know which library to import, how to detrend the data or why your periodogram looks like noise. You describe the goal and the agent writes the pipeline.

That really does widen access, and I don't want to be snide about it. But it compresses the cheap part of the job. In transit photometry the expensive part has always been ruling things out. Is the dip on the target star or on a fainter neighbour blended into the same pixels? Are odd and even transits the same depth, as they should be for a planet, or different, as they would be for two stars eclipsing each other? Is the transit shape U-shaped or V-shaped? Does the signal survive a different detrending choice? Does it show up in another sector of data? Professional survey teams run candidates through vetting stages for exactly this reason. Raw detections are mostly not planets.

An agent will happily write code for every one of those checks if you ask. The catch is that you have to know to ask, and know what a failed check looks like.

An AI agent makes the claim cheap and leaves the checking exactly as expensive as it was, so the share of claims that survive scrutiny goes down.

History rhymes, and it is mostly encouraging

The strongest counter-argument to my scepticism is that amateurs have a real track record here. Zooniverse's Planet Hunters project had volunteers looking through Kepler light curves by eye. They found real planets, including a circumbinary world that the automated pipelines had missed. Their advantage was that humans notice odd signals that algorithms tuned for clean, periodic transits throw away. Professional survey pipelines are built for completeness at scale, not for every edge case, and some real signals sit in the archive unexamined. If Claude Code puts a few thousand more motivated people in front of that data, some of them will find something real. That is a net gain for science, and gatekeeping it would be both futile and wrong.

I accept all of that. But the Planet Hunters model worked because there was a structure around the volunteers. Many people classified the same light curve independently. Flagged signals went up to a science team who knew the false-positive taxonomy. Follow-up observations were coordinated. The crowd supplied attention and the institution supplied scepticism. An individual with an agent has the attention, a pipeline that runs faster than any volunteer's eye, and none of the scepticism unless they bring it themselves. The agent won't supply it on its own initiative, because it is optimising for the task it was given, and the task was "find a planet."

Who pays for the extra claims

The second-order effect is about economics. If finding a candidate becomes nearly free, the number of candidates goes up and the average quality goes down. Something has to absorb that. Professional astronomers already have channels for community-submitted candidates. Ground-based follow-up time and radial-velocity measurements are scarce, and they are what actually confirm a planet. A Reddit post that reaches the Hacker News front page isn't a submission to any of those channels. It is a submission to the court of public excitement, which upvotes the narrative and has no means of checking the photometry. A popular post is evidence that the story is good. It is not evidence about the planet.

This is not unique to astronomy. Bioinformatics, materials screening and any field with large public datasets and a well-defined "interesting signal" will see the same thing: many plausible claims, each backed by a working pipeline, and a fixed pool of experts able to tell which ones hold up.

What this means if you use these tools at work

The practical lesson isn't about planets. When an agent builds an analysis for you end to end, you get a result and a confident explanation of that result, written by the same system. That is the setup in which you are most likely to fool yourself. The fix is the one astronomers already use, and it carries over directly:

  • Injection-recovery tests. Plant a synthetic signal of known size in your real data and confirm the pipeline finds it. That gives you the pipeline's real sensitivity.
  • Null tests. Run the pipeline on shuffled data, or on data where you know nothing is there. If it still finds things, its findings mean nothing.
  • Holdouts. Check the result on data the agent never saw while you were building the pipeline.

Ask the agent to write these checks before you ask it to write the search. If it can't explain why its finding isn't one of the known failure modes for your domain, you don't have a finding yet. You have a hypothesis with a nice plot.

In practice: treat the agent's final paragraph, the part that says "this appears to be a strong candidate", as the least trustworthy thing in the session. It is the output most shaped by what you asked for and least constrained by the data.

The column I'd like to write next

I hope the planet is real. If it is, it will be a genuinely nice story about access to science: public data, open tools and a curious person with a good agent finding something the institutions missed. But the headline that would actually impress me would read "I used Claude Code to rule out every way my planet could be fake, and here are the checks." That post would get fewer upvotes and would be worth a great deal more. The tools are already capable of producing it. Whether people bother is up to them.

Sources & further reading

The analysis above is our own. The underlying reporting and primary documents are credited here.