Vibe Coding Subsurface
Build your own subsurface tools and workflows with AI, and check every result against physics.
An intensive two-day course in which petrophysicists, geoscientists, drilling, completion and reservoir engineers use AI coding assistants to build real tools on real, messy data: open-hole and cased-hole logs, drilling data, pore pressure and geomechanics, and hydraulic fracturing treatments. Participants leave with a working toolkit and a proven method, ready to build their own tools and workflows the very next day.
- FormatTwo-day hands-on workshop for 8–20 participants, about 60% building and 40% instruction
- ScopeOpen hole, cased hole, drilling, pore pressure and geomechanics, hydraulic fracturing, plus a capstone on your own workflow
- AudiencePetrophysicists, geoscientists, drilling, completion, production and reservoir engineers
- Level and prerequisitesIntermediate to advanced; working knowledge of at least one subsurface discipline, no programming experience required
- DeliveryIn-house at your site or live online; a one-day version is available
- InstructorsChicheng Xu, PhD, with OpenPetro Fellows for the relevant domains
Start building your own tools the next morning
The course is built around one goal: when participants are back at their desks, they can open a new project and build the next tool or workflow their team needs on their own, without waiting for a software team. Every lab uses the same five-step method, so by the end of Day 2 it is a habit.
- Specify
- Build with AI
- Check physics
- Validate
- Share
A working toolkit
Every tool built in the seven labs, from formation evaluation to frac diagnostics, with its code, tests and documentation, ready to adapt to your own wells.
A physics-check library
Reusable checks for units, depth references, nulls, physical bounds and consistency between measurements, ready to drop into any new project.
A prompt and spec playbook
Templates for describing subsurface tasks so an AI coding assistant builds them correctly, tested on every discipline in the course.
Your personal build plan
Your next three tools, scoped and specified with an instructor in the final session, so the first one can start the next day.
Why this course
AI coding assistants now let engineers build tools in hours instead of weeks, in every discipline that touches a well. In the subsurface, speed is not enough: AI-written code can mix psi and kPa, confuse MD, TVD and TVDSS, skip −999.25 null values, misread a pumping schedule or return results that break physics, and still look convincing. This course teaches both halves on problems that matter across the well lifecycle: how to build quickly with AI, and how to make sure the result is right.
Cases across the well lifecycle
Labs combine disciplines the way real projects do: the stress profile built on Day 1 feeds the fracturing analysis on Day 2, and the open-hole interpretation becomes the baseline for cased-hole monitoring.
Multi-well formation evaluation
Load LAS and DLIS, merge runs, depth-match and splice curves, then compute shale volume, porosity with gas correction and water saturation with Archie and a shaly-sand model, with net pay and Monte Carlo uncertainty.
Day 1 · Labs 1 and 2
Drilling performance analytics
Turn time-based surface data into a depth-based view, detect rig states, compute mechanical specific energy and drilling efficiency, and flag invisible lost time and drilling dysfunction.
Day 1 · Lab 3
Mud-weight window and stress profile
Integrate density for overburden, estimate pore pressure with Eaton from sonic and resistivity, derive minimum horizontal stress and the safe mud-weight window, and check them against LOT/FIT and pressure tests.
Day 1 · Lab 4
Cement evaluation and saturation monitoring
Compute a bond index from CBL amplitude with VDL review, and track time-lapse saturation from pulsed-neutron sigma against the open-hole baseline from Day 1.
Day 2 · Lab 5
Treatment diagnostics
Load stage pumping data, pick breakdown and ISIP, run G-function closure analysis and estimate net pressure, then tie the Day 1 stress profile to fracture containment, stage by stage.
Day 2 · Lab 6
Capstone: build your own
Groups build a tool from their own work, such as a production-log flow profile, decline curves and type wells, NMR interpretation, a rock physics template or an automated frac stage report.
Day 2 · Lab 7
What you will learn
- Turn a subsurface problem into a specification an AI coding assistant can build correctly
- Build data pipelines for open-hole and cased-hole logs, drilling and fracturing data: loading, depth matching, units and QC
- Build working tools across the well lifecycle: formation evaluation, drilling analytics, pore pressure, cement evaluation and frac diagnostics
- Chain tools into multi-discipline workflows, such as a stress profile that feeds a fracturing analysis
- Add a physics-check layer that catches unit, depth-reference, bound and consistency errors automatically
- Validate results against benchmarks, published examples and independent data such as core, pressure tests and LOT/FIT
- Recognize common AI coding errors in subsurface work, from unit mistakes to silent data problems
- Test, package and share tools so colleagues can use them, within your company's data and IT rules
Agenda
Seven labs over two days, each harder than the last, on public data covering logs, drilling, completions and production.
Day 1: Open hole, drilling and geomechanics
Day 1 builds the core: a repeatable build method and working tools that take raw open-hole logs and drilling data all the way to answers, ending with a stress profile used again on Day 2.
| Time | Session | What participants do |
|---|---|---|
| 08:30 | Kick-off: a tool built live from raw data | Watch a log QC and drilling dashboard built from raw files in 20 minutes; map where AI coding helps and where it misleads |
| 09:00 | The build method | Write specifications an AI cannot misread; give domain context, units and depth references; break work into testable steps; review generated code like a senior engineer |
| 10:00 | Lab 1: Open-hole data engine | Parse LAS and DLIS, merge runs, depth-match and splice curves, standardize units and nulls; generate an automatic QC report for every well |
| 11:15 | Lab 2: Formation evaluation at scale | Shale volume, density-neutron porosity with gas correction, water saturation with Archie and a shaly-sand model, cut-offs and net pay, Monte Carlo uncertainty; run across many wells |
| 13:15 | Lab 3: Drilling analytics | Convert time-based surface data to depth; detect rig states, compute mechanical specific energy and drilling efficiency, and flag invisible lost time and dysfunction |
| 14:45 | Lab 4: Pore pressure and wellbore stability | Overburden from density, Eaton pore pressure from sonic and resistivity, minimum horizontal stress and the mud-weight window; check against LOT/FIT and pressure tests |
| 16:15 | Review clinic | Participants demo their tools; group review of what the AI got wrong today and how each error was caught |
Day 2: Cased hole, fracturing and your own workflow
Day 2 extends the toolkit into cased-hole and fracturing work, hardens every tool with physics checks and validation, and ends with participants building and planning workflows from their own jobs.
| Time | Session | What participants do |
|---|---|---|
| 08:30 | Why AI-written code fails in the subsurface | Real failure patterns: psi and kPa, MD, TVD and TVDSS, KB references, −999.25 nulls, sign conventions, unphysical outputs; build a reusable physics-check layer |
| 09:15 | Lab 5: Cased-hole evaluation | Bond index from CBL amplitude with VDL review; time-lapse saturation from pulsed-neutron sigma against the open-hole baseline from Day 1 |
| 10:45 | Lab 6: Hydraulic fracturing diagnostics | Load stage pumping data; pick breakdown and ISIP, run G-function closure analysis and estimate net pressure; tie the Day 1 stress profile to fracture containment |
| 13:00 | Lab 7: Capstone, build your own | Small groups specify and build a tool from their own work, such as a production-log flow profile, decline curves, NMR interpretation or a frac stage report, with physics checks built in |
| 15:00 | Validation, packaging and sharing | Benchmark and unit tests for physics; version control, documentation, data security and company IT rules; turn a notebook into an app colleagues can use |
| 16:00 | Final demos and your build plan | Groups present; instructors review physics and validation; each participant leaves with their next three tools scoped and specified |
Breaks and lunch are included; times are indicative, and lab cases can be weighted toward the disciplines in your team.
Materials, data and setup
- You receive: course notes, a starter code template for each of the seven labs, a prompt and specification playbook for subsurface tasks, a reusable physics-check library, and a validation checklist.
- Data: public datasets covering open-hole and cased-hole logs, drilling, completion and production data by default; your own data only on request, inside your own environment.
- Software: Python with common open-source libraries plus an AI coding assistant, confirmed with your IT team before the course using tools your company has approved.
- After the course: participants keep every tool they built, its code and tests, the materials and their personal build plan; optional follow-up office hours are available.
Delivery options
Full course, in-house
2 days, for teams of 8–20 at one site.
Live online
4 half-days, for teams across several locations.
Executive and introductory version
1 day, for managers and mixed audiences.
Add-ons include exercises built on your own data, follow-up office hours, and a Build Sprint that turns a course tool into a production prototype. Contact us for a quote.
Bring Vibe Coding Subsurface to your team
Give your team the method and the toolkit to build their own subsurface tools and workflows. Tell us about your team and we will reply with delivery options and a quote.
Request this course