Barrel Brain · a desktop workbench for petroleum engineers

AI-Assisted Petroleum Engineering Environment

You direct the engineering. The agent does the work.

Hand the agent a job the way you would brief a junior engineer. It builds the model, runs the cases, does the analysis and drafts the report. You stay at the level of the whole project: how the pieces fit, what the result means, and whether it's right.

Use cases

What you do with it. Every step AI‑assisted.

One well, one fluid, one reservoir

Petroleum Engineering

PVT and EoS tuning, well tests, inflow and lift, material balance, EOR screening: answers that trace to a named method.

Explore Petroleum Engineering →

nodal_analysis.scriptC#
// Outflow: Hagedorn & Brown up 8,000 ft of 2.992" tubing, from 200 psia at the wellhead, at a GOR of 500 scf/STB.
var tubing = FlowModelBuilder.HagedornAndBrown(
    new Pipe(Length.FromFeet(8000), Angle.FromDegrees(90),
             Roughness.From(0.0006), Length.FromInches(2.992)),
    new TraverseFluidProvider(GasSpecificGravity.From(0.7),
        Density.FromLbPerFt3(53), Viscosity.FromCP(1.2),
        InterfacialTension.FromDynesPerCm(30), Temperature.FromDegF(180)));
var lift = new MultiPhaseLiftCurve(tubing, Pressure.FromPsi(200), SolutionRelation.FromScfPerStb(500));

// Inflow: generalized Vogel, PI 1.5 STB/(psi.d), 3,000 psia reservoir, 2,200 psia bubble point.
var inflow = InflowPerformanceCurve.GeneralizedVogel(1.5, Pressure.FromPsi(3000), Pressure.FromPsi(2200));

// Where they cross. OperatingPoint is the stable crossing, and null when there is none.
var nodal = OperatingPointSolver.Solve(inflow, lift);
var point = nodal.HasOperatingPoint ? nodal.OperatingPoint : null;

Build, run, match, forecast

Simulation

Decks, runs, studies and results, with viewers built to answer “will it run?” and “does it match history?”

Explore Simulation →

Many wells, a lot of data

Data Analysis

Production histories, decline across a field, roll-ups and simulator output across cases, in code you can read and rerun.

Explore Data Analysis →

Deliverables

Reporting

Excel, Word and PowerPoint, written by the agent from the same tables and charts you checked.

Explore Reporting →

How you talk to it

Give it a job, not a calculation

You write a brief, the kind you would write to a colleague. The agent breaks it into steps and does them.

“The raw data for the field is in this folder. Build me a reservoir model, run a sensitivity study on the main uncertainties, and write me a short report with the key findings.”

grid builder · Eclipse deck · .STUDY sampling · simulator runs · Word report

“Here is the production data for the field. Do decline-curve analysis for each well, aggregate the forecasts by field, and give me P10, P50 and P90 remaining reserves.”

data cleaning · 12 decline models · AIC/BIC model selection · Monte Carlo

“These are the PVT lab reports. Tune an equation of state to the CCE and DLE data, put the PVT tables into the deck, and tell me where the match is weakest.”

EoS regression · lab-test simulation · black-oil table export to Eclipse

“Screen this reservoir for EOR. Compare polymer, chemical, CO₂ and steam, rank them, and explain what rules each one out.”

EOR screening · MMP · fractional flow · Marx–Langenheim · Koval sweep

“Interpret the latest buildup tests. Flag the wells that see a boundary, and update permeability and skin in the model where the tests disagree with it.”

PTA models · Bourdet derivative · boundary catalog · regression · deck edits

“Our producers are going onto lift next year. Size an ESP for each well against its inflow, compare it with gas lift, and put the comparison in a deck for Thursday.”

IPR · multiphase VFP · ESP design · gas-lift valves · PowerPoint

Not: “Calculate the bubble-point pressure.” That's one function call, and the agent does hundreds of those on the way to an answer.

Who does what

You keep the judgement. The agent takes the legwork.

You

Own the project and the judgement

  • Set the direction and say what matters
  • See how the model, the analysis and the report fit together
  • Check the results in the viewers
  • Decide what goes in front of management

The agent

Does the small, tedious work, at scale

  • Reads, cleans and reconciles the raw data
  • Builds and edits decks, runs the simulator, collects the cases
  • Fits hundreds of wells, writes the queries, builds the tables
  • Drafts the dashboard, the report and the slides

How it works, in every use case

PE library 17 domains of petroleum-engineering calculations under every script and dashboard
The agent does the work at every stage, with the same tools you have
You inspect every stage in viewers built for checking the result

The core

Petroleum-engineering libraries across the whole domain

