

An agentic harness that makes formation evaluation auditable and more accurate.
A language model investigates the raw LAS with Petrophys, one recorded step at a time. Every number it gives you traces back to the log, and the models we measured answer more accurately with PetroHarness.
What are the porosity, water saturation and permeability of the Brent Group, and is any of it hydrocarbon-bearing?
Total porosity (PHIT) pools to 0.1988 v/v over the 567 zoned samples … SW pools to 0.6929 v/v … core-calibrated PERM_CC pools to 342.5 mD … Hydrocarbon bearing. Weak, screen-only indication …
- Petrophys calculatesevery curve and number
- The model investigatesone step at a time
- Code checks and recordsevery result and step
- You decidewith the evidence in hand
Scored on WellLogBench
We put our post-trained K2-Horizon-7B into PetroHarness. On WellLogBench's 347 single-formation questions it scores 69.3, up from 64.0 for the same model without the harness, and the other models we measured also score higher with PetroHarness. PetroHarness v1 focuses on a single well; every system is scored as the WellLogBench leaderboard scores it (W, 0 to 100).
Leaderboard
347 single-formation questions
ours, inside PetroHarnessours, DFS contextother systems
More accurate with PetroHarness
Each model without the harness and inside PetroHarness, on 347 single-formation questions. Three models are measured in two forms: post-trained by us for well logs, and base.
All the numbers RA, trust, style and reasoning quality, with intervals
One question, end to end
The model makes every call; code routes, checks and records.
- 1PreparePetrophys interprets the LAS and zones the interval
- 2ReadThe model reads the question and picks a route
- 3Look or investigatedirect: up to 2 looksinvestigation: up to 8 steps
- 4WriteThe answer, from every result opened
- 5CheckEvery number must trace to a result
- 6RecordFigures, methods and the session log
Explore the full graph every node, route and loop
Four real runs, replayed
Recorded on tuhua-7, a sample well that ships with Petrophys. Pick one and press replay.
Made to be checked
Keep asking, from what was already found
- Follow-ups reuse the results already opened
- A brief reply, or a new investigation when it needs one
- One session log: resume any conversation
From any number back to the log
- Click a number to light its path to the logs
- Methods and parameters under every answer
- No number is delivered without a result behind it
petroharness auditrebuilds it all from the session folder
Choose how interprets the well
- Every Petrophys setting, with its own help and default
- Zones previewed on the well before you ask
- Change one mid-conversation:
/set m=1.8 - Field notes keep a team’s standing choices
What’s inside
audit, report and setup from the session folder.petroharness, chat, ask().Install, connect a model, ask
pip install petroharness
# Python 3.10 or later; Petrophys comes with it
export PETROHARNESS_MODEL_URL=http://localhost:8000/v1
# any other chat model: give its served name
petroharness --model Qwen/Qwen3-32B --las well.las --question "..."
petroharness --las well.las --tops tops.csv --formation "Mount Messenger" \
--question "Where are the best reservoir intervals, and is any of them hydrocarbon-bearing?"
petroharness chat --las well.las --tops tops.csv --formation "Mount Messenger"
petroharness audit ./petroharness-sessions/<session>
petroharness --launch-ui # opens http://localhost:7860
from petroharness.ask import ask
r = ask("tuhua-7.las", "Which zone has the best reservoir quality?", formation="Mount Messenger",
tops="formations_tuhua-7.csv", interpretation={"rw": 0.05, "sw_model": "indonesia", "m": 2.2})
print(r.answer) # r.trace: every call and every result opened
Python 3.10 or later and any chat model behind an OpenAI-compatible endpoint (K2-Horizon-7B by default). Serve the model yourself and the well data stays on your machines.
Citation
PetroHarness: An Open-Source Agentic Harness for Auditable Formation Evaluation
S. Shikhar, Z. Kabashev, S. Umurzak, M. Lee, L. Barillas, S. Bharadwaj, J. Thomas, J. Lahoud, F. Castanedo, H. Cholakkal
ADIPEC 2026, paper SPE-236034-MS
Mohamed bin Zayed University of Artificial Intelligence (MBZUAI), Khalifa University, Inception42, AIQ; Abu Dhabi, United Arab Emirates
BibTeX
@inproceedings{shikhar2026petroharness,
title = {PetroHarness: An Open-Source Agentic Harness for Auditable Formation Evaluation},
author = {Shikhar, S. and Kabashev, Z. and Umurzak, S. and Lee, M. and Barillas, L. and Bharadwaj, S. and Thomas, J. and Lahoud, J. and Castanedo, F. and Cholakkal, H.},
booktitle = {ADIPEC 2026},
number = {SPE-236034-MS},
publisher = {Society of Petroleum Engineers},
year = {2026}
}