plugins/plugin-ainex/README.md
elizaOS plugin that drives the Hiwonder AiNex humanoid robot — and later other humanoids — through a single websocket bridge.
The bridge process (Python, ported from ainex-robot-code/bridge/) brokers traffic between the agent and either:
This plugin is the thin TypeScript surface the Eliza agent uses to talk to that bridge. Heavy logic (sim, training, gait, perception) lives in packages/robot/ and its Python sidecar.
AINEX_WALK_FORWARD, AINEX_WALK_BACKWARDAINEX_SIDE_STEP_LEFT, AINEX_SIDE_STEP_RIGHTAINEX_TURN_LEFT, AINEX_TURN_RIGHTAINEX_STOP, AINEX_STAND, AINEX_SITAINEX_WAVE, AINEX_BOWAINEX_PICK_UP, AINEX_PLACE_DOWNAINEX_SET_SERVO, AINEX_RUN_ACTION_GROUPAINEX_ROBOT_STATE — current pose, joint angles, IMU, walk-controller stateAINEX_PERCEPTION — camera frame metadata + bridge-side detections (hands off to plugin-vision)AINEX_POLICY_STATUS — active learned-policy lifecycleAINEX_BATTERY — voltage and charge stateAinexService — owns the websocket bridge client connection.| Variable | Default | Purpose |
|---|---|---|
MILADY_AINEX_BRIDGE_URL | ws://localhost:9100 | Websocket URL for the AiNex bridge server. |
MILADY_AINEX_PROFILE | hiwonder-ainex | Robot profile descriptor name to load on the bridge. |
MILADY_AINEX_CAMERA_FPS | 10 | Frame rate to subscribe to from the robot's camera stream. |
The plugin auto-enables when MILADY_AINEX_BRIDGE_URL is set, or when features.ainex is enabled in agent config.
packages/robot/ — Python robotics stack (MuJoCo sim, Brax-PPO RL, bridge, perception, trajectory DB) plus a thin TS surface for shared types and re-exports. See packages/robot/README.md.plugins/plugin-vision/ — camera + scene-analysis plugin that will consume the robot camera as a pluggable frame source (W5.1).Skeleton only. All actions / providers / the bridge client return placeholder responses until wave W4.1 lands the real bridge client and W4.2 wires the providers + service to live data.