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 1698 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.
  • 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.

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.3.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.3.0
File Size Uploaded Provenance Actions
napkin2factory-0.3.0.tar.gz 661.8 kB With provenance Details for napkin2factory-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / napkin2factory-0.3.0.tar.gz

Download URL napkin2factory-0.3.0.tar.gz
Size 661.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8b227e2182297ce3838027fdc9df41f56468bbbf62f151c8b96cbcb6343185e4
BLAKE2b-256 checksum
How to use checksums
854e5d9b043b29a79126e7a12f0a96045d4211c32d87423e0b615e70a8194130
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 1, 2026.

Transparency log

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

Download URL napkin2factory-0.3.0-py3-none-any.whl
Size 766.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22033c2ef49f47cf30507eb40964aa00b1ceb015d46c0a8b7609b0ead2f413b4
BLAKE2b-256 checksum
How to use checksums
02b217acc8f09c26df62ee859940f52de6b233ca35bba707b5a489979c816da2
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 1, 2026.

Transparency log

Security for napkin2factory 0.3.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.3.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 1, 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