universelab SCI · CLI · BIO

EXP-005 · beta

cadSpec

The drawing is not drawn. It is declared.

cadSpec treats a CAD drawing like source code: geometry declared in TOML, previewed live in the browser, compiled to a bit-identical DXF every time. git diff works on drawings now.

Install
curl -fsSL https://get.univerlab.org/cadspec | sh
Genesis · TERRA 2026 · Sol 100

For the architect in the house.

My wife is an architect. Mid-specialization, she went looking for what I had — an AI that could actually help her draw — and found nothing. The vibe-coding equivalent for CAD simply didn’t exist: no AI-assisted drawing that behaved like real engineering. The whole internet is drunk on image generation, but images lie, and the real work lives in the drawings. cadSpec is the counter-bet: declarative, deterministic, AI-assisted CAD where the drawing is source code you can diff.

[[line]]
id = "ln-001"
from = [0.0, 0.0]
to = [8.50, 0.0]
weight = 0.50

[[dim]]
id = "dm-001"
from = [0, 0]
to = [8.50, 0]
offset = 0.5
  • N1Live preview server: edit a .cf file, the browser updates on save. Errors overlay instead of crashing.
  • N2Built for AI agents: cadspec schema teaches the language in one command; previews ship per-entity bounding boxes so agents can see the drawing.
  • N3Deterministic DXF out, legacy DXF in — existing drawings migrate into the declarative workflow.
FAQ

FAQ

What is cadSpec for?
cadSpec is CAD as code for architects who need AI to help them draw. Declare geometry in TOML files, preview live in the browser, compile to bit-identical DXF. `git diff` works on drawings because the source is text.
Can AI agents read and generate CAD drawings with cadSpec?
Yes. cadSpec's TOML format is plain text that any LLM can read. Run `cadspec schema` to teach the language; previews include bounding boxes so agents can see the drawing.