Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Recipe 29 — Computer Use Replay

Serves a screenshot gallery from /frames with placeholder PNGs generated by the agent (no live desktop required for the showcase).

Desktop profile (production)

On InstaVM, use a desktop microVM (desktop=True, recording enabled) for real Anthropic computer-use loops. This cookbook demo uses flat-color placeholder frames at 320×200; set SCREEN_W / SCREEN_H to match your VM resolution (default 1280×800).

Endpoints

Method Path Description
GET / HTML gallery of captured frames
GET /frames/*.png Frame images
GET /health Status + frame count
POST /capture Regenerate placeholder frames

Local test

cd recipe-29-computer-use-replay
DATA_DIR=/tmp/computer-use-replay pip install -r requirements.txt
DATA_DIR=/tmp/computer-use-replay pytest -q