cd /news/ai-agents/text-to-cad-open-source-headless-cad… · home › topics › ai-agents › article
[ARTICLE · art-176859] src=texttocad.dev ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Text-to-CAD: open-source, headless CAD for agents

Text-to-CAD, a 100% open-source and free plugin, gives AI agents local workflows to generate 3D models as STEP, GLB, STL or 3MF files, run manufacturing and stress checks, produce engineering drawings and connect to 3D printing, sheet metal and CNC services. Models are written as Python scripts with the build123d library on the OpenCASCADE geometry kernel, and the plugin works with any agent that supports plugins or skills, installed via a curl script from texttocad.dev. The project also covers KiCad circuit boards with ERC and DRC checks, CalculiX stress solving, Blender renders and URDF/SRDF/MJCF robot descriptions for ROS, MoveIt and MuJoCo.

key takeaway

Agents can now emit manufacturing-ready CAD as Python build123d scripts exported to STEP, STL, 3MF, GLB and DXF, with built-in checks for machinability, 3D printing, sheet metal and CalculiX stress before fabrication.

by read3 min views9 publishedNov 26, 2026
Text-to-CAD: open-source, headless CAD for agents
Image: source

Design physical products with AI. 100% open source and free.

curl -fsSL https://texttocad.dev/install.sh | sh WORKS WITH THESE AGENTS

Features #

The text-to-cad plugin gives your agent local workflows to generate 3D models as STEP, GLB, STL or 3MF files, check them for manufacturing, draw them, and connect to 3D printing, sheet metal and CNC services. It works with any agent that supports plugins or skills.

import build123d as bdfrom cad import model@modeldef bracket():    plate = bd.Box(60, 40, 4)    wall = bd.Pos(0, -18, 22) * bd.Box(60, 4, 40)    hole = bd.Pos(0, 6) * bd.Cylinder(4, 10)    return plate + wall - hole

bracket.py Parts and assembliesModels written as Python scripts with build123d andOpenCASCADE , exported as STEP, STL, 3MF or GLB, and asDXF profiles and flat patterns for laser and waterjet cutting, with joints and animations for mechanisms, and shown live in the viewer.

  • sensor.kicad_pcb Circuit boardsKiCad schematics and boards, placed and routed, checked with ERC and DRC, reviewed before you order, and exported as fabrication files.
  • housing.step Manufacturing checksWhether a part can be machined, cut and bent, molded or 3D printed, measured against the process's rules, and what to change where it cannot.
  • bracket.step Stress checksWhether a part or an assembly of bonded parts holds under its loads, solved with CalculiX: each part's peak stress, safety factor and how far it moves, drawn on the model.
  • bracket.pdf Engineering drawingsDimensioned PDF sheets projected from the part's geometry: views, hidden lines, centre marks, hole callouts and a title block.
  • hero.png, turntable.mp4 RendersPhotoreal stills, turntables and films of a model with Blender, lit and framed in a Python script and run on the GPU, with a quick draft before each final.
  • bracket_flat.dxf, housing.gcode.3mf Fabrication servicesChecks DXF and STEP files against SendCutSend's guide before you upload them, andslices 3D prints with OrcaSlicer and sends them to Bambu Connect or Bambu Studio.
  • arm.urdf Robotics and simulationRobot and world descriptions for simulation and motion planning: URDF for ROS, SRDF for MoveIt and MJCF for MuJoCo.

Community #

Projects built on top of text-to-cad, and projects that text-to-cad uses.

  • Studio: A community app by @amywork777: an open-source desktop CAD app for mechanical engineers, built on text-to-cad, for Mac and Windows. You describe a part to the agent, and the 3D model, drawings, stress check and versions sit beside the chat, where you can also edit the model by hand. Website ·GitHub
  • build123d: The Python CAD library text-to-cad's models are written in: parts and assemblies as code, with sketches, features and joints, built on OpenCASCADE. Docs ·GitHub
  • OpenCASCADE: The open-source geometry kernel under build123d: it builds the solids and reads and writes the STEP files. Website ·GitHub
  • kicode: KiCad's command line, kicad-cli, and its Python client, KiPy, in one Python package: the headless KiCad that text-to-cad's circuit boards run on, with nothing else of KiCad installed. Unofficial: not made or supported by the KiCad project. PyPI ·GitHub

Contributing #

text-to-cad is MIT-licensed and built in the open.

  • Bugs and plugin requestsA bug report with the model script and the output of cad doctor is the fastest to fix, and an agent app without a plugin gets one on request. A security problem is reported privately, as SECURITY.md says.Open an issueRequest a pluginSECURITY.md

  • Questions, ideas and what you madeSay what the skills got wrong, too: that is what improves them. Join the Discord

  • Code, skills and modelsA new skill (a fabrication service, a printer, a CAD workflow) goes in skills/ , an example model inmodels/ , and fixes anywhere. The contributing guide has the local setup and how to test in the agent apps.Contributing guide

── more in #ai-agents 4 stories · sorted by recency
── more on @text-to-cad 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/text-to-cad-open-sou…] indexed:0 read:3min 2026-11-26 · —