|
1 | 1 | # IgnitionAI — Roadmap |
2 | 2 |
|
| 3 | +**Vision**: The ML-Agents of the JavaScript creative ecosystem. Train RL agents in the browser, deploy anywhere via ONNX. |
| 4 | + |
| 5 | +**Positioning**: Outil technique (comme Three.js), pas produit SaaS. Open-source first. Monétisation via services complémentaires plus tard. |
| 6 | + |
| 7 | +--- |
| 8 | + |
3 | 9 | ## Done |
4 | 10 |
|
5 | | -- **Core**: TrainingEnv/InferenceEnv interfaces, auto-config (`env.train('dqn')`), IgnitionEnv with train/infer/stop |
6 | | -- **Algos**: DQN, PPO, Q-Table — all with greedy mode for inference |
7 | | -- **Infrastructure**: pnpm monorepo, Zod validation, CI/CD (GitHub Actions), `ignitionai` umbrella package |
| 11 | +- **Core**: TrainingEnv/InferenceEnv interfaces, auto-config, IgnitionEnv with train/infer/stop/setSpeed |
| 12 | +- **Algos**: DQN, PPO, Q-Table — with greedy mode for inference |
| 13 | +- **Infrastructure**: pnpm monorepo, Zod validation, CI/CD, `ignitionai` umbrella package |
8 | 14 | - **ONNX**: OnnxAgent, TF.js→ONNX exporter, HF Hub loader |
9 | | -- **Storage**: HuggingFace Hub provider (save/load/list/delete) |
| 15 | +- **Storage**: HuggingFace Hub provider |
10 | 16 | - **Environments**: `@ignitionai/environments` — GridWorld, CartPole, MountainCar |
11 | | -- **Demos 2D**: GridWorld, CartPole, MountainCar — train + inference mode, live reward chart |
12 | | -- **Demo 3D**: CartPole 3D (R3F) — metallic cart, pole, rail, professional lighting |
13 | | -- **184+ tests** passing across all packages |
| 17 | +- **Demos 2D**: GridWorld, CartPole, MountainCar |
| 18 | +- **Demos 3D**: CartPole 3D, Car on Circuit (chase cam, HUD, minimap, trail, speed slider) |
| 19 | +- **184+ tests** passing |
14 | 20 |
|
15 | 21 | --- |
16 | 22 |
|
17 | | -## Phase 1 — Wow Demo: Car on Circuit (IN PROGRESS) |
| 23 | +## Phase 1 — Public Launch Prep (2 weeks) |
| 24 | + |
| 25 | +> Everything needed to post "Show HN" without getting roasted. |
| 26 | +
|
| 27 | +### 1.1 Landing page |
| 28 | +- [ ] Single-page site at `ignitionai.dev` (or similar domain) |
| 29 | +- [ ] Hero: Car on Circuit demo embedded live |
| 30 | +- [ ] 7-line code snippet with copy button |
| 31 | +- [ ] "Install" command block |
| 32 | +- [ ] 3 sub-demos linked (GridWorld, CartPole, MountainCar) |
| 33 | +- [ ] Deploy on Vercel |
| 34 | + |
| 35 | +### 1.2 Documentation site |
| 36 | +- [ ] Docs at `ignitionai.dev/docs` (Vitepress or Astro Starlight) |
| 37 | +- [ ] Getting Started (5 min tutorial) |
| 38 | +- [ ] `TrainingEnv` API reference |
| 39 | +- [ ] Algorithm guide (when to use DQN vs PPO vs Q-Table) |
| 40 | +- [ ] ONNX export + Unity/Unreal deployment guide |
| 41 | +- [ ] Architecture diagram |
| 42 | + |
| 43 | +### 1.3 README + branding |
| 44 | +- [ ] README with hero GIF of Car Circuit demo |
| 45 | +- [ ] npm badges, license badge, build status |
| 46 | +- [ ] Logo (simple, 5 min in Figma) |
| 47 | +- [ ] Social card image for Twitter/OG |
| 48 | + |
| 49 | +### 1.4 npm publish v0.1.0 |
| 50 | +- [ ] Publish all 6 packages via `scripts/publish.sh` |
| 51 | +- [ ] Verify install in a fresh project |
| 52 | +- [ ] Tag v0.1.0 in git |
18 | 53 |
|
19 | | -> A 3D car learns to drive on a circuit. The hero demo. |
| 54 | +--- |
20 | 55 |
|
21 | | -- [ ] Car on oval circuit with R3F + 3D model (.glb) |
22 | | -- [ ] Discrete actions: steer left, straight, steer right |
23 | | -- [ ] Observation: car position, angle, distance to track edges, velocity |
24 | | -- [ ] Agent learns to stay on track and complete laps |
25 | | -- [ ] Train → Inference toggle — car drives perfectly after training |
26 | | -- [ ] Deploy on Vercel as shareable URL |
| 56 | +## Phase 2 — Launch (1 week) |
27 | 57 |
|
28 | | -## Phase 2 — Landing Page & Docs |
| 58 | +> Get the framework in front of the right people. |
29 | 59 |
|
30 | | -> Convert visitors into users. |
| 60 | +- [ ] **Blog post**: "How I built ML-Agents in JavaScript" (dev.to + personal blog) |
| 61 | +- [ ] **Twitter thread**: video of Car Circuit learning to drive + 10-line code |
| 62 | +- [ ] **Show HN**: "IgnitionAI — Reinforcement Learning framework for JavaScript" |
| 63 | +- [ ] **Reddit r/reinforcementlearning + r/javascript** |
| 64 | +- [ ] **Product Hunt** submission |
| 65 | +- [ ] **Discord server**: community + support channel |
| 66 | +- [ ] Track metrics: GitHub stars, npm downloads, demo page views |
31 | 67 |
|
32 | | -- [ ] Landing page: hero demo embed, "10 lines of code" pitch, install command |
33 | | -- [ ] Documentation site: Getting Started, TrainingEnv API, algorithm guide, ONNX export |
34 | | -- [ ] README updated with badges, quickstart pointing to docs |
| 68 | +--- |
35 | 69 |
|
36 | | -## Phase 3 — Advanced Algorithms |
| 70 | +## Phase 3 — Viral Demos (2 weeks) |
| 71 | + |
| 72 | +> Classic games everyone recognizes. These get shared. |
| 73 | +
|
| 74 | +- [ ] **Flappy Bird** — AI masters Flappy in your browser |
| 75 | +- [ ] **Snake** — the classic, with growing snake visible |
| 76 | +- [ ] **Dino Chrome** — the offline Chrome game |
| 77 | +- [ ] Each demo: standalone page, deployed, shareable URL |
| 78 | +- [ ] Each demo: 60-sec video for Twitter |
| 79 | + |
| 80 | +These are engineered for virality. "AI learns Flappy Bird in JavaScript" is a tweet magnet. |
| 81 | + |
| 82 | +--- |
| 83 | + |
| 84 | +## Phase 4 — Advanced Algorithms (2 weeks) |
37 | 85 |
|
38 | 86 | > Continuous action spaces for real game AI. |
39 | 87 |
|
40 | | -- [ ] SAC (Soft Actor-Critic) — continuous steering angle, throttle |
41 | | -- [ ] Upgrade car demo to continuous actions with SAC |
42 | | -- [ ] A2C — lightweight alternative to PPO |
| 88 | +- [ ] **SAC** (Soft Actor-Critic) — continuous actions (steering angle, throttle) |
| 89 | +- [ ] **A2C** — lightweight alternative to PPO |
| 90 | +- [ ] Upgrade Car Circuit to continuous steering with SAC — smoother driving |
| 91 | +- [ ] Benchmark: DQN vs PPO vs SAC on the same env |
| 92 | + |
| 93 | +--- |
| 94 | + |
| 95 | +## Phase 5 — Multi-Agent & Self-Play (3 weeks) |
| 96 | + |
| 97 | +> The next level of RL. |
43 | 98 |
|
44 | | -## Phase 4 — Ecosystem & Growth |
| 99 | +- [ ] **Multi-agent API**: multiple agents in the same environment |
| 100 | +- [ ] **Self-play**: agent trains against past versions of itself |
| 101 | +- [ ] Demo: **Pong** — two agents learning to beat each other |
| 102 | +- [ ] Demo: **Sumo** — two agents wrestling in a circle |
45 | 103 |
|
46 | | -> Scale adoption. |
| 104 | +--- |
| 105 | + |
| 106 | +## Phase 6 — Pre-Trained Models Hub (3 weeks) |
| 107 | + |
| 108 | +> HuggingFace for RL agents. |
47 | 109 |
|
48 | | -- [ ] npm publish v0.1.0 (all packages + umbrella) |
49 | | -- [ ] Example gallery: Three.js, R3F, vanilla canvas, Node.js headless |
50 | | -- [ ] ONNX deployment guides: Unity (Sentis), Unreal (NNE) |
51 | | -- [ ] `create-ignitionai-app` starter template |
52 | | -- [ ] Blog post / Twitter launch |
| 110 | +- [ ] Upload API: `agent.publish('username/model-name')` |
| 111 | +- [ ] Download API: `IgnitionEnv.loadAgent('username/model-name')` |
| 112 | +- [ ] Gallery page: browse published agents |
| 113 | +- [ ] Top models: car racing, Snake champion, Flappy master |
| 114 | +- [ ] Leaderboard per environment |
53 | 115 |
|
54 | 116 | --- |
55 | 117 |
|
56 | | -## Optional — Showcase Demos |
| 118 | +## Phase 7 — DX Tooling (2 weeks) |
| 119 | + |
| 120 | +> Make it delightful to use. |
| 121 | +
|
| 122 | +- [ ] `create-ignitionai-app` — starter template with env + demo |
| 123 | +- [ ] Web dashboard: live training visualization (start/stop/compare runs) |
| 124 | +- [ ] Replay viewer: step through past episodes for debugging |
| 125 | +- [ ] VS Code snippets extension |
| 126 | + |
| 127 | +--- |
| 128 | + |
| 129 | +## Phase 8 — Ecosystem Integrations (ongoing) |
| 130 | + |
| 131 | +> Meet developers where they are. |
| 132 | +
|
| 133 | +- [ ] **Three.js Journey integration**: lesson on RL agents |
| 134 | +- [ ] **Unity Sentis export guide**: step-by-step tutorial |
| 135 | +- [ ] **Unreal NNE export guide** |
| 136 | +- [ ] **Godot export** (GDExtension via ONNX Runtime) |
| 137 | +- [ ] **React Three Fiber starter kit** |
| 138 | +- [ ] **PlayCanvas integration** |
| 139 | + |
| 140 | +--- |
| 141 | + |
| 142 | +## Phase 9 — Monetization (when ready) |
| 143 | + |
| 144 | +> Only after adoption. Don't put the cart before the horse. |
| 145 | +
|
| 146 | +**Not before Phase 6 minimum.** The framework must be widely used and loved before any commercial offering. |
| 147 | + |
| 148 | +Possible models (ranked by feasibility): |
| 149 | + |
| 150 | +1. **Enterprise support & consulting** — game studios, XR companies, educational institutions |
| 151 | +2. **Cloud training** — offload heavy training to GPU cloud (like Replicate/Modal) |
| 152 | +3. **Dashboard SaaS** — hosted version of the web dashboard with team features |
| 153 | +4. **Courses** — paid tutorials on building game AI with IgnitionAI |
| 154 | +5. **Dual license** — MIT for open-source, commercial license for proprietary |
| 155 | + |
| 156 | +**Never**: close-source the core framework, add paid algos, lock ONNX export behind a paywall. |
| 157 | + |
| 158 | +--- |
| 159 | + |
| 160 | +## Optional — Additional Demos |
| 161 | + |
| 162 | +> Build when time allows, for the gallery. |
| 163 | +
|
| 164 | +- [ ] Drone hover (thrust balance) |
| 165 | +- [ ] Marble on tilting platform |
| 166 | +- [ ] Rocket landing (SpaceX vibe) |
| 167 | +- [ ] Robot arm (pick & place) |
| 168 | +- [ ] Atari Breakout clone |
| 169 | + |
| 170 | +--- |
57 | 171 |
|
58 | | -> Additional 3D demos for the gallery. Build when time allows. |
| 172 | +## Guiding Principles |
59 | 173 |
|
60 | | -- [ ] **Drone hover** — 3D drone learns to stabilize mid-air (thrust 4 directions) |
61 | | -- [ ] **Marble on tilting platform** — tilt to guide a ball to the target |
62 | | -- [ ] **Rocket landing** — SpaceX-style inverted pendulum in 3D (thrust 4 directions) |
63 | | -- [ ] **Robot arm** — pick & place with joint rotations |
64 | | -- [ ] **Snake 3D** — classic snake game rendered in R3F |
| 174 | +1. **Framework first, product second** — the core library is the hero. Everything else supports it. |
| 175 | +2. **Open-source forever** — MIT license, no lock-in, no dark patterns. |
| 176 | +3. **Creative devs first** — Three.js / R3F users are the primary audience, not ML researchers. |
| 177 | +4. **Browser-native** — if it doesn't work in the browser, it doesn't ship. |
| 178 | +5. **Zero config > full control** — defaults must work. Advanced users get escape hatches. |
| 179 | +6. **Ship > polish** — iterate in public. Break things, learn fast. |
65 | 180 |
|
66 | 181 | --- |
67 | 182 |
|
|
0 commit comments