Spaces:
Running
Running
| <html lang="en"> | |
| <head><meta charset="UTF-8"><title>Docs</title></head> | |
| <body style="font-family:sans-serif; background:#fff; color:#1e293b"> | |
| <nav style="border-bottom:1px solid #e2e8f0; background:#fff; z-index:10"> | |
| <div style="gap:32px"> | |
| <span style="font-weight:700; font-size:17px; color:#4f46e5">Docs</span> | |
| <div style="gap:20px; font-size:14px; color:#64748b"> | |
| <a href="#" style="color:#4f46e5; text-decoration:none; font-weight:500">Guide</a> | |
| <a href="#" style="color:#64748b; text-decoration:none">API Reference</a> | |
| <a href="#" style="color:#64748b; text-decoration:none">Examples</a> | |
| </div> | |
| </div> | |
| <div style="background:#f1f5f9; font-size:13px; color:#94a3b8">🔍 Search docs...</div> | |
| </nav> | |
| <div style="max-width:1100px; gap:40px"> | |
| <aside style=""> | |
| <p style="font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#94a3b8">Getting Started</p> | |
| <nav style="font-size:14px"> | |
| <a style="color:#4f46e5; font-weight:600; text-decoration:none">Introduction</a> | |
| <a style="color:#64748b; text-decoration:none">Installation</a> | |
| <a style="color:#64748b; text-decoration:none">Quick Start</a> | |
| </nav> | |
| <p style="font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#94a3b8">Core Concepts</p> | |
| <nav style="font-size:14px"> | |
| <a style="color:#64748b; text-decoration:none">Environments</a> | |
| <a style="color:#64748b; text-decoration:none">Actions & Obs</a> | |
| <a style="color:#64748b; text-decoration:none">Rewards</a> | |
| </nav> | |
| <p style="font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#94a3b8">API</p> | |
| <nav style="font-size:14px"> | |
| <a style="color:#64748b; text-decoration:none">POST /reset</a> | |
| <a style="color:#64748b; text-decoration:none">POST /step</a> | |
| <a style="color:#64748b; text-decoration:none">GET /state</a> | |
| </nav> | |
| </aside> | |
| <main style=""> | |
| <div style="gap:8px; font-size:12px; color:#94a3b8"> | |
| <span>Docs</span><span>›</span><span>Getting Started</span><span>›</span><span style="color:#4f46e5">Introduction</span> | |
| </div> | |
| <h1 style="font-size:30px">Introduction</h1> | |
| <p style="color:#64748b; font-size:15px; line-height:1.7">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 style="background:#f8fafc; border:1px solid #e2e8f0"> | |
| <p style="font-size:13px; font-weight:600; color:#64748b">INSTALLATION</p> | |
| <code style="font-family:monospace; font-size:13px; color:#4f46e5">pip install openenv-core</code> | |
| </div> | |
| <h2 style="font-size:20px">How it works</h2> | |
| <p style="color:#475569; line-height:1.8">Each environment exposes three endpoints: <code style="background:#f1f5f9; font-size:13px">/reset</code> to start an episode, <code style="background:#f1f5f9; font-size:13px">/step</code> to submit an action, and <code style="background:#f1f5f9; font-size:13px">/state</code> to inspect current state.</p> | |
| <div style="gap:12px; font-size:14px"> | |
| <button style="background:#4f46e5; color:#fff; border:none; cursor:pointer">Next: Installation →</button> | |
| </div> | |
| </main> | |
| </div> | |
| </body> | |
| </html> | |