Luo-Yihang/Mundo
HF Paper ↗Editable 3D scene programs drive physics simulation and controllable video generation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Mundo is a staged multimodal inference pipeline built around an executable scene program rather than an implicit video state. mundo/reconstruct uses a vision-language agent to recover object layout and refine it through visual verification and numerical fitting. mundo/program represents that layout as boxes, enclosing surfaces, and physical properties. The world directory stores the editable scene.json, reference images, and camera and depth data in views.npz, so edits to geometry and physics do not require editing the source imagery.
Downstream, mundo/simulate executes interactions in MuJoCo, mundo/trajectory defines camera paths, and mundo/proxy rasterizes scene states into proxy frames. mundo/render uses those frames for motion and spatial conditioning and the context views for appearance, with a MiniMax-H3 transformer adapted by the Mundo LoRA. The Python stack includes NumPy, SciPy, and Shapely, with PyOpenGL and MuJoCo for the graphics and simulation path. The main customization points are file-based scene, trajectory, and context inputs, a --proxy handoff for simulations, and a common interface for Codex CLI and Claude Code under mundo/agents.
Key Capabilities & Differentiators
python -m mundo explore --images takes one image, an image directory, or a video and produces a proxy world and a camera-controlled video. It can sample a trajectory and select corresponding reference views, or take explicit --trajectory and --contexts inputs. --cameras cameras.npz supplies camera poses and depth instead of using Pi3X, while --prompt lets the caller request a reconstruction change, such as assigning each chair its own box. Outputs include viewer.html, proxy.mp4, and video.mp4, so the intermediate geometry and footage can be inspected separately from the final result.
The reconstruct, preview, and render commands also run independently. This lets users reuse one world for multiple trajectories and check framing and proxy motion before invoking the video model. For interactions, render --proxy accepts already-rasterized simulation footage; the domino example uses that path, and the interaction and navigation examples cover instruction-driven object motion and waypoint-based humanoid movement. Generation produces 124 frames for one chunk and adds 90 frames for each subsequent chunk.
Trade-offs & Limitations
Compared with direct text- or image-conditioned video generation, Mundo adds an explicit control layer: object placement, physical settings, and camera motion can be changed and previewed before video generation. That extra stage pays off when a team wants controlled variations of the same scene, but adds setup and inspection if the only goal is a visually plausible clip. Compared with using MuJoCo alone, Mundo adds reconstruction from imagery and an appearance-conditioned renderer; it also adds a second output to validate, because a plausible-looking video does not establish that either the proxy geometry or its physical parameters are accurate.
Boxes and enclosing surfaces are useful for layout and coarse interaction, but the video can show detail that has no counterpart in collision geometry. Inspect the proxy when contact or motion matters rather than judging simulation quality from the final MP4. The operational trade-off is a local multi-GPU rendering stack plus a signed-in reconstruction backend. Apache-2.0 covers the repository code; the separately obtained models and adapters have their own terms, which matter for commercial use and redistribution of merged weights.
Hardware & Deployment Guide
The documented path uses a Python 3.11 Conda environment, Mesa (mesalib>=26), FFmpeg, PyTorch 2.7.1 and torchvision 0.22.1 from the CUDA 12.6 wheel index, and a separate flash-attn installation using --no-build-isolation. The Python requirements include mujoco>=3.13,<4, transformers>=5.15, accelerate, and safetensors. scripts/download_weights.sh fetches Mundo LoRA, MiniMax-H3, Pi3X, SAM 3, and Boxer. Then python -m mundo.render.weights merges the LoRA and shards the transformer; its --gpus N setting must match the device list in renderer.gpus in configs/mundo.json.
Rendering runs locally, with eight GPUs configured by default; that is neither a validated minimum nor a VRAM estimate. Use the existing office world to validate weight loading and rendering before testing reconstruction or longer sequences. Reconstruction requires an installed, signed-in Codex CLI or Claude Code selected through agent.backend, so the end-to-end workflow is not fully offline as configured. The documented milestone is publication of inference code and weights; there is no tagged GitHub release listed, no container deployment path shown, and no training workflow described.
scene.json keeps bounding boxes, enclosing surfaces, and physical properties editable separately from reference imagery.explore --images accepts a single image, an image directory, or a video; --cameras supplies poses and depth in place of Pi3X outputs.reconstruct, preview, and render let one proxy world serve multiple camera trajectories without reconstructing the scene each time.render --proxy accepts precomputed simulation footage.Multimodal research and prototyping teams that need to reconstruct a scene once, vary cameras or physical interactions, and compare proxy motion with appearance-conditioned video.
You need a turnkey single-GPU editor, fully offline reconstruction, or calibrated contact physics. For simulation state alone, use MuJoCo directly.
Quick Start & Installation
pip install torch==2.7.1 torchvision==0.22.1 --index-url https://download.pytorch.org/whl/cu126 pip install -r requirements.txt pip install flash-attn --no-build-isolation
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Luo-Yihang/Mundo.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Mundo
Can I render a scene without running the reconstruction agent?
python -m mundo render, as in the office example. Use preview to inspect the proxy before final rendering, or pass a precomputed simulation video with render --proxy, as in the MuJoCo domino example. The reconstruction agent is not needed when the world already exists.Are eight GPUs mandatory, and how should I size a smaller machine?
--gpus N during weight preparation so the tensor-parallel shards match the devices listed in renderer.gpus. No validated minimum VRAM or throughput is specified for smaller configurations. Start with the supplied office scene and measure peak memory and elapsed time before committing to longer or concurrent runs.Can I self-host Mundo for commercial use under Apache-2.0?
When is Mundo a better fit than direct video generation or MuJoCo alone?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy