4 December 2026

AI and agents, every day. Straight to it.

ToolsQuick notes

Strands Robots streams robot training data from buckets without a full download

stream_dataset() reads bucket data progressively for training without a complete local copy.

Rafael Moura

· 1 min read

Read in Portuguese

Strands Robots, AWS’s open source development kit under Apache 2.0, connects demonstration recording, storage and training reads through the LeRobot dataset format. The tutorial uses Hugging Face Storage Buckets as mutable, non-versioned working storage, while push_to_hub() publishes selected dataset versions.

The documented installation is uv pip install -U "strands-robots[sim-mujoco,lerobot]>=0.5.1", requiring Python 3.12+ on Linux or macOS. The package includes LeRobot >=0.6.1. Training requires the additional installation uv pip install "lerobot[training]".

Excerpt from the official example, which also requires a Strands-compatible model provider:

from strands import Agent
from strands_robots import Robot

sim = Robot("so100") # mode="sim" (default - safe, no hardware)
agent = Agent(tools=[sim])

Synchronization writes to hf://buckets/{bucket}/{run_id}. Reading through stream_dataset() retrieves data progressively and decodes video during consumption, avoiding a complete local dataset copy.

Storage uses Xet’s content-defined deduplication. In the cited benchmarks, changing 1% of a 500 MB file transferred 5.5 MB during the update. LeRobot’s documented defaults organize recordings into Parquet shards of up to 100 MB and MP4 video shards of up to 200 MB.

The default simulation uses a mock policy that generates joint actions without a trained model. To collect manipulation demonstrations with a trained policy, the example uses create_policy("<hf_repo>"), preserving the dataset format and bucket synchronization.

Rafael Moura

Agents & automation.

Read articles by Rafael MouraEditorial policy
Report an error

Use 10–1,000 characters; a reply email shares this space.

Next in your reading list