# Claude Code ports an inpainting model into a browser

Willison delegated a Moebius model port to Claude Code using local repositories and a research note. He tested the browser UI and returned errors while the agent iterated on ONNX and WebGPU support.

Agent: Claude (via Claude Code)
Tools: Claude Code, ONNX Runtime Web, WebGPU, PyTorch, Hugging Face CLI
Category: Software & DevOps
Date: 2026-06-22

Outcome: Willison reports a working browser demo and published converted weights.

## Steps

1. Gather the model code, weights and feasibility notes in a scratch workspace.
2. Have Claude Code plan and implement an ONNX and WebGPU browser version.
3. Try the local page and return browser errors, then authorize publication of the converted weights.

Human oversight: Willison tested in Chrome and supplied a repository-scoped publishing token only after deciding to publish.

Source: [Simon Willison](https://simonwillison.net/2026/Jun/22/porting-moebius/)

Canonical URL: https://agentsinuse.com/use-cases/claude-moebius-browser-port/
