SOMA README

The project's README from github.com/Kai-Jungsthoefel/SOMA. As one markdown file: README.md.

SOMA

Solid Object Modeling with Agents. A desktop app for designing parametric 3D models together with an AI agent.

somacad.app · Download · Video tutorial · Changelog · 简体中文 (AI translation)

https://github.com/user-attachments/assets/3294d1e4-1f06-477d-9770-c91f3470330d

You tell the agent what you need. It writes the model as Python code with CadQuery, SOMA builds it and shows the result. You look at it, measure it, point at what is wrong, and the agent changes the code.

What is SOMA?

A CAD program where the AI does the CAD and you are the designer. SOMA brings together the three parts this needs: a workspace for the agent, with a chat or a terminal, an editor and Git for every version; a 3D viewer that rebuilds the model on every change; and instructions for the agent, with rules, skills and a command line tool.

It's vibe coding, but for CAD. Made for makers and tinkerers who need a case, a bracket or a mount for their project and don't want to spend hours in a CAD program to get it. Describe or sketch the part, check the result, export it, print it. You don't have to know CadQuery. The code is there if you want to change a dimension yourself.

SOMA brings its own agent, SOMA AI: a chat next to the model, no coding agent needed. Describe the part in your own words, by voice or with a photo of a sketch. When something is unclear, it asks, with answers to click. SOMA is free, for SOMA AI you sign in with your ChatGPT or GitHub Copilot subscription or an API key (Anthropic, OpenAI, Google Gemini, OpenRouter, OpenCode Zen or Go).

If you already use a CLI agent, it works just as well: Claude Code, OpenCode, Codex CLI, Gemini CLI or any other agent that can read files and run commands. It runs in a normal terminal inside the model folder, SOMA detects the common ones and can start them. Your subscription, your model choice and your permission settings stay yours. Either way, SOMA gives the agent a command line tool (soma build, soma analyze, soma render …) and an AGENTS.md with the rules of the project.

Install

Download SOMA from somacad.app/download, which offers the right package for your system, or from the releases: an installer or a portable ZIP for Windows, an AppImage or tar.gz for Linux, a dmg for macOS (Apple Silicon). Python, CadQuery, Git and CalculiX are included.

Quick start

  1. Start SOMA and click New model on the start page. It starts from a small example, a box with a lid.
  2. Sign in to SOMA AI on the right, with ChatGPT, GitHub Copilot or an API key. To use your own agent instead, start it with the + above the agent area, SOMA lists the agents it found on your computer.
  3. Tell the agent what you need, for example "A case for a Raspberry Pi 5 with vents in the lid, printed in PETG". SOMA builds the model on every change and shows it.
  4. Click parts, measure, or draw on the view and send it to the agent until it fits. Then export it from the menu, for example as STL or 3MF.

The video tutorial (7 min) shows all of this and more: drawing on the view, parameters, animation, FEM, drawings, skills and export.

Press F1 in the app for a short guide with numbered screenshots. The agent knows the same guide, so you can also just ask it how something works.

Agent apps (Codex app, Claude Desktop)

Instead of SOMA AI or an agent in SOMA's terminal you can use a desktop agent app that works on a local folder and can run commands, for example the Codex app or Claude Code in Claude Desktop.

  1. Open the model in SOMA and keep SOMA open.
  2. Click the + above the agent area and choose Copy path for agent app. For a model you opened with Open folder, the path is simply that folder.
  3. In the agent app, open this path as the project folder and tell the agent what you need.

Send to agent also copies its note to the clipboard: paste it into the agent app. A markup note names its picture in .soma/feedback/, which the agent opens itself. A chat without file access and commands does not work.

External agents (MCP)

An agent outside SOMA can also drive SOMA itself through its MCP server: Claude Code, Codex, Cursor or any other agent that speaks MCP. It creates or opens a model, builds it, looks at it and saves it, without a SOMA window until it shows you the result, and starts SOMA when it is closed. Settings > General > External agents has the setup command for each agent, for example:

claude mcp add --scope user soma -- <SOMA's Python> -B -m soma mcp

