File size: 1,539 Bytes
cf6c0e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>Docs</title></head>
<body>
  <nav>
    <div>
      <span>Docs</span>
      <div>
        <a href="#">Guide</a>
        <a href="#">API Reference</a>
        <a href="#">Examples</a>
      </div>
    </div>
    <div>🔍 Search docs...</div>
  </nav>
  <div>
    <aside>
      <p>Getting Started</p>
      <nav>
        <a>Introduction</a>
        <a>Installation</a>
        <a>Quick Start</a>
      </nav>
      <p>Core Concepts</p>
      <nav>
        <a>Environments</a>
        <a>Actions & Obs</a>
        <a>Rewards</a>
      </nav>
      <p>API</p>
      <nav>
        <a>POST /reset</a>
        <a>POST /step</a>
        <a>GET /state</a>
      </nav>
    </aside>
    <main>
      <div>
        <span>Docs</span><span></span><span>Getting Started</span><span></span><span>Introduction</span>
      </div>
      <h1>Introduction</h1>
      <p>OpenEnv is a standard HTTP interface for building reinforcement learning environments. It provides a simple REST API that any agent can interact with, regardless of programming language.</p>
      <div>
        <p>INSTALLATION</p>
        <code>pip install openenv-core</code>
      </div>
      <h2>How it works</h2>
      <p>Each environment exposes three endpoints: <code>/reset</code> to start an episode, <code>/step</code> to submit an action, and <code>/state</code> to inspect current state.</p>
      <div>
        <button>Next: Installation →</button>
      </div>
    </main>
  </div>
</body>
</html>