The agent · how every use case gets done

Not an app with a chatbot. An agent harness that owns the whole stack.

Claude Code and Codex are agent harnesses for software. Barrel Brain is one for petroleum engineering. It runs its own agentic loop end to end: the model, the tools, the context, the sessions and the long-running work, all built into the app.

Open standards

AGENTS.md Agent Skills MCP
An agent workflow's checklist, rendered for a person to tick off
A workflow's checklist: what a good agent run states about the deck, for you to tick off.

The harness, top to bottom

Every layer of the agent is built in

Orchestration

long-horizon work

subagentsbackground jobstodosloopsgoalswatcherswake-ups

Context

what the agent knows

AGENTS.md project instructionsskills from the skill serverexamplesreference manualsworkspacetool catalogsubagent index

Tools

what the agent can do

200+ specialised toolsevery app commandscripts · queries · dashboardssimulator runsOfficeMCP servers

Agentic loop

think · act · observe

model-agnosticAnthropicOpenAI-compatibleOpenRoutersessions saved and resumable

Tools

200+ specialised tools, out of the box

Nothing to install before the agent is useful. It can parse and edit a deck, run the simulator, read the grid, run a study, build the Excel workbook and lay out the slides: the same operations you do in the app.

Reservoir and subsurface

Decks, grids, summary vectors, studies, logs, seismic

deck_parse · grid_region_stats · summary_vector_stats · study_case_enqueue · well_las_curve_get · seismic_slab_render

Runs and processes

Launch profiles, the job queue, terminals, output

launch_add · queue_run · terminal_watch · output_pane_read

Code

Scripts, queries, dashboards, the scripting API

script_code_run · query_file_run · dashboard_render · script_api_get

Office deliverables

Excel, Word, PowerPoint, PDF

excel_workbook_create · excel_chart_create · pptx_slide_add · pptx_table_add · word_content_read · pdf_read

Workspace

Files, folders, search, shell, project scaffolds

file_grep · file_update · folder_create · scaffold_create · shell_execute

Orchestration

Goals, loops, todos, wake-ups, tasks

goal_set · loop_set · todo_write · wakeup_create · backlog_task_create

Extend it with MCP

Connect any MCP server to add your own tools: a corporate data store, a production database, an in-house calculator. A curated registry from barrelbrain.ai makes adding one a pick from a list. It works the other way too: Barrel Brain is itself an MCP server, so Claude Code or Codex can drive it.

Its features

How the agent gets a long job done

Every use case runs through the agent. These are the parts it works with, each with its own page.

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

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

Part of the job handed to a fresh agent with its own context: one per well, one per case, one for the report.

Simulator runs and long scripts run while the conversation carries on.

One sentence the agent works toward until it's met, or a step repeated round by round.

The agent waits on a run, a terminal or a time, and wakes when it happens.

How this field and this team work, written once in the project folder and read by every session.

Your own tools added to the agent's, and Barrel Brain driven from Claude Code or Codex.

Context engineering

Same result. Fewer tokens. A cheaper model.

A frontier model without context gets there by trial and error, and every wrong turn costs time and tokens. When the right reference, a working example and a skill for the workflow are there to find, the agent takes the direct route, and a smaller, cheaper model can do the same job.

Without context

tryerrorsearchretryerrorrewriteretrydone gets there, slowly, on a frontier model

With context

look upadapt exampledone faster, fewer tokens, any capable model

Skips trial and error on syntax

Reference material

An Eclipse keyword manual of more than 1,000 pages, the summary-vector catalog, and documentation for every engineering-library function and the scripting API.

Skips building from scratch

Worked examples

44 complete Eclipse decks with notes, from CO₂ and H₂ storage to thermal steam, polymer flood and multi-segment wells, plus example scripts and dashboards.

Skips rediscovering the workflow

Skills, from a skill server

A skill packages a workflow, such as reviewing a deck or setting up a study. Curated skills stay in sync with the app.

Skips asking what your team already knows

Project instructions

An AGENTS.md in the project folder tells the agent how this field and this team work: naming, units, which case is the base case.

Orchestration for long jobs

A field study isn't one prompt

It's hours of work in many steps. The orchestration layer keeps the agent working without a person present, and the session header shows the current goal, loop and watchers, so you can see what it is waiting on.

Subagents
Hand part of the job to a fresh agent with its own context: one per well, one per case, one for the report.
Background jobs
Simulator runs and long scripts run in a queue while the conversation carries on.
Todos
A visible plan the agent ticks off, so you can see where it is.
Goals
One sentence the agent works toward until it's met: “history-match every well within 10%”.
Loops
Adjust the case, rerun it, compare with history, for a set number of rounds. Sending a message takes the session back.
Watchers
The agent puts a watcher on a three-hour run and ends its turn. When the run finishes, it wakes with the result.

Every session on the record

A session records which model, tools, skills and instructions it ran with, and every file it created or edited. Weeks later you can still answer “what did the agent do, and with what?”