Skip to main content
Back

Claude Designed a Full Humanoid Robot Using This Open-Source CAD Harness

earthtojake/text-to-cad gives any coding agent a full CAD pipeline locally — parametric Python output, STEP/STL/URDF exports, and a browser viewer, all MIT-licensed and free

Pro

Repo, Full Access
  • Open-source CAD harness: earthtojake/text-to-cad lets Claude Code or Codex generate parametric 3D models locally, MIT-licensed and free.
  • Parametric, not mesh: Output is editable Python (build123d + OpenCASCADE), not a flat mesh — you can diff, version-control, and refactor it like any code.
  • Full export surface: Supports STEP, STL, 3MF, DXF, GLB, URDF, SRDF, and SDF — covering engineering, 3D printing, 2D drafting, web rendering, and robotics.
  • Viral demo: Creator used Claude Fable 5 to design a full humanoid robot in 2 hours using 1.4M tokens, producing a complete STEP file and functional URDF with kinematics.
  • Local-first, no backend: Runs entirely on your machine with a React/WebGL CAD Explorer viewer at localhost:4178; no SaaS subscription required.
  • Limitations: Not suitable for regulated industries (aerospace, medical) or FEA-validated parts without a CAD engineer in the loop.

A developer known as @soft_servo (Jake) pushed a repo called text-to-cad to GitHub and then did something that made the robotics and hardware community stop scrolling: he asked Claude Fable 5 to design a full humanoid robot from scratch. Two hours and 1.4 million tokens later, the agent had produced a sleek, articulated humanoid platform with roughly 25-30 degrees of freedom, a complete STEP file, and a fully functional URDF with kinematics. The demo went viral. The harness that made it possible is now open source under the MIT license.

The mesh problem nobody talks about

The structural difference between text-to-cad and the hosted text-to-CAD tools dominating the search results matters more than it sounds. Tools like Meshy, Tripo, and Sloyd produce meshes: a triangulated surface representation that looks correct but cannot be edited parametrically afterward. If you need to change a hole diameter from 6 mm to 8 mm, you cannot. You either re-prompt and hope, or you rebuild from scratch in real CAD software.

text-to-cad acts as a harness that converts text descriptions into source-controlled CAD scripts, which are then compiled into geometric models using tools like OpenCascade and build123d. The system emphasizes reproducibility by storing CAD logic as editable code rather than opaque binary files, allowing iterative refinement through agent-driven workflows. That single design choice , code over blobs , is what separates this project from every SaaS competitor in the space.

What's actually under the hood

build123d is a Python-based, parametric, boundary representation (BREP) modeling framework for 2D and 3D CAD. It is built on the Open Cascade geometric kernel and allows for the creation of complex models using a simple and intuitive Python syntax. BREP (Boundary Representation) is the same underlying geometry format used by professional tools like SolidWorks and FreeCAD , meaning the output is real engineering geometry, not a baked surface.

The harness wraps build123d with a set of agent-facing skills: structured instruction sets that tell Claude Code or Codex exactly how to generate, validate, and export geometry. CAD Skills is a library of agent skills for generating, inspecting, sourcing, slicing, and handing off CAD and robot-description artifacts from local project files. Install the library to give agents focused workflows for CAD, fabrication, robot description files, simulation, and local review.

The bundled skill set covers a surprisingly wide surface area:

  • CAD skill , Creates and edits CAD models from plain-language or image requests, with STEP as the main output along with options to export to STL, 3MF and GLB.
  • Source skill , Finds off-the-shelf STEP parts like screws, bearings, motors, and connectors.
  • DXF skill , Creates 2D DXF drawings like profiles, templates, gaskets, and cut layouts from Python sources or CAD geometry.
  • URDF skill , Writes robot structure files with links, joints, limits, inertials, and meshes.
  • SRDF skill , Adds MoveIt planning groups, end effectors, poses, and collision rules to a URDF.
  • Viewer skill , Shows local browser previews for CAD, G-code, and robot files.

The agent loop in practice

The workflow is a tight six-step cycle. Generate source-controlled CAD models with coding agents like Codex and Claude Code. Let your coding agent update repo-local CAD source files. Create explicit STEP, STL, 3MF, DXF, GLB, URDF, SRDF, or SDF targets. Open CAD Explorer to review the generated model. Copy @cad[...] handles when you want geometry-aware edits. Save the source and generated artifacts together once the model is ready.

The @cad[...] reference system is one of the more underrated features. After generating a part, the local viewer exposes every face, edge, and hole as a stable reference token. Paste that token back into your next prompt and the agent edits the exact geometric feature , no ambiguous natural-language pointing. CAD Explorer renders models with browser WebGL. The whole system runs entirely locally with no backend required.

Here is what the agent actually writes for a simple part:

from build123d import *
with BuildPart() as bracket:
    Box(100, 40, 5)
    with Locations((-35, -10), (35, -10), (-35, 10), (35, 10)):
        Hole(radius=3, depth=5)
bracket.part.export_step("bracket.step")
bracket.part.export_stl("bracket.stl")

That is the entire mental model. The agent picks the right build123d operators, the harness handles export, and you can read or modify the source whenever the agent gets a dimension wrong.

Getting started in under 10 minutes

The install requires Python 3.11 and Node.js. One important caveat: the Python version constraint is real. build123d and the OpenCASCADE Python bindings ship pre-built wheels for specific Python versions, and 3.11 is the most reliable target. On 3.12 or 3.13 you may end up building from source.

git clone https://github.com/earthtojake/text-to-cad.git
cd text-to-cad
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r requirements-cad.txt
cd viewer && npm install
npm run dev   # opens http://localhost:4178

For Claude Code specifically, you can also install via the plugin marketplace: claude plugin marketplace add earthtojake/text-to-cad then claude plugin install cad@text-to-cad. The harness is free. The text-to-cad harness is MIT-licensed with no cost. You only pay for whatever coding agent you already use, such as Claude Code or Codex.

Where it shines, where it doesn't

The project is genuinely strong for a specific cluster of use cases:

  • Hobbyist 3D printing , parametric STL output you can tweak without re-prompting
  • Robotics / URDF generation , the bundled URDF and SRDF skills are rare for this category and cover ROS 2 / MoveIt workflows end-to-end
  • Internal tooling and fixtures , Git-versioned designs that iterate fast with an agent
  • Teaching CAD-as-code , agent-generated examples are short, readable build123d that beginners can study

For regulated industries (aerospace, medical, automotive) or FEA-validated parts, AI CAD is still a starting point and not a replacement for a CAD engineer who can sign off on tolerances, GD&T, and standards compliance. The agent's failure mode is producing something dimensionally wrong rather than structurally invalid , which is fixable in seconds because you can read the source, but still requires a human check before anything goes to a machine shop.

The bigger picture

The text-to-CAD space has been dominated by hosted SaaS products that charge per generation and hand you a mesh. text-to-cad integrates modular skills for robotics, motion planning, and manufacturing validation, making it highly extensible. Designed to run locally without backend dependencies, it provides a flexible environment for experimentation and production workflows.

The humanoid robot demo that launched this repo into the spotlight was not just a party trick. It demonstrated something the field has been quietly building toward: that a sufficiently capable coding agent, given the right scaffolding, can now navigate the full hardware design stack , geometry, kinematics, collision meshes, joint limits , in a single long-running session. The harness is the scaffolding. The 1.4 million token robot is the proof of concept. What comes next is up to whoever forks the repo.