Spaces:
Running
Running
| title: OpenSpiel_env | |
| emoji: 🎮 | |
| colorFrom: purple | |
| colorTo: green | |
| sdk: docker | |
| pinned: false | |
| app_port: 8000 | |
| base_path: /web | |
| tags: | |
| - openenv | |
| # Openspiel_env Environment Server | |
| FastAPI server for openspiel_env environment powered by Meta's OpenEnv. | |
| ## About | |
| This Space provides a containerized environment for openspiel_env interactions. | |
| Built with FastAPI and OpenEnv framework. | |
| ## Web Interface | |
| This deployment includes an interactive web interface for exploring the environment: | |
| - **HumanAgent Interface**: Interact with the environment using a web form | |
| - **State Observer**: Real-time view of environment state and action history | |
| - **Live Updates**: WebSocket-based real-time updates | |
| Access the web interface at: `/web` | |
| ## OpenSpiel Environment | |
| Provides access to OpenSpiel games for multi-agent reinforcement learning. | |
| ### Usage | |
| Send a POST request to `/step` with: | |
| ```json | |
| { | |
| "action": { | |
| "action_id": 1 | |
| } | |
| } | |
| ``` | |
| ## API Documentation | |
| Visit `/docs` for interactive API documentation. | |
| ## Health Check | |
| The environment provides a health check endpoint at `/health`. |