AddiWire

Additive manufacturing news, prices in the EU and the USA, and independent expert commentary

Software

Open-source bambu-cli scripts slicing, upload and start for Bambu Lab printers

Published 1 sourceSummary written with AIDeutsche Version

The open-source tool bambu-cli lets users slice a model, send it to a Bambu Lab printer on the local network and start the job from one command line. It closes a gap: Bambu Studio's headless mode can slice but cannot reach the printer. So far it has been tested only on an A1 mini.

Key facts
  • Python tool from Sunwood-ai-labs under the MIT licence, two commits so far
  • Files go via FTPS port 990, commands via MQTT port 8883
  • Requires LAN-only and developer mode, Python 3.10 or newer, Bambu Studio
  • Tested only on an A1 mini under Windows

Context MQTT is a lightweight messaging protocol commonly used to send commands and status data between networked devices.

What does bambu-cli add to Bambu Studio?

Bambu Studio can run without its interface, aligning models, loading profiles and saving projects, but it cannot start a print on the machine. bambu-cli, a Python tool from the GitHub organisation Sunwood-ai-labs, adds that step by pairing the slicer's command line with the bambulabs-api library. Files travel over FTPS on port 990, commands over MQTT on port 8883.

Which commands are available?

The print command accepts STL, 3MF and already sliced GCODE.3MF files, slicing first when needed. Options select settings and filament profiles or print from the external spool. The status command reports state, layer, progress, remaining time, nozzle, bed and chamber temperatures and Wi-Fi signal, with raw JSON output for scripts and AI agents. Pause, resume, cancel, chamber light and raw G-code are also supported.

What are the requirements and limits?

The printer needs LAN-only and developer mode, which newer firmware requires for third-party MQTT commands. Python 3.10 or newer and Bambu Studio are needed. Connection details are stored locally, with the access code masked in output. Only an A1 mini on Windows has been tested, the repository has two commits, and the MIT licence applies, use at your own risk.

What it means

For small manufacturers running Bambu Lab fleets for fixtures or short runs, scriptable job submission is a step towards unattended, repeatable workflows. The project is very young and tested on one printer, so it suits experiments rather than production dependencies. Developer mode and LAN-only operation also change how a printer is secured and integrated, which IT teams should weigh.

Frequently asked questions

Does bambu-cli work with every Bambu Lab printer?

Unknown. The developers have so far tested only an A1 mini on Windows with Bambu Studio 02.09.01.70.

What must be enabled on the printer?

LAN-only mode and developer mode must be active, since newer firmware accepts third-party MQTT commands only in developer mode.

Read the original reports
  1. 3Druck.com, 25 Nov 2026