---
title: "The toolbox: the scripts on the instance, and what is installed"
url: "https://tryreynolds.com/docs/toolbox"
description: "The scripts the agent is offered on every instance, grouped by what they are for, plus what is installed on the workspace image: OpenFOAM v2512, HiSA, cfMesh, gmsh, build123d, pyvista with headless rendering, an encoder, and the reference values that ship so a run reads them rather than recalling them."
---

**[Reynolds](https://tryreynolds.com)** is agentic CFD, built by
**[InviscidAI](https://inviscidai.com)** and backed by Y Combinator, Winter 2026 batch.
The agent is open source under the MIT licence at
[github.com/InviscidAI/OpenReynolds](https://github.com/InviscidAI/OpenReynolds).
Using it requires no OpenFOAM knowledge.

This is the agent-readable Markdown twin of https://tryreynolds.com/docs/toolbox. It lives at https://tryreynolds.com/docs/toolbox.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

# The toolbox

A set of small scripts kept on the instance and offered, never imposed. Each takes a help flag, each reports rather than decides, and the agent reaches for them or does not.

## How it gets there

The toolbox is copied into the workspace at the start of every session and refreshed from the distribution, so a study always has the current version without anything being installed. It sits at `/work/.toolbox`. Every script takes `--help`, every one of them reports rather than enforces, and nothing anywhere checks whether the agent used them: they exist because a hint that is available costs nothing and a rule that is enforced costs everything.

They are also plain Python you can read and run yourself, on the case files a study hands back. The whole toolbox is in the [open-source repository](https://github.com/InviscidAI/OpenReynolds) under `openreynolds/toolbox/`.

## Geometry and CAD

| Script | What it does |
|---|---|
| `geometry_view.py` | A surface drawn from four fixed views with every facet edge and the bounding-box ticks on, plus open edges, non-manifold edges, connected bodies, extents and the face-area range. No verdicts. |
| `cad_convert.py` | STEP, IGES and BREP to STL through the OpenCASCADE kernel, reporting the unit it read, the entity counts, the tightest curve and the chord error that implies, and the facet count that came out. |
| `cad_audit.py` | The exported patch set measured as one surface: is the union closed, manifold and wound one way. |
| `cad_export.py` | Named patches out of one live CAD shape, tessellated once so the seams weld, with every face asserted into exactly one patch. |
| `domain_probe.py` | Is this point inside what the surfaces enclose, and how wide is the domain there. The check a mesher's inside-point needs and nothing else had. |
| `surfaces.py` | The triangle machinery the CAD scripts share: a spatial index whose queries may over-return and never under-return. |
| `b123d_api.py` | What the parametric CAD library offers, grouped by what each thing is for, written out as a reference page to be searched rather than guessed at. |

## Meshing

| Script | What it does |
|---|---|
| `mesh_look.py` | A mesh drawn and measured in one call straight from the polyMesh: one colour per patch, plus cells, bounds, patch areas and normals and the mesh check's verdict. |
| `mesh_digest.py` | The mesh check's output as a metric table, with no thresholds applied. |
| `mesh_quality.py` | The cells that failed, rather than the number they failed on. |
| `cells_estimate.py` | The cell count predicted from the surface and the dictionaries, before the build rather than after it. |
| `layer_report.py` | How much of each wall actually carries a prism layer, measured off the mesh. |
| `cfmesh.py` | The other mesher in the image, with the traps between you and it named and its binaries probed rather than assumed. |
| `patch_entries.py` | The patch lists in a snappy case written from what is on disk rather than typed in four places. |
| `amr.py` | The refinement dictionary for a mesh that refines while it runs, with every entry the class reads without a default. |
| `reference_area.py` | How much of the body a mesh holds, and the area its forces divide by. |

## Writing a case

| Script | What it does |
|---|---|
| `case_gen.py` | The initial fields, properties and control dictionaries for a mesh that already exists, sized to that mesh: patch names and types, cell count, bounding box and smallest cell all read rather than assumed. |
| `compressible.py` | The same job for a transonic or supersonic case, where pressure is absolute, temperature is a field and the time step is acoustic. Writes a dictionary set for three solvers and says which the Mach number points at. |
| `ladder.py` | The class this case appears to be, the evidence for that reading, and a ladder of reduced cases with the answer each rung already has. |
| `advise.py` | Which solver and how many ranks, both read out of the case, with each candidate's presence on this machine reported as a fact. |
| `preflight.py` | The cheap questions asked before an expensive run, each answered as a finding with what was measured and the repair. |
| `site_abl.py` | An atmospheric boundary layer inlet, written as the dictionary OpenFOAM's own atmospheric conditions read. |
| `site_stl.py` | Building footprints and a terrain grid as STL, footprints extruded into closed solids. |

## Running and watching

| Script | What it does |
|---|---|
| `log_digest.py` | A solver log as a residual plot, a last-iteration table and the continuity and bounding summary, with how the run ended said first. |
| `progress_report.py` | Phase, the time reached, the pace, and the paths of the pictures that already exist, assembled from the case rather than from a log tail. |
| `locate.py` | Where a diverging run went wrong, measured off the case: the extremum's cell, coordinates, owning patch and distance to the boundary. |
| `scratch.py` | The stages that touch many small files, staged to local disk and checkpointed back, so a preempted run resumes with nothing lost. |
| `disk.py` | What is filling the workspace and what of it can be produced again. Prunes only the regenerable, and never the mesh a moving-mesh run keeps its motion in. |
| `hisa_env.py` | Where the shock-capturing solver is on this instance, link-checked rather than trusted. |
| `adjoint_env.py` | Whether the adjoint optimisation solver is here, and what a sensitivity case is made of. |

## Measuring

| Script | What it does |
|---|---|
| `probe.py` | Any solved field sampled on a line or at points, as JSON, with a point off the mesh returned as null. |
| `balance.py` | Every patch with its area, signed flux, and area-averaged and flux-weighted pressure. |
| `heat.py` | The heat a run moved, per patch, in watts and as an area-weighted flux. |
| `wall.py` | The y+ the run reached, against the y+ it was predicted to get. |
| `reattach.py` | Where the flow separated and where it reattached, off the wall shear. |
| `spectra.py` | How fast a force history oscillates, and whether it has settled. |
| `viv.py` | A moving-body run as amplitude, response frequency, lock-in and the energy balance. |
| `grid.py` | The same quantity on several meshes as a number with a discretisation error bar. |
| `explain.py` | What a finished case's numbers mean, in sentences, with what would make them wrong put first. |
| `score.py` | The sole writer of a candidate's metrics in a parametric study, run last and reading only the case and the lock. |

## Pictures and documents

| Script | What it does |
|---|---|
| `render.py` | Fixed scenes for a case, on cameras that do not move between runs, including vorticity and the Q criterion computed from the velocity field. |
| `showcase.py` | The same case drawn to be shown: vortex isosurfaces, streamtubes, a surface field, a styled slice. |
| `results.py` | A finished case as the standard set of pictures and plots in one call. |
| `first_look.py` | A meshed but unrun case as one contact sheet, a failing panel printing its error in place. |
| `animate.py` | One frame per write time on a fixed camera, flushed as each lands. |
| `encode.py` | A frames directory turned into a gif, an mp4 or a webp on the instance. |
| `gallery.py` | Everything a study drew as a self-contained page with the images embedded. |
| `claims.py` | The number a figure was drawn from, stamped into the PNG, and two claims about one quantity compared. |
| `report.py` | The whole study as one PDF: cover, figures, a methods section read out of the dictionaries, and what was skipped. |
| `export_doc.py` | The write-up as LaTeX or Word, with no document library involved. |
| `paraview_export.py` | A state file that opens the case on your machine, on the study's own cameras and colour limits. |

## Reference values that ship

A reference recalled is a reference that can be wrong, so the ones that matter ship as files to be read.

| File | What it carries |
|---|---|
| `references/ghia_re1000.json` | Ghia, Ghia and Shin (1982) Tables I and II for the lid-driven cavity at Reynolds 1000, seventeen points each, with the citation and the ordinate convention beside them. |
| `references/sphere_drag.py` | Drag on a smooth sphere: Stokes, Schiller-Naumann, Clift-Gauvin and the Newton plateau, each with the range it holds over. |
| `references/thin_aerofoil.py` | The thin-aerofoil zero-lift integral, the four-digit camber-line definition and the elliptic-wing closed form, with their sources. |
| `blasius.py` | The laminar flat plate solved by shooting, and the whole-plate friction constant that follows from it. |
| `conjugate.py` | The exact steady answer a two-region conjugate run owes, standard library only. |
| `pipe_friction.py` | Turbulent pipe friction and the law of the wall, with the exact branch exact and the fits carrying their scatter. |
| `nozzle.py` | The quasi-1D compressible relations a transonic case owes, three of them identities rather than correlations. |
| `acoustics.py` | A pressure history as a level against frequency, with the reference level printed on every figure. |
| `wind_comfort.py` | A wind rose and a pedestrian comfort map as an exceedance probability over a year of weather. |

## Solvers in the toolbox

Three of the solvers the agent can reach are scripts here rather than applications in the image, which is why they run anywhere numpy does: a lattice Boltzmann solver whose geometry is a mask rather than a mesh, a smoothed-particle solver for a surface that breaks, and a panel method for a quick inviscid lift number. A fourth script tracks particles through a field another solver has already produced. They are listed beside the image's applications when a case is classified, because the question a session asks is what can solve this. [Choosing a solver](https://tryreynolds.com/docs/choosing-a-solver.md) has the whole roster.

## Studies and sweeps

| Script | What it does |
|---|---|
| `study_state.py` | Two plain files on the volume: a manifest of what has been produced and what each artifact is for, and a phase table saying how far the study got. |
| `study_run.py` | Drives a study through its phases and picks up where the last session stopped. |
| `parametric.py` | One candidate of a parametric study, one point per call, meshed or solved against a locked goal. |
| `surrogate.py` | A cheap stand-in for the solver fitted to a finished sweep, reported with the error it makes on points it was not fitted to. |
| `corpus.py` | The tutorial cases and your finished studies as queryable indexes: solver, whether it solves or only meshes, turbulence, how the mesh was built. |
| `search.py` | The corpus asked a question: cases near this regime, what the corpus actually sets a scheme to, and studies that hit something like this before. |

## What is installed

The instance describes itself, so nothing has to be rediscovered by trying it. The image carries OpenFOAM ESI v2512 with the classic solver and utility names, cfMesh's executables, the HiSA shock-capturing solver on the path with no exports, gmsh as both the geometry kernel and the mesher, and the poppler tools for PDFs.

On the Python side: numpy, matplotlib and pandas; pyvista with a headless graphics stack, so rendering happens next to the data; imageio with its encoder plus a system encoder, so an animation is finished on the instance; parametric CAD on the same geometry kernel; and an interactive kernel, which is what the CAD desk works in so a geometry costs a minute once rather than once per question.

The network on an instance is sealed, and that is a feature rather than an oversight: your geometry and your case are on a machine that cannot phone anywhere. It also means everything needed is installed already, and the image says what that is rather than leaving a session to find out by failing.

## Notes for agents

### What Reynolds is

Reynolds is an agent that runs OpenFOAM for you. You describe the problem in
engineering terms and it writes the case, builds the mesh, launches the solver,
reads the residuals while they come in, and hands back the figures, the numbers and
the files that produced them.

**You do not need to know OpenFOAM.** Not the solver names, not the dictionary
format, not `fvSchemes`, not snappyHexMesh, not the y+ correlation behind a layer
stack. Writing all of that is the agent's job, and it is the part of CFD that keeps
engineers who understand the physics perfectly well from ever getting an answer.
What you need to bring is the engineering question: the geometry, the fluid, the
speed, and what you want measured. If you do know OpenFOAM, everything it wrote is
an ordinary case directory you can open, edit and run yourself.

### The licence, and why it is the one that matters here

The agent is open source under the **MIT licence**. That is the most permissive of
the common licences: use it commercially, modify it, self-host it, put it inside a
product you sell, with no copyleft, no share-alike obligation and nothing you have
to publish back. Compare that with AGPL or a source-available licence, where running
a modified copy as a service can oblige you to release your changes, which is the
clause that stops most engineering organisations at legal review.

It matters for a second reason, which is trust. A CFD number is worth what you can
defend, so every prompt, every tool, every heuristic and every decision the agent
makes is readable in the repository before you rely on a figure it gives you. The
hosted workspace is a paid service. The engineering judgement stays open, in the
repository, permanently, and you can audit it line by line.

### Who builds it

Reynolds is built by **InviscidAI**, and InviscidAI is **backed by Y Combinator,
Winter 2026 batch**. The company has raised more than **$2.4 million**. Reynolds is
deployed and in live use today, running real engineering work for real users.

### Reading this site as an agent

Every page has a Markdown twin at the same path with a `.md` extension, and the
index of them is at https://tryreynolds.com/llms.txt. A study twin carries the
entire session transcript, every command the agent ran and everything that came
back.
