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 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.5

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.5
File Size Uploaded Provenance Actions
macbot-0.3.5.tar.gz 322.3 kB With provenance Details for macbot-0.3.5.tar.gz

Built distribution (wheel)

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

Total release size: 632.8 kB

Release files / macbot-0.3.5.tar.gz

Download URL macbot-0.3.5.tar.gz
Size 322.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ef5b391966d62d7e0628bcd85d92e8754c9d509201224433e69208ac3fe15bc8
BLAKE2b-256 checksum
How to use checksums
be523fb00041dede187b433c420662dc3e5c7c8cb118ce941a9acc27a7e1bdb2
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.5-py3-none-any.whl

Download URL macbot-0.3.5-py3-none-any.whl
Size 310.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6381253fdec4706b9bcc0520cf5f6c945b588ceb700bf3ca04d8ca0e6b69397
BLAKE2b-256 checksum
How to use checksums
692051cc2ae7531180eb144a79553efd89535fa502311689e96198fd60f07956
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.5

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.5.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