Record, train, and deploy from one place with Strands Agents, LeRobot, and Hugging Face Storage Buckets
Amazon Web Services
Hugging Face
The AWS SDK Strands Robots introduces an agent loop that records demonstrations, syncs them to Hugging Face Storage Buckets, streams data for training, and deploys policies back to robots with a single keyword change. Storage Buckets, backed by Xet, offer byte-level deduplication to reduce upload costs. The post includes a code walkthrough for recording, syncing, streaming, and deploying in an agentic loop.
The blog post by Hugging Face introduces a data loop using Strands Agents, LeRobot, and Hugging Face Storage Buckets. It builds on the previous post about Strands Robots, an AWS open-source SDK (Apache 2.0) that exposes robot abstractions, simulation, and the LeRobot stack as AgentTools. The key idea is to record demonstrations, sync them to a Storage Bucket (a mutable, non-versioned, Xet-backed repository type), stream the dataset for training without full download, and deploy the trained checkpoint to hardware with a mode change. The example uses Robot("so100") to record a LeRobotDataset, sync_dataset_to_bucket to sync it, and stream_dataset to read it back. Storage Buckets are backed by Xet, which deduplicates uploads at byte level using content-defined chunking, reducing data transferred per upload by about four times. The post also covers recording on hardware with the lerobot-record CLI and notes that the same format works for both simulation and physical robots. It provides code snippets and prerequisites for running the loop.
- Abbreviations
- SDK = Software Development Kit
- CLI = Command Line Interface
- VLA = Vision-Language-Action
- IAM = Identity and Access Management
- CORS = Cross-Origin Resource Sharing
- GPU = Graphics Processing Unit
Source: Hugging Face blog —
original
