platecli
Print from your terminal — no cloud required
Install · Try it in 30 seconds · Print something · User guide · For AI agents
Paste a Printables link, get a physical print. plate downloads the model, slices it with OrcaSlicer, and sends it to your Bambu Lab printer — one command, entirely on your local network. No cloud account, no telemetry. Runs on Linux, macOS, and Windows, driven by hand or by AI agents.
model URL or file → download → slice (OrcaSlicer) → upload → print
one command: plate job <url> --confirm
Supports: P1P, P1S, X1C, X1E, A1, A1 Mini (any Bambu printer with LAN mode)
Install
pipx install platecli
# or
uv tool install platecli
# or
pip install platecli
Previously published on PyPI as bambu-local-cli (yanked). The project is now platecli; the installed command is plate.
Try it in 30 seconds
No printer needed — simulation mode fakes one so you can kick the tires right away:
plate --sim status
🖨️ Bambu Printer Status
State: IDLE
Bed: 25°C / 0°C
Nozzle: 25°C / 0°C
Fan: 0 | WiFi: -42dBm
AMS:
Unit 0 (humidity 5, 26.0°C)
▶ Slot 0: PLA #F2F2F2 | 90%
Slot 1: PETG #0A0AC8 | 60%
Slot 2: empty
Slot 3: TPU #000000 | 45%
Timestamps and log-level prefixes trimmed for brevity.
Print something
Enable LAN mode on your printer, grab the IP, serial, and access code from its touchscreen, then let the interactive setup walk you through the rest:
plate setup
plate doctor # optional: verify the connection end to end
Now go from a link on the internet to plastic on the bed:
plate job "https://www.printables.com/model/3161-3d-benchy" --confirm
--confirm is required for anything that physically prints (or stops, deletes, or sends raw G-code) — leave it off and nothing on the printer moves.
Why platecli
- One command, whole pipeline —
plate job <url>downloads, slices, uploads, and prints in one shot; or rundownload/slice/upload/printindividually. - Fully local & private — talks straight to the printer over your LAN; no Bambu cloud account, ever.
- Safe by default — nothing physical happens without
--confirm, so a typo (or an over-eager AI agent) can't start a print. - AI-agent ready — every command speaks
--jsonwith published schemas, plus a--simmode for hardware-free automation. - Watch it live —
plate status --monitorfollows a print with a live progress bar until it finishes. - Fixes itself findable —
plate doctorchecks network, FTPS, and MQTT health and tells you exactly what's wrong. - Hardened where it counts — TLS certificate pinning, SSRF-guarded downloads, and size-capped ZIP extraction.
Built for AI agents
Every command emits machine-readable --json output backed by published JSON Schemas, --sim provides a full fake printer for development without hardware, and the --confirm gate makes accidental physical actions impossible by default. See the user guide and docs/api.md for the JSON contracts and stability policy.
Documentation
- User guide — full setup, config reference, slicing & AMS mapping, print monitoring, and every flag
- AGENTS.md — architecture and safety notes for agents and automation
- docs/api.md — JSON contracts + stability policy
- docs/schemas/ — machine-checkable JSON Schema files
- SECURITY.md — threat model, reporting, known limitations
- CHANGELOG.md — release notes
- CONTRIBUTING.md — dev setup, tests, releases
- Discussions — questions, show-and-tell, and community conversation
Status & disclaimer
Status: Beta (0.2.0). Pre-1.0 — APIs and config keys follow the stability policy in docs/api.md.
Disclaimer: platecli is an unofficial, community-developed tool. It is not affiliated with, endorsed by, or supported by Bambu Lab. "Bambu Lab" and product names are trademarks of their respective owners, used here only to describe compatibility. The printer protocols (MQTT/FTPS) are reverse-engineered; a firmware update may break functionality without warning — run
plate doctorafter printer updates.
License
MIT — Use freely, modify as needed.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file platecli-0.2.1.tar.gz.
File metadata
- Download URL: platecli-0.2.1.tar.gz
- Upload date:
- Size: 239.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644ddda9f80e410eb8bc4f260209244b2e154a064ce0038d54c1fe0292c1a98e
|
|
| MD5 |
ff856973fa146caeb6f6ba99763cc996
|
|
| BLAKE2b-256 |
2075d36c9f118104033d13fa9f6114141b631a8bfcaeb5d7ea60334a88b6d298
|
Provenance
The following attestation bundles were made for platecli-0.2.1.tar.gz:
Publisher:
release.yml on DLANSAMA/platecli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
platecli-0.2.1.tar.gz -
Subject digest:
644ddda9f80e410eb8bc4f260209244b2e154a064ce0038d54c1fe0292c1a98e - Sigstore transparency entry: 2237351092
- Sigstore integration time:
-
Permalink:
DLANSAMA/platecli@ea6bbec683223baed5ff60b24703e66baa40d291 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/DLANSAMA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ea6bbec683223baed5ff60b24703e66baa40d291 -
Trigger Event:
push
-
Statement type:
File details
Details for the file platecli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: platecli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 124.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa557b0d72087f9da54952f3ee3feb9db9b81a3b40acbff8398b55bacfd0e3fc
|
|
| MD5 |
230abcd593ef88a68e7fdcfe0fb31715
|
|
| BLAKE2b-256 |
797a361c6873cf6f2d65b34fd06a4872ee7bc738820eec39e47cb97fb5f5dddd
|
Provenance
The following attestation bundles were made for platecli-0.2.1-py3-none-any.whl:
Publisher:
release.yml on DLANSAMA/platecli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
platecli-0.2.1-py3-none-any.whl -
Subject digest:
fa557b0d72087f9da54952f3ee3feb9db9b81a3b40acbff8398b55bacfd0e3fc - Sigstore transparency entry: 2237351293
- Sigstore integration time:
-
Permalink:
DLANSAMA/platecli@ea6bbec683223baed5ff60b24703e66baa40d291 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/DLANSAMA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ea6bbec683223baed5ff60b24703e66baa40d291 -
Trigger Event:
push
-
Statement type: