eust-w/opengeniemaster
Open-source embodied agent framework: execution, feedback, and continual improvement
Edition record
- 2026-11-28 · cooling · 7d · small — rank 10 / 142
- 2026-11-28 · cooling · small — rank 10 / 142
- 2026-11-27 · cooling · small — rank 10 / 139
OpenGenieMaster — What It Is and How It Works
What the project is
OpenGenieMaster is an open-source control layer (a "harness") for coordinating multiple robots in continuous operations. It is an independent reimplementation of GenieMaster, an embodied AI agent framework announced by the company Zhiyuan AGIBOT on October 27, 2026.
The official GenieMaster code has not been released yet (the project page says "Coming soon"), so this repository rebuilds the design based on the official project page, paper figures, and public reports. It is community-maintained and has no affiliation with Zhiyuan/AGIBOT. The protocol's wire format, default values, and error codes are defined by this project and are not guaranteed to be compatible with the official implementation.
The core idea
The harness sits between AI coding agents (like Claude Code, Codex, Kimi, DeepSeek, or a built-in Claude Agent) and robots. The coding agent acts as the decision-maker; the harness handles the practical details of controlling robots.
Communication happens through EEP (Embodied Execution Protocol), which is exposed as an MCP server — a standard way for AI tools to connect to services. Any coding agent that supports MCP can plug in directly. Through EEP, the agent can:
- Call robot capabilities
- Send multimodal guidance (instructions that may include images, etc.)
- Read physical feedback from sensors
- Resume tasks across interruptions
- Reflect on work experiences into long-term memory
Crucially, this all happens without changing the robot's policy weights — the underlying AI model that controls the robot's movements is never retrained or modified.
Key features
- Zero dependencies: The core is pure Python 3.10+ standard library. No training or distributing policy/model weights. Install Python and it runs.
- Task continuity: Work items are bound to specific robots and can have dependencies and held objects. Interrupted tasks pause and resume from the next incomplete step. Supports fleet dispatch and handover between robots.
- Shared admission (safety interlocks): Every request passes through safety checks. Requests are rejected if: the robot is stopped, calibration is invalid, dependencies aren't complete, or a person is detected in the workspace.
- Memory and reflection: Execution records are reflected into versioned long-term memory (can be diffed and rolled back). Policy weights stay unchanged.
- Regression-testable simulator: A semantic multi-robot simulator that explicitly models seven failure mechanisms and reproduces five types of experiments from the paper.
Quick start / demo
After installing from source, you can run:
ogm demo --scenario restocking --rounds 3 --trials 6
This runs restocking tasks in a simulated convenience store, reflecting after each round. The demo shows learned experiences — for example, when a price tag occludes the head camera's view of a small hook, the system learns to use the wrist camera for close-up positioning; and when the gripper releases during retraction, it learns to keep the gripper closed during transport. In this repository, these are automatically learned from execution records after reflection and admission.
Other commands: ogm scenarios lists simulation scenarios, ogm demo -v gives step-by-step output, and ogm bench --experiment all --out results runs the full evaluation (about 20 seconds).
Simulation evaluation
The ogm bench command reproduces five types of experiments from the paper in the built-in simulator. The simulator explicitly models seven failure mechanisms: price tag occlusion, similar products, new products, gripper release during retraction, person intrusion, action service downtime, and long-distance criterion misjudgment.
Results (all from simulation):
- Overall success rate: OpenGenieMaster 93.2% vs. end-to-end VLA 12.5% (6 tasks, 100 trials each)
- Capability combination: success rate improves from 52% to 99% as capabilities are added
- Learning from experience: long-term memory improves and stabilizes success rate across rounds
- New product generalization: EEP guidance maintains high success on new products the policy was never trained on
- Continuous multi-robot deployment: a simulated 24-hour shift
Important caveat: These are simulation regression results used to verify the harness mechanisms work as designed. The simulator's probability parameters are publicly stated assumptions. These numbers are not real-robot results and cannot be compared to GenieMaster paper numbers.
Installation
Requires Python ≥ 3.10. The core has no third-party dependencies. The PyPI package is not yet published, so install from source:
git clone https://github.com/eust-w/opengeniemaster.git
cd opengeniemaster
pip install -e .
For the built-in Claude Agent, use pip install -e ".[claude]" which also installs the Anthropic SDK.
Using with coding agents
You can use Claude Code, Codex, Kimi, DeepSeek, etc. as the coding agent. Since EEP is an MCP server (stdio, pure standard library), these agents connect directly. Example:
claude mcp add opengeniemaster -- ogm mcp --scenario restocking --state-dir .ogm
The agent first reads the MCP prompt geniemaster_operator (full operating instructions), then you give it a goal like "restock the missing items."
The README lists the main tools grouped by contract:
| Contract | Tools |
|---|---|
| Capability | eep_capabilities, <domain>_lookup, <domain>_orders, store_inspect_shelf |
| Continuity | eep_task_create, eep_task_get, eep_task_list, eep_task_update (pause/resume/retry/skip/handover…), eep_dispatch |
| Guidance + Feedback | eep_suggest_guidance, eep_execute, eep_observe, eep_verify, eep_wait |
| Safety | eep_robot_stop, eep_robot_resume (plus admission-layer person-intrusion interlock) |
| Memory & reflection | memory_records, memory_propose, memory_search, memory_note, memory_reflect, eep_capability_gaps |
Using --state-dir .ogm persists long-term memory, task state, and event logs across sessions.
Built-in Claude Agent
If you don't want to use an external agent, the built-in agent uses Claude directly (requires Anthropic Python SDK and API credentials):
pip install -e ".[claude]"
ogm agent --scenario office_supply_search
ogm reflect --state-dir .ogm --llm
Default model is claude-opus-5-5 with effort=high. Server fallbacks are enabled by default — if the safety classifier refuses, the API automatically retries with a recommended fallback model. This can be disabled with ClaudeAgent(server_fallbacks=False).
Connecting real robots
The robot side only needs to implement a small HTTP/JSON execution service with endpoints: /eep/v0/execute, /observe, /check, /state, /stop. Steps:
- Implement a backend: Inherit
opengeniemaster.embodiment.service.RobotBackend, call your VLA inference service, whole-body controller, and detectors, then start withserve(). There's a human-in-the-loop example (examples/human_backend.py) where each request is handled by a human operator via teleoperation — good for testing the full loop before connecting a real policy. - Write a fleet file (
examples/fleet.json) with robot model, endpoint, token, calibration version, and business records (examples/records.json). - Run pre-deployment checks:
ogm doctor --fleet examples/fleet.jsonprobes each robot's execution service (connectivity, token acceptance, protocol version match, correct robot identity). Non-zero exit on any failure. - Start the MCP server:
ogm mcp --fleet examples/fleet.json --state-dir .ogm.
Safety details:
- Shared admission rejects requests when: the robot is stopped, calibration is invalid, dependencies are incomplete, or a person is observed in the workspace without a declared pause.
eep_robot_stopprovides emergency stop. If the robot doesn't confirm the stop, the result hasconfirmed: false— the harness keeps rejecting requests to that robot, but the robot may still be moving, so ensure a physical emergency stop is accessible.- Read-only calls (observe, check, state, stop, resume) auto-retry on network errors or 5xx (retries per robot in the fleet file, default 2).
executenever retries, ensuring the same action isn't executed twice. - The robot service rejects request bodies over 8 MiB, compares tokens in constant time, and warns when listening on non-local addresses without a token. Tokens go via the environment variable
OGM_ROBOT_TOKEN, not--token.
Important: The repository has not been verified on real robots. Before connecting, ensure emergency stop, human takeover, and motion range limits are in place.
Directory structure (brief)
The repo has modules for: protocol data models (eep/), domain logic (domain/), robot embodiment (embodiment/), harness core (harness/), memory (memory/), agents/MCP server (agents/), simulator (sim/), benchmarks (bench/), plus replay.py for offline regression testing, flywheel.py for Policy RSI data export, cli.py for the command line, tests/ (100 unit/integration/regression tests, zero dependencies), docs/, and examples/.
Limitations
- No training or distribution of policy/model weights; Policy RSI is only implemented up to training data export.
- The simulator is semantic-level (probabilistic skill outcomes), not physics-based. Physical simulation via adapters (Genie Sim, Isaac, MuJoCo) is not yet implemented.
- EEP field-level spec comes from public descriptions on the official homepage; message encapsulation, error semantics, and version negotiation are self-defined (
open-eep/0.1). - Not verified on real robots; all evaluation numbers come from simulation.
License
Original content is MIT License. External referenced materials retain their own copyrights and licenses. GenieMaster, Genie, AgiBot/Zhiyuan names and marks belong to their respective owners; used only to describe the research and reimplementation target, not implying endorsement or affiliation.
Related
- Project
- Project
- Project
- Project