PLAY LIKENEVER BEFORE
Cloud AI that plays your games.
Native macOS. Seamless Unreal 5.6+.
Get Started
Choose your platform and follow the setup guide to start using NitroGenPlayer.
Need an API Key?
Get access to NitroGen AI with a subscription or credit pack.
macOS Setup
Run AI-controlled games on your Mac using Karabiner VirtualHID for real keyboard input injection.
Requirements
- macOS 13 Ventura or later
- Python 3.10+
- Xcode Command Line Tools
- Homebrew
- Game running (windowed or fullscreen)
Install Xcode Command Line Tools
Install the Xcode Command Line Tools if you haven't already.
xcode-select --installInstall Karabiner-Elements
Download and install Karabiner-Elements from the official website. This provides the VirtualHID framework.
open https://karabiner-elements.pqrs.org/Install the Karabiner VirtualHID Driver
Download and install the Karabiner VirtualHIDDevice driver package from GitHub. This creates a virtual keyboard that games recognize as real hardware.
open https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/releases/latestActivate the Karabiner VirtualHID Driver
Run this command to activate the driver. You may need to approve it in System Settings → Privacy & Security.
/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Manager activateStart the VirtualHID Daemon
The daemon must be running for the virtual keyboard to work. Run this in a separate terminal and keep it running.
sudo '/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Daemon'Build the VirtualHID Client Bridge
Clone and build the bridge binary that connects the Python server to the VirtualHID driver.
cd ~ && git clone --depth 1 https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice.git && cd Karabiner-DriverKit-VirtualHIDDevice/examples/virtual-hid-device-service-client && brew install xcodegen && makeCreate the Virtual Gamepad Server Directory Structure
Create the folder structure for the virtual gamepad server.
mkdir -p ~/nitrogen-gamepad-server/src ~/nitrogen-gamepad-server/webSave the Virtual Gamepad Server Files
Save these files into your ~/nitrogen-gamepad-server folder. Use the tabs below to view each file.
Create the Game Client Directory
Create the folder for the game client files.
mkdir -p ~/nitrogen-game-clientSave the Game Client Files
Save these files into your ~/nitrogen-game-client folder. Use the tabs below to view each file.
Start the Virtual Gamepad Server
Open a NEW terminal and start the virtual gamepad server.
Run the Game Client
Open a NEW terminal and start the game client.
Play!
Open your game and press the pause key to toggle AI control on/off.
(Optional) Remote Control from iPhone
Want to toggle AI from your iPhone while gaming? Use ngrok to expose the control server.