Illustration of a 3D printer building a layered part
AIThis post was created with the assistance of artificial intelligence (AI).

A first-person report by Thorsten Meyer.

Buying for a business?Offer from Amazon

Get business pricing on tech for your team

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

On 21 November I started a small software project for my 3D printer. Ten days later it had 172 commits, and 160 of them were co-written by an AI coding agent. The tool is called Lagvik. It keeps the books for my Bambu Lab X2D: what every print used, what it cost, and how the machine is doing.

This is not a story about an AI that built an app while I watched. It is about how the work was split, which rules kept it safe, and what the finished tool actually delivers after its first week in real use.

Lagvik code-CAD view with a parametric spacer sleeve and its input fields
Parts from parameters: the agents add a part as a small file, then build and test it. Some labels in our tool are German.

Who decided what, and who wrote the code?

I set the goal and the limits. The agent wrote a plan first, with acceptance criteria, and I answered the open questions before any code existed. Then the agent implemented in small packages, and a second AI model from a different vendor reviewed each larger change without write access. Real findings were fixed with a test that fails on the old code. Points the reviewer only found by constructing bad data on purpose were written down, not patched.

My part was the decisions that only an owner can make. What the tool may share and what stays private. Which printer data it may touch at all. Whether a new library is acceptable under its licence. And whether the result works on my real printer, not just in a test.

Which rules kept the agents safe around a real machine?

A printer is not a sandbox. It heats plastic to over 200 degrees for hours. So the project file every agent reads first contains a few hard rules:

  • Read-only towards the printer. The tool listens to the printer’s status messages on the local network over MQTT and fetches the finished print file, but sends no commands. Anything else needs my explicit OK.
  • The printer’s own plug is never switched. Smart plugs on the printer are for measuring only.
  • Secrets stay out of the code. Access codes and logins live in protected files on the machine, never in the repository, never in a log.
  • Done means observed. A feature counts as finished when it works on the real printer or the real plug, and when the interface holds up at phone, tablet and desktop width.

Every test run, review round and live check is appended to a review register, so I can see later who checked what and with which result.

What does the tool actually do after a print?

When a job ends, Lagvik reads how many grams of each filament the slicer planned for that print, books them, and works out the material cost from what the filament cost us. Here are real single prints from the first week, all on the X2D, all successful.

  • Plate of desiccant cores — Material: PETG · Filament: 258 g · Time: 13 h 47 min · Material cost: €2.59
  • Holder for the filament-path switch — Material: PETG · Filament: 137 g · Time: 5 h 55 min · Material cost: €1.37
  • Bin for purge waste — Material: PLA · Filament: 158 g · Time: n/a · Material cost: €1.67
  • Toolbox frame — Material: PETG · Filament: 68 g · Time: 1 h 58 min · Material cost: €0.68
  • Single desiccant core — Material: PETG · Filament: 54 g · Time: 2 h 49 min · Material cost: €0.54

The printer record after 63.2 hours: 16 prints, 16 ok, 0 failed.

Lagvik print record with cost, filament used and result of one print
One print, booked: material cost, grams and result. Power per print is still unknown.

Where did the agents help most?

  • The boring, exact parts. Parsing the sliced print file, booking grams to the right material, writing schema migrations, keeping two languages in sync. This is careful work that agents do well when the rules are written down.
  • Code-CAD. Simple parts such as a spacer sleeve, a box with a screw lid, a cable clip, a hinge, a snap hook and a wall hook are defined by a few numbers. There is a short guide for agents: add a part as a parametric file, build it, check the test dimensions, export a 3MF file for the slicer.
  • Tests and checks. Every real finding got a test that was red on the old code before the fix.
Schematic animation of a part growing layer by layer on the build plate
The printer still does the physical work: one layer at a time.

Where did the human stay necessary?

The printer. No agent can tell you that a part sits badly on the bed, that the humidity in the filament unit looks wrong, or that a holder does not quite fit. The humidity history that Lagvik keeps moved between 19 and 36 percent over seven days; deciding when that means drying the filament is still my call.

And the honest gaps. Power per print is not in my data yet, because the smart plug readings are not flowing. The tool says “power unknown” instead of guessing, which is exactly what I asked for. An agent that fills gaps with plausible numbers would have been worse than no tool.

What this means for you

  • Write the rules before the first prompt. For anything that touches a physical device, the useful instructions are limits: read-only, never switch power, secrets out of the code.
  • Use a second model as a reviewer, not a co-author. A reader with no write access finds different mistakes than the writer does.
  • Count “done” only from real runs. A passing test is not a working printer integration. Check on the machine.
  • Keep the owner decisions with a human. What gets shared, what costs money, which licence is acceptable: those stayed with me, and should stay with you.

Lagvik is an internal tool for our own workshop, not a product you can download. If you build something similar with AI agents, start with a small, read-only tool like this one. The stakes are low, and you learn quickly where the agents shine and where they need you.

BLACK FRIDAY

Black Friday Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

GLM-5.3-Flash

Meta has announced the release of GLM-5.3-Flash, a new language model designed to improve AI performance with faster processing capabilities.

Introducing Claude Opus 5.5

Claude Opus 5.5, the latest version of Anthropic’s AI, has been announced, promising improved performance and capabilities. Details are still emerging.

14 AI Coding Assistants For Study, Practice, And Software Development In 2027

A comparison of 14 books on AI coding assistants, from beginner guides to tool-specific and team-focused resources.

Can Zero Data Retention Revolutionize AI Data Management In Frontier Models?

OpenAI announces new Zero Data Retention controls for its frontier AI models, enabling organizations with strict privacy needs to use advanced systems without storing prompts or outputs.