Skip to main content

napkin2factory: a pen sketch of a hexagon on a napkin, with the finished part floating above it, beside the name

napkin2factory

From napkin to factory. Tell your AI agent about something physical you want made. It sketches a few rough directions and shows them side by side. You pick one, and it turns that into a package a workshop can build from: 3D models, drawings, flat patterns, a parts list with costs, manuals, and one page that shows it all. When you change your mind later, you see what the change affects before anything moves.

Disclaimer. napkin2factory designs are made with an AI system and have not been reviewed by a licensed engineer. Have a qualified person review a design before you build, power or use it. Safety requirements never pass by computation alone; a person signs them off.

Start

You need an AI coding agent that can run commands on your computer (macOS or Linux). Paste this into it, with your idea at the end:

I'd like to design a physical product with napkin2factory. Read its guide for agents and follow it:
https://raw.githubusercontent.com/osaxma/napkin2factory/main/docs/agent-guide.md

My idea: (a sentence or two: what it is, what it is for, where it will live)

Your agent asks before it installs anything, makes a folder for your product, and takes it from there. It asks a few questions, one at a time, then opens a board in your browser with the rough directions side by side. You answer and choose in plain words. You don't need to type commands or open files.

Other ways in

  • See an example first. Paste this instead:

    Show me what napkin2factory does with its kiln example. Read its guide for agents and follow the "Show the example" section:
    https://raw.githubusercontent.com/osaxma/napkin2factory/main/docs/agent-guide.md
    

    The example is a 1200 °C test kiln. Its first direction is shown in red: it needs 1236 mm of width with the door open, and the alcove it was meant for is about 800 mm. Without the napkin stage that problem turned up at hour forty. The board shows it in minute five.

  • You already have a product folder (one you made earlier, or one someone sent you). Open that folder in your agent and say what you want. The folder carries its own instructions for the agent.

  • You'd rather do it by hand. Everything the agent does is in the guide for agents. It is written for agents, but you can follow it.

  • Coming later: a way in from chat apps that have no terminal, and a GitHub template that builds on GitHub's machines.

What you get

  • A board of rough directions before any detailed design. Every number on it says where it comes from: given (yours), computed (measured from the shapes) or estimate (a rough engineering formula). A direction with a problem stays on the board, in red, with its reasons.
  • A report page that opens straight from disk: a 3D view you can turn, drawings, the parts list with "what to tell the manufacturer", and which requirements pass and which need you.
  • A build plan: what is put together on its own (a door, a control box), in what order, with the fixings for each joint counted, and an assembly sheet for each step that a workshop can follow.
  • Safe changes. Each change shows its impact first, waits for your yes, rebuilds only what it affects, and ends in a page comparing the two versions.
  • Named versions (v1.0.0, v1.1.0 …) you can send to a manufacturer, frozen only when every check passes and every safety requirement has a person's sign-off. When you want a manufacturer to see them, ask your agent to share the pages: you get one folder to send, or, if you have a GitHub project for it, a web address.

It runs on your computer, works offline once installed, and needs no account.

What it does not do yet

Mechanical parts and the parts list are covered. Electrical design, structural simulation (FEA) and hosted services are not.

Developing napkin2factory

This repository is the tool itself. If you want to change it (code, tests, docs), start with AGENTS.md; it is written for whoever does the work, a person or an agent.

License

MIT. See LICENSE.

Metadata

Release files for napkin2factory 0.5.0

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

Source distribution (sdist)

Source distribution for napkin2factory 0.5.0
File Size Uploaded Provenance Actions
napkin2factory-0.5.0.tar.gz 851.8 kB With provenance Details for napkin2factory-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / napkin2factory-0.5.0.tar.gz

Download URL napkin2factory-0.5.0.tar.gz
Size 851.8 kB
Tags Source
SHA-256 checksum
How to use checksums
659ee035796653c47f843a1827e46ae7c945f9cfd10c1bf2c50c36b30a8d3ca2
BLAKE2b-256 checksum
How to use checksums
f75e4fa18a668716940568695973e226273a82e8e3f0d663a1e435dc1e6e4ba5
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 2, 2026.

Transparency log

Release files / napkin2factory-0.5.0-py3-none-any.whl

Download URL napkin2factory-0.5.0-py3-none-any.whl
Size 994.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f0ca926dab0ff19e7a917bae7b5c65ee68a81f8ebf5c7fdf8ba42afda23a575
BLAKE2b-256 checksum
How to use checksums
bba391fda628d7a8c8627c5b6155faf0be7a7b891972895955fe61650d0300e3
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 2, 2026.

Transparency log

Security for napkin2factory 0.5.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for napkin2factory-0.5.0.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 2, 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.

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