--- 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