suitedaces / computer-agent

Desktop app powered by Claude’s computer use capability to control your computer
Other
268 stars 21 forks source link
ai ai-tools anthropic claude-3-5-sonnet computer-use gui pyqt pyqt6 python

πŸ‘¨πŸ½β€πŸ’» Grunty

Self-hosted desktop app to have AI control your computer, powered by the new Claude computer use capability. Allow Claude to take over your laptop and do your tasks for you (or at least attempt to, lol). Written in Python, using PyQt.

Demo

Here, I asked it to use vim to create a game in Python, run it, and play it.

https://github.com/user-attachments/assets/fa9b195e-fae6-4dbc-adb9-dc42519624b1

Video was sped up 8x btw. Computer use is pretty slow as of today.

⚠️ Important Disclaimers

  1. This is experimental software - It gives an AI control of your mouse and keyboard. Things can and will go wrong.

  2. Tread Lightly - If it wipes your computer, sends weird emails, or orders 100 pizzas... that's on you.

Anthropic can see your screen through screenshots during actions. Hide sensitive information or private stuff.

🎯 Features

πŸ’» Platforms

πŸ› οΈ Setup

Get an Anthropic API key here.

# Python 3.10+ recommended
python -m venv venv
source venv/bin/activate  # or `venv\Scripts\activate` on Windows
pip install -r requirements.txt

# Add API key to .env
echo "ANTHROPIC_API_KEY=your-key-here" > .env

# Run
python run.py

πŸ”‘ Productivity Keybindings

πŸ’‘ Tips

πŸ› Known Issues

🀝 Contributing

Issues and PRs are most welcome! Made this is in a day so don't really have a roadmap in mind. Hmu on Twitter @ishanxnagpal if you're got interesting ideas you wanna share.

πŸ“„ License

Apache License 2.0