{"id":22048586,"url":"https://github.com/nicholasoxford/computer-use-mac-demo","last_synced_at":"2025-05-08T23:05:56.497Z","repository":{"id":265418743,"uuid":"876883519","full_name":"nicholasoxford/computer-use-mac-demo","owner":"nicholasoxford","description":"Anthropic's computer use controlling a Macbook","archived":false,"fork":false,"pushed_at":"2024-10-23T13:53:20.000Z","size":3138,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-08T23:05:54.821Z","etag":null,"topics":["anthropic","claude","computer-use"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicholasoxford.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T17:57:34.000Z","updated_at":"2024-12-07T21:06:50.000Z","dependencies_parsed_at":"2024-11-29T09:59:26.178Z","dependency_job_id":"efdba333-292e-4028-bed1-e18f05df7179","html_url":"https://github.com/nicholasoxford/computer-use-mac-demo","commit_stats":null,"previous_names":["nicholasoxford/computer-use-mac-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasoxford%2Fcomputer-use-mac-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasoxford%2Fcomputer-use-mac-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasoxford%2Fcomputer-use-mac-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasoxford%2Fcomputer-use-mac-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicholasoxford","download_url":"https://codeload.github.com/nicholasoxford/computer-use-mac-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160775,"owners_count":21863628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anthropic","claude","computer-use"],"created_at":"2024-11-30T14:12:51.014Z","updated_at":"2025-05-08T23:05:56.481Z","avatar_url":"https://github.com/nicholasoxford.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer Use Macbook Demo\n\n![Screenshot 2024-10-23 at 7 39 51 AM](https://github.com/user-attachments/assets/f1321098-e650-437c-83bd-5ce8f4cf1c32)\n\n\n\u003e [!WARNING]\n\u003e Computer use is a beta feature. Please be aware that computer use poses unique risks that are distinct from standard API features or chat interfaces. These risks are heightened when using computer use to interact with the internet. To minimize risks, consider taking precautions such as:\n\u003e\n\u003e 1. Use a dedicated virtual machine or container with minimal privileges to prevent direct system attacks or accidents.\n\u003e 2. Avoid giving the model access to sensitive data, such as account login information, to prevent information theft.\n\u003e 3. Limit internet access to an allowlist of domains to reduce exposure to malicious content.\n\u003e 4. Ask a human to confirm decisions that may result in meaningful real-world consequences as well as any tasks requiring affirmative consent, such as accepting cookies, executing financial transactions, or agreeing to terms of service.\n\u003e\n\u003e In some circumstances, Claude will follow commands found in content even if it conflicts with the user's instructions. For example, Claude instructions on webpages or contained in images may override instructions or cause Claude to make mistakes. We suggest taking precautions to isolate Claude from sensitive data and actions to avoid risks related to prompt injection.\n\u003e\n\u003e Finally, please inform end users of relevant risks and obtain their consent prior to enabling computer use in your own products.\n\n\u003e [!CAUTION]\n\u003e By using computer-use-mac-demo, you are ignoring the above warnings. Use at your own risk.\n\nThis repository helps you get started with controlling your mac using `computer use` on Claude, with reference implementations of:\n\n- Install dependencies and run the python script to start the agent loop\n- A computer use agent loop using the Anthropic API to access the updated Claude 3.5 Sonnet model\n- Extends Anthropic-defined computer use tools to include additional tools for interacting with your mac\n- A streamlit app for interacting with the agent loop\n\n\u003e [!IMPORTANT]\n\u003e The Beta API used in this reference implementation is subject to change. Please refer to the [API release notes](https://docs.anthropic.com/en/release-notes/api) for the most up-to-date information.\n\n### Run locally\n\n```bash\nANTHROPIC_API_KEY=your_key_here ./setup.sh # pass your Anthropic API key as an environment variable or set it in browser.\n```\n\nOnce the python script is running, open your browser to [http://localhost:8080](http://localhost:8080) to access th interface that includes both the agent chat.\n\nAlternative access points:\n\n- Streamlit interface only: [http://localhost:8501](http://localhost:8501)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicholasoxford%2Fcomputer-use-mac-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicholasoxford%2Fcomputer-use-mac-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicholasoxford%2Fcomputer-use-mac-demo/lists"}