Install Invntr
Build the lab on your machine, admit its instruments, connect your AI, then give it something to work on.
What you need
- Rust 1.95 or newer, through
rustup. - macOS for the sandbox. Linux works too, unsandboxed, and every record says so.
Build
git clone https://github.com/yashodhanmohan/Bench.git invntr
cd invntr
cargo build --release # the kernel
sh packs/install.sh # builds the 105 compiled instruments
target/release/invntr admit --all # runs every known-answer case into ./labWhere cargo puts the binary depends on your cargo settings. cargo build --release prints the path.
Connect your AI
Add Invntr to your MCP client. For Claude Code, put this in .mcp.json in the folder you work in:
{
"mcpServers": {
"invntr": {
"command": "/path/to/invntr",
"args": [
"mcp"
],
"env": {
"INVNTR_LAB": "/path/to/your/lab",
"INVNTR_INSTRUMENTS": "/path/to/invntr/instruments"
}
}
}
}BENCH_LAB is where the journal and stored files go; one lab per project keeps things tidy.
BENCH_INSTRUMENTS is the folder of instruments to load.
A first run
target/release/invntr run beam support=cantilever load=point_end P=2000 length=1.5
target/release/invntr journal 5 # the latest records, refused ones included
target/release/invntr view # lab/view.html, the lab for a personThen give your AI something real. Start small: “A 1.5 m steel cantilever takes 2 kN at its tip. How far does the tip move? Cite the run.” It finds the instrument, checks it is admitted, runs it and gives you the run id. Then go bigger: a part to design, a question to settle. One real project shows what that looks like, dead ends included.
Check the install
python3 tests/e2e.py target/release/invntr # the acceptance test, through MCP, about 2 minutes