Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

examples/demo

Containerized demo that runs an Anthropic computer-use loop on a live portable desktop. The image launches Chromium inside the desktop session.

Build locally

Run these commands from the repository root:

# Build the Go binary
make build

# Build the demo bundle
cd examples/demo && bun install && bun run build && cd ../..

# Build the Docker image
docker build -f examples/demo/Dockerfile -t portabledesktop-demo .

Run

export ANTHROPIC_API_KEY=<key>
docker run -it --rm \
  -e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" \
  -p 5190:5190 \
  portabledesktop-demo \
  "play a game of chess"

Open the printed viewer URL in your browser (usually http://localhost:5190).