Genesis-Embodied-AI: Using Genesis with a REST API / Server-side Integration #184176
-
Select Topic AreaQuestion BodyHi all, We’re running Genesis (genesis-world) in a server environment (behind VPN) and are exploring whether anyone has successfully exposed Genesis data or controls via a REST API. From what I understand, Genesis itself is a Python engine and doesn’t expose a native REST interface, so this would require a custom API layer (e.g. FastAPI/Flask) running alongside the simulation. Before we go further, I wanted to ask:
I’m not a core Python/backend developer, so real-world examples or guidance would be hugely appreciated. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi Keith, Yes—people have exposed Genesis (genesis-world) through a REST-style interface in practice, but you’re correct that Genesis itself does not provide a native HTTP/REST API. The common approach is exactly what you described: a custom API layer that runs alongside (or inside) the simulation process. While there’s no “official” Genesis REST server, teams commonly:
This pattern is already familiar to people integrating simulators with:
Preferred pattern: single-process, shared state |
Beta Was this translation helpful? Give feedback.
-
|
You’re correct — Genesis (genesis-world) is purely a Python simulation engine and doesn’t provide any built-in REST or network interface, so exposing it over HTTP requires adding your own API layer. This is actually the pattern most people use in practice: Genesis process The usual approach is: FastAPI works especially well because it supports async endpoints and WebSockets if you later want streaming updates instead of polling. The main pitfalls to be aware of: There isn’t a single “official” Genesis REST standard yet, but most community integrations follow this same sidecar-API pattern. If you’re behind a VPN, this setup works well because the REST layer can be the only exposed surface while Genesis stays fully private. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
🕒 Discussion Activity Reminder 🕒
This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions:
1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as
out of dateat the bottom of the page.2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own.
3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution.
Note: This dormant notification will only apply to Discussions with the
Questionlabel. To learn more, see our recent announcement.T…