File size: 1,249 Bytes
25ae741
3dab4cf
 
 
 
25ae741
3dab4cf
 
25ae741
 
 
 
3dab4cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: Claude Computer Use Demo
emoji: πŸƒ
colorFrom: blue
colorTo: indigo
sdk: docker
sdk_version: 3.8
app_port: 7860
pinned: false
license: apache-2.0
---

# Claude Computer Use Demo

This demo showcases Claude's computer use capabilities through a simple chat interface. Users can interact with Claude to perform various computer-related tasks in a sandboxed environment.

## Docker Setup
The application is containerized using Docker for easy deployment and scaling.

### Local Development
1. Clone the repository
2. Create a `.env` file with your Anthropic API key:
   ```
   ANTHROPIC_API_KEY=your-api-key-here
   ```
3. Build and run with Docker Compose:
   ```bash
   docker-compose up --build
   ```

### Hugging Face Deployment
1. Create a new Space on Hugging Face
2. Choose "Docker" as the SDK
3. Add your ANTHROPIC_API_KEY to the Space's secrets
4. Push the code to the Space repository

## Features
- Interactive chat interface
- Computer interaction simulation
- Text editor operations
- Bash command execution
- Configurable system prompts
- Advanced settings for model parameters

## Security Notice
This demo runs in a sandboxed environment. Never provide access to sensitive information or credentials.

## License
Apache 2.0