GitOps control plane for industrial digital twins (OpenUSD + Omniverse).
TwinOps lifecycle — Desired PLM/Git → Rendered OpenUSD → Observed telemetry → Drift → Reconcile → SYNCED (MP4 for smoother local playback)
Case study: TwinOps Control Plane · Andrey Lesnikov
make install make live-demo make live-demo-smoke Architecture
Control plane first: materialize → compose (inline or Job) → three-way drift → immutable output revisions. Kit / WebRTC are optional runtimes.
flowchart LR subgraph Sources PLM[PLM / ERP] Git[Git twin.yaml + USD] MQTT[MQTT / IoT] end subgraph ControlPlane["Control plane (the product)"] CR[DigitalTwin CR] Mat[Materialize + digest] Build["Build: inline | Job"] USD[OpenUSD compose] Drift[Three-way drift] Out[Immutable publish] end subgraph Durable CM["ConfigMap rN"] OCI[OCI registry] S3[S3 / MinIO] end subgraph Optional["Optional runtimes"] Web[Web UI / live API] Kit[Omniverse Kit] RTC[WebRTC sidecar] end PLM --> Git Git --> CR CR --> Mat --> Build --> USD --> Drift --> Out MQTT --> Drift Out --> CM Out --> OCI Out --> S3 Drift --> Web Out --> Kit Out --> RTC Full one-pager: docs/architecture-one-pager.md · operator: docs/operator.md · release: docs/release-1.4.md
Most Omniverse demos show a beautiful 3D scene. Most Kubernetes demos show Helm, Terraform, and autoscaling.
TwinOps is not “Omniverse in Kubernetes” and not “USD files + Grafana”. It is a control plane: reconcile desired PLM / rendered OpenUSD / observed telemetry into GitOps artifacts, then drive optional runtimes (Kit, web UI, lab WebRTC) through a stable highlight contract — including on a laptop without a GPU.
The distinctive feature is three-way drift detection (see diagram above):
Frozen contracts: docs/stability.md.
git clone https://github.com/justrunme/twinops-control-plane.git cd twinops-control-plane make install make live-demo Open http://127.0.0.1:8080/
1. Trigger heat spike → CRITICAL / DRIFT + scene highlight 2. Apply reconciliation → USD overlay + healed telemetry 3. Twin returns to SYNCED → timeline + mock Kit viewport calm Smoke check without a browser:
make live-demo-smoke Canonical productization scenario (persist + replay + artifacts):
make e2e-demo make streaming-sidecar-smoke Full walkthrough: docs/demo.md · docs/e2e-demo.md · docs/streaming-sidecar.md
Terminal capture of the CI end-to-end flow (scripts/e2e_demo.sh): heat spike → CRITICAL → reconcile → SYNCED → incident replay.
Live UI demo: docs/demo.md · E2E walkthrough: docs/e2e-demo.md
Measured numbers from CI (not estimates). Full table: docs/results.md · machine-readable: docs/results.json.
make demo Produces composed USDA layers, a drift HTML report, and a GitOps reconciliation proposal.
make mqtt-smoke twinopsctl mqtt topics Starts Mosquitto, publishes simulator telemetry, injects an external PLC heat spike, and asserts CRITICAL drift. Topic catalog: examples/assembly-line/mqtt-topics.json / GET /api/mqtt/topics.
twinopsctl plm show twinopsctl plm get 1004711 --catalog examples/assembly-line/plm-catalog.json twinopsctl plm compare See docs/plm-adapter.md.
make serve # other terminal: make scene-live # fetch + validate /api/scene make scene-highlight # Kit stub client make scene # offline JSON + HTML highlight report See docs/omniverse.md.
make doctor make live-status make timeline twinopsctl proposal twinopsctl live spike twinopsctl live reconcile twinopsctl incident export --from-url http://127.0.0.1:8080 --out /tmp/incident.json twinopsctl incident replay examples/assembly-line/incident-heat-spike.json \ --desired examples/assembly-line/desired.yaml \ --stage examples/assembly-line/generated/root.usda \ --observed examples/assembly-line/telemetry.json --json make scene-live twinopsctl openapi --out /tmp/twinops-openapi.json make verify-all Docs index: docs/README.md. Security: SECURITY.md.
make serve # terminal 1 — API :8080 make web-dev # terminal 2 — UI :5173 Kubernetes operator make operator-demo # out-of-cluster manager (k3d/kind) make operator-incluster-e2e # docker build → kind load → Helm → restart recovery make operator-demo-cleanup In-cluster path publishes a durable bundle.tar.gz on the twin (status.output.uri). See docs/operator.md, docs/images.md.
make test make go-test make verify-all See CONTRIBUTING.md.
TwinOps uses the same apiVersion family for two different documents. Do not mix them up.
Stored as twin.yaml in a ConfigMap / tarball. Consumed by twinopsctl build.
# twin.yaml — what to compose (OpenUSD + PLM + telemetry mappings) apiVersion: twinops.io/v1alpha1 kind: TwinManifest # conceptual name; file may say DigitalTwin historically metadata: name: assembly-line-a spec: source: baseStage: assets/root.usda # nested paths preserved in URL/tar artifacts configuration: variant: high-throughput telemetry: provider: mqtt endpoint: mqtt://factory-broker mappings: - topic: factory/robot-01/temperature prim: /World/Factory/LineA/Robot01 attribute: twinops:temperature plm: provider: mock mappings: - itemId: "1004711" revision: "C" prim: /World/Factory/LineA/Robot01 2) DigitalTwin CR (Kubernetes — tells the operator where the artifact is) # DigitalTwin CR — operator control loop, not the scene itself apiVersion: twinops.io/v1alpha1 kind: DigitalTwin metadata: name: assembly-line-a namespace: twinops-system spec: artifactSource: configMapName: assembly-line-inputs # or url: https://…/bundle.tar.gz # expectedDigest: sha256:… intervalSeconds: 30 # outputPublish.enabled defaults true → status.output.uri = configmap://…/assembly-line-a-output The compiler turns the manifest into OpenUSD overlay layers with twinops:* attributes. The CR drives materialize → build → drift → durable bundle.tar.gz publish.
twinops-control-plane/ ├── python/twinops/ # Compiler, drift, live API, PLM mock, CLI ├── examples/assembly-line/ # Demo factory line + sample USDA + PLM/MQTT catalogs ├── scripts/ # live-demo / mqtt-smoke / operator-demo / sync helpers ├── docs/ # Architecture, USD model, ADRs, roadmap ├── api/ # DigitalTwin CRD types (Go) ├── controllers/ # Kubernetes operator controllers ├── cmd/manager/ # Operator manager entrypoint ├── deploy/helm/ # Helm chart for the operator ├── Dockerfile.live # Demo live API + web UI image ├── Dockerfile.operator # Operator manager image ├── extensions/ # Omniverse Kit highlight stub └── web/ # Live control-plane UI + mock Kit viewport Compiler, drift engine, operator, GitOps, observability, and mock adapters run without an NVIDIA GPU. A GPU is required only for Kit rendering and the host NVENC streaming bridge.
Robot → Conveyor → Scanner → Packaging Change desired robot revision in Git TwinOps compiles a new USD overlay layer Drift engine compares desired / rendered / observed state Scene metadata highlights revision or telemetry drift A reconciliation proposal restores the desired composition Milestones 1–2 deliver composition, drift detection, HTML report, and a reconciliation proposal. The Kubernetes operator reconciles DigitalTwin CRs via twinopsctl.
See full docs/roadmap.md and docs/architecture.md.
Honest positioning: single-twin pilot / reference control plane, not a plant platform.
PLM integration ships as mock + File/REST adapters.
Andrey Lesnikov — Senior DevOps & AI Platform Engineer ORCID: https://orcid.org/0009-0004-7583-4314
Both files in this release have provenance metadata.
Apache Software License (Apache-2.0)
openusd digital-twin gitops omniverse platform-engineering kubernetes control-plane industrial usd
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Both files in this release have been uploaded with provenance metadata.
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.
Nov 22, 2026 2 release files Full provenance




