A CAD designer
Writes CadQuery, renders the model from four sides and checks the renders.
A model that takes imagesPython · Node.js · Rust

It checks its own work
It renders the model, looks at the pictures and fixes what is wrong until they match.
- → shell render.py model.py --section y=0
- ← 7 valid, watertight solids · interferences: []
- → imgread views.png
- → imgread section.png
- → apply_patch model.py gap 0.30 → 0.36
- → shell render.py model.pychecking again
In a microVM of its own
CadQuery runs in its own Linux VM, not on your machine. The files come back to ./artifacts.
- python:3.12-slim-trixiewith CadQuery 2.8
- 4 vCPUs · 4 GiBno GPU
- /contextyour sketches, read-only
- /artifactsyour ./artifacts
Files ready to print
STEP for CAD tools, an STL per part for your slicer, and the script to change it yourself.
- model.stepfor CAD tools
- parts/*.stlfor a slicer
- model.glbfor a 3D viewer
- model.pythe script
- views.png · turntable.gifthe pictures
Run it
git clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
cd ailoy-examples/cad/python
uv run main.pygit clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
(cd ailoy/bindings/node && npm install && npm run build)
cd ailoy-examples/cad/node
npm install
npm startgit clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
cd ailoy-examples
cargo run --example cadneeds A model that takes images · and a logged-in Claude Code, Codex or Gemini CLI, or an API key
Run your first agent
in its own microVM
Install the package, name a model and run it