Who it is forA developer building an interactive pipeline who needs the renderer's next block to depend on what was just generated.
The problemRendering a full clip in one pass does not let later conditions react to earlier output or keep memory bounded.
The outcomeA rendered sequence produced block by block, with each block committed to a bounded KV cache before the next one starts.
What you need first
- A CUDA host with Python 3.11+ and PyTorch 2.9+
- Access to the Hugging Face weights for Cosmos3-Nano and Wan2.2-TI2V-5B, plus disk space for them
- Git and the hf command-line tool
- For training: a JSONL manifest of your own clips with depth and normal data
Steps
pip install -e '.[data,media,wandb,te]'- Download the weights as described in the Weights section, then point WM_COSMOS3_NANO and WM_WAN22_VAE in .env at them.
- Load the artifact with
load_artifact(inspect_artifact("weights/AgentGarten-renderer"))and callprepare_serving(artifact.student). - Create
Cosmos3Stream(artifact.student, StreamPolicy()), callstream.start(anchor, first_condition), then loop over blocks as shown in the Inference section. - Warm the input shapes once before serving, since kernel JIT and graph capture happen on first use.
Prompt for your agent
Using the AgentGarten repo at <repo path>, write and run a script that streams the renderer block by block with Cosmos3Stream for the first-frame anchor at <anchor latent path>. Expected output: a sequence of committed blocks for the conditions in <conditions path>. Verify that the number of committed blocks equals the number of condition blocks before reporting success.
Caveat. The README gives the streaming loop as a code sample with placeholder anchor and condition inputs, so you must build those latents yourself, and the real-time rendering engine and frontend are not released yet.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for MirroS-Lab/AgentGarten and "Generate renderer video block by block with streaming"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer