AI & text-to-CAD

KCL

Definition

KCL is Zoo's text-based programming language for parametric CAD. It is the source representation behind Zoo Design Studio models, so point-and-click actions and Zookeeper prompts can produce code that people can read, edit, reuse, and track with version control.

Also known as: KittyCAD Language, Zoo KCL

Updated

Why a CAD language matters for AI#

Zoo's KCL documentation describes it as KittyCAD's programming language for CAD and the source of truth behind Zoo models. Code is a format language models already generate well, so a CAD language gives text-to-CAD output that a person can read, diff, and edit instead of opaque geometry.

The KCL research overview explains that the language is functional and parametric. Designers can define reusable functions, named parameters, calculations, and assertions instead of storing only the final shape. That makes the design logic visible in a way a neutral geometry file is not.

One model, three editing methods#

Zoo Design Studio uses KCL whether the model is created with point-and-click tools, written directly in the code editor, or changed through Zookeeper. The May 2026 sketch-mode update added sketch blocks and access to Zoo's geometric constraint solver, so a KCL sketch can declare relationships and dimensions without spelling out every coordinate.

Those editing methods can be mixed. A designer can sketch with the mouse, clean up names and functions in code, then ask the agent to change a selected feature. The useful part is that the underlying model does not become a different kind of object each time the interface changes.

Portability has a boundary#

KCL is open source and plain text, which makes it suitable for diffs and Git-based version history. It is still specific to Zoo's modeling stack. To take the final geometry into another CAD program, you export it, usually as STEP. That neutral file carries the shape, not the KCL functions, parameters, and feature logic that generated it, so keep the KCL project when future revision matters.

Sources

All glossary terms