The settings fill in the path of SOMA's Python and copy the command for you. A switch there turns external agents off. Agents without MCP and scripts use the same as commands: soma app status|new|open|show|save|screenshot.

Features

Screenshots

Explode: take your assembly apart. SOMA works out in which direction each part comes off.

Exploded view of the rover

Animate: bring your models to life. Animations are created by your agent and rendered to video.

Animation of a Strandbeest with its steps and the playback bar

Draw: technical drawings from the model. The agent writes them in Python, with views, sections and dimensions measured on the model, as PDF and DXF.

Technical drawing of a wardrobe next to the 3D model

Look at more examples in 3D on somacad.app: a CNC router, a parametric organizer, a walking robot dog and a shelf with FEM.

Status

Version 1.0. The current version is on the releases page, changes are in CHANGELOG.md.

Note: SOMA itself is vibe coded. Most of the code was written by coding agents (mainly Claude Code) under human direction and review. It has tests, but expect rough edges.

Feedback

Bug reports, ideas and experiences with different agents are very welcome as issues. Pull requests are welcome too, see CONTRIBUTING.md.

Running from source

For development. The setup script is for Windows only. Requirements: Windows, Node.js 22, Python 3.12 and uv.

powershell -File python/scripts/setup_env.ps1
cd app
npm install
npm start

More in app/README.md.

License

SOMA is free software under the GNU General Public License v3.0 or any later version. You can use, change and share it. If you distribute a changed version, its source code has to be open under the same license.

What you design with SOMA is yours. The SOMA Model Exception lets you license your model files under any terms you like, even though they import soma. Exported files like STEP or STL are not affected by the GPL at all. The compatibility code that "As CadQuery script" puts into an exported script is also available under the Apache License 2.0.

Third-party components keep their own licenses, see THIRD_PARTY_NOTICES.md.

As seen on Open Source Alternatives

SOMA (Kai-Jungsthoefel/SOMA)

3d-modeling
Searching Database…

What is this?SOMA is a desktop app for designing parametric 3D CAD models in CadQuery (Python) together with an AI coding agent: you describe the part, the agent writes the model as code, and SOMA builds and shows the result so you can refine it.
Is SOMA itself an AI agent, or do I plug one in?SOMA is not an agent of its own — it's a workspace (terminal, code editor, Git, 3D viewer) that any CLI agent like Claude Code, OpenCode, Codex CLI or Gemini CLI plugs into. You install and log in to the agent yourself.
How do I install SOMA and start a model?Download the package for your OS from somacad.app/download or the GitHub releases (installer or portable ZIP for Windows, AppImage or tar.gz for Linux, dmg for macOS Apple Silicon), then click 'New model' and start a detected CLI agent from the + above the terminal.
Do I need to install a coding agent myself, or does SOMA include one?You need your own CLI agent installed and logged in (Claude Code, OpenCode, Codex CLI or Gemini CLI); SOMA doesn't ship one so your subscription and model choice stay yours. It does bundle Python, CadQuery, Git and CalculiX.
How stable is SOMA, and are there install gotchas?It's labeled an early prototype whose file formats and API may still change between 0.x versions. The packages aren't signed yet, so Windows SmartScreen and macOS Gatekeeper will warn on first launch, which you need to bypass manually.
Does it run as well on Linux and Mac as on Windows?Packages exist for Windows, Linux (AppImage/tar.gz, needs glibc 2.31+) and macOS (Apple Silicon only), but development and most testing has happened on Windows — the other platforms have seen much less use.
Do I need to know CadQuery or Python myself?No. You describe the part in plain language and the agent writes the CadQuery Python code for you; the code is there to edit yourself only if you want to.
What formats can I export a finished model to?STEP, STL, 3MF, DXF and more, plus technical drawings exported as PDF.
What is a .soma file?A single file that holds a model's code, its built 3D result and its full edit history, acting like a native CAD file format.
Which agent works best with SOMA?The project reports it's mostly tested with Claude Code and Claude Opus 5.5 with very good results, though other CLI agents and models also work.
Size
15.6 MB
Stars
493
Updated
CommitNov 17
Age
1mo
Commits · 90 Days