A high-fidelity, general-purpose platform for embodied agent training and testing.
A high-fidelity, general-purpose platform for embodied agent training and testing.
A high-fidelity platform for multimodal embodied agent training (Unreal Engine + Python SDK)
Links
TongSIM is a high-fidelity, general-purpose platform for embodied agent training and testing built on Unreal Engine, supporting tasks from low-level single-agent skills (e.g., navigation) to high-level scenarios such as multi-agent social simulation and human–AI collaboration. TongSIM constructs 100+ diverse multi-room indoor scenarios alongside an open-ended, interaction-rich outdoor simulated town, and incorporates thousands of interactive 3D object models spanning 500+ categories.
Currently, indoor rooms are fully accessible, while outdoor environments remain under continuous development and optimization. We will gradually open access to these outdoor assets based on actual research needs, with the goal of providing more comprehensive support for the scientific work of our community's researchers. Please stay tuned for updates.
On top of the environment, TongSIM provides a comprehensive evaluation system and a suite of benchmarks covering major agent capabilities: perception, cognition, decision-making, learning, execution, and social collaboration. The platform also offers high-fidelity and customizable scenes, rich annotations, and parallel training to accelerate research and development of general embodied intelligence.
This repository contains:
unreal/)src/, examples/)docs/, mkdocs.yml)Use either uv (recommended) or plain pip.
Install uv
Create and sync a virtual environment (defaults to installing dev and docs groups as configured):
uv venv
uv syncGenerate protobuf artifacts:
uv run scripts/generate_pb2.pyRun examples (start the UE project first; gRPC at 127.0.0.1:5726):
uv run examples/quickstart_demo.py
uv run examples/voxel.pypip install -e .pip install pre-commit black ruff mkdocs mkdocs-material mkdocstrings-python mkdocs-static-i18n mkdocs-redirects pytest pytest-asyncio
pre-commit installpython scripts/generate_pb2.pypython examples\quickstart_demo.py
python examples\voxel.pywinget install Git.Git -s wingetgit clone https://github.com/bigai-ai/tongsim
cd tongsimunreal/Content:uv run scripts/fetch_unreal_content.py$base = "https://github.com/bigai-ai/tongsim/releases/download/tongsimgrpc-deps-v1.0"
Invoke-WebRequest "$base/TongSimGrpc_deps.zip" -OutFile TongSimGrpc_deps.zip
Invoke-WebRequest "$base/TongSimGrpc_deps.zip.sha256" -OutFile TongSimGrpc_deps.zip.sha256
# (Optional) Verify checksum
Get-FileHash .\TongSimGrpc_deps.zip -Algorithm SHA256
Get-Content .\TongSimGrpc_deps.zip.sha256
# Extract to repo root
Expand-Archive .\TongSimGrpc_deps.zip -DestinationPath . -Forcebase="https://github.com/bigai-ai/tongsim/releases/download/tongsimgrpc-deps-v1.0"
curl -L -o TongSimGrpc_deps.zip "$base/TongSimGrpc_deps.zip"
curl -L -o TongSimGrpc_deps.zip.sha256 "$base/TongSimGrpc_deps.zip.sha256"
# (Optional) Verify checksum
sha256sum -c TongSimGrpc_deps.zip.sha256
# Extract to repo root
unzip -o TongSimGrpc_deps.zipAfter extraction, you should have:
unreal/Plugins/TongSimGrpc/DynamicLibrariesunreal/Plugins/TongSimGrpc/GrpcLibrariesunreal/Plugins/TongSimGrpc/GrpcProgramsunreal/TongSim_Lite.uproject -> "Generate Visual Studio project files".uproject to let UE generate and compile modulesunreal/TongSim_Lite.sln in Visual Studio and select:unreal/TongSim_Lite.uproject to open UE 5.6 and ensure plugins (TongSIMCore, TongSIMGrpc, Puerts, etc.) are enabled.127.0.0.1:5726).Verify Python SDK connectivity to a local UE instance (default gRPC 5726):
uv run python - <<'PY'
from tongsim import TongSim
sim = TongSim("127.0.0.1:5726")
print("connected", sim.context.uuid)
sim.close()
PYIf a UUID prints with "connected", the connection is working.
docs/, configured by mkdocs.ymluv run mkdocs build
uv run mkdocs servedocs/quickstart/*, docs/guides/*, docs/architecture/*, docs/api/*├─ src/tongsim/ # Python SDK core
├─ examples/ # Examples (RL, voxel, etc.)
├─ docs/ # Documentation sources (MkDocs)
├─ unreal/ # Unreal project (TongSim_Lite.uproject)
├─ scripts/ # Utility scripts
├─ pyproject.toml # Python project configuration (uv-compatible)
└─ uv.lock # Dependency lockfileSee CONTRIBUTING.md.
See LICENSE.
If you use TongSIM in your research, please cite:
@article{sun2025tongsim,
title={TongSIM: A General Platform for Simulating Intelligent Machines},
author={Sun, Zhe and Wu, Kunlun and Fu, Chuanjian and Song, Zeming and Shi, Langyong and Xue, Zihe and Jing, Bohan and Yang, Ying and Gao, Xiaomeng and Li, Aijia and others},
journal={arXiv preprint arXiv:2512.20206},
year={2025}
}Happy simulating with TongSIM!
No open issues yet, or sync has not completed.