[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114695":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":14,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":16,"rankGlobal":8,"rankLanguage":8,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":20,"topics":21,"createdAt":8,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":13,"starSnapshotCount":13,"syncStatus":14,"lastSyncTime":26,"discoverSource":27},114695,"ToyBlocks","allenai\u002FToyBlocks","allenai",null,"Python",60,4,57,0,2,3,40.4,"Apache License 2.0",false,"main",true,[],"2026-11-11 19:01:40","2026-11-18 00:03:33","\u003Cp align=\"center\">\n  \u003Cimg src=\"ToyBlocksLogo_new.svg\" alt=\"ToyBlocks\" width=\"720\">\n\u003C\u002Fp>\n\n# ToyBlocks\n\n\u003Ch3 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fallenai.github.io\u002FToyBlocks\">Website\u003C\u002Fa> &nbsp;|&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fallenai.org\u002Fblog\u002Ftoyblocks\">Blog post\u003C\u002Fa> &nbsp;|&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Findex.html\">Docs\u003C\u002Fa> &nbsp;|&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fconsole.cloud.google.com\u002Fstorage\u002Fbrowser\u002Ftoyblocks-data\">Data\u003C\u002Fa> &nbsp;|&nbsp;\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fcollections\u002Fallenai\u002Ftoyblocks\">Models\u003C\u002Fa> &nbsp;|&nbsp;\n  Tech report (coming soon)\n\u003C\u002Fh3>\n\nThis repo contains ToyBlocks: an open simulation framework based on IsaacSim\u002FIsaacLab, built around \na robot arm manipulating blocks on a tabletop. The setting is deliberately simple, but the robot \nmust still reason about how the blocks interact and how to arrange them while pushing, flipping, \nand stacking.\n\nToyBlocks automatically and scalably generates demonstration data for policy training, without requiring \ntime-consuming and expensive teleoperation. Researchers can easily vary these training experiences. \nFor example, a team could generate more pushing or flipping demonstrations, then evaluate performance \non tasks kept out of training.\n\nThe generated datasets are recorded in the LeRobot format and can be used directly to train VLAs \nor other policies. ToyBlocks ships with training infrastructure for [ManiFlow](https:\u002F\u002Fmaniflow-policy.github.io\u002F), a low-level visuomotor \npolicy conditioned on language and on a target heatmap, and serves it either on its own or under a \nhigh-level policy (such as [Molmo2](https:\u002F\u002Fallenai.org\u002Fblog\u002Fmolmo2), Astra, Claude) that decides what to do next. \n\nPolicies are evaluated in closed loop in simulation, either on freshly generated unseen scenes \nand tasks or on the exact initial states of episodes recorded in a dataset. Evaluation is GPU-parallel. \nBecause every task's goal is expressed in PDDL, ToyBlocks automatically measures success and partial progress, \nwith no task-specific metric code. Either level of a hierarchical policy can be replaced by an oracle \nto isolate where failures come from, and the states where a policy failed can be sent back to data generation \nto plan new expert demonstrations and recoveries from them.\n\nThe overall goal of ToyBlocks is to provide a controlled world for robot learning and evaluation. \nBy providing full control over the data generation process, ToyBlocks provides tools for researchers \nto trace the outcomes of trained policies back to the training data.\n\n## Quick start\n\nInstall, fetch the assets, and generate a small dataset on one GPU:\n\n```bash\ngit submodule update --init --recursive\nuv venv --python 3.11\nuv pip install -e \".[dev,isaac,torch-cu128,vecgen]\"\n```\n\n```bash\nget-toyblocks-assets --asset-manifest asset_manifest.json\n```\n\n```bash\npython scripts\u002Fdatagen\u002Frun_datagen_pipeline.py \\\n    --experiment-id my_first_run --output-root data \\\n    --task-gen-script scripts\u002Ftask_gen\u002Fstack_three.py --task-gen-count 2 \\\n    --env-per-problem 8 --num-envs 8 --exec-num-envs 8 --vecgen-problems-per-env 1 \\\n    --render-pass src\u002Ftoyblocks\u002Fdomain_randomization\u002Fflags\u002Frender_flags_plain.yaml\n```\n\nThat plans and executes 2 stacking problems, renders the recorded episodes, and merges them\ninto one LeRobot dataset under `data\u002Fdatasets\u002Fmerged\u002Ftrain\u002Fmy_first_run`.\n\nExecution records no camera images, so the video comes from the render stage.\n`--render-pass FLAGS.yaml[:N]` is the only flag that turns it on: each one renders every\nepisode under one flags YAML into its own output directory, and `:N` asks for N differently\nrandomized copies. Repeat the flag for more looks, and the merge takes them all:\n\n```bash\n    --render-pass src\u002Ftoyblocks\u002Fdomain_randomization\u002Fflags\u002Frender_flags_plain.yaml \\\n    --render-pass src\u002Ftoyblocks\u002Fdomain_randomization\u002Fflags\u002Frender_flags_allrand_texcache.yaml:3\n```\n\nThat ships 4 episodes per executed one: the plain look once, the randomized look three times.\nSee [Automatic Data Generation](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Fdata_generation.html)\nand [Rendering](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Fdatagen\u002Frender.html).\n\n## How to get started\n\nThe [docs](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Findex.html) walk through each workflow:\n\n- [Installation and Setup](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Finstallation_and_setup_instructions.html)\n- [Automatic Data Generation](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Fdata_generation.html)\n- [Training ManiFlow Policies on Automatically Generated Data](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Fimitation_learning.html)\n- [Policy Evaluation](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Fevaluations.html)\n\n\n## Code Organization\n\nAll source code in `src\u002Ftoyblocks\u002F`\n\n- `src\u002Ftoyblocks\u002Ftasks`: all hand created tasks as well as templates for PDDL based task generation\n- `src\u002Ftoyblocks\u002Fvecgen`: the datagen engine (FF planning, batched skills, cuRobo planner pool, LeRobot recording)\n- `src\u002Ftoyblocks\u002Frobots`: all robot assets and configurations, including controllers\n- `src\u002Ftoyblocks\u002Fserving`: policy serving infrastructure (`BasePolicy`, `PolicyServer`, WebSocket client, obs transforms)\n- `src\u002Ftoyblocks\u002Feval`: evaluation of learned models (with or without oracles) and replay\n- `src\u002Ftoyblocks\u002Fwrappers`: gym `Wrapper` subclasses (recording, stats, obs flattening)\n- `src\u002Ftoyblocks\u002Fcli`: command line utilities\n- `src\u002Ftoyblocks\u002Fdata_annotation`: dataset annotation utilities\n- `src\u002Ftoyblocks\u002Futils`: utilities for ToyBlocks\n- `src\u002Ftoyblocks\u002Futils\u002Frigid_objects`: utilities for working with rigid objects (e.g. creating them more easily)\n\nThe ManiFlow and Molmo2 policy code is in the `maniflow-tb\u002F` and `molmo2\u002F` submodules; the agentic\nrobotics loop (LLM agents with the skills as MCP tools) is the `agentic_robotics\u002F` submodule, see\n[Agentic Robotics](https:\u002F\u002Fallenai.github.io\u002FToyBlocks\u002Fdocs\u002Fuser_guide\u002Fworkflows\u002Fagentic_robotics.html).\n\n## License\n\nToyBlocks is licensed under the [Apache License 2.0](LICENSE).\nThe `curobo`, `maniflow-tb`, `molmo2` and `agentic_robotics` submodules and the downloaded assets (e.g. the HDRI pools) are\ndistributed under their own licenses.\n","ToyBlocks 是一个面向机器人学习研究的轻量级仿真框架，基于 IsaacSim\u002FIsaacLab 构建，聚焦于机械臂在桌面环境中的积木操作任务（如推、翻、叠）。其核心特点是支持全自动、可扩展的演示数据生成，无需人工遥操作；所有任务目标以 PDDL 形式统一表达，实现自动化的成功判定与进度评估；生成数据符合 LeRobot 格式，原生兼容视觉语言动作模型（VLA）等策略训练，并集成 ManiFlow 等低层策略及 Molmo2 等高层策略的协同训练与闭环评估流程。适用于机器人具身智能、分层策略学习、数据-策略因果归因分析等可控实验场景。","2026-11-24 04:49:25","CREATED_QUERY"]