How to Search for Exoplanets
An amateur astronomer used Codex (AI coding assistant) to build a pipeline that processed public Kepler telescope data and discovered a plausible exoplanet c
By Sean WeldonAbstract
This synthesis examines a documented case in which an amateur astronomer used an AI coding assistant (Codex) to build a transit-detection pipeline over public Kepler mission data, surfacing an exoplanet candidate subsequently assessed as promising by a professional astronomer affiliated with the SETI Institute. The workflow progressed from astrophotography image processing to a full survey pipeline that processed over 100,000 stars and returned a positive detection after roughly a day and a half of computation. The analysis considers three dimensions: the compression of implementation labor normally requiring specialist software skills, the shift of human attention from broad automated search to narrow candidate scrutiny, and the continued necessity of expert review as an external validity check. The case suggests that agentic coding tools can lower the implementation barrier to legitimate observational research while leaving domain judgment and verification as the binding constraint on scientific credibility.
1. Introduction
Exoplanet detection via the transit method - inferring a planetary companion from periodic dimming of a host star's measured brightness - is conceptually straightforward but operationally demanding at scale. Applying it across a large stellar catalog requires systematic photometric processing, statistical filtering, and the ability to distinguish genuine transit signals from noise, stellar variability, and instrumental artifacts. Historically, this capability has been associated with institutional astronomy: access to curated pipelines, domain-specific software, and the engineering capacity to run them.
This synthesis analyzes a case in which that barrier was substantially reduced through agentic AI coding assistance - software that generates, executes, and iterates on analysis code from natural-language specification. An amateur astronomer, without professional training in the domain, used Codex to construct and run a transit-detection pipeline against the public Kepler dataset, ultimately producing a candidate later judged promising by a professional reviewer. The central question this case raises is not whether AI tools can execute well-defined scientific computation, but what they change, and what they leave unchanged, in the broader workflow of observational discovery.
Key terms are defined as follows. A light curve is a time series of a star's measured flux. A transit is the passage of a planetary body across the stellar disk as observed from Earth, producing a characteristic brightness dip. A candidate is a detected signal consistent with a transit but not yet confirmed, since multiple astrophysical and instrumental phenomena can mimic transit morphology. Section 2 establishes background on the transit method and the Kepler dataset; Section 3 examines the four-stage workflow; Section 4 extracts technical insights; Section 5 discusses broader implications; Section 6 concludes.
2. Background and Related Work
The transit method depends on the premise that a planet crossing the line of sight to its star reduces observed brightness by a fraction roughly proportional to the ratio of the planet's and star's projected areas. This signal is small, periodic, and embedded within stellar and instrumental noise, so detection requires testing candidate periods for coherent depth and duration and evaluating the result against known false-positive mechanisms, such as eclipsing binaries or instrumental drift.
The Kepler mission's photometric archive, now public domain, provides the data substrate for this case. Its openness removes licensing and institutional-access barriers that would otherwise constrain who can attempt this kind of analysis. The practitioner's path to this project began outside astronomy proper: an early interest in space sparked by observing the Hale-Bopp Comet, followed by initial use of Codex for astrophotography image stacking. The decision to extend the same tool to systematic exoplanet search represents a shift from image-level processing to survey-scale statistical analysis, a considerably different technical task.
3. Core Analysis
3.1 Data Access and the Removal of Institutional Barriers
The use of public-domain Kepler data was a precondition for the project's feasibility. Because the dataset required no special permissions or institutional affiliation, the only remaining barrier was the capacity to process it correctly. The practitioner's domain knowledge was explicitly limited - described as the ability to "read into light curves showing dips" - yet this was sufficient to specify the problem to Codex, which handled the bulk of implementation. This division of labor, in which the human supplies domain framing and the AI supplies executable analysis, is the structural core of the case.
3.2 Pipeline Construction and Scale of Execution
The pipeline was assembled in a few hours and subsequently processed more than 100,000 stars, with each star run through a series of tests to detect brightness dips. This represents a substantial compression of what would conventionally require either existing specialized software or considerable custom engineering time. The full run across the dataset took approximately a day and a half of computation before returning a positive result, indicating that while implementation time was compressed, computational time at this scale remained non-trivial.
3.3 From Breadth-First Search to Depth-First Scrutiny
Once a positive detection emerged, the practitioner's role shifted qualitatively: rather than continuing to scan the full star population, attention narrowed to scrutinizing the single returned result. This stage involved checking for signals that appeared promising but had plausible alternate explanations unrelated to a genuine transiting planet. This shift illustrates a recurring pattern in AI-assisted discovery workflows - automation handles breadth-first search across a large hypothesis space, while the human (in this case, supplemented by the tool) performs depth-first verification on the narrowed output. The practitioner's initial reaction to the positive result - "there's no way" - reflects an appropriately skeptical posture toward an unverified signal.
3.4 External Validation as the Binding Constraint
The practitioner contacted a professional astronomer at the SETI Institute to review two exoplanet candidates. The reviewer's confirmation that the results "looked really promising" functioned as an external validity check that neither the pipeline nor the practitioner alone could provide. This step underscores that while AI tooling can produce a technically plausible candidate, scientific credibility still depends on domain expertise applied externally to the automated process.
4. Technical Insights
Several implementation characteristics are notable. First, the pipeline's construction time (a few hours) versus its execution time (a day and a half) indicates that for survey-scale photometric analysis, computational throughput, not code authorship, is the larger practical bottleneck once an AI assistant handles implementation. Second, the detection process incorporated explicit filtering steps to rule out signals with alternate, non-planetary explanations, suggesting that a usable pipeline requires not just a detection algorithm but a layered set of discriminating checks - a design consideration that an AI assistant was able to help implement based on specification rather than requiring the practitioner to encode domain-specific transit-vetting heuristics from scratch.
A limitation evident in the case is that the pipeline's output remained a candidate, not a confirmed exoplanet; the practitioner's framing and the need for external review both acknowledge that automated detection does not by itself constitute confirmation. This points to a broader trade-off: agentic tools can reduce the cost of generating hypotheses (candidates) but do not reduce the cost of confirming them, which still requires access to domain expertise, in this case obtained informally through outside contact.
5. Discussion
This case is a specific instance of a broader trend in which agentic AI tools extend technical capability beyond individuals with formal domain training, shifting the primary constraint from "can this person write the necessary software" to "can this person frame the problem and evaluate the output." The practitioner's limited astronomical training was sufficient because the tool handled implementation; what remained essential was conceptual framing (recognizing transits as the relevant signal), skepticism toward unexpected results, and access to an expert for final validation.
A knowledge gap worth noting is the absence of detail on the specific statistical tests used to flag and then filter candidate signals, which limits assessment of the pipeline's rigor relative to established survey methodologies. Future inquiry could examine how frequently such amateur-generated candidates withstand closer professional scrutiny, and whether the "day and a half" compute time reflects an optimization opportunity for similarly scoped searches. The case also raises a question for the broader research community about how to triage an increasing volume of amateur-generated candidates as AI-assisted tooling lowers the barrier to producing them.
6. Conclusion
This case demonstrates that agentic AI coding assistance can compress the specialist software-engineering labor historically required to conduct survey-scale observational analysis, enabling an amateur astronomer to construct a transit-detection pipeline over public Kepler data in a few hours and produce a candidate later validated as promising by a professional reviewer. The practical takeaway is that such tools shift the binding constraint on amateur scientific contribution away from implementation capacity and toward problem framing, result scrutiny, and access to expert validation. For practitioners considering similar projects, the case suggests that public datasets paired with AI-assisted pipeline construction can support legitimate exploratory research, provided outputs are treated as candidates requiring external review rather than confirmed findings.
Sources
- How to Search for Exoplanets - Original Creator (YouTube)
- Analysis and summary by Sean Weldon using AI-assisted research tools
About the Author
Sean Weldon is an AI engineer and systems architect specializing in autonomous systems, agentic workflows, and applied machine learning. He builds production AI systems that automate complex business operations.
Sean Weldon builds apps and custom software at 22Atlas.