This is the difference between Barrel Brain and a coding IDE with a chatbot. The agent doesn't make up its own engineering. It calls documented, tested, unit-aware calculation libraries that cover the reservoir, the well and the surface.

An answer built from them traces to a named method: Havlena–Odeh, Beggs & Brill, Peng–Robinson, Marx–Langenheim.

587
calculation classes a script can call
17
engineering domains
12
decline models with robust fitting
10
multiphase-flow correlations

Fluids and rock

Black-oil PVT · Equation of state · Rock and SCAL

Reservoir performance

Material balance · Decline curves · RTA · PTA · Uncertainty

Wells and surface

Inflow · Wellbore flow · Nodal analysis · Artificial lift · Fracturing · Facilities · Flow assurance

Enhanced recovery

Polymer · Chemical and ASP · CO₂ · Thermal

Simulation and subsurface

Eclipse decks and grids · Studies · LAS and SEG-Y

One set of libraries, used everywhere. Your script, the agent's script and the dashboard all call the same functions, so the same inputs give the same answer wherever the calculation runs.

Explore the PE library →

Features

What the agent works with

The agent, the simulators, and the documents it writes or changes. Every one opens in a viewer for you to check.

Where the work happens: you brief the agent, it works, and every step and file stays on the record.

Every use case, through the agent

Workflows written down for the agent: review a deck, set up a study.

Every use case, through the agent

OPM Flow and Eclipse run from launch profiles, and any command-line simulator can. More are coming.

Simulation

C# that calls the PE library: short code you can read, check and run again.

Petroleum EngineeringData Analysis

SQL over every file in the project: simulator output, logs, CSV, Excel and Parquet, joined in one statement.

SimulationData AnalysisReporting

Dashboards →.dashboard

Live pages of inputs, tables and charts that render again when the data they read changes.

Petroleum EngineeringData AnalysisReporting

Every feature →

One brief, end to end

From raw data to a report you can defend

“The raw data for the field is in this folder. Build me a reservoir model, run a sensitivity study on the main uncertainties, and write me a short report with the key findings.”

The agent does the steps. You check the parts that matter, at the points where they matter.

  1. 1

    Agent

    Builds the model

    Reads the raw data, builds the grid and writes the deck. The Error List is clean before anything runs.

  2. 2

    You check

    The model in 3D

    Porosity, permeability and saturations look geologically sensible.

  3. 3

    Agent

    Sets up and runs the study

    A .STUDY file names the uncertain parameters and their ranges, samples the cases and runs them all.

  4. 4

    Agent

    Analyses the cases

    Queries pull every case into one table. A tornado ranks the parameters that move recovery the most.

  5. 5

    You check

    The tornado against the cases

    Open the summary plots for the extreme cases and the query behind the table.

  6. 6

    Agent

    Writes the report

    A short Word report with the key findings, built from the same tables and charts you checked.

What holds it together

Three rules behind every piece

Files, not a database

The project is a folder you already own. Every step leaves a file, and git works on all of it.

Real engineering, not made-up maths

Every calculation goes through the engineering libraries, so each number traces to a named, tested method.

Nothing you can't check

Whoever did the work, the result opens in a viewer built for inspecting it, alongside the data it came from.

Where this is going

Ready for air-tight agentic work

A lot of subsurface data can never leave the building. Barrel Brain is designed so that, once a local model is good enough, the whole agent runs inside the firewall, down to a single workstation with no network at all.

  1. Today

    Frontier models

    through the provider you choose

  2. Next · roadmap

    On-premise models

    on your own servers

  3. Then · roadmap

    On the workstation

    fully air-gapped

Why smaller models matter. The model inside your firewall will be smaller than today's frontier model. So Barrel Brain ships its grounding with the app: the reference manuals, the examples and the skills that let a less capable model take the direct route.

Before and after

What changes when the agent does the work

Software built for clicking through a UI

Built for agentic work first

Every operation is a tool the agent can call: open the deck, run the case, write the workbook. You brief it and check the result, instead of clicking through dialogs.

Industry software with a rigid UI

Dashboards you shape to the job

Sliders, pickers, tables and charts on a page the agent writes for this field and this question, not the vendor's fixed screens.

Standard calculations and fixed workflows

Building blocks you assemble into any calculation

Scripts call the PE library's named methods, so the calculation you need is a dozen lines, not a feature request.

A database before you can analyse anything

Query the files directly

SQL over CSV, Excel, Parquet and simulation results where they sit in the project folder. Nothing to load first.

Scripting environments and dependencies to set up and support yourself

Scripting with batteries included

Everything a script needs ships with the app. Nothing else to install, configure or keep in step.

Bring a real model, not a sample

Barrel Brain is in early access. Join the waitlist, and when your turn comes, put the agent to work on your own field.