https://github.com/deltartificial/react-three-agents
🤖 Reinforcement Learning Agents in React Three Fiber
https://github.com/deltartificial/react-three-agents
agents r3f react reinforcement-learning rl threejs
Last synced: 2 months ago
JSON representation
🤖 Reinforcement Learning Agents in React Three Fiber
- Host: GitHub
- URL: https://github.com/deltartificial/react-three-agents
- Owner: deltartificial
- License: mit
- Created: 2025-03-15T18:30:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-16T15:37:17.000Z (over 1 year ago)
- Last Synced: 2025-03-16T15:45:58.456Z (over 1 year ago)
- Topics: agents, r3f, react, reinforcement-learning, rl, threejs
- Language: TypeScript
- Homepage:
- Size: 1.07 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Three Agents
A framework for training and visualizing reinforcement learning agents in 3D environments using React Three Fiber and Python.
## Setup
1. Install Node.js dependencies:
```bash
npm install
```
2. Create a Python virtual environment:
```bash
python3 -m venv venv
source venv/bin/activate
```
3. Install the Python SDK:
```bash
cd packages/sdk-python
pip install -e .
cd ../..
```
4. Build the TypeScript library:
```bash
npm run build:lib
```
## Running the Example
You can run all components together:
```bash
npm start
```
Or run each component separately:
1. Start the WebSocket server:
```bash
npm run start:server
```
2. Start the React client:
```bash
npm run start:client
```
3. Start the Python agent:
```bash
npm run start:agent
```