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. The SO-101 tabletop workflow runs end to end in simulation (demos, export, LeRobot training, seeded evaluation); a trained policy solving the task is not shown yet. See robot support for the scope of each profile. 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 178 ms
X-VLA MLX Chunk 30 138 ms
ACT PyTorch MPS Chunk 100 16 ms
ACT MLX Chunk 100 8 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 SO-101 fine-tune at 10 steps (MPS BF16 or compiled MLX FP16). ACT uses the public ALOHA transfer cube checkpoint (MPS FP32 or compiled MLX FP32 with TF32 disabled). Both comparisons use recorded observations. 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.6

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.6
File Size Uploaded Provenance Actions
macbot-0.3.6.tar.gz 328.8 kB With provenance Details for macbot-0.3.6.tar.gz

Built distribution (wheel)

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

Total release size: 647.6 kB

Release files / macbot-0.3.6.tar.gz

Download URL macbot-0.3.6.tar.gz
Size 328.8 kB
Tags Source
SHA-256 checksum
How to use checksums
14f428937821da693b4af8e9708ba9d34e4316085763050a1c8198b80fdf54b0
BLAKE2b-256 checksum
How to use checksums
360977997094a47f38e1104b958e22e0db82380e6b8c3b7c15e563ac16213abc
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 25, 2026.

Transparency log

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

Download URL macbot-0.3.6-py3-none-any.whl
Size 318.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d078c20291dc62c78ecb5bb47a52239129ffff9b32a4be001537cc6054ab31e4
BLAKE2b-256 checksum
How to use checksums
5bf059765f86b4a3213652e4b806a9733ec246ee505e5f20a28211f08f779562
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 25, 2026.

Transparency log

Security for macbot 0.3.6

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.6.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 25, 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