Skip to main content

Miniverse SDK

miniverse-sdk installs the miniverse command for validating and uploading immutable .mini simulation bundles to Miniverse. It also builds canonical heightfield assets from ordinary 2-D .npy or JSON arrays so the viewer, collision backend, and policy queries share one grid.

Install

uv tool install miniverse-sdk
miniverse agent-help

For a trusted persistent workspace, run:

miniverse auth login

Interactive access and refresh tokens are stored in a user-only file and renewed automatically. On persistent Linux agents, the state is under $XDG_STATE_HOME/miniverse, or ~/.local/state/miniverse.

For CI, remote environments, and ephemeral machines, create a personal token from an authenticated workspace and place its one-time value in the remote secret manager as MINIVERSE_API_TOKEN:

miniverse token create --name "gpu-runner" --json
miniverse token list --json
miniverse token delete TOKEN_ID --json

Heightfield terrain

miniverse terrain build heights.npy environment/terrain.glb \
  --id experiment-001 --cell-size 0.05 0.05 --out-of-bounds clamp --json

Add "environment": {"kind": "glb", "path": "environment/terrain.glb"} to bundle.json, then pack the generated file at that declared path. Run miniverse agent-help terrain for the coordinate-frame, origin, scaling, and policy-query contract.

MuJoCo-only bundles may instead declare an MJCF world entrypoint, for example "environment": {"kind": "mjcf", "path": "environment/world.xml"}. Store its exact local include and STL mesh closure as ordinary files under environment/. Run miniverse agent-help environments for the supported passive-world subset and fail-closed limitations.

Use 512 x 512 or smaller as the portable terrain budget. The CLI warns above that size; the 1,048,576-sample hard limit should be used only after measuring the target browser and simulator profile.

Agent skill

The repository includes a Miniverse skill at skills/miniverse/SKILL.md. Install that skill in your agent, then follow its setup steps. The skill installs or upgrades this package and reads the versioned instructions bundled with the CLI through miniverse agent-help.

Develop

python -m pip install -e .
python -m unittest discover -s tests -v
python -m build
python -m twine check dist/*

Miniverse server-side import remains authoritative. Local validation is preflight feedback for bundle authors and agents.

License

Apache License 2.0. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miniverse_sdk-0.4.3.tar.gz (58.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miniverse_sdk-0.4.3-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

Details for the file miniverse_sdk-0.4.3.tar.gz.

File metadata

  • Download URL: miniverse_sdk-0.4.3.tar.gz
  • Upload date:
  • Size: 58.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for miniverse_sdk-0.4.3.tar.gz
Algorithm Hash digest
SHA256 caad4fd4d1eb0e1780fc8788af6829f5c4a509b39e0a35ccd86c8079a2a16ba5
MD5 5f63d67b92a6b98d52288c9753a044df
BLAKE2b-256 bd93cca47246b794f3232bef7b83132ae65ac8a8b29b43e17007d4cc7b2bcbe8

See more details on using hashes here.

File details

Details for the file miniverse_sdk-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: miniverse_sdk-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 58.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for miniverse_sdk-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7f1e8c7b13c489aa0104c887cd068636c499e3ef34e90fdb3f85619ebdac67
MD5 375d2ac7d082acb78bad7cf8cdf37922
BLAKE2b-256 113cf8b1bb2f21730c31b2163451f79f2601e1b3e7c211c644884ce8dd5e55c0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.4

2 files

This release

0.4.3 This release

2 files

0.4.2

2 files

0.4.1

2 files

0.3.0

2 files

0.2.0

2 files

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