Sketch plugin API 5.0 adds webworker sandboxes and model hosting hooks
Design · 3 min read
Sketch released Plugin API 5.0 with two major features: webworker sandboxes for offloading compute-heavy tasks and native hosting hooks to connect to local or private model endpoints. Plugin authors can run inference-heavy tasks—such as vector inference and layout synthesis—without blocking the main UI thread.
Security features include scoped file access and permission dialogs that make data flows explicit to users. The hosting hooks allow plugins to discover and authenticate with on-prem model runners, reducing reliance on third-party cloud services and improving latency for enterprise customers.
The update should spur a new generation of Sketch plugins that embed local AI capabilities for tasks like retopology, icon generation, and pattern extraction. Sketch published migration guides and sample plugins demonstrating model-hosted workflows.