File size: 1,067 Bytes
bc68598
3060f0c
 
a0af245
3060f0c
a0af245
3060f0c
592e834
61177f7
bc68598
31e7814
3060f0c
a356502
3060f0c
f920a21
3060f0c
f920a21
3060f0c
 
f920a21
3060f0c
f920a21
3060f0c
 
 
 
f920a21
3060f0c
f920a21
3060f0c
f920a21
3060f0c
f920a21
3060f0c
 
 
 
 
 
 
46c2649
3060f0c
46c2649
3060f0c
46c2649
3060f0c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: Coding_env Environment Server
emoji: 🐳
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
app_port: 8000
base_path: /web
---

# Coding_env Environment Server

FastAPI server for coding_env environment powered by Meta's OpenEnv.

## About

This Space provides a containerized environment for coding_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`

## Coding Environment

Executes Python code in a sandboxed environment with safety checks.

### Usage
Send a POST request to `/step` with:
```json
{
  "code": "print('Hello World')"
}
```

## API Documentation

Visit `/docs` for interactive API documentation.

## Health Check

The environment provides a health check endpoint at `/health`.