Kiln in OpenCode

Let OpenCode run your 3D printer.

Kiln gives OpenCode what it needs to design a part, check it will print, and run it on your own printer. It works on OpenCode’s free models, and you approve every print.

From one sentence to a marble run in 3D

OpenCode, on a free model, designed a spiral marble run with Kiln, sliced it for a Bambu Lab A1 with no supports, and handed back the link.

The link OpenCode handed back, opened in a browser: the marble run on Kiln’s 3D stage.
OpenCode in the terminal: Kiln's compile, slice and cost steps, then the answer: spiral marble run tower, 104 × 104 × 154 mm, Kiln's 3D link, a two-turn chute around a central column into a catch cup, and the Bambu Lab A1 check with supports not needed, 120.6 g and 4 h 30 m
A real capture: OpenCode’s answer in the terminal, with Kiln’s steps above it.

Works on a free model

No account and no key: one of OpenCode’s built-in free models designed the marble run through Kiln.

No supports, checked

Kiln sliced the tower for a Bambu Lab A1 and turned supports off, because no overhang needed them. With Kiln Pro, it also says exactly what to change when a part is risky.

One link to see it

OpenCode handed back Kiln’s link, and the marble run opened in 3D in a browser, ready to turn over before anything prints.

Tested with OpenCode in the terminal on a Mac. The 3D link lasts about half an hour. Starting and watching a print needs Kiln installed on the computer next to your printer.

The test conversation, shortened

Design a spiral marble run tower for my desk: a marble dropped in the top spirals down two full turns around a central column and rolls out into a little catch cup at the bottom. About 15 cm tall, printable without supports. Check it will print on my Bambu Lab A1 and give me the link to see it in 3D.

OpenCode designs it with Kiln and slices it for your printer

Done, and it slices clean with supports off. Spiral marble run tower, 104 × 104 × 154 mm: 120.6 g of PLA, about 4 h 30 m. Here’s the link to see it in 3D.

The tower opens on Kiln’s 3D stage

What Kiln adds

OpenCode can imagine it. Kiln makes it real.

The same job both ways, from a sentence to an object in your hands.

StepOpenCode on its ownOpenCode with Kiln
Make itWrites CAD code. Seeing the shape takes a CAD program on your computer.Kiln builds the model and hands you a link that opens it in 3D.
Check itA problem shows up in the slicer, or partway through the print.Kiln checks overhangs, thin walls, warping risk, and whether it fits your printer, before anything prints.
Change itAsk again and get new code. Keeping track of which version was better is on you.Ask for a change in the same chat, and Kiln keeps every try tied to what you first asked for. Save it to your free Kiln account and you get version control: every version kept, and a branch for the risky idea. Pro does it on every design and draws what changed on the part.
Slice itExport the file, open your slicer, and pick the settings.Kiln slices it in the slicer you already have: PrusaSlicer, OrcaSlicer, or Bambu Studio.
Print itSend the file to your printer yourself.OpenCode sends it to your printer, and it starts only after you say yes.
Watch itCheck on it in the printer’s own app.Kiln watches every print it starts and stops it if a heater fails. Watch it live on kiln3d.com/monitor, with the camera, progress, and pause and stop, or ask OpenCode how it’s going.
More printersYou run each one yourself.Business runs several at once and picks the printer for each job. Free and Pro drive one at a time.

The camera shows when your printer has one. A print can still fail, with Kiln or without it; Kiln catches what it can see before the print starts, and asks before it uses your plastic.

Set it up

A few minutes on the computer next to your printer, with OpenCode installed.

  1. Install Kiln on the computer by your printer

    Follow the install guide, or paste its setup message into an agent that can run commands, and it installs Kiln for you.

  2. Add Kiln to OpenCode

    Run this one line in a terminal. It adds Kiln to OpenCode’s own settings for every project.

    opencode mcp add kiln --global -- "$(which kiln)" serve
  3. Ask for what you want

    Start OpenCode and describe a part. Its free models work without signing in, or connect a stronger one with /connect. See the printers Kiln works with.

  4. See it in 3D

    OpenCode hands back Kiln’s link. Open it in your browser to turn the part over before anything prints.

Before it prints, Kiln asks you

A print uses real plastic on a real machine, so OpenCode can’t start one alone. Kiln shows you the part first, then waits for your yes. Auto-print is off unless you turn it on.

Works with your printer

Kiln runs on the computer next to your printer, on your own network.

Questions

Can OpenCode 3D print?

Yes, with Kiln. Describe a part in OpenCode; Kiln designs it, checks it will print, and hands back a link that opens it in 3D in your browser. Kiln runs on the computer next to your printer, so OpenCode can send the print there, and you approve it. Tested in OpenCode in the terminal on a Mac.

Can OpenCode make 3D models?

Yes. With Kiln connected, OpenCode turns a plain description into a real 3D model you can turn over, measure and change in the same chat, then print or download. No CAD skills needed.

What does Kiln add to OpenCode?

OpenCode can write the code for a 3D model. Kiln builds it, hands you a link that opens it in 3D, checks it will print (overhangs, thin walls, warping, and whether it fits your printer), slices it in your own slicer, and sends it to your printer after you say yes.

Which model works best with Kiln in OpenCode?

OpenCode comes with free models you can use without signing in, and our test ran on one, DeepSeek V4.1 Flash. For harder designs, connect a stronger model such as Claude or GPT with /connect. Kiln does the checking and the printing; the model does the thinking, so a stronger model means better designs and fewer retries.

How do I connect OpenCode to my 3D printer?

Install Kiln on the computer next to your printer, then add Kiln to OpenCode’s settings file, ~/.config/opencode/opencode.json, and restart OpenCode. The setup steps on this page take a few minutes.

Do I need a paid model?

No. OpenCode comes with free models you can use without signing in, and our test ran on one. You can connect Claude, GPT or others with /connect for harder designs.

Does the 3D model show inside OpenCode?

OpenCode works in the terminal, so it hands back a link to Kiln’s 3D view. Open it in your browser to turn the part over. The link lasts about half an hour.

Do I need a 3D printer?

No. OpenCode can design a part and Kiln checks it will print on the printer you name. Our marble run was sliced for a Bambu Lab A1 that was switched off. You need a printer, or someone else’s, to make it.

Will it print without asking me?

No. Kiln waits for your yes before every print. Auto-print is off unless you turn it on.

Which printers does it work with?

Bambu Lab, Creality, Prusa, Elegoo, and most Klipper and OctoPrint machines. The full list is on the supported printers page.

Is Kiln made by the OpenCode team?

No. Kiln is independent, open-source software you can use from OpenCode. It is not affiliated with or endorsed by Anomaly, the makers of OpenCode.

Kiln is independent, open-source software. It is not affiliated with or endorsed by Anomaly.