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
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:
- Establish a footprint.
- Raise foundational timbers on the footprint.
- Join them with more timbers to complete the structure's shape.
- 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
- Questions and ideas: GitHub Discussions
- Chat: Discord
- Bugs and feature requests: Issues
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.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kumiki-0.9.6.tar.gz | 17.1 MB | With provenance | Details for kumiki-0.9.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kumiki-0.9.6-py3-none-any.whl | Python 3 | none | any | Details for kumiki-0.9.6-py3-none-any.whl |
Total release size: 19.2 MB
Release files / kumiki-0.9.6.tar.gz
| Download URL | kumiki-0.9.6.tar.gz |
|---|---|
| Size | 17.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
337cfba21636aafba920736db83070d3ee9702f9c67e93acb86aa9311a17dd54
|
|
BLAKE2b-256 checksum How to use checksums |
ee65a57eb9f2ee8d5ad7ea9692ad0e96dfec42b902229ab9c903b3cda7e7bf35
|
| 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 15, 2026.
Transparency logRelease files / kumiki-0.9.6-py3-none-any.whl
| Download URL | kumiki-0.9.6-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f6b5092c822dc64ed4fe97eb6ffa634129837bdeec8f8125ba3deaeb74f75d6
|
|
BLAKE2b-256 checksum How to use checksums |
33211db627e060c92a0f5e3a53a1c735e57c936ee952481c95ddb87d66255b54
|
| 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 15, 2026.
Transparency logSecurity for kumiki 0.9.6
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.
Attestation for kumiki-0.9.6.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 15, 2026.
Transparency logA 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.