Skip to main content

Docs  •  GitHub  •  Discord  •  LinkedIn  •  X  •  Website

telekinesis-illusion

telekinesis-illusion is a python package for procedurally generating physically simulated synthetic datasets for training computer vision models in robotics applications.

Open source under GPL-3.0-or-later.

Full documentation: Telekinesis Agentic OS: Illusion.

Installation

  1. Create the enviornment;

    conda create -n telekinesis-illusion python=3.11
    
    conda activate telekinesis-illusion
    
  2. Install the package:

    Via pip: The simplest way to install telekinesis-illusion.

    python -m pip install telekinesis-illusion
    

    Via GitHub: Alternatively, if you need to make changes to telekinesis-illusion or use a different branch.

    git clone https://github.com/telekinesis-ai/telekinesis-illusion.git
    
    cd telekinesis-illusion
    
    python -m pip install -e .
    

Tested configurations

The following configurations have been manually tested with telekinesis-illusion 0.4.0 and Python 3.11. This list records known-working setups; other configurations may also work.

Operating system Hardware
Windows 11 Pro NVIDIA GeForce RTX 3090
Windows 11 Pro NVIDIA GeForce RTX 2060
macOS Tahoe 26.3 Apple MacBook Pro with M5 Pro (CPU only)
Ubuntu 20.04.5 LTS NVIDIA GeForce RTX 3080

Quickstart

The example scripts are run from the Git checkout and are not included in the package installed from PyPI. Follow the GitHub installation above, then run these commands from the repository root. The examples use the checkout's assets/ directory, and the worker example also uses configs/. Without an assets/ directory, the first run downloads the public example assets (174 MB) to ~/.cache/telekinesis/telekinesis-illusion/assets/assets-<VERSION> and later runs reuse them.

The examples default to CUDA (--device CUDA); pass --device CPU to select CPU rendering:

python examples/quickstart_flying_things.py --preview
python examples/quickstart_parts_in_bin.py --preview
python examples/generate_synthetic_data_with_bin_picking_worker.py --config-file configs/connector_bin_picking_0.4.0_v2.yaml --preview

The bin-picking worker defaults to this example YAML with preview disabled. Use --config-file config.yaml to select another config file and --preview or --no-preview to control the viewer.

Connector bin picking results

Synthetic images generated with the connector_bin_picking_0.4.0_v2.yaml config alongside real captures from the same camera setup:

Real Synthetic
real 1 synth 1
real 2 synth 2
real 3 synth 3
real 4 synth 4

For another asset tree, pass asset_dir to Environment, or set dataset.asset_directory in the worker YAML. Relative YAML asset paths resolve against that YAML file.

Every section of the worker YAML is validated as a typed config from telekinesis.illusion.config before anything is built. Unknown keys and invalid values raise an error that names the file and the key path, such as randomizers.camera_pose.params.distance_range. See DEVELOPMENT.md for the file structure.

Register local assets

config.ModelConfig, config.MaterialConfig, and config.BackgroundConfig describe files without loading Blender data. from_path() creates one config; discover() recursively returns configs in deterministic order. Environment.add() registers one config or an iterable of configs, such as the list returned by discover():

from telekinesis.illusion import config

environment.add(
    config.ModelConfig.from_path("extra_assets/gear.glb", model_name="gear")
)
environment.add(
    config.MaterialConfig.from_path("extra_assets/Steel_1K", groups="metal/steel")
)
environment.add(
    config.BackgroundConfig.discover(
        "extra_assets/hdris/industrial", group_prefix="indoor/industrial"
    )
)

Material directories use <directory-name>_Color.png, .jpg, or .jpeg; other texture maps are optional. Backgrounds accept .hdr and .exr files. Names default to the material directory name or file stem and must be unique within each asset type. Model selection groups do not change annotation categories.

environment.model_manager owns model registration, categories, instance pools, activation, and sample resets. Existing Environment model methods remain available. Use environment.prepare() and environment.clean_up() to coordinate the model lifecycle with shared Blender scene setup and teardown.

Material and background configs require groups. indoor/industrial includes membership in both indoor and indoor/industrial. Discovery derives groups from relative parent directories. Supply group_prefix when the root itself contains assets or represents part of an existing hierarchy.

The environment registers nothing implicitly: add every model, material, and background that a randomizer should be able to choose. Randomizers only select from the registered assets, by group or by name. Each randomizer takes its config: MaterialRandomizer(config.MaterialRandomizerConfig(target_models=("gear",), groups=("metal/steel",))) and BackgroundRandomizer(config.BackgroundRandomizerConfig(groups=("indoor/industrial",))), or names=(...) for individual assets. Without a selection, every registered asset is eligible. Registration does not load a material or activate a background; randomizers apply them later. URL download and archive support are deferred.

View generated datasets

Illusion writes generated datasets in a native sharded format. The shards can then be merged and exported to common formats such as COCO or YOLO. Generated images and annotations can always be inspected directly under output/, and COCO or YOLO exports can be opened with any compatible dataset viewer.

Optional dependencies

Optional dependencies are grouped by use case and are not required for basic dataset generation.

Extra Purpose
dev Installs pytest, coverage, benchmarking, Ruff, and Pylint for developing and checking the package.
docs Installs MkDocs and the plugins used to build the project documentation.

Install an extra with the published package:

python -m pip install "telekinesis-illusion[dev]"

For an editable source checkout, include the extra in the local install:

python -m pip install -e ".[dev]"

Multiple extras can be installed together:

python -m pip install -e ".[dev,docs]"

The quoted commands work in Windows PowerShell and Command Prompt, as well as Linux shells such as Bash.

Tested configurations

The following configurations have been manually tested with. This list records known-working setups; other configurations may also work.

Operating system Hardware
Windows 11 Pro CPU; NVIDIA GeForce RTX 3090; RTX 2060
macOS Tahoe 26.3 Apple MacBook Pro with M5 Pro (CPU only)
Ubuntu 20.04.5 LTS CPU; NVIDIA GeForce RTX 3080

Documentation

Find the documentation for Illusion at: Telekinesis Agentic OS: Illusion.

Citation

@software{telekinesis_illusion,
  author = {Telekinesis GmbH},
  title  = {Telekinesis-Illusion: Synthetic Data Generation for Robotics},
  year   = {2026},
  url    = {https://gitlab.com/telekinesis/illusion},
  note   = {GPL-3.0-or-later}
}

Metadata

Release files for telekinesis-illusion 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telekinesis-illusion 0.4.0
File Size Uploaded Provenance Actions
telekinesis_illusion-0.4.0.tar.gz 326.0 kB With provenance Details for telekinesis_illusion-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telekinesis-illusion 0.4.0
File Interpreter ABI Platform Actions
telekinesis_illusion-0.4.0-py3-none-any.whl Python 3 none any Details for telekinesis_illusion-0.4.0-py3-none-any.whl

Total release size: 691.6 kB

Release files / telekinesis_illusion-0.4.0.tar.gz

Download URL telekinesis_illusion-0.4.0.tar.gz
Size 326.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5a6cf3c3a98ff891a8615d1a67a86489f97c045e2b6cb658ad50db42f3dc713c
BLAKE2b-256 checksum
How to use checksums
1f0020f65cc6ec481b75efad57182ec7efdabfad9b9f11c2b24b00a0c7291cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / telekinesis_illusion-0.4.0-py3-none-any.whl

Download URL telekinesis_illusion-0.4.0-py3-none-any.whl
Size 365.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05a43fb5a2b576702ada99ecd5c3099aa45ebbb78efd6afc1b89c68ab00f1083
BLAKE2b-256 checksum
How to use checksums
e603a68f90e396b97c797e07f6cf99fb20b44e47d987a968900d421d0cbd4891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for telekinesis-illusion 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for telekinesis_illusion-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page