Skip to main content

Kumiki

Programmatic CAD for timber framing and woodworking.
Design frames and joinery in Python, and see them in 3D with Kigumi.

Releases · Try it online · Website · Docs · Discussions · Discord

PyPI Kigumi Tests Discord

A tiny house frame designed in Kumiki

kumiki is a programmatic CAD library for timber framing and woodworking. Designs are written as programs which are flexible, parametric, and precise.

Because designs are code, Kumiki works well with AI agents 🤖. Agents are good at using tools but even better at writing code.

kigumi is the standalone viewer app for viewing kumiki frames and plans and also serves as a development environment.

Features

  • Parametric joinery. Dozens of joints (mortise and tenon, dovetails, laps, scarfs, pegs, wedges and more), each parametrically sized to the timbers it joins.
  • Examples and Patterns Extensive examples and patterns to explore what's possible and provide one-shot learning for your AI agent.
  • 3D renders in Kigumi. Select down to a face, walk a joint's CSG tree, use X-ray and section views, and measure.
  • Drawings (beta). Plans and dimensioned shop drawings, so you can permit and actually build your designs.
  • Dissamblies (beta). Kumiki works out the order a frame goes together, and plays it back.
  • Export. STL, OBJ, 3MF and STEP.
  • Built for agents. Kigumi installs agent instructions with each project, has an agent of its own, and an MCP server so your agent can see what it built.

Get started

kumiki is used with the kigumi viewer:

Desktop app (recommended) Mac and Windows, from the releases page or kumiki.build/install. Use it with your own agent.
VS Code extension From the Marketplace, or Open VSX for Cursor.
In your browser (beta) kumiki.build/try. Nothing to install, with a limited agent: good for a first look. Token subscriptions coming soon.

Your first project

In the app, click New Project and pick a folder. In VS Code, open a folder and click Initialize Project in the Kigumi sidebar. Then click New Frame… at the bottom of the frames list.

OR set up the MCP and ask your agent to setup the project for you (see below)

Patterns and examples

Kumiki ships with a pattern book of joints and several example frames, listed in Kigumi's explorer. Choose View Source to read one, or Duplicate to Workspace to make your own copy.

Designing frames

Kumiki designs are built with code. You can write it yourself, or ask an agent to write it for you.

With an agent

Open your coding agent in your kigumi project folder. It's also good idea to connect your agent to the kigumi MCP.

Plain prompts work well, and carpentry and woodworking terms work better. See the pattern book for the joints available. The agent can implement its own custom joints too! It's best to build a structure in steps, previewing each one and modifying as you go. No one can stop youfrom asking your agent to "build me a house".

Connecting your agent to the kigumi MCP

The kigumi MCP (model context protocol) exposes kigumi functionality to your agent so it can manage your project and preview your frames for automation.

To setup the MCP expand the "MCP" row in the left file explorer and make sure "enable MCP server for agents" is checked. Then copy for your agent. If you're unsure, just copy the "URL and token" option and ask your agent to connect to it.

How does it work?

kigumi projects install with a set of agent usage instructions and an API cheat sheet and the entire kumiki library source is available as well so the agent so your agent has everything it needs!

By hand

Start with docs/concepts.md for Kumiki's design philosophy, then read the example frames that ship with it. Kumiki is simple and verbose by design: it looks complex, but each step is easy to follow. A typical structure is built like this:

  1. Establish a footprint.
  2. Raise foundational timbers on the footprint.
  3. Join them with more timbers to complete the structure's shape.
  4. Cut joints where the timbers meet.

Knowing these steps helps you direct an agent, too. Instead of "I want my building to be an L shape", try "establish an L-shaped footprint for the building". And if you have questions, ask the agent to explain.

Drawings (beta)

Kumiki and Kigumi make drawings, plans and blueprints in three ways:

  • Generated from the frame using with_auto_drawings.
  • Coded one at a time in your frame file.
  • Added manually in Kigumi.

Ask your agent to add drawings to your file to get started. To add a dimension by hand, open a drawing, select the feature to measure from, press the measure button (or M) and select the feature to measure to. With no drawings yet, select timbers and press draw timber, or press draw frame with nothing selected to draw the whole frame.

You can also export STEP or STL files and make drawings in other software.

Community

Contributing

To contribute a new joint, add a file in kumiki/joints/community and add yourself as its CODEOWNER. Community joints may later be promoted to the main joint folder.

For anything bigger, please get in touch first. There is plenty of work to be done :).

Low effort vibe coded PRs will likely be ignored. Just open an issue instead if you're not wanting to understand the code. I have tokens to spare.

Developing Kigumi

Kigumi is written almost entirely with AI coding agents, under close direction. There's no written architecture guide yet, and its design is opinionated, so a bug report or feature request is often better than a pull request.

Pull requests that change anything under kigumi/ need a signed Contributor License Agreement. The CLA bot asks on your first such PR and tells you what to comment; you only sign once. Contributions to kumiki need no CLA.

License

  • kumiki (the Python library, its patterns and docs) is under the Mozilla Public License 2.0.
  • kigumi (the viewer: the VS Code extension and desktop app, in kigumi/) is under the Elastic License 2.0. You may use, modify and redistribute it freely, including commercially. You may not offer it to others as a hosted or managed service: the hosted web version of kigumi is published only by the project owner.

Releases of kigumi up to and including 0.7.2 were under MPL-2.0 and remain so. Third-party files bundled with kigumi, such as those in kigumi/webview/vendor/, keep their own licenses.

Metadata

Release files for kumiki 0.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kumiki 0.9.4
File Size Uploaded Provenance Actions
kumiki-0.9.4.tar.gz 16.7 MB With provenance Details for kumiki-0.9.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kumiki 0.9.4
File Interpreter ABI Platform Actions
kumiki-0.9.4-py3-none-any.whl Python 3 none any Details for kumiki-0.9.4-py3-none-any.whl

Total release size: 18.5 MB

Release files / kumiki-0.9.4.tar.gz

Download URL kumiki-0.9.4.tar.gz
Size 16.7 MB
Tags Source
SHA-256 checksum
How to use checksums
4db48ef4fd40a7c743551120fce14862cb9979060e599b2f6896b77414557316
BLAKE2b-256 checksum
How to use checksums
dc872b0b47be26d749e6b76869695b8fb66326040624ad3e42b61f8c860a9244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / kumiki-0.9.4-py3-none-any.whl

Download URL kumiki-0.9.4-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dcd596944a493ebac7759a631b68b6d5fa0fc071d8f62c461971a7913abcbd0f
BLAKE2b-256 checksum
How to use checksums
fd8d198b19e55ba058dc6a882cefdd1fc8153c67b47145e5f0f8ab170123515c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for kumiki 0.9.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for kumiki-0.9.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page