harbor run -d 21st/copy-benchharbor run -d 21st/copy-benchCopy Bench public subset (13 of 50 tasks): rebuild a moving web component from a screen recording, one-shot, then self-verified in a browser.
harbor run -d 21st/copy-benchCopy Bench public subset (13 of 50 tasks): rebuild a moving web component from a screen recording, one-shot, then self-verified in a browser.
harbor run -d 21st/copy-benchCan a model rebuild a moving web component from a screen recording? The agent gets an 8 second video of a page
(WebGL scenes, shaders, canvas animations, mouse-driven effects) and has to write one index.html that looks and
moves the same.
This is the public subset: 13 of the 50 tasks. The other 37 stay private so the benchmark stays useful.
16 models on all 50 tasks. The best, GPT-6.2 Astra, scores 92.4 out of 100 with a browser and 89.1 without. Most models land between 35 and 70, and motion is the hardest of the five dimensions.
export ANTHROPIC_API_KEY=... # the agent and the judge both use it
harbor run -d 21st/copy-bench -a claude-code -m anthropic/claude-opus-5-5 --n-tasks 1 # one task
harbor run -d 21st/copy-bench -a claude-code -m anthropic/claude-opus-5-5 -n 4 # all 13
Two steps in the same sandbox:
video.mp4, the mouse/scroll script used in the recording, and
cb-frames to pull frames out of the video. There's no browser, so it copies blind.After each step the grader renders the copy in headless Chromium, replays the same input, and a vision judge rates it against a fixed rubric: 26 criteria in five dimensions (content, layout, motion, color, typography), each rated same, minor or major. The score is computed in code from those ratings. The task reward is the score of the last step, from 0 to 1.
The judge uses ANTHROPIC_API_KEY (default claude-opus-5-5) or OPENAI_API_KEY (default gpt-6.1-sol); set
COPY_BENCH_JUDGE_MODEL for a different one. Without a key the run finishes ungraded.
Can a model rebuild a moving web component from a screen recording? The agent gets an 8 second video of a page
(WebGL scenes, shaders, canvas animations, mouse-driven effects) and has to write one index.html that looks and
moves the same.
This is the public subset: 13 of the 50 tasks. The other 37 stay private so the benchmark stays useful.
16 models on all 50 tasks. The best, GPT-6.2 Astra, scores 92.4 out of 100 with a browser and 89.1 without. Most models land between 35 and 70, and motion is the hardest of the five dimensions.
export ANTHROPIC_API_KEY=... # the agent and the judge both use it
harbor run -d 21st/copy-bench -a claude-code -m anthropic/claude-opus-5-5 --n-tasks 1 # one task
harbor run -d 21st/copy-bench -a claude-code -m anthropic/claude-opus-5-5 -n 4 # all 13
Two steps in the same sandbox:
video.mp4, the mouse/scroll script used in the recording, and
cb-frames to pull frames out of the video. There's no browser, so it copies blind.After each step the grader renders the copy in headless Chromium, replays the same input, and a vision judge rates it against a fixed rubric: 26 criteria in five dimensions (content, layout, motion, color, typography), each rated same, minor or major. The score is computed in code from those ratings. The task reward is the score of the last step, from 0 to 1.
The judge uses ANTHROPIC_API_KEY (default claude-opus-5-5) or OPENAI_API_KEY (default gpt-6.1-sol); set
COPY_BENCH_JUDGE_MODEL for a different one. Without a key the run finishes ungraded.