--- title: XLeRobot Sim emoji: 🤖 colorFrom: blue colorTo: gray sdk: static app_file: dist/index.html pinned: false license: apache-2.0 short_description: XLeRobot in your browser, with MuJoCo 4.0 physics tags: [robotics, simulation, mujoco, xlerobot, lerobot, webassembly, 3dgs, agents, gemini, mcp] hf_oauth: true hf_oauth_scopes: - inference-api --- # XLeRobot Sim [XLeRobot](https://github.com/Vector-Wangel/XLeRobot), the open-source household dual-arm mobile robot, in the browser. Physics runs on your device with MuJoCo 4.0's official WebAssembly build: nothing to install, no server, no limit on visitors. The robot model, its inverse kinematics and keyboard map, and the 3D Gaussian splat scenes come from [MuJoCo-GS-Web](https://github.com/Vector-Wangel/MuJoCo-GS-Web), unchanged. Its agents can find objects with Gemini 4 Hydrogen, after Google DeepMind's [Gemini Robotics plugin](https://github.com/google-deepmind/robotics-antigravity-plugin), and Claude Code can drive it from your computer. ## What you can do - **Pick a scene**: MuJoCo-GS-Web's tabletop kitchen and boxing ring (Gaussian splats with collision boxes, and a model of each built from its splat for the other renderers), its empty floor, or a kitchen with a dining room built for this Space in the manner of RoboCasa's (a fridge, a microwave, drawers and cabinet doors that open; a stocked top-freezer fridge with glass shelves, crisper drawers and door bins, whose door a magnetic gasket pulls shut; a microwave without a handle, whose door pops open when its button is pressed and is pushed shut onto its magnet; an oven and a cooktop with a pot and a pan, a range hood, a coffee machine, a kettle, spices and a crock of wooden spoons; an island with a prep sink and two drawers; a trash can; a sideboard with a radio whose power button switches it on and off; a dining table under two lamps, windows, a clock, pictures and plants; a tiled kitchen floor; and objects to pick up, two of them in the fridge). The tabletop kitchen has the same objects as that kitchen, set out on its counters where the splat shows free worktop: fruit around a bowl, a plate, a mug and a glass on the back counter, a can, a juice carton and a yogurt by the microwave, a bottle of oil and a block on the left counter. - **Do household tasks** in the kitchen, in the style of the [BEHAVIOR Challenge](https://behavior.stanford.edu/challenge/): 21 tasks written in BDDL. Eight put things where they go (picking up trash, clearing the table, making a fruit bowl, putting away groceries, setting the table, preparing a snack, turning on the radio, tidying up); nine are [RoboCasa](https://robocasa.ai)'s door and drawer tasks and what they are for (opening and closing the fridge, the microwave and the island's drawer; putting a cube away in the drawer, chilling a yogurt in the fridge, getting the juice out of it); and four are long ones that chain these: serving a cold drink (a cola from the fridge to the dining table, the fridge shut behind), making breakfast (the juice and the yogurt from the fridge to the table, the fridge shut, the radio on), stocking the fridge, and tidying up after dinner (six goals: the sink, the fridge, the drawer, both shut). Each has as many instances as you like, scored as the challenge scores them. Watch a scripted demonstrator do one, ask the agent, or do it yourself (Tasks tab; see below). - **Drive and teleoperate** with MuJoCo-GS-Web's keys: W/S and A/D for the dual-wheel base; for each arm rotation, end-effector height and reach, wrist pitch and roll, and the gripper; R/T and F/G for the head. - **Walk a Unitree G1**: choose it under Robot; W/S walk, A/D turn, Q/E step sideways. A locomotion policy trained with mjlab (from [mjswan](https://huggingface.co/ttktjmt/mjswan)) runs in your browser with ONNX Runtime Web at 50 Hz, and the G1 stands back up after a fall. - **Drag objects** with the mouse. - **Switch renderers**: Toon (cel shading with ink outlines; in the kitchen, its photographic room below in each material's mean colour); Lit (PBR materials; in the kitchen, a photographic room built in Blender on the kitchen's layout, so every surface the robot meets is where the physics has it: oak parquet, walnut and white marble, a garden behind its windows and glass door, an afternoon sun and the room's own lamps, its light baked with Cycles and denoised into a light map; the robot, the objects and the fixtures' moving parts lit by light probes captured in the page from the lit room, a key light from the lamps nearest to where you look (what moves shades the baked room under it) and the room's reflections; AgX tone mapping; elsewhere image-based lighting, shadows and procedural textures; the robot is matte charcoal plastic on a matte powder-coated cart, as the real one); 3DGS (the scene's splat; the robot is lit by light captured from the splat, and its shadows fall on the splat's floor, counters and walls; drawn at 66% of the screen's resolution, which about doubles the frame rate for little sharpness); Pixel (pixel art of the splat, or of the Toon scene where there is none: about 240 rows of whole pixels, 32 colours chosen from what the view shows, and ordered dithering; the modelled scenes keep Toon's ink lines). `?env=tabletop&style=pixel` in the URL opens a scene in a renderer; without them the page opens on the kitchen in Lit, whatever was chosen last time. Walls between the camera and the room are drawn as low stubs, without the pictures and windows on them, so they never hide it; in the kitchen's photographic room they are left out with what is on them, and the ceiling too when you look from above (the robot's cameras see them whole, and the garden outside). - **Embed it**: the page runs in an `