Open-source AI CAD

Design 3D models with the coding agent you already use.

Tell your agent what you need. It writes the model as Python code with CadQuery, SOMA builds it and shows the result. Measure it, point at what is wrong, and the agent changes the code.

  • Free, GPL-3.0
  • Windows, macOS, Linux
  • Python, CadQuery, Git and CalculiX included

What is SOMA?

A CAD program where the AI does the CAD.

You are the designer: you decide what to build, check the result and point at what is wrong. The agent turns it into precise, editable geometry. SOMA brings together the three parts this needs:

A code workspace

Models are Python scripts with CadQuery. Your coding agent runs in the built-in terminal, the editor shows what it writes, and Git keeps every version.

A 3D viewer

SOMA builds the model on every change and shows it. Measure, cut, explode and mark it up to show the agent what to change.

Instructions for the agent

Rules, skills and a command line tool teach the agent how to model, check and export, for 3D printing, CNC, sheet metal and more.

Made with SOMA

Frame from 2040 and 2080 aluminium extrusions, MGN12 linear rails and T8 lead screws on all axes, NEMA 23 steppers and a trim router spindle. Work area 300 × 300 × 80 mm.

Features

Code editor next to the 3D view

Models as code

Your agent writes the model as Python with CadQuery. SOMA rebuilds it on every change, and the code is always there if you want to change a dimension yourself.

How it works

  1. 1

    Start a new model

    Click New model on the start page. It begins with a small example: a box with a lid.

  2. 2

    Start your agent

    Use the + above the terminal. SOMA lists the CLI agents it found on your computer.

  3. 3

    Describe what you need

    For example “A case for a Raspberry Pi 5 with vents in the lid, printed in PETG.” SOMA builds every change.

  4. 4

    Refine and export

    Measure, point at what is wrong, and let the agent fix it. Then export STL, 3MF or STEP.

Explode
Distance80%

Bring your own agent

SOMA is not an agent of its own. Any CLI agent that can read files and run commands works. You install and sign in yourself, so your subscription, model and permission settings stay yours.

  • Claude Code
  • Codex CLI
  • OpenCode
  • Gemini CLI
  • and more

Before you start

  • A CLI agent, installed and signed in
  • Windows 10+ (x64), macOS on Apple Silicon, or Linux x64 with glibc 2.31+
  • Over 1 GB of disk space
  • Packages are not signed yet: confirm the warning on first start

Open source

SOMA is an early prototype, developed in the open. Bug reports, ideas and experiences with different agents are welcome as issues.

GitHub 158