Circuit Racing
Train and save neural drivers, race their frozen checkpoints, or take the wheel. Two licensed 3D vehicles, three laps and shared arcade physics.
IgnitionAI is the ML-Agents of the JavaScript creative ecosystem. Describe your game world, call env.train(), and deploy anywhere via ONNX. No Python, no server, no GPU cluster.
No neural network code. No hyperparameter tuning. No config files. Describe your world, call train(), and the framework does the rest.
import { IgnitionEnvTFJS } from '@ignitionai/backend-tfjs';
import { CartPoleEnv } from '@ignitionai/environments';
const cartpole = new CartPoleEnv();
const env = new IgnitionEnvTFJS(cartpole);
env.train('dqn'); // Zero config. It just works.
// env.infer(); // Switch to inference after training.
// env.setSpeed(50); // Turbo training (50x faster).That's it. The agent learns. The pole stays up.
Describe your world in a class, call env.train(), and watch your agent learn in real time. No Python, no server, no GPU cluster.
Three algorithms, auto-configuration, ONNX export, HuggingFace storage, and 8 working demos. All TypeScript, all open source.
Train in the browser with TensorFlow.js, then export to ONNX and deploy in Unity (Sentis), Unreal (NNE), Python, C++, or edge devices. One pipeline from prototype to production.
DQN, PPO, and tabular Q-Learning. Switch with one word: env.train('ppo'). Override hyperparameters only when you need fine control.
Pair it with your Three.js scene — training loop runs independently of the render loop.
Input size deduced from observe(), action size from actions.length. You never touch network code.
TensorFlow.js auto-selects WebGPU → WebGL → WASM → CPU. No CUDA, no install.
env.setSpeed(50) — 50× faster convergence. Drop back to 1× to watch the agent play.
Save and load trained models from HF Hub with one line. Share weights like a dataset.
No any, Zod-validated configs, 184+ tests, CI/CD. Production-ready from day one.
Circuit Racing, Maze, CartPole, MountainCar, CartPole 3D, Drone Navigation, Maze 3D, GridWorld. Clone, run, learn.
Pick an algorithm, hit Train, and watch the reward climb in real time. This is a simulation — open a live demo below to run real RL.
8 interactive environments showing IgnitionAI in action. Each runs in your browser. Circuit Racing supports keyboard play against learned drivers; the other environments explore reinforcement learning.
Train and save neural drivers, race their frozen checkpoints, or take the wheel. Two licensed 3D vehicles, three laps and shared arcade physics.
A low-poly humanoid trains in a Rapier 3D arena with prefab walls, sensor rays, doors, and moving hazards.
Classic pole-balancing benchmark with Euler physics.
Sparse reward challenge. Explore the momentum needed to reach the hilltop.
Classic CartPole rendered in 3D with React Three Fiber. Metallic materials and shadows.
A quadcopter learns to fly to moving target points. Rigid-body physics, 8 thrust combos, real gravity and torque.
A robot navigates a 3D maze to find keys, avoid traps, and reach the exit. Raycast observations, pathfinding challenge.
A discrete navigation environment for exploring rewards and learned action values.
IgnitionAI ships fast. Here's the latest release — everything else lives on the full changelog.
One install command, one TrainingEnv class, one call to env.train(). Your agent learns in your browser, then deploys anywhere via ONNX.