Skip to content
Robotics.world

Research

OpenRoIS: A Community-Driven Open-Source Middleware Implementing the Robotic Interaction Service (RoIS) Framework for Physical Robots and Virtual Agents

Service applications for human-robot interaction are typically written against the hardware-specific interfaces of a single platform, so changing the hardware forces a rewrite of the application.

The paper’s first page · arXiv:2609.21178
arXiv
2609.21178 · Preprint · not peer-reviewed
Published
2026-09-18
Authors
Sebastian Carrera Villalobos, Christopher Nolan Arellano, Arne Hitzmann, Edilson Morais Brito, Akira Utsumi, Yukiko Horikawa, Takahiro Miyashita, Lotfi El Hafi

In plain words

Service applications for human-robot interaction are typically written against the hardware-specific interfaces of a single platform, so changing the hardware forces a rewrite of the application. Because integrating N applications against M platforms yields N × M separate integrations, the cost of fragmentation grows multiplicatively.

AI summary

Overview

Research area: Robotics software architecture and middleware for human-robot interaction (HRI), specifically an open-source implementation of the Object Management Group (OMG) Robotic Interaction Service (RoIS) Framework 2.0.

Technical level: Advanced. The paper is about distributed system architecture, protocol mapping, type generation pipelines, and SDK design rather than algorithms or learning methods.

Scope: The paper presents OpenRoIS, a community-driven Apache-2.0 middleware that turns the platform-independent RoIS 2.0 specification into running software, letting one Service Application control physical robots and virtual agents over the internet through a shared symbolic interface.

What This Paper Is About

Service applications for human-robot interaction are typically written against the hardware-specific interfaces of a single platform, so changing the hardware forces a rewrite of the application. Because integrating N applications against M platforms yields N × M separate integrations, the cost of fragmentation grows multiplicatively. The authors argue that the OMG-standardized RoIS Framework 2.0 already solves this at the specification level, but a specification alone does not provide a maintained implementation, SDKs, and adapters, so they build and openly release OpenRoIS to carry the standard from paper into practice.

Key Contributions

  1. Recursive engine architecture. A single Engine class realizes both the main and the sub HRI Engine roles defined by RoIS 2.0, eliminating duplicate dispatch implementations. The gateway combines this class with a server endpoint and a registry of child engines; an adapter combines it with a client endpoint, a backend bridge, and a registry of local components.

  2. Internal five-method component contract, distinct from the five external RoIS interfaces: discover, query, invoke, subscribe, and unsubscribe. A remote proxy implements the contract by forwarding calls to a child engine, while a local registry dispatches them to component handlers, and the Engine uses both through the same abstraction, keeping the implementation decoupled from any robot middleware.

  3. Wire protocol and type pipeline. The five RoIS interfaces are mapped onto JSON-RPC 2.0 over TLS-protected WebSocket, using the namespaces rois.system.*, rois.command.*, rois.query.*, rois.event.*, and rois.stream.*. Python data models are exported to a shared JSON Schema representation from which C# and TypeScript types are generated, preventing type drift and cross-checked in continuous integration against the normative XML component profiles of RoIS 2.0.

  4. SDKs, reference adapters, and an open release. Two client SDKs (TypeScript with web support, C# with Unity support and callbacks marshaled to the main thread) and one Python adapter SDK with ROS 2 support through rclpy, distributed via npm, NuGet with a Unity package, and PyPI. Reference components exist for the Preferred Robotics Kachaka delivery robot (with gRPC and ROS 2 backends selected at install time) and the Pollen Robotics Reachy Mini desktop robot. All source code, interface types, and documentation are released under Apache-2.0 and developed at https://openrois.org/.

Main Findings

  • Fragmentation cost is multiplicative, not additive. The paper frames the problem as N applications against M platforms producing N × M integrations built and maintained separately, none of which survives a change of platform.

  • One engine class covers two specification roles. The same dispatch implementation serves both the main HRI Engine (gateway) and sub HRI Engine (adapter), which the authors present as an OpenRoIS design contribution rather than a requirement of the standard.

  • Adapter work is cheaper than it looks. About 70% of the 17 basic HRI Components are identical across paradigms, because perception and speech run the same models on a robot camera or a webcam.

  • Media stays off the control plane. The gateway is a pure control-plane router providing centralized authentication, authorization filtering, and profile aggregation; audio and video are carried out of band with WebRTC, since RoIS 2.0 standardizes stream control but leaves media encoding and transport to implementations.

  • End-to-end demonstration completed. A web application controlled a physical robot through the gateway and an adapter, exercising search, bind, event subscription, asynchronous execution, and release. No latency benchmarks or quantitative performance results are reported.

  • A field scenario motivates the design. At Avatar Land, a 19-day public event in Osaka, eleven distinct demonstrations ran together, each integrated separately; one of them drove a Fetch Robotics mobile manipulator, two Preferred Robotics Kachaka shelf-carrying robots, and a Meta Quest 3 headset as a single autonomous system wired together by hand, and none of its implementation logic was portable to the other demonstrations.

  • The stack is presented as architecture and position, not evaluation. The authors state explicitly that this early-stage paper offers an architecture and a position rather than an experimental evaluation.

Methodology in Plain English

The team started from the RoIS 2.0 standard, which defines what a service application can ask of a robot in symbolic terms such as "a person was detected" or "approach the person," rather than in raw sensor data and motor commands. They kept the standard's platform-independent model intact and made explicit, documented choices only where the standard leaves things open.

Four principles guided those choices: paradigm neutrality (ROS, DDS, gRPC, and game engines stay out of the core engine and client SDKs and live in adapters), specification traceability (every interface and data type traces back to the normative machine-readable artifacts of RoIS 2.0), transport separation (one uniform carrier for the control plane while each adapter picks the protocol its own backend needs), and client consistency (the same SDK calls address physical robots, virtual agents, and remote services).

They then built the pieces a practitioner actually needs: a gateway process, adapter processes, a wire protocol, generated types, and SDKs. To avoid the three language stacks drifting apart, they defined message types once in Python, exported them to JSON Schema, and generated the C# and TypeScript versions from that. They validated the whole path by driving a real robot from a browser-based application.

Why This Matters

Impact on research. The paper argues that an openly developed, paradigm-neutral implementation, and not another revision of the specification, is what carries RoIS into practice. By placing ROS 2 behind an adapter (mapping synchronous operations to services, long-running operations to actions, and notifications to topics), OpenRoIS lets service applications address ROS 2 robots, other middleware, and virtual agents through the same symbolic interface, which the authors position as complementary to, not competing with, existing robot middleware such as ROS, ROS 2, Open-RMF, RT-Middleware, and RSNP.

Real-world applications:

  • Delivery and service robots, via the reference components for the Preferred Robotics Kachaka shelf-carrying robot with selectable gRPC or ROS 2 backends.
  • Desktop and social robots, via the reference components for the Pollen Robotics Reachy Mini.
  • Teleoperation across the internet, where the operator application, gateway, and each robot host run in three different places, and compute-heavy components run in a separate cloud adapter without exposing their location to the application.
  • Cybernetic avatars and virtual agents, where the same gateway serves an embodiment rendered in a game engine through the C# and Unity SDK, with live audio and video flowing alongside symbolic control. The paper connects this to the avatar-symbiotic society pursued by the JST Moonshot R&D Program, while noting OpenRoIS was developed independently of that program.

Industry relevance. Robot vendors write one adapter instead of integrating against every application vendor, and application developers write once against the five RoIS interfaces. The use of JSON Web Tokens during the WebSocket upgrade, role-based access control, WebRTC media, and distribution through npm, NuGet, and PyPI signals a design aimed at conventional web and game-engine software stacks rather than research-only tooling.

Future Directions

  • Consolidate the gateway onto the recursive engine described in the architecture, and strengthen authentication and media handling.
  • Complete the library of all 17 basic HRI Components.
  • Run latency benchmarks and a contract test suite against every adapter, which the current paper does not report.
  • Demonstrate a mixed-paradigm deployment with a physical robot and a virtual agent behind a single gateway.
  • Stabilize the OpenRoIS APIs, which the authors state remain subject to change before the 1.0 release.

Target Audience

Robotics middleware and systems engineers who need to integrate multiple robot platforms with multiple applications; HRI researchers who want to prototype service logic once and move it across embodiments; developers of virtual agents and Unity-based systems who need to connect a game engine to physical robots; and contributors looking for a concrete entry point into the RoIS standard, since the code is Apache-2.0 licensed and the roadmap names parallelizable work items. Readers seeking quantitative performance comparisons will not find them here, as the paper presents an architecture and position rather than an experimental evaluation.

Authors’ abstract

Service applications for human-robot interaction are commonly written against the hardware-specific interfaces of one platform, so a change of hardware forces a rewrite of the application. The Robotic Interaction Service (RoIS) Framework 2.0, standardized by the Object Management Group (OMG), addresses this fragmentation by defining a platform-independent model in which Service Applications interact with Human-Robot Interaction (HRI) Engines through standardized interfaces…

The full abstract on arXiv
Read the original paper

Related papers