A framework for training and visualizing reinforcement learning agents in 3D environments using React Three Fiber and Python.
-
Install Node.js dependencies:
npm install
-
Create a Python virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install the Python SDK:
cd packages/sdk-python pip install -e . cd ../..
-
Build the TypeScript library:
npm run build:lib
You can run all components together:
npm start
Or run each component separately:
-
Start the WebSocket server:
npm run start:server
-
Start the React client:
npm run start:client
-
Start the Python agent:
npm run start:agent