Speech and Vision Tasks in the Browser
Microphone and camera streams make a strong privacy case for on-device AI. This covers the transcription and image pipelines that make it work in practice.

Microphone and camera streams make a strong privacy case for on-device AI. This covers the transcription and image pipelines that make it work in practice.

Small embedding models are light, fast, and unlock semantic search, similarity, dedup, and routing over content that never leaves the device. Honest scale, storage, and the privacy cliff.

No model shipped by the page: the browser downloads and stores it. The API surface, its availability tiers, single-engine honesty, and choosing built-ins versus your own model.

A client AI feature's first impression is a progress bar. Designing the download, the streaming output, worker isolation, and honest failure states so the wait feels deliberate.

Why a model that fits on a 32 GB workstation can die on real phones: the full memory budget, quantization trade-offs, device memory shapes, and out-of-memory as a designed path.

A model that outweighs the rest of your page needs its own delivery discipline: progressive download, browser storage choices, version-pinned cache keys, and first-run economics.

A screenshot proves a button renders, not that it works. The four structural blind spots, the maintenance ledger, over-investment signals, and when to downsize a suite.

Unfindable icons get redrawn as duplicates, and every name is an import contract. Meaning versus appearance, aliases for search, predictable variants, and why renames break.

One regression in a shared component ships to every product that takes that library release. Reading token mass diffs and splitting library-versus-consumer visual coverage.

Decide per use whether an icon is decorative or meaningful. Hide the first with aria-hidden, name the second (on its control, or on the SVG when it stands alone), and never ship an unnamed icon-only button.