Skip to content

Latest commit

ย 

History

History
69 lines (49 loc) ยท 1.56 KB

File metadata and controls

69 lines (49 loc) ยท 1.56 KB

๐Ÿค– ZAI COMPUTER CONTROLLER

Give AI full control of your computer!

๐Ÿš€ QUICK START (Windows)

  1. Double-click install.bat
  2. Tell AI your IP address (shown in the window)
  3. Done! AI can now control your computer!

๐Ÿ“‹ MANUAL START (Mac/Linux/Windows)

# Install requirements
pip install flask pyautogui pillow requests

# Run controller
python zai-controller.py

๐Ÿ”— CONNECT TO AI

After starting, tell AI:

  • URL: http://YOUR_IP:8765
  • Password: ZAI123

๐ŸŽฎ WHAT AI CAN DO

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")

๐Ÿ“ FIND YOUR IP

  • Windows: Run ipconfig - look for IPv4
  • Mac: Run ifconfig - look for en0
  • Linux: Run hostname -I

โš ๏ธ SECURITY

  • Change password in zai-controller.py (find PASSWORD = "ZAI123")
  • Only run on trusted network
  • Don't expose to internet without VPN

๐Ÿ”ง TROUBLESHOOTING

"pip not found":

"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

๐Ÿ“ FILES

  • zai-controller.py - Run this on YOUR computer
  • ai_computer.py - AI uses this to control
  • install.bat - Windows installer
  • README.md - This file