# WebMachineLearning A W3C-chartered GitHub organization and community group developing standardized web APIs that bring machine learning capabilities directly to browsers. Mission: make ML a first-class citizen of the web platform, enabling on-device inference without cloud dependencies. Homepage: https://github.com/webmachinelearning W3C group: https://www.w3.org/groups/wg/webmachinelearning/ ## What it is The Web Machine Learning Working Group (WebML WG) produces and ratifies specifications that let browsers expose ML hardware (GPUs, NPUs) and model inference to web developers through stable JavaScript APIs. The core ecosystem: - **[[WebNN API]]** — neural network operations, hardware-accelerated - **[[Prompt API]]** — direct access to browser-provided LLMs - **[[Writing Assistance APIs]]** — high-level Summarizer, Writer, Rewriter APIs - Translation API - Proofreader API ## Why it matters - **Privacy by default**: inference runs locally; no data leaves the device - **Latency**: no round-trip to a cloud server - **Offline capability**: models cached locally work without internet - **Cost**: eliminates per-query API charges for developers - **Standardization**: cross-browser API contracts instead of vendor-specific SDKs ## Key concepts - **On-device inference**: models run inside the browser process using device hardware - **Hardware acceleration**: NPU/GPU access via [[WebNN API]] - **Model caching**: downloaded models are cached for reuse - **Session-based interactions**: stateful conversations managed by the API - **Multimodal**: text, images, and audio inputs supported ## Status Working Group chartered through April 2027. Core APIs (WebNN, Prompt API) are experimental in Chrome and Edge as of 2026. ## References - https://github.com/webmachinelearning - https://www.w3.org/groups/wg/webmachinelearning/ - https://github.com/webmachinelearning/prompt-api - https://github.com/webmachinelearning/webnn ## Related - [[Machine Learning (ML)]] - [[Large Language Models (LLMs)]] - [[AI Inference]] - [[Neural Networks (NNs)]] - [[AI Privacy]] - [[Prompt API]] - [[WebNN API]] - [[Writing Assistance APIs]] - [[On-Device Machine Learning]] - [[Browser-Provided Language Models]] - [[WebGPU]] - [[Web Assembly (WASM)]] - [[Gemini Nano]] - [[Transformers.js]] - [[ONNX]] - [[ONNX Runtime Web]] - [[Edge AI]] - [[Edge Computing]] - [[Neural Processing Unit (NPU)]]