| --- |
| title: Textarena_env Environment Server |
| emoji: 📜 |
| colorFrom: green |
| colorTo: blue |
| sdk: docker |
| pinned: false |
| app_port: 8000 |
| base_path: /web |
| tags: |
| - openenv |
| --- |
| |
| # Textarena_env Environment Server |
| |
| FastAPI server for textarena_env environment powered by Meta's OpenEnv. |
|
|
| ## About |
|
|
| This Space provides a containerized environment for textarena_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` |
| |
| ## TextArena Environment |
| |
| Runs TextArena games such as Wordle, GuessTheNumber, or Chess through a unified HTTP API. |
| |
| ### Usage |
| Send a POST request to `/step` with: |
| ```json |
| { |
| "message": "raise shield" |
| } |
| ``` |
| |