Digital · Open-source software

Vibe Coding and the Future of Open-Source Subsurface Software

Vibe coding will multiply open subsurface tools, but only physics-based validation will decide which ones deserve to be trusted.

OpenPetro Insights cover: vibe coding meets physics, with a code editor running physics checks over rock layers and a glowing log curve

Vibe coding will multiply the number of subsurface tools in the open, but only physics-based validation will decide which of them deserve to be trusted. For petrophysicists, geoscientists and reservoir engineers, the real opportunity is not writing code faster; it is turning decades of domain knowledge into shared, tested tools that the whole community can build on.

What vibe coding is

Vibe coding is AI-assisted development in which a person describes what they want to a large language model, which writes the code. The person generally does not review the code; they judge it by running it and ask the model for changes. Andrej Karpathy popularized the term in February 2025, describing it as a way to "fully give in to the vibes" and "forget that the code even exists" (Wikipedia). Within a year it had moved from slang to the mainstream: Collins Dictionary named it Word of the Year for 2025.

The definition matters. As the developer Simon Willison argues, if you review, test and understand all the code a model writes, you are not vibe coding; you are using the model as a typing assistant. That distinction is the thread running through this article. Karpathy himself saw pure vibe coding as suited to prototypes and throwaway projects, and the open-source security community defines it as accepting AI-generated code without reviewing or understanding it (OpenSSF).

So two things are true at once. Vibe coding lowers the barrier to building software dramatically. And the further a tool moves from a weekend experiment toward a decision that matters, the less "vibes" alone are enough.

Why the subsurface is different

In most consumer software, a bug is visible: a button does not work, a page does not load. In the subsurface, the most dangerous bugs produce a plausible number. A water saturation curve that looks reasonable but used the wrong units for resistivity, or a porosity log computed on a depth reference that is a few feet off, can pass every visual check and still move a reserves estimate or a well location.

Three features of our domain make this worse:

  • Physics constrains the answer, but code does not know that. Porosity cannot exceed what the rock allows, saturations must sum sensibly, and density and neutron logs must tell a consistent story. A language model writes code that runs; it does not automatically respect these limits.
  • The data are messy in ways models have rarely seen. Vendor-specific curve names, null values coded as -999.25, mixed measured and true vertical depths, legacy LAS and DLIS variants and incomplete headers are everyday reality. They are poorly represented in the public code that models learn from.
  • The consequences are expensive and slow to surface. A flawed interpretation can influence a drilling decision, a development plan or a reserves booking, and the error may not appear until the well is drilled or the field produces.

This is why judging code only by whether it runs, the core of pure vibe coding, is not enough for subsurface work. The output has to be judged by whether it is physically right.

What changes for open-source subsurface software

The subsurface already has a small but valuable open-source ecosystem: libraries for reading LAS and SEG-Y files, well-log and geology toolkits, open reservoir simulators and geological modeling packages. Most were built by a handful of dedicated people with both domain and programming skills. Vibe coding changes who can take part.

1. Domain experts become builders. The people who understand the physics best, such as senior petrophysicists, reservoir engineers and recently retired specialists, have often not been the ones writing software. AI assistants let them turn their methods into working tools in days. Decades of knowledge that lived in spreadsheets, notebooks and people's heads can now be captured as code.

2. "Software for one" becomes common. Engineers will build small tools for their own wells and workflows: a quick QC report, a crossplot app, a saturation-height model. Most will never be published, and that is fine. The best of them will be worth sharing.

3. Open source gains new on-ramps. It becomes easier to write documentation, examples, tests and file-format readers, which are exactly the unglamorous tasks that hold many subsurface projects back. Students can also learn unfamiliar libraries faster.

4. Faster translation from paper to tool. A method published in a journal can be turned into a working reference implementation much faster, making research easier to reproduce and adopt.

5. Pressure on closed tools. As capable open tools multiply, operators will ask why routine workflows require expensive licenses, and commercial vendors will have to compete more on data integration, support and trust.

The risks

The wider software world has already seen the downside, and our small community is more exposed to it, not less.

Plausible but wrong results. Generative AI handles simple tasks well but struggles with multi-file projects, poorly documented libraries and high-stakes code, and debugging is harder when nobody understands the code (Wikipedia). Subsurface libraries are often poorly documented, and our code is high-stakes.

A flood that drowns maintainers. Open-source maintainers across the software world report being overwhelmed by low-quality, AI-generated pull requests whose submitters cannot explain them; one analysis of 470 open-source pull requests found about 1.7 times more issues in AI-co-authored ones (The New Stack). Several well-known projects restricted or closed outside contributions in early 2026. Subsurface projects often have only one or two maintainers, so a modest flood could stall them.

Security and data exposure. In one widely cited case from May 2025, 170 of 1,645 web applications built with a vibe-coding platform had a flaw that let anyone access personal information (Wikipedia). Well data, production data and interpretations are commercially sensitive; a carelessly built web tool can leak them.

Abandoned tools. It is now easy to publish a tool and hard to maintain it. Many vibe-coded repositories will be orphaned within months, leaving users with code nobody understands.

Licensing and provenance. Generated code may echo existing code under incompatible licenses, and engineers may be tempted to paste proprietary algorithms or confidential data into prompts. Both create legal risk for contributors and their employers.

A practical playbook

The answer is not to reject AI-assisted coding, but to pair it with the discipline our domain already has. Vibe code to explore; engineer to share.

For engineers building tools

  1. Let physics review the code. Add automatic checks: porosity and saturation within physical bounds, consistency between porosity logs, units and depth references verified, comparison with core or known answers where available.
  2. Validate against benchmarks. Test every tool on public wells or published examples with known results, and record where it holds and where it does not.
  3. Understand before you share. Anything you publish, you should be able to explain line by line. If you cannot, it is still a prototype.
  4. Keep data and IP clean. Use public data for development, never paste confidential data or proprietary algorithms into prompts, and follow your company's IT rules.

For open-source maintainers

  1. Publish an AI contribution policy. Ask contributors to disclose AI use and to explain and test what they submit.
  2. Make validation the gate. Require a physics test and a benchmark result with each change, so quality is checked by the domain, not only by a human reviewer's time.
  3. Share a common test suite. Open benchmark datasets and expected answers for common workflows would let every subsurface project test itself the same way.

For companies and professional societies

  1. Train for it. Teach engineers both halves: how to build with AI, and how to verify the result.
  2. Support the maintainers. Sponsor the small set of open libraries the industry already relies on.
  3. Reward verified contributions. Treat a well-tested open tool as a professional contribution, just like a paper.

Outlook

Over the next few years, the number of open subsurface tools will grow sharply, and so will the noise. The scarce resource will no longer be code; it will be trust. The tools that matter will be the ones that show their physics, publish their tests, and are backed by people who understand the rocks and fluids behind them.

That favors our profession. Petrophysicists and reservoir engineers have always been in the business of checking numbers against physics and against reality. Vibe coding gives us the ability to build at the speed of software; our discipline gives us the ability to be right. Combined, they can turn the knowledge of a generation of experts into open tools the next generation can trust.


Want your team to build AI tools that are fast and physically sound? Explore our hands-on course, Vibe Coding Subsurface.

Sources

#VibeCoding#OpenSource#DigitalSubsurface#Petrophysics#ReservoirEngineering