OpenEnv Compatibility
Docker-only execution
All commands run inside Docker containers. Use the provided scripts.
W8-RL implements OpenEnv as a FastAPI server deployed inside Ray Serve. This preserves the OpenEnv HTTP contract while still using Ray for scale-out.
Key points
- Server runs in
ray-head(Ray Serve) - Client runs in
ray-worker - Single-session per server instance (OpenEnv client compatibility)
- Scale-out is achieved by running multiple server instances
Endpoints
POST /resetPOST /step(HTTP)GET /statePOST /close- WebSocket
/step(streaming)
Run OpenEnv path
Run the command below from the repo root in Docker:
./scripts/run_design2code_openenv.sh design2code_0000 --use-openhands
openenv.yaml
The environment manifest is located at:
w8_rl/openenv/openenv.yaml
It follows the OpenEnv echo_env schema and points to server.app:app.
Next Steps
- Read the Architecture overview: Architecture Overview
- Run a Design2Code task: Design2Code Runs
- Review troubleshooting: Troubleshooting