---
title: "Record, train, and deploy from one place with Strands Agents, LeRobot, and Hugging Face Storage Buckets"
description: "Strands Robots 0.6 and LeRobot 0.7 form a continuous robot data loop."
url: "https://swe.quest/articles/record-train-and-deploy-from-one-place-with-strands-agents-lerobot-and-hugging-5e62e45211b44f62"
canonical: "https://huggingface.co/blog/amazon/strands-lerobot-streaming-data-loop"
source: "Hugging Face"
published: "2026-08-13"
difficulty: "medium"
kind: "How-to"
reading_minutes: 19
tags: ["ml-platform","data-pipelines","storage-systems","model-training","python"]
---

# Record, train, and deploy from one place with Strands Agents, LeRobot, and Hugging Face Storage Buckets

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-08-13, 19 min read, How-to. Original: [https://huggingface.co/blog/amazon/strands-lerobot-streaming-data-loop](https://huggingface.co/blog/amazon/strands-lerobot-streaming-data-loop)

## Summary

Strands Robots 0.6 and LeRobot 0.7 form a continuous robot data loop. Demonstrations are recorded as LeRobotDatasets with \`Robot.run(record=...)\` and synced into Hugging Face Storage Buckets, which are Xet-backed and deduplicate at the byte level with content-defined chunking. Training streams the data back through \`StreamingLeRobotDataset\` with no local download, and the checkpoint deploys to hardware with a \`port=\` change. In HF's benchmarks, re-uploading a 500 MB file with 1% of its bytes changed transferred only 5.5 MB. A full streaming read of an 86 MB dataset left under 1 MB on disk, because LeRobot's large Parquet and MP4 shards turn each batch into a few byte-range reads.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- Python and PyTorch DataLoader ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- LeRobot datasets
- Hugging Face Hub basics

## Keywords

Strands Robots, LeRobot, Hugging Face Storage Buckets, Xet, StreamingLeRobotDataset, SO-101, MuJoCo

## Related posts

- [\`LeRobotDataset:v3.0\`: Bringing large-scale datasets to \`lerobot\`](https://swe.quest/articles/lerobotdataset-v3-0-bringing-large-scale-datasets-to-lerobot-9eb16984e25fad4b.md): Hugging Face · 2025-09-16 · Medium · 10 min read · Data pipelines, Machine learning, Python, Storage systems
  LeRobotDataset v3.0 replaces the one-episode-per-file layout of v2, which hit file-system limits at millions of episodes, with multi-episode Parquet and MP4 files indexed by relational metadata that records episode boundaries and video timestamps.
- [Streaming datasets: 100x More Efficient](https://swe.quest/articles/streaming-datasets-100x-more-efficient-8732da9f7e4dd1b1.md): Hugging Face · 2025-10-27 · Medium · 7 min read · Data pipelines, Model training, Performance engineering, Python, Storage systems
  Hugging Face reworked streaming in the \`datasets\` library so multi-terabyte datasets can feed large training jobs directly from the Hub, keeping the same \`streaming=True\` API.
- [From the Hugging Face Hub to robot hardware with Strands Agents and LeRobot](https://swe.quest/articles/from-the-hugging-face-hub-to-robot-hardware-with-strands-agents-and-lerobot-21edff4c2a96ce13.md): Hugging Face · 2026-06-17 · Medium · 16 min read · AI agents, Machine learning, Open source, Python
  Strands Robots 0.6, an Apache-2.0 SDK from AWS, wraps a robot, its MuJoCo simulation and the LeRobot stack as tools for a single Strands agent.
- [Run AI workloads on any cloud, store on Hugging Face: zero-egress storage with SkyPilot](https://swe.quest/articles/run-ai-workloads-on-any-cloud-store-on-hugging-face-zero-egress-storage-with-595c5291113e315b.md): Hugging Face · 2026-07-07 · Medium · 8 min read · Storage systems, Cloud platforms, Model training, Cost optimization, ML platforms
  SkyPilot now supports Hugging Face Storage as a first-class backend (\`store: hf\`), so jobs on any of 20+ clouds, Kubernetes or on-prem can mount Hub buckets (read-write) or model/dataset repos (read-only) via an \`hf://\` URL and an existing \`HF\_TOKEN\`.
- [LeRobot v0.4.0: Supercharging OSS Robot Learning](https://swe.quest/articles/lerobot-v0-4-0-supercharging-oss-robot-learning-7c8c384b6ea4fa15.md): Hugging Face · 2025-10-24 · Medium · 9 min read · Machine learning, Model training, Open source, Python
  LeRobot v0.4.0 introduces Datasets v3.0 with a chunked episode format, video streaming and unified Parquet metadata for OXE-scale (\>400GB) robot datasets, plus a lerobot-edit-dataset CLI to merge, split and delete episodes.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
