Overview
Kiln is a JavaScript library for developers building browser-based language, vision and speech applications. Rather than requiring an exported ONNX model or an inference server, it loads original model files and runs inference on the user's device. Its intended audience is developers who want to integrate local AI into a web application, rather than users seeking a finished chat service.
The documented workflow starts with installing kiln-webgpu through npm or importing its ES module from a CDN. Developers choose a supported model, create a task pipeline, and pass in messages, text or audio. The quickstart demonstrates text generation, embeddings and Whisper transcription; a separate loading API streams chat replies. Models can come from Hugging Face, a developer's server or local files.
Compatibility is the main boundary. Kiln implements model architectures individually, so accepting original weights does not mean every Hugging Face model will run. The repository explicitly excludes several families, including mixture-of-experts models and ModernBERT. WebGPU is the preferred browser execution path; the documented CPU fallback is slower. Node.js use requires version 22.12 or newer, with an additional WebGPU package for GPU execution.
Capabilities
Load original model weights
Kiln accepts supported models without a conversion step and can quantize weights during loading. This keeps model preparation within the loading workflow. Official source
Constrain generated replies
Applications can request schema-shaped or otherwise constrained responses instead of relying solely on free-form text prompts. Official source
Reuse downloaded models offline
Browser caching supports repeat use, while interrupted downloads can resume. Offline loading applies to models already cached. Official source
Connect chat models to functions
Developers can expose functions to a chat model or use the supplied calculator, time, Wikipedia and web-reading skills. Official source
What users say
No independent user feedback found
Supplied official GitHub page and two fetched feedback candidates; no broader search was performed for this article.
No independent user feedback about this specific product was found.
The supplied feedback candidates concern unrelated namesakes: a pottery-brawler game and a go-to-market consulting agency. Neither provides hands-on experience with this browser runtime. This assessment is limited to the supplied repository page and those two fetched candidates, not a claim that reviews do not exist elsewhere.
Sources
- Kiln — official GitHub repository and READMEOfficial documentation
Sources checked .