Give AI full control of your computer!
- Double-click
install.bat - Tell AI your IP address (shown in the window)
- Done! AI can now control your computer!
# Install requirements
pip install flask pyautogui pillow requests
# Run controller
python zai-controller.pyAfter starting, tell AI:
- URL:
http://YOUR_IP:8765 - Password:
ZAI123
| Action | Code |
|---|---|
| ๐ธ Screenshot | pc.screenshot() |
| ๐ฑ๏ธ Click | pc.click(x, y) |
| โจ๏ธ Type | pc.type("Hello!") |
| ๐ Press Key | pc.press("enter") |
| โจ๏ธ Hotkey | pc.hotkey("ctrl", "c") |
| ๐ Open URL | pc.open("gmail.com") |
| ๐ป Run Command | pc.execute("dir") |
- Windows: Run
ipconfig- look for IPv4 - Mac: Run
ifconfig- look for en0 - Linux: Run
hostname -I
- Change password in
zai-controller.py(findPASSWORD = "ZAI123") - Only run on trusted network
- Don't expose to internet without VPN
"pip not found":
- Install Python from https://python.org
- Check "Add to PATH" during install
"Port already in use":
- Change PORT in
zai-controller.py
AI can't connect:
- Make sure you're on same WiFi
- Check firewall allows port 8765
zai-controller.py- Run this on YOUR computerai_computer.py- AI uses this to controlinstall.bat- Windows installerREADME.md- This file