Skip to main content

macbot

LeRobot on a MacBook.
Bring your LeRobot arms, calibration, datasets and checkpoints to a MacBook, with fast inference on Apple silicon.

macOS Python LeRobot License tests

English · 中文

Collect on the robot, export a LeRobot dataset, train on a GPU, bring the checkpoint back and run it on the MacBook

Start here

Already using LeRobot on Linux? Follow the migration guide to reuse your calibration and import your command. Setting up from scratch? See the quickstart. Use Python 3.12+ on Apple silicon. LeRobot datasets and checkpoints move between machines as-is.

pip install macbot
macbot doctor
macbot init
# Already have a LeRobot command? Use macbot init --from-lerobot "$LEROBOT_COMMAND" instead.
macbot collect
macbot health
macbot export --out ./dataset
# Train with lerobot-train on a GPU machine, then bring the checkpoint back.
macbot run --policy ./pretrained_model       # or owner/model@revision
macbot replay

The reBot B601-RS is verified on hardware. Other LeRobot arms have fake or simulator evidence only; see robot support for the exact scope. For π0.5, use an Apple silicon Mac with at least 32 GB of memory. See policy support for tested checkpoints.

Measured on a MacBook Pro (M5 Pro, 48 GB). Approximate time per action chunk:

Policy Backend Execution Latency
π0.5 PyTorch MPS Chunk 50 270 ms
π0.5 MLX Chunk 50 165 ms
π0.5 PyTorch MPS RTC 50 350 ms
π0.5 MLX RTC 50 170 ms
SmolVLA PyTorch MPS Chunk 50 296 ms
SmolVLA MLX Chunk 50 53 ms
X-VLA PyTorch MPS Chunk 30 235 ms
ACT PyTorch MPS Chunk 100 25 ms

π0.5 uses our SO-101-class fine-tune on recorded observations, with 10 denoising steps (compiled PyTorch BF16 or MLX FP16). RTC is Real-Time Chunking guidance. SmolVLA uses the public lerobot/smolvla_base checkpoint at 10 steps (MPS BF16 backbone or compiled MLX FP16). X-VLA uses a public BF16 SO-101 fine-tune; ACT uses our trained checkpoint on MPS FP32. For methods and more results, see docs/acceleration.md, other policies in docs/policies.md.

Data collection Measured
Teleoperation loop 60 Hz
Recording 30 fps
Camera frame age at sampling, p95 ≤ 40 ms

The macbot collection console

Run a policy Replay a trial
Policy runner Trial replay
  • init guides arm and camera selection and checks saved LeRobot calibration.
  • collect records with live cameras and checks each episode; try collect --fake without an arm.
  • health --dataset and replay --dataset inspect local or Hub LeRobot v3.0 data in place.
  • run loads LeRobot checkpoints and records each trial with cameras and timing.
  • replay aligns trial video, joint traces and action chunks. See the workflow guide.

What it took to run this on macOS

  • CAN under sudo: macbot preloads PCBUSB and gives recorded files back to the invoking user.
  • Camera selection: AVFoundation unique IDs keep UVC roles separate from iPhone Continuity Camera.
  • π0.5 inference: macbot compiles the PyTorch MPS path and offers an optional MLX backend; see the benchmarks above.

Contributing

See CONTRIBUTING for development and hardware reports, architecture for the code layout, and the roadmap for planned work.

Safety

macbot moves a real arm. Every console starts paused or idle, limits joint speed and range, clamps the gripper force, pauses when a camera stalls, and returns to zero slowly before disabling the motors. Keep the workspace clear and a hand near the power switch, and start new policies at --speed 0.3.

Acknowledgements

Built on LeRobot. π0.5 and the augmentation recipe come from openpi; Real-Time Chunking from Black et al., 2025. The reBot arms are by Seeed Studio. JetBrains Mono is under the SIL Open Font License.

License

Apache-2.0. See LICENSE.

Metadata

Release files for macbot 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for macbot 0.3.3
File Size Uploaded Provenance Actions
macbot-0.3.3.tar.gz 302.5 kB With provenance Details for macbot-0.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 594.4 kB

Release files / macbot-0.3.3.tar.gz

Download URL macbot-0.3.3.tar.gz
Size 302.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a72c0b35493412d9c62facc6e4f3792d59376904f3f487cbf7a01a4f1edfeb28
BLAKE2b-256 checksum
How to use checksums
35cabce81af027d470acd0369e35eb767bd32d9ab77ed14646c77584bf58f13a
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 21, 2026.

Transparency log

Release files / macbot-0.3.3-py3-none-any.whl

Download URL macbot-0.3.3-py3-none-any.whl
Size 291.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f1e6ddfde68499cac9a70137e7f1f524c6764ec6d7d3c070caa60fdc20ea635
BLAKE2b-256 checksum
How to use checksums
32f7f27b3b34db2a77327bac8a5a21c680eeb3a452c6cdf251b3a455c7346e93
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 21, 2026.

Transparency log

Security for macbot 0.3.3

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for macbot-0.3.3.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 21, 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