Clone the repository
Download the project and enter the repository root.
git clone https://github.com/d2i-cuhksz/MicroWorld.git
cd MicroWorld
This page keeps the setup path short: clone the repository, configure the required environment variables, run the backend, and execute the pipeline with your own local input package.
These are the shortest steps that map directly to the current repository layout.
Download the project and enter the repository root.
git clone https://github.com/d2i-cuhksz/MicroWorld.git
cd MicroWorld
.envThe backend validates at least two required keys before startup.
cp .env.example .env
LLM_API_KEY=your_key
ZEP_API_KEY=your_key
# Optional
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL_NAME=qwen-plus
MULTIMODAL_AUDIO_API_KEY=
MULTIMODAL_AUDIO_BASE_URL=
The current repository expects dependency management through
uv. If you plan to ingest video inputs, make sure
ffmpeg and ffprobe are available too.
uv sync
This brings up the Flask backend that serves the graph, simulation, and report endpoints.
uv run microworld-api
Start from the public template, point it to your own local input files, and then run the full pipeline from the repository root.
cp configs/full_run/full_run.template.json /tmp/microworld-run.json
uv run microworld-full-run \
--config /abs/path/to/microworld-run.json
uv run microworld-apiuv run microworld-local-pipeline --config ...uv run microworld-parallel-sim --config ...uv run microworld-full-run --config ...