← Open Source

Code World Model Official Repo.

ModelsVision modelsPython
Momentum
+0stars in 24 hours0.0%
609
Stars
22
Forks
+9
This week
1
Contributors
Created 2026-08-26 · Updated 2026-12-04 · #20696 today
Top developers
README

Code World Model:
Coding Agent as World Brain

Yiwen Chen1,2   ·   Guosheng Lin2   ·   Chi Zhang1

1 AGI Lab, Westlake University      2 Nanyang Technological University

Project Page   |   arXiv


code_world_model_teaser_672x384_h264_under10mb.mp4

Quick start

  1. Follow the environment and installation guide.
  2. From the repository root, download the public CWM LoRA and deterministically expand the 40 compact Hugging Face examples:
./scripts/install_release_assets.sh "$PWD/release"
  1. Enter the prepared release directory and run a released configuration without changing its inputs, prompts, or seed:
cd release
CONFIG=examples/example_01/config.json
python -m cwm_h3_inference validate --config "$CONFIG"
CUDA_VISIBLE_DEVICES=0 python -m cwm_h3_inference prepare --config "$CONFIG"
CUDA_VISIBLE_DEVICES=0 python -m cwm_h3_inference generate --config "$CONFIG"

Use a new cache directory and output path for every changed experiment. The Hugging Face examples contain compact NPZ conditions, not caches or output videos; the installation script performs the required local format expansion.

Documentation

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store