deltartificial / react-three-agents

🤖 Reinforcement Learning Agents in React Three Fiber

Repository from Github https://github.comdeltartificial/react-three-agentsRepository from Github https://github.comdeltartificial/react-three-agents

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:

    npm install
  2. Create a Python virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install the Python SDK:

    cd packages/sdk-python
    pip install -e .
    cd ../..
  4. Build the TypeScript library:

    npm run build:lib

Running the Example

You can run all components together:

npm start

Or run each component separately:

  1. Start the WebSocket server:

    npm run start:server
  2. Start the React client:

    npm run start:client
  3. Start the Python agent:

    npm run start:agent

About

🤖 Reinforcement Learning Agents in React Three Fiber

License:MIT License


Languages

Language:TypeScript 74.1%Language:Python 20.0%Language:JavaScript 3.0%Language:CSS 1.5%Language:Shell 1.1%Language:HTML 0.3%