claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Automation & Workflows

mac_computer_use

A fork of Anthropic Computer Use that you can run on Mac computers to give Claude and other AI models autonomous access to your computer.

// Automation & Workflows[ api ][ claude ]#claude#ai#anthropic#computer-use#automation$open-sourceupdated 15 days ago
Dormant
0/100
last commit over 1 year ago
last release none
releases 0
open issues 10
// install
git clone https://github.com/deedy/mac_computer_use

Anthropic Computer Use (for Mac)

Anthropic Computer Use is a beta Anthropic feature which runs a Docker image with Ubuntu and controls it. This fork allows you to run it natively on macOS, providing direct system control through native macOS commands and utilities.

[!CAUTION] This comes with obvious risks. The Anthropic agent can control everything on your Mac. Please be careful. Anthropic's new Claude 3.5 Sonnet model refuses to do unsafe things like purchase items or download illegal content.

Features

  • Native macOS GUI interaction (no Docker required)
  • Screen capture using native macOS commands
  • Keyboard and mouse control through cliclick
  • Multiple LLM provider support (Anthropic, Bedrock, Vertex)
  • Streamlit-based interface
  • Automatic screen resolution scaling
  • File system interaction and editing capabilities

Prerequisites

  • macOS Sonoma 15.7 or later
  • Python 3.12+
  • Homebrew (for installing additional dependencies)
  • cliclick (brew install cliclick) - Required for mouse and keyboard control

Setup Instructions

  1. Clone the repository and navigate to it:
git clone https://github.com/deedy/mac_computer_use.git
cd mac_computer_use
  1. Create and activate a virtual environment:
python3.12 -m venv venv
source venv/bin/activate
  1. Run the setup script:
chmod +x setup.sh
./setup.sh
  1. Install Python requirements:
pip install -r requirements.txt

Running the Demo

Set up your environment and Anthropic API key

  1. In a .env file add:
API_PROVIDER=anthropic
ANTHROPIC_API_KEY=<key>
WIDTH=800
HEIGHT=600
DISPLAY_NUM=1

Set the screen dimensions (recommended: stay within XGA/WXGA resolution), and put in your key from Anthropic Console.

  1. Start the Streamlit app:
streamlit run streamlit.py

The interface will be available at http://localhost:8501

Screen Size Considerations

We recommend using one of these resolutions for optimal performance:

  • XGA: 1024x768 (4:3)
  • WXGA: 1280x800 (16:10)
  • FWXGA: 1366x768 (~16:9)

Higher resolutions will be automatically scaled down to these targets to optimize model performance. You can set the resolution using environment variables:

export WIDTH=1024
export HEIGHT=768
streamlit run streamlit.py

[!IMPORTANT] The Beta API used in this reference implementation is subject to change. Please refer to the API release notes for the most up-to-date information.

// compatibility

Platformsapi
Operating systems
AI compatibilityclaude
License
Pricingopen-source
LanguagePython

// faq

What is mac_computer_use?

A fork of Anthropic Computer Use that you can run on Mac computers to give Claude and other AI models autonomous access to your computer.. It is open-source on GitHub.

Is mac_computer_use free to use?

mac_computer_use is open-source, so it is free to use.

What category does mac_computer_use belong to?

mac_computer_use is listed under data in the Claudeers registry of Claude-compatible tools.

0 views
878 stars
unclaimed
updated 15 days ago

// embed badge

mac_computer_use on Claudeers
[![Claudeers](https://claudeers.com/api/badge/maccomputeruse.svg)](https://claudeers.com/maccomputeruse)

// retro hit counter

mac_computer_use hit counter
[![Hits](https://claudeers.com/api/counter/maccomputeruse.svg)](https://claudeers.com/maccomputeruse)

// reviews

// guestbook

0/500

// related in Automation & Workflows

🔓

The agent that grows with you

// automationNousResearch/Python211,605MIT[ claude ]
🔓

The API to search, scrape, and interact with the web at scale. 🔥

// automationfirecrawl/TypeScript143,720AGPL-3.0[ claude ]
🔓

🌐 Make websites accessible for AI agents. Automate tasks online with ease.

// automationbrowser-use/Python103,709MIT[ claude ]
🔓

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…

// automationbytedance/Python76,016MIT[ claude ]
→ see how mac_computer_use connects across the ecosystem