Skip to content

Commit 75d9b74

Browse files
committed
added insturctions on installation and requirements
1 parent afe0e76 commit 75d9b74

2 files changed

Lines changed: 64 additions & 9 deletions

File tree

README.md

Lines changed: 61 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,83 @@
11
# ClaudeComputerUseBeta-Win64
22

3-
# Beta trial code for the Claude 3.5 Sonnet Computer Use (Beta) on Win64.
3+
Beta trial code for the **Claude 3.5 Sonnet Computer Use (Beta) on __Win64__**.
44

5-
##### As noted in the Anthropic Computer Use (Beta) Documentation, it is recommended that the Computer Use to be ran in Virtual Machines.
5+
As noted in the [Anthropic Computer Use (Beta) Documentation](https://docs.anthropic.com/en/docs/build-with-claude/computer-use), it is recommended that the Computer Use to be ran in Virtual Machines.
66

7-
For Docker based Computer Use (Beta), please visit https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo.
7+
For Docker based Computer Use (Beta), please visit [Anthropic Computer Use (Beta)](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo).
88

9+
Participation is welcomed. Currently facing many issues with calibration of the awaiting time for the actions to complete and the accuracy of the goal recognition.
910

10-
# Step 1. main.py - insert your Claude API Key, and press Initlialize.
11+
## Installation and Setup
12+
13+
1. Clone the repository:
14+
```
15+
git clone https://github.com/MinjaeKIM753/ClaudeComputerUseBeta-Win64.git
16+
cd ClaudeComputerUseBeta-Win64
17+
```
18+
19+
2. Create a virtual environment (optional but recommended):
20+
```
21+
python -m venv venv
22+
```
23+
24+
3. Activate the virtual environment:
25+
- On Windows:
26+
```
27+
venv\Scripts\activate
28+
```
29+
- On macOS and Linux:
30+
```
31+
source venv/bin/activate
32+
```
33+
34+
4. Install the required packages:
35+
```
36+
pip install -r requirements.txt
37+
```
38+
39+
5. Set up your Anthropic API key:
40+
- Create a `.env` file in the project root directory
41+
- Add your API key to the file:
42+
```
43+
ANTHROPIC_API_KEY=your_api_key_here
44+
```
45+
46+
6. Run the application:
47+
```
48+
python main.py
49+
```
50+
51+
Note: Make sure you have Python 3.7 or higher installed on your system.
52+
53+
## Usage
54+
55+
### Step 1. Initialize with API Key
56+
57+
Insert your Claude API Key in the main window, and press Initialize.
1158
1259
![Before_initialize](./img/CCMP1.png)
1360
![After_initialize](./img/CCMP1-1.png)
1461
15-
# Step 2. Write your prompt and press Submit.
62+
### Step 2. Submit Your Prompt
1663
17-
![Processing](./img/CCMP2.png)
64+
Write your prompt in the input box and press Submit.
1865
66+
![Processing](./img/CCMP2.png)
1967
20-
# Current Status
68+
## Current Status
2169
2270
- Errors in correctly locating the cursor. This may be due to image downscaling (due to token length limit)
2371
- Errors in identifying whether the goal has been achieved.
2472
- Currently taking two screenshots at the beginning of the task.
2573
- Need calibration of the awaiting time for the actions to complete.
2674
27-
# Known Errors
75+
## Known Errors
76+
2877
```
2978
Error: Client initialization failed: Failed to validate API key: 'Beta' object has no attribute 'messages'
3079
```
31-
-> pip install --upgrade anthropic
80+
Solution: Update the anthropic library by running:
81+
```
82+
pip install --upgrade anthropic
83+
```

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
anthropic[bedrock,vertex]>=0.37.1
2+
pillow
3+
PyAutoGUI

0 commit comments

Comments
 (